With Batch Account Updater, you can send batch files to get updates for your shoppers' cards. We obtain the updates from Visa and Mastercard and send you batch response files with the new card details.
To update shopper card details through the Batch Account Updater:
- 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:
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:
-
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
card
object are mandatory. - Adyen token data: the
shopperReference
andselectedRecurringDetailReference
fields are mandatory.
The response indicates we received your request.
We now forward the request to Visa and Mastercard.
- Card data: all fields in the
-
Fetch the batch result file to retrieve the updated card information.
-
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.
Account Updater statuses
When we perform an account update, we send a status in the batch result file. The status indicates what action you need to take based on what changed in the card details.
Status | Alternative values for the status | Description |
---|---|---|
NoChange |
|
The card has not changed. |
CloseAccount |
|
The account has been permanently closed by the issuing bank. |
PANChanged |
|
The account number has changed. |
CardExpiryChanged |
The expiry date of the card has changed. | |
ContactCardAccountHolder |
(Visa only) The card has a new account number, expiry date, or both, but the shopper has asked the issuer to not share updated card details. | |
Error |
|
Our Account Updater process experienced an error. |
Update old card details
There are three scenarios that can occur as a result of an account update:
To enable this flow, contact our Support Team. Not doing so will result in an API error when attempting the update.
No updates on the card
If there are no updates on the card, you do not need to take any further actions and all the card details remain unchanged.
Card details are updated
You can receive updates of the following information on your shoppers' cards:
- Card number
- Expiry date of the card
- Both card number and expiry date
The following examples show how you can update card details through a payment request.
Card details are disabled
You can get an update that certain cards have been disabled. This can occur if the card is reported as stolen, or if the shopper informed the bank they no longer authorize transactions from you. We do not disable the storedPaymentMethodId
or recurringDetailReference
. Instead we provide the update to you, and you need to disable the card details.
For instructions, see Disable stored payment details.
Get a report on card updates
The Account Updater results report shows a summary of Account Updater results from a particular period of time. Use this report to check the outcomes and statuses of account updates, and get a summary of both Real Time Account Updater and Batch Account Updater results. You can also analyze the fees charged for the Account Updater.