Account Updater

You are going to need successful INIT requests processed to test Account Updater - take a look here how to do this.

The test cases for Account Updater use the expdate you send in the INIT authorisation request to simulate specific responses. To get started use these cards numbers to get a successful response and tokenise a card:

Cardnumber Response Response Message Description
4000011180138710 1 Transaction Success Payment successfully authorised.
5100019221455924 1 Transaction Success Payment successfully authorised.
To bypass the expiry date check in the test environment when processing the INIT request you must set the amount to 233. If you don't you will get a 204 response code.

Setting the expdate to the values detailed below will allow you to simulated the required response when you submit the ACCOUNT_UPDATER request or test an Auto Update.

Visa

Expiry Date Description Status New Cardnumber New Expiry Date Response Code
012017 Account number change. 1 Yes Yes A
022017 Closed account advice. 2 No No C
032017 Expiration date change. 1 No Yes E
042017 Non-participating BIN. 2 No No N
052017 Participating BIN, no match. 2 No No P
062017 Contact cardholder. 2 No No Q
072017 Match made, no change. 2 No No V

MasterCard

Expiry Date Description Status New Card New Expiry Date Reason Identifier Response Indicator
012016 Match made, update data (replacement card). 1 Yes Yes UPDATE R
022016 Match made, udpated data (brand change). 1 No Yes UPDATE B
032016 Closed account advice. 2 No No CONTAC C
042016 Match made, expiry date update only. 1 No Yes EXPIRY E
052016 Account valid, no update. 2 No No VALID V
062016 Unable to find account - participating BIN. 2 No No UNKNWN P
072016 Unable to find account - non-participating BIN. 2 No No UNKNWN N

Auto Update

To test an Auto Update you are going to need to generate a 402 (Declined: Lost or Stolen Card) or a 325 (Declined: Card Expired) response code on your INIT (with the expdate set as detailed above).

You can do this easily by setting the amount to the required response code - so for a 402 (Declined: Lost or Stolen Card) set it to 402. Here is an example:

{
    "timestamp":"20170612200234",
    "company_id":"113",
    "company_pass":"password",
    "request_hash":"cc8882cb0437863f711432a1d143fe6e9f92ce74080a0f30a0dac3a718ad1c28",
    "transaction":{
        "merchant_order_id":"20170612200234",
        "transaction_type":"AUTH_CAPTURE",
        "original_transaction_id":"1234567",
        "subscription_type":"REBILL",
        "amount":"402",
        "currency_code_iso3":"GBP"
    },
}