Skip to main content
POST
Tokenize a Credit Card

Headers

Content-Type
string
default:application/json
required

Media type of the body sent to the API

X-Date
string<date-time>
required

ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)

X-Login
string
required

Merchant X-Login API Key

Authorization
string
required

Authorization control hash

X-Idempotency-Key
string

Unique idempotency key for ensuring that the same request is not processed more than once

Body

application/json
credit_card
object
required
payer
object
required
micro_deposit_enabled
boolean
default:true

When true (default), performs a micro-deposit to validate the card

Response

Successful operation

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