Skip to main content
POST
Generate an encrypted card PAN.

Authorizations

api-key
string
header
default:410ca5cd265a4111982375d50802b7f8
required

Body

application/json

Request object for generating a card PAN.

issuerBankId
string
required

The bank identification number uniquely identifies the institution issuing the card. The BIN is key in the process of matching transactions to the issuer of the charge card.

Maximum string length: 35
Example:

"465358"

customFields
CustomFields · object

Custom field to send additional data

Response

Encrypted PAN generated. The response carries the tokenized PAN and the last four digits; the plaintext PAN is never returned.

Response object of card-PAN-generation API.

encryptedPan
string
required

Represents the tokenized version of a card PAN for secure transactions.

Maximum string length: 255
Example:

"U2FsdGVkX1+FhWg5Nh7X1yU8LgKjcd9qELOIMUfn8Kk="

lastFourDigits
string

Last four digits of the card.

Required string length: 4
Example:

"7062"