Create a token of a payment meanwhich can be used multiple times for charges.
- Set a customisable amount for each charge
- There is no guarantee for the successful charge of a tokenisation
- Tokenizations do not expire
Visit our PSP Feature list to find a suitable payment provider.
Process
Gateway Creation
Tokenizations can easily be implemented using the Payrexx Gateway.
When setting the parameter preAuthorization, your Gateway will process a tokenization instead of a one-time payment.
Customer Authorization
This step is identical to the “payment” step in the Gateway documentation. With a tokenization, the only difference is that, a token creation takes place instead of a charge.
Also a transaction webhook with the transaction status authorized will be triggered.
Charge Tokenization
Get Transaction ID
The transaction ID is present in the transaction Webhook.
You can find this ID also if you retrieve a Gateway through the Payrexx API. Small hint on where to find the transaction ID in the retrieve a Gateway respone:
{
"status": "success",
"data": [
{
"id": 1,
"status": "authorized",
"invoices": [
{
"transactions": [
{
"id": 2012844,
}
],
}
],
}
]
}
Execute Charge
Use Charge a Pre-Authorized/Reserved Transaction to make a charge on the authorized transaction.
You will need the ID of the transaction with status authorized to do so!