Tokenize card
Exchange raw cardholder data for a short-lived token that can be passed to authorize-payment.
This endpoint is hosted on a PCI-isolated domain and must be called directly with the cardholder’s PAN, CVV, and expiration date. Only operators with their own PCI DSS compliance should call this endpoint directly.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The Push identifier for the user the token will be associated with.
"user_28CJjV7P4Go5PNJvfzghiD"
The cardholder's primary account number (PAN).
"5555555555554444"
The card verification value.
"123"
The two-digit card expiration month.
"12"
The two-digit card expiration year.
"28"
Optional processing type override to set payments processed using the token to card-only. If omitted, the processing type is dynamically assigned based on the processing category and bin type (card_only vs. secure_debit).
card_only "card_only"
Response
Token created successfully
A short-lived token that can be submitted to /authorize to process a payment.
"token_mbDRHFi3dxIZEtykHsgUGC"