Card data

Card Pay-In and Pay-Out flows accept different card inputs. Select CardDeposit for Pay-In or CardWithdrawal for Pay-Out, then encrypt each sensitive value with the public encryption key issued for your integration.

Flow Accepted inputs
CardDeposit encrypted_card_number, encrypted_cvv, encrypted_expiration_month, encrypted_expiration_year, cardholder_name
CardWithdrawal encrypted_card_number; optional: cardholder_name
{
  "payment_method": {
    "type": "CardDeposit",
    "data": {
      "encrypted_card_number": "<encrypted-value>",
      "encrypted_cvv": "<encrypted-value>",
      "encrypted_expiration_month": "<encrypted-value>",
      "encrypted_expiration_year": "<encrypted-value>",
      "cardholder_name": "Jane Doe"
    }
  }
}

The encrypted values must be produced separately; do not encrypt the entire JSON request.

Input Used by Handling
encrypted_card_number CardDeposit, CardWithdrawal Encrypt the complete card number.
encrypted_cvv CardDeposit only Encrypt the CVV.
encrypted_expiration_month CardDeposit only Encrypt the two-digit expiration month.
encrypted_expiration_year CardDeposit only Encrypt the four-digit expiration year.
cardholder_name CardDeposit, optionally CardWithdrawal Send as plain text.

Cardholder name

When the flow accepts or requires it, send the name printed on the card in payment_method.data.cardholder_name. It is a plain-text string alongside the encrypted card fields. For CardWithdrawal, this field is optional.

Do not encrypt this value and do not send an encrypted_cardholder_name field. The cardholder name is distinct from the customer identity fields, so integrations should not assume customer.first_name and customer.last_name can replace it.

See Encryption Example for the encryption format.

Required transaction context

In addition to the common transaction fields, send:

  • Full customer information, including the original IP in customer.customer_ip.
  • A complete browser_info object for browser-initiated transactions.
  • Customer return, error, and cancel URLs when the flow can require browser interaction.

The terminal controls whether card Pay-In and card Pay-Out are available.

See Purchase for a complete request and the result, redirect, form_submit, and action response branches.