Payment Variables

Payment variables capture credit card information.

The payment variables are as follows:

  • payment.CARD_NUMBER

  • payment.CARD_EXPIRY

  • payment.CARD_CVC

  • payment.CARD_LAST_FOUR_DIGITS

  • payment.CARD_VALID

  • payment.CARD_TYPE

Access to Variable Values

Payment variable values are available to the Form, Payment, and Prompt nodes only.

System Log

The following payment variable values are masked in the system log.

  • payment.CARD_NUMBER

  • payment.CARD_EXPIRY

  • payment.CARD_CVC

Call Flow

In a typical call flow, three form nodes capture the credit card information followed by a payment node to process the transaction. To verify credit card details are correct, you can use the confirmation tab on the form node or a prompt node.

Node

Description

Form

Use the built-in form to capture the credit card number to variable payment.CARD_NUMBER.

Form

Use the built-in form to capture the credit card expiry to variable payment.CARD_EXPIRY.

Form

Use the built-in form to capture the credit card CVC to variable payment.CARD_CVC.

Payment Use the payment node to process the credit card transaction.