When you register a token on the Opayo system you care able to use it as long as the card remains valid.
The card details associated with the token are stored on the Opayo system, along with the expiry date for the card.
By performing a simple Reporting and Admin API command to the Opayo system you are able to obtain the details of the token that will include the expiry date for the card.
You will then be able to identify when the token will expire.
Reporting and Admin is a tool that is available to all customers using the Opayo system.
You are able to perform actions such as adding and removing users to MySagePay, adding and removing fraud prevention rules, and obtaining information on transactions that have been processed through your Opayo account.
You can find out more about the reporting and admin tool here.
To find out when a token will expire on your account you will need to perform the “getTokenDetails” command using the reporting and admin tool.
Before you can get the details of the token you will first need to ensure that you have the token ID to hand.
You will then get the following information sent back to your system by Opayo –
A full breakdown of performing the command can be found in section 2.70 of the Reporting and Admin guide that you can download here.