The table below lists the magic numbers that can be used to trigger various scenarios when performing purchase or refund transactions against the integration server simulator (ISS).
The magic number should be given for the amount, unless otherwise stated.
Magic Number | Description | Result | Extra Info |
---|---|---|---|
10000 | Approved transaction; swiped + cheque + PIN; EFTPOS card type | APPROVED | |
10001 | Declined transaction; swiped + cheque + PIN; EFTPOS card type | DECLINED | |
10008 | Approved transaction; swiped + cheque + signature; EFTPOS card type | APPROVED | |
10011 | Approved transaction; swiped + cheque + signature; EFTPOS VIP card type | APPROVED | |
10100 | Approved transaction; swiped + savings + PIN; EFTPOS card type | APPROVED | |
10101 | Declined transaction; swiped + savings + PIN; EFTPOS card type | DECLINED | |
10108 | Approved transaction; swiped + savings + signature; EFTPOS card type | APPROVED | |
10111 | Approved transaction; swiped + savings + signature; EFTPOS VIP card type | APPROVED | |
10200 | Approved transaction; swiped + PIN; Visa card type | APPROVED | |
10201 | Declined transaction; swiped + PIN; Visa card type | DECLINED | |
10208 | Approved transaction; swiped + signature; Visa card type | APPROVED | |
10211 | Approved transaction; swiped + signature; Visa VIP card type | APPROVED | |
3500 | Approved express payment transaction; swiped + no pin or signature required; Visa card type | APPROVED | |
10250 | Approved transaction; swiped + PIN; 2% surcharge; Visa card type | APPROVED |
Not applicable for refunds
|
10251 | Declined transaction; swiped + PIN; 2% surcharge; Visa card type | DECLINED |
Not applicable for refunds
|
10300 | Approved transaction; swiped + PIN; Mastercard card type | APPROVED | |
10301 | Declined transaction; swiped + PIN; Mastercard card type | DECLINED | |
10308 | Approved transaction; swiped + signature; Mastercard card type | APPROVED | |
10311 | Approved transaction; swiped + signature; Mastercard VIP card type | APPROVED | |
10350 | Approved transaction; swiped + PIN; 2% surcharge; Mastercard card type | APPROVED |
Not applicable for refunds
|
10351 | Declined transaction; swiped + PIN; 2% surcharge; Mastercard card type | DECLINED |
Not applicable for refunds
|
10400 | Approved transaction; swiped + PIN; AMEX card type | APPROVED | |
10401 | Declined transaction; swiped + PIN; AMEX card type | DECLINED | |
10408 | Approved transaction; swiped + signature; AMEX card type | APPROVED | |
10411 | Approved transaction; swiped + signature; AMEX VIP card type | APPROVED | |
10450 | Approved transaction; swiped + PIN; 2% surcharge; AMEX card type | APPROVED |
Not applicable for refunds
|
10451 | Declined transaction; swiped + PIN; 2% surcharge; AMEX card type | DECLINED |
Not applicable for refunds
|
10500 | Approved transaction; swiped + PIN; Diners card type | APPROVED | |
10501 | Declined transaction; swiped + PIN; Diners card type | DECLINED | |
10508 | Approved transaction; swiped + signature; Diners card type | APPROVED | |
10511 | Approved transaction; swiped + signature; Diners VIP card type | APPROVED | |
10550 | Approved transaction; swiped + PIN; 2% surcharge; Diners card type | APPROVED |
Not applicable for refunds
|
10551 | Declined transaction; swiped + PIN; 2% surcharge; Diners card type | DECLINED |
Not applicable for refunds
|
10600 | Approved transaction; swiped + PIN; JCB card type | APPROVED | |
10601 | Declined transaction; swiped + PIN; JCB card type | DECLINED | |
10608 | Approved transaction; swiped + signature; JCB card type | APPROVED | |
10611 | Approved transaction; swiped + signature; JCB VIP card type | APPROVED | |
10700 | Approved transaction; swiped + savings + PIN; UPI card type | APPROVED | |
10701 | Declined transaction; swiped + savings + PIN; UPI card type | DECLINED | |
10800 | Approved transaction; swiped + credit + PIN; UPI card type | APPROVED | |
10801 | Declined transaction; swiped + credit + PIN; UPI card type | DECLINED | |
10808 | Approved transaction; swiped + credit + signature; UPI card type | APPROVED | |
10900 | Approved transaction; QR Code; Alipay card type | APPROVED | |
10901 | Declined transaction; QR Code; Alipay card type | DECLINED | |
11000 | Approved transaction; QR Code; Zip card type | APPROVED | |
11001 | Declined transaction; QR Code; Zip card type | DECLINED | |
11100 | Approved/Declined transaction; swiped + savings + PIN; without restrictedItem or restrictedItem = false / with restrictedItem = true ; Cashless Debit Card | APPROVED/DECLINED |
Transaction will complete successfully/declined when restrictedItem supplied and set to false, or restrictedItem not supplied / restrictedItem supplied and set to true, 'cdc-bin' will be added in 'extra information'
|
60000 | Cancelled transaction; swiped | CANCELLED |
Cancelled at the 'select account' stage
|
6001 | Cancelled transaction | CANCELLED |
Does not progress past the 'Present card' screen; awaits cancel
|
60100 | Purchase transaction with multi-answer question; swipe + PIN | APPROVED |
Will ask a question with 3 answers; choice of answers does not affect the transaction. Transaction will complete successfully
|
60200 | Purchase transaction with one-answer question; swipe + PIN | APPROVED |
Will ask a question with 1 answer; answer does not affect the transaction. Transaction will complete successfully
|
60300 | Purchase transaction with inherent delay | APPROVED |
Will delay the return of the approved status message (with receipt) for 10 seconds
|
60400 | Purchase transaction with inherent delay | APPROVED |
Will delay the return of the complete status message for 10 seconds
|
660 | Reversed transaction, swiped + PIN; EFTPOS card type | APPROVED |
Auth times out and reversal succeeds
|
666660 | Infinitly processing transaction, swiped + PIN; EFTPOS card type | NEVER COMPLETES |
Infinitly returns "pending" status response for transaction
|
662 | Reversed transaction, swiped + PIN; Visa card type | APPROVED |
Visa, Auth times out and reversal succeeds
|
666662 | Infinitly processing transaction, swiped + PIN; VISA card type | NEVER COMPLETES |
Infinitly returns "pending" status response for transaction
|
880 | Errored transaction; swiped + PIN; EFTPOS card type | ERROR |
Will "system error" upon processing the transaction and decline it with error code 80
|
882 | Errored transaction; swiped + PIN; Visa card type | ERROR |
Will "system error" upon processing the transaction and decline it with error code 80
|
20202 | Returns a HTTP response code of 202 on initating a transaction then declines on second attempt | ERROR then DECLINED | |
202 | Returns an HTTP response code of 202 on initating a transaction | ERROR |
Accepted
|
400 | Returns an HTTP response code of 400 on initating a transaction | ERROR |
Bad request
|
403 | Returns an HTTP response code of 403 on initating a transaction | ERROR |
Authentication failed
|
404 | Returns an HTTP response code of 404 on initating a transaction | ERROR |
Not found
|
409 | Returns an HTTP response code of 409 on initating a transaction | ERROR |
Conflict
|
410 | Returns an HTTP response code of 410 on initating a transaction | ERROR |
Unknown resource
|
500 | Returns an HTTP response code of 500 on initating a transaction | ERROR |
Server error
|
501 | Returns an HTTP response code of 501 on initating a transaction | ERROR |
Not implemented
|
502 | Returns an HTTP response code of 502 on initating a transaction | ERROR |
Bad gateway
|
503 | Returns an HTTP response code of 503 on initating a transaction | ERROR |
Service unavailable
|
504 | Returns an HTTP response code of 504 on initating a transaction | ERROR |
Gateway timeout
|
11200 | Visa, issued in EUR, Approved | APPROVED | |
11201 | Visa, issued in EUR, Declined | DECLINED | |
11208 | Visa, issued in EUR, Approved with Signature | APPROVED | |
11258 | Visa, issued in EUR, Approved with Signature, 2% Surcharge | APPROVED |
Not applicable for refunds
|
11211 | Visa, issued in EUR, Approved VIP | APPROVED | |
12300 | Visa, issued in EUR, Approved no scheme exchange rate | APPROVED | |
11300 | MasterCard, issued in EUR, Approved | APPROVED | |
11301 | MasterCard, issued in EUR, Declined | DECLINED | |
11308 | MasterCard, issued in EUR, Approved with Signature | APPROVED | |
11358 | MasterCard, issued in EUR, Approved with Signature 2% Surcharge | APPROVED |
Not applicable for refunds
|
11311 | MasterCard, issued in EUR, Approved VIP | APPROVED | |
12400 | MasterCard, issued in EUR, Approved no scheme exchange rate | APPROVED | |
20200 | Returns a HTTP response code of 202 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
40300 | Returns a HTTP response code of 403 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
40000 | Returns a HTTP response code of 400 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
40400 | Returns a HTTP response code of 404 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
41000 | Returns a HTTP response code of 410 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
50000 | Returns a HTTP response code of 500 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
50200 | Returns a HTTP response code of 502 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
50300 | Returns a HTTP response code of 503 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
50400 | Returns a HTTP response code of 504 on transaction status request | ERROR |
Transaction will start OK, but return an error on the first status request
|
120208 | Returns a HTTP response code of 202 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
140008 | Returns a HTTP response code of 400 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
140308 | Returns a HTTP response code of 403 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
140408 | Returns a HTTP response code of 404 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
141008 | Returns a HTTP response code of 410 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
150008 | Returns a HTTP response code of 500 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
150108 | Returns a HTTP response code of 501 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
150208 | Returns a HTTP response code of 502 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
150308 | Returns a HTTP response code of 503 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
150408 | Returns a HTTP response code of 504 after signature OK question | ERROR |
Doesn't matter if you say OK to the question, transaction still fails
|
105 | DCC rate request timeout. Switch will not receive DCC request. | ERROR | |
20000 | DCC rate response delayed. Terminal will receive a delayed DCC response . | Delayed |