Menu

The cardTokenID object

This object represents the "tokenized" payment card that will be used to initiate a transaction.

The cardToken is created when a credit card is sent from the client's browser using a JavaScript (token.js) put at your disposal. Once the credit card is stored in our PCI-DSS environment, CentralPay returns it back to you as a token: the cardTokenID.

This cardTokenID has a lifetime of 5 minutes, the necessary time to initiate a transaction from your servers. This operation limits your PCI-DSS compliance perimeter since no sensitive data is transmitted or stored by your servers.

Tip: it can be useful once this operation is done to make a GET request on this object to know the attributes of the card allowing the calculation of interchange fees.