Skip to main content
POST
Tokenize raw card data

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Tokenize raw credit card data. Submit card details to receive a secure token for future transactions.

subMerchantId
string
required

Unique identifier of the submerchant.

CardHolderName
string
required

Name of the card holder. The maximum length of this field is 100 characters. This field only contains alphabetic characters, periods, hyphens, and apostrophes.

CreditCardNumber
string
required

The credit card number to tokenize

Cvv
string
required

Card verification value (CVV/CVC)

ExpirationDate
object
required

Card expiration date.

Response

Successful credit card tokenization

success
boolean

Whether the request was processed successfully. Declines return HTTP 200 with success: false.

code
string

Machine-readable result code. See the Error Codes reference.

data
object

The response payload.

message
string

Human-readable result message.

Last modified on July 14, 2026