The table below lists the magic numbers that can be used to trigger various scenarios when performing pre-authorisation 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 |
|---|---|---|---|
| 10200 | Open preAuth with a Visa card | APPROVED |
Completion reference from this transaction can be used to close or void the preAuth
|
| 10300 | Open preAuth with a MasterCard | APPROVED |
Completion reference from this transaction can be used to close or void the preAuth
|
| 10400 | Open preAuth with an Amex card | APPROVED |
Completion reference from this transaction can be used to close or void the preAuth
|
| 10500 | Open preAuth with a Diners card | APPROVED |
Completion reference from this transaction can be used to close or void the preAuth
|
| 10600 | Open preAuth with a JCB card | APPROVED |
Completion reference from this transaction can be used to close or void the preAuth
|
| 10800 | Open preAuth with a UPI Credit card | APPROVED |
Completion reference from this transaction can be used to close or void the preAuth
|
| 10208 | Open preAuth with a Visa card | APPROVED WITH SIGNATURE | |
| 10308 | Open preAuth with a MasterCard | APPROVED WITH SIGNATURE | |
| 10408 | Open preAuth with an Amex card | APPROVED WITH SIGNATURE | |
| 10508 | Open preAuth with a Diners card | APPROVED WITH SIGNATURE | |
| 10608 | Open preAuth with a JCB card | APPROVED WITH SIGNATURE | |
| 10808 | Open preAuth with a UPI Credit card | APPROVED WITH SIGNATURE | |
| 10201 | Open preAuth with a Visa card | DECLINED | |
| 10301 | Open preAuth with a MasterCard | DECLINED | |
| 10401 | Open preAuth with an Amex card | DECLINED | |
| 10501 | Open preAuth with a Diners card | DECLINED | |
| 10601 | Open preAuth with a JCB card | DECLINED | |
| 10801 | Open preAuth 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 |
|---|---|---|---|
| 320200 | Open preAuth with a Visa card but error code 202 on void | APPROVED followed by ERROR |
Accepted
|
| 340000 | Open preAuth with a Visa card but error code 400 on void | APPROVED followed by ERROR |
Bad request
|
| 340300 | Open preAuth with a Visa card but error code 403 on void | APPROVED followed by ERROR |
Forbidden
|
| 340400 | Open preAuth with a Visa card but error code 404 on void | APPROVED followed by ERROR |
Not found
|
| 350000 | Open preAuth with a Visa card but error code 500 on void | APPROVED followed by ERROR |
Internal server error
|
| 350300 | Open preAuth with a Visa card but error code 503 on void | APPROVED followed by ERROR |
Service unavailable
|
| 350400 | Open preAuth with a Visa card but error code 504 on void | APPROVED followed by ERROR |
Gateway timeout
|
| 360000 | Open preAuth but UNKNOWN_TRANSACTION on void | APPROVED followed by UNKNOWN_TRANSACTION | |
| 360100 | Open preAuth but ALREADY_VOIDED on void | APPROVED followed by ALREADY_VOIDED |
| Magic Number | Description | Result | Extra Info |
|---|---|---|---|
| 40000 | Incremental preAuth return error code 400 | ERROR |
Bad request
|
| 40300 | Incremental preAuth return error code 403 | ERROR |
Forbidden
|
| 40400 | Incremental preAuth return error code 404 | ERROR |
Not found
|
| 50000 | Incremental preAuth return error code 500 | ERROR |
Internal server error
|
| 50300 | Incremental preAuth return error code 503 | ERROR |
Service unavailable
|
| 50400 | Incremental preAuth return error code 504 | ERROR |
Gateway timeout
|
| 60000 | Incremental preAuth return UNKNOWN_TRANSACTION | UNKNOWN_TRANSACTION | |
| 60100 | Incremental preAuth return ALREADY_VOIDED | ALREADY_VOIDED | |
| 60200 | Incremental preAuth return ALREADY_COMPLETED | ALREADY_COMPLETED |
| Magic Number | Description | Result | Extra Info |
|---|---|---|---|
| 220200 | Open preAuth with a Visa card but error code 202 on close | APPROVED followed by ERROR |
Accepted
|
| 240000 | Open preAuth with a Visa card but error code 400 on close | APPROVED followed by ERROR |
Bad request
|
| 240300 | Open preAuth with a Visa card but error code 403 on close | APPROVED followed by ERROR |
Forbidden
|
| 240400 | Open preAuth with a Visa card but error code 404 on close | APPROVED followed by ERROR |
Not found
|
| 250000 | Open preAuth with a Visa card but error code 500 on close | APPROVED followed by ERROR |
Internal server error
|
| 250300 | Open preAuth with a Visa card but error code 503 on close | APPROVED followed by ERROR |
Service unavailable
|
| 250400 | Open preAuth with a Visa card but error code 504 on close | APPROVED followed by ERROR |
Gateway timeout
|
| 260000 | Open preAuth but UNKNOWN_TRANSACTION on close | APPROVED followed by UNKNOWN_TRANSACTION | |
| 260100 | Open preAuth but ALREADY_VOIDED on close | APPROVED followed by ALREADY_VOIDED | |
| 260200 | Open preAuth but ALREADY_COMPLETED on close | APPROVED followed by ALREADY_COMPLETED |