Generate Token API
The Generate Card Token API is used to tokenize sensitive card information during the Purchase or Authorization process, allowing secure transactions without exposing the actual card details.
Key Points
-
Tokenising a card allows for repeated transactions without needing to re-enter the card details, improving both security and user experience.
-
The generated token can be used for both Purchase and Authorization transactions, providing flexibility for different types of payments.
-
Important parameters typically include: Card Number, Expiry Date, CVV, Customer Information.
Flow diagram
Notes
store_payment_method
: Must be set to true
in the payload to store the card token for future use.
Setting store_payment_method
to true
ensures that the card token is stored for future transactions without needing to re-enter card details.
The stored_payment_method_id
can be used in the Use of Card Token API for future transactions without needing to re-enter card details.
Api Parameters
Authorizations
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
Body
The request payload to process a payment transaction.
The body is of type object
.
Response
Payment processed successfully
The response is of type object
.