Card Tokenization
Handle card information without storing critical details
Do not store credit card information
Do not store any card information (i.e. name, card number, expiry dates, cvv/cvc) on your application unless your platform is PCI-DSS certified.
How to tokenize card information
Customer's credit card data will have the following JSON data:
{
"card": {
"number": "512345678890",
"expYear": "2025",
"cvc": "11",
"expMonth": "02"
}
}
Once the customer has submitted their card information, your application should send this data to Create Payment Token to obtain a paymentTokenId
to be used for the rest of process.
{
"paymentTokenId": "0zjacza65HEobriYGN9g5XwaWZYVSeErdNnaNCLCo8QvUXuGg49KPJSy1XbhHPL8OisYOiYPJSQ2BxqR2AuC682Yu5G5LzrU0SK6ByWi0TyhkekWf1ssl6cMBWAVAOdArLcY1QXEyHdr8EsRAS2bHeMEpUU6OSmxmky5Fk",
"state": "AVAILABLE",
"createdAt": "2021-07-12T08:18:20.000Z",
"updatedAt": "2021-07-12T08:18:20.000Z",
"issuer": "Others"
}
Updated 5 months ago
Did this page help you?