# Requests and Responses After you have completed the necessary [tests](/products/account-updater/testing) you can begin using the API. ## Using FTP 1. Submit an Account Updater request 2. Receive an acknowledgement response from us - If the response indicates any errors, you must resolve them and re-submit a new request 3. Visa and MasterCard send a file to us containing the requested information 4. We send a completion response 5. Retrieve your files using [FTP](/products/account-updater/testing/ftp) ## Batch requests The first step of the process is submitting an Account Updater batch request. ### Request XML structure When submitting a request, you can use either card or token information. You must use the following structure: ``` JohnSmith Password1234 123456 Visa 123412312345123 0721 123456 12345678912345 0721 ``` For more details about our Account Updater elements click [here](/products/account-updater/requests-responses/response-elements). ## Acknowledgement response When you submit a request, Worldpay returns an acknowledgement response. This response confirms the request was received and contains validation information. ### Acknowledgement response XML structure ``` 123456789 123456 000 2009-12-21T11:37:04 Approved ``` For more details about our Account Updater elements click [here](/products/account-updater/requests-responses/response-elements). ## Acknowledgement response codes We notify you when we receive the request. If the response file indicates any errors, you must resolve the issues and submit corrected account information in a new Account Updater request. | Response Code | Response Message | Resolution | | --- | --- | --- | | 000 | Approved | We forward these accounts to Visa and MasterCard. | | 301 | Invalid account number | The card number is not valid. Correct the account number and resubmit the data. | | 320 | Invalid Expiration Date | The expiration date is not valid. Correct the expiration date and resubmit the card data. | | 821 | Merchant is not authorized for tokens | You are not authorized to use tokens. | | 822 | Token was not found | The submitted token was not found in the system. Correct the token number and resubmit. | | 823 | Token was invalid | The submitted token failed validation. Correct the token number and resubmit. | | 899 | Generic token use error | There is an unspecified token use error; contact Customer Service. | ## Completion response We return the completion response, which includes updated customer account information and reason codes supplied by the network. You can use this information to update customer account information. Typically, we generate this file five days after you first submit your [batch request](#batch-request). ### Completion response format The following examples show a tree structure view of the acknowledgement response and a completion response. Info information. The response, however, does not contain the `updatedCard` or `updatedToken` child elements. ### Completion response XML structure ``` 123456789 123456 000 2009-12-21T11:37:04 Approved Visa 123412312345123 0721 Visa 1234123123451224 0725 123456789 000 2009-12-21T11:37:04 Approved 12345678912345 0721 Visa 123456 12345622912345 0725 Visa 123456 ``` For more details about our Account Updater elements click [here](/products/account-updater/requests-responses/response-elements). ## Completion response codes The Account Updater completion response code and its associated message (as shown in [Account Updater Completion Response Codes](#response-codes)) specify whether or not an account number has been changed and what type of change occurred, if any. - The Response Code value appears in the `` element. - The Response Message value appears in the `` element. - The Resolution column provides a recommended action. | Response Code | Response Message | Resolution | | --- | --- | --- | | 191 | The merchant is not registered in the update program | Escalate this to your Customer Experience Manager. This indicates a set-up problem that must be resolved prior to submitting another request file. | | 500 | The account number was changed | Submit the account number returned in the completion response. The response may also indicate that both the account number and expiration date changed. | | 501 | The account was closed | Contact the cardholder for updated information. | | 502 | The expiration date was changed | Submit the expiration date returned in the completion response. | | 503 | The issuing bank does not participate in the update program. | The Issuer does not participate in the Account Updater program. Submit original card information. | | 504 | Contact the cardholder for updated information | Contact the cardholder for updated information. | | 505 | No match found | There was no match found in the updated information. Submit the original card information. | | 506 | No changes found | Submit the original card information. |