- Send a batch request file, or an API call if you only need an update for a single card.
- Receive the response in the batch file.
- Update the card details through a payments request.
Set up an SFTP server
You need to have an SFTP server set up to send and receive the batch files. To set up an SFTP directory, contact our Support Team. You need to provide your IP address, and SSH and PGP keys. For more information, see Advanced SFTP batch files.Use batch request files
The process of sending a batch request file and receiving updates in the batch result file is as follows:-
Generate a batch request file and upload it to your SFTP directory.
The following is a sample Account Updater batch request file:
Batch request file
After receiving the batch request file, we run validation checks and generate a batch acknowledgement file (ACK).
- Optionally check the results of the validation check in the ACK file. When the batch request files are successfully validated, we obtain the updated card information from Visa and Mastercard and add the updated information to a batch result file. This process takes minimum two days from when you receive the ACK file.
-
Fetch the batch result file to retrieve the updated card information.
The following is a sample Account Updater batch response file:
Batch response file
-
Based on the batch result file, update the old card details.
- If you are tokenizing with Adyen, the token will always stay the same, but you need to update the old card details through a payment request.
- If you are not tokenizing with Adyen, you need to update the old card details in your own system.
Use API calls
To receive account updates for a single card, you can send an API request instead of a batch request file.-
Make a POST /scheduleAccountUpdater request, specifying either:
- Card data: all fields in the
cardobject are mandatory. - Adyen token data: the
shopperReferenceandselectedRecurringDetailReferencefields are mandatory.
- Card data: all fields in the
- Account Updater request with card data
- Account Updater request with token data
- Update card number
- Update card expiry
Request with card data