Account Updater Result Codes
Batch and Real-Time Account Updater include result codes in their responses to indicate the outcome of an attempted update.
Result Codes
| Result Code | Description | Action |
|---|---|---|
NO_UPDATE | No update was received from the network. | No action needed. |
UPD_PAN | The issuer updated the account number, or account number and expiration date. | A new token has been created. Update your records. |
UPD_EXP_DATE | The issuer updated the expiration date. | A new token has been created. Update your records. |
UPD_BRAND_CONV | The card brand has changed but the issuer remains the same. The account number or expiration may or may not be changed. | If a new token has been created, update your records. |
UPD_CORRECTED | The issuer corrected a previous update. | If a new token has been created, update your records. |
WRN_CLOSED_ACCOUNT | The issuer closed the account holder's account. | No update - Ask the customer for a new card, and stop sending this token. The networks return the same result until the card is replaced. |
WRN_CONTACT_CARDHOLDER | The merchant should contact the account holder for additional information on the account. | No update - Ask the customer for new details, and stop sending this token. The networks return the same result until they provide them. |
WRN_ISSUER_NOT_ENROLLED | The issuer for the requested card number does not participate in the Account Updater program. | No update - Continue to update this token, as issuer may opt in. |
WRN_ISSUER_NO_DATA | The issuer provided no information regarding the specific card number requested. | No update - Continue to update this token, as issuer may have incorrectly responded. |
WRN_OPT_OUT | The cardholder has opted out of the account updater service. | No update - Continue to update this token, as consumer may opt in. |
WRN_UNSUPPORTED_NETWORK | The card number corresponds to a card network that does not participate in the Account Updater program. | No update - Contact Basis Theory for more information requesting additional networks. |
ERR_UNDEFINED | Undefined error. | Contact support. |
ERR_INVALID_PAN | The card number is invalid. | Check that this token contains a valid card number for one of the supported networks. Omit from future requests. |
ERR_INVALID_TOKEN | Token not found. | Check that the token is of type card and that the token exists in this tenant. |
ERR_INVALID_EXP_DATE | The expiration date was invalid. | Check expiration month and year exist on the token or in the row's expiration_month and expiration_year fields. |
ERR_INVALID_CONFIG | Invalid Account Updater configuration. | Verify the Account Updater configuration selected for the request, whether from an explicit configuration_merchant_id, the BT-MERCHANT-ID header merchant, or your tenant-level configuration, was onboarded with Basis Theory. If it was, contact support. |
ERR_MERCHANT_MISMATCH | The token exists but is not associated with the merchant the request was scoped to. | Verify the token belongs to the merchant in the BT-MERCHANT-ID header, or omit the header to run at the tenant level. |
NO_UPDATE is only returned from Real-Time Account Updater. Batch Account Updater will omit rows with no updates from the response to minimize the result file size and to reduce the amount of post-processing required in your system.ERR_MERCHANT_MISMATCH is only returned from Batch Account Updater. A Real-Time request for a token outside the merchant scope fails with a token not found error instead.Result Code Categories
Result codes are grouped into categories using a standard prefix, and are formatted as <CATEGORY>_.
You can use the category prefix when troubleshooting to quickly identify whether any action is required on your part.
| Prefix | Category Description |
|---|---|
NO | No update was received from the network. |
UPD | A update was received from the network; update your records with the updated token. |
WRN | The token was correctly processed, although it did not result in an update. Action is potentially required. |
ERR | An error occurred while processing the file or token, requiring action. |
Resubmitting Tokens
Every result tells you whether a card is worth sending again. Use them to scope your next request.
| Last result | Send again? | Why |
|---|---|---|
UPD_PAN, UPD_EXP_DATE, UPD_BRAND_CONV, UPD_CORRECTED | No — send the new token | The update created a new token with the new details. The old token has nothing left to update. |
WRN_CLOSED_ACCOUNT | No | The account is closed. Ask the customer for a new card. |
WRN_CONTACT_CARDHOLDER | No | The issuer needs the cardholder to act. Ask the customer for new details. |
ERR_INVALID_PAN | No | The card number is not valid, and will not become valid. |
NO_UPDATE | Yes | The card is current. The issuer may update it later. |
WRN_ISSUER_NOT_ENROLLED | Yes | The issuer may opt in. |
WRN_ISSUER_NO_DATA | Yes | The issuer may respond on a later request. |
WRN_OPT_OUT | Yes | The cardholder may opt back in. |
Store each result as you receive it, then filter your next request against it. Cards in the No rows return the same answer every time, so leaving them out costs you nothing and frees that volume for cards that can still move.