The table below lists the magic numbers that can be used to trigger various scenarios when making bar tabs against the integration server simulator (ISS).
The magic number should be given for the open tab amount, unless otherwise stated.
| Magic Number | Description | Result | Extra Info |
|---|---|---|---|
| 320200 | Open tab with a Visa card but error code 202 on void | APPROVED followed by ERROR |
Accepted
|
| 340000 | Open tab with a Visa card but error code 400 on void | APPROVED followed by ERROR |
Bad request
|
| 340300 | Open tab with a Visa card but error code 403 on void | APPROVED followed by ERROR |
Forbidden
|
| 340400 | Open tab with a Visa card but error code 404 on void | APPROVED followed by ERROR |
Not found
|
| 350000 | Open tab with a Visa card but error code 500 on void | APPROVED followed by ERROR |
Internal server error
|
| 350300 | Open tab with a Visa card but error code 503 on void | APPROVED followed by ERROR |
Service unavailable
|
| 350400 | Open tab with a Visa card but error code 504 on void | APPROVED followed by ERROR |
Gateway timeout
|
| 360000 | Open tab but UNKNOWN_TRANSACTION on void | APPROVED followed by UNKNOWN_TRANSACTION | |
| 360100 | Open tab but ALREADY_VOIDED on void | APPROVED followed by ALREADY_VOIDED |
| Magic Number | Description | Result | Extra Info |
|---|---|---|---|
| 10200 | Open tab with a Visa card | APPROVED |
Completion reference from this transaction can be used to close or void the tab
|
| 10300 | Open tab with a MasterCard | APPROVED |
Completion reference from this transaction can be used to close or void the tab
|
| 10400 | Open tab with an Amex card | APPROVED |
Completion reference from this transaction can be used to close or void the tab
|
| 10500 | Open tab with a Diners card | APPROVED |
Completion reference from this transaction can be used to close or void the tab
|
| 10600 | Open tab with a JCB card | APPROVED |
Completion reference from this transaction can be used to close or void the tab
|
| 10800 | Open tab with a UPI Credit card | APPROVED |
Completion reference from this transaction can be used to close or void the tab
|
| 10208 | Open tab with a Visa card | APPROVED WITH SIGNATURE | |
| 10308 | Open tab with a MasterCard | APPROVED WITH SIGNATURE | |
| 10408 | Open tab with an Amex card | APPROVED WITH SIGNATURE | |
| 10508 | Open tab with a Diners card | APPROVED WITH SIGNATURE | |
| 10608 | Open tab with a JCB card | APPROVED WITH SIGNATURE | |
| 10808 | Open tab with a UPI Credit card | APPROVED WITH SIGNATURE | |
| 10201 | Open tab with a Visa card | DECLINED | |
| 10301 | Open tab with a MasterCard | DECLINED | |
| 10401 | Open tab with an Amex card | DECLINED | |
| 10501 | Open tab with a Diners card | DECLINED | |
| 10601 | Open tab with a JCB card | DECLINED | |
| 10801 | Open tab with a UPI Credit card | DECLINED | |
| 202 | Error code 202 on initiate | ERROR |
Accepted
|
| 400 | Error code 400 on initiate | ERROR |
Bad request
|
| 403 | Error code 403 on initiate | ERROR |
Forbidden
|
| 404 | Error code 404 on initiate | ERROR |
Not found
|
| 500 | Error code 500 on initiate | ERROR |
Internal server error
|
| 503 | Error code 503 on initiate | ERROR |
Service unavailable
|
| 504 | Error code 504 on initiate | ERROR |
Gateway timeout
|
| Magic Number | Description | Result | Extra Info |
|---|---|---|---|
| 220200 | Open tab with a Visa card but error code 202 on close | APPROVED followed by ERROR |
Accepted
|
| 240000 | Open tab with a Visa card but error code 400 on close | APPROVED followed by ERROR |
Bad request
|
| 240300 | Open tab with a Visa card but error code 403 on close | APPROVED followed by ERROR |
Forbidden
|
| 240400 | Open tab with a Visa card but error code 404 on close | APPROVED followed by ERROR |
Not found
|
| 250000 | Open tab with a Visa card but error code 500 on close | APPROVED followed by ERROR |
Internal server error
|
| 250300 | Open tab with a Visa card but error code 503 on close | APPROVED followed by ERROR |
Service unavailable
|
| 250400 | Open tab with a Visa card but error code 504 on close | APPROVED followed by ERROR |
Gateway timeout
|
| 260000 | Open tab but UNKNOWN_TRANSACTION on close | APPROVED followed by UNKNOWN_TRANSACTION | |
| 260100 | Open tab but ALREADY_VOIDED on close | APPROVED followed by ALREADY_VOIDED | |
| 260200 | Open tab but ALREADY_COMPLETED on close | APPROVED followed by ALREADY_COMPLETED |