pencilStore a card

Tokenize a Credit Card

post

Creates a secure token for a credit card along with payer data. Optionally performs a micro-deposit validation to verify the card's validity.

Header parameters
Content-TypestringRequired

Media type of the body sent to the API

Default: application/json
X-Datestring · date-timeRequired

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

X-LoginstringRequired

Merchant X-Login API Key

AuthorizationstringRequired

Authorization control hash

X-Idempotency-KeystringOptional

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

Body
micro_deposit_enabledbooleanOptional

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

Default: trueExample: true
Responses
chevron-right
200

Successful operation

application/json
holder_namestringOptional

Cardholder name

Example: Luis Perez
expiration_monthintegerOptional

Expiration month

Example: 10
expiration_yearintegerOptional

Expiration year

Example: 2028
last_four_digitsstringOptional

Last four digits of the card

Example: 1111
card_identifierstringOptional

Unique card identifier (token) for future transactions

Example: CID-2210908e-6d8e-468d-9eb3-d551e8b541a0
post
/v3/tokenization

Last updated

Was this helpful?