Create Card Token Endpoint
Creates a secure token for a credit card along with payer data. This endpoint optionally performs a micro-deposit validation to verify the card's validity.
Last updated
Was this helpful?
Creates a secure token for a credit card along with payer data. This endpoint optionally performs a micro-deposit validation to verify the card's validity.
Last updated
Was this helpful?
holder_name
String
Yes
Name of the cardholder as it appears on the card
expiration_month
Integer
Yes
Expiration month (1-12)
expiration_year
Integer
Yes
Expiration year (YYYY format)
number
String
Yes
Complete card number without spaces
cvv
String
Yes
Card security code (3-4 digits)
country
String
Yes
Country ISO code (2 characters)
first_name
String
Yes
Payer's first name
last_name
String
Yes
Payer's last name
document_type
String
Yes
Type of identity document (e.g., DNI, CPF, PASSPORT)
document
String
Yes
Identity document number
micro_deposit_enabled
Boolean
No
When true (default), performs a micro-deposit to validate the card
holder_name
String
Cardholder name
expiration_month
Integer
Expiration month
expiration_year
Integer
Expiration year
last_four_digits
String
Last four digits of the card
card_identifier
String
Unique card identifier (token) for future transactions
401
512
Unauthorized access
For security reasons, the complete card number and CVV are never returned in any response
The token (card_identifier) is valid only for your merchant account
The micro-deposit is a small charge that is immediately refunded
Ensure all request data is properly encoded and valid before submitting
Creates a secure token for a credit card along with payer data. Optionally performs a micro-deposit validation to verify the card's validity.
Media type of the body sent to the API
application/json
ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)
Merchant X-Login API Key
Authorization control hash
Unique idempotency key for ensuring that the same request is not processed more than once
When true (default), performs a micro-deposit to validate the card
true
Example: true