Token-Based Transactions
In this manual, we’ll introduce you to token-based transactions, a secure method that replaces sensitive data with an algorithmically generated token. This allows returning customers to make purchases without re-entering their credit card details, ideal for scenarios like recurring payments or subscription fees. We’ll guide you through a step-by-step process on how to create, manage, and utilize tokens for seamless transactions.
Step One: Creating the Token​
The first thing you need to create a token is to create a basic payment request with the required information via any integration type that suits your business needs more, so navigate to our Token-Based Transactions | Creating the Token manual to learn how to do that.
Step Two: Using the Token​
Once you have a token you can use it to allow returning customers to purchase without making them re-enter their credit card details (recurring). This allows you to conduct your business's frequent payment transactions, such as monthly subscription fees.
Creating a token means protecting sensitive data by replacing it with an algorithmically generated number called a token. Find below the ways you tokenize your payments using our APIs. You can find below the ways you can use tokens to initiate tokens-based transactions through our APIs.
Tokens-Based Transactions (Recurring Payment)​
In order to use this type of token based transactions, you MUST have the Recurring mode enabled in your PayTabs profile. To enable it, you MUST contact your account manager or [email protected] specifying the exact profile that you want to enable the recurring in along with your business needs for that.
Once you have tokenized your customer card details you can use this token to allow them to purchase without re-entering credit card details (recurring) such as monthly subscription fees. You can learn more about recurring in Token Based Transactions | Recurring Payments manual.
Tokens-Based Transactions (Requiring CVV)​
Once you have tokenized your customer card details you can use this token to allow them to purchase without re-entering credit card details, but unlike the Recurring here, the customer MUST provide his CVV. You can learn more about it in Token Based Transactions | Payment Page with Saved Card Token (CVV Only) manual.
Step Three: Managing your Tokens?​
In this part, we will walk you through the ways available for you to manage your tokens using our APIs. You can find below the specifications you need to create tokens in different ways, how to query a specific token and get its status, and how to delete a specific token.
Whatever the integration type you are using, Hosted payment page, Managed-Form, Own-Form, or the Invoice API, you can use the following techniques to manage the tokens:
Get Token Status​
PayTabs API offers you a way to check the current status of a specific token. You can find the steps you need to check your token status in Token Based Transactions | Token Status Query manual.
Delete/Revoke Tokens​
PayTabs API offers you a way to delete a specific token. You can find the steps you need to delete your token in Token Based Transactions | Delete/Revoke a Token manual.