Token.io provides a mock bank that enables you to test different scenarios for your single immediate payment integration.
The bank is called 'Mock redirect' and can be found on the Bank selection page of the Hosted Pages. The bankId is mock-redirect.
This is for banks that require 2-steps to complete payment initiation.
Support for banks that require a single step is coming soon.
SIP scenarios can be tested by varying the value of the amount.value field in the payment request.
amount.value | Status | Status Reason Information | Description |
|---|---|---|---|
| 101 | INITIATION_COMPLETED | success | Reproduces successful payment initiation. |
| 103 | INITIATION_REJECTED | failure | This status indicates that the payment initiation request has been rejected by the bank. |
| 104 | INITIATION_DECLINED | Error during payment redemption: PERMISSION_DENIED | This status indicates that the payment initiation request has been declined, in most cases actively by the user. |
| 105 | INITIATION_PROCESSING | processing | This status indicates that the payment initiation request has been acknowledged by the bank and is now being processed. |
| 106 | INITIATION_DECLINED | Payment initiation has been canceled. | This status indicates that the payment initiation request has been declined, in most cases actively by the user. |
| 108 | INITIATION_REJECTED_INSUFFICIENT_FUNDS | Insufficient funds | This status indicates that the payment initiation request has been rejected due to insufficient funds. |
| 110 | INITIATION_PROCESSING | initiated | This status indicates that the payment initiation request has been acknowledged by the bank and is now being processed. |
| 112 | INITIATION_DECLINED | Payment initiation has been declined. | This status indicates that the payment initiation request has been declined, in most cases actively by the user. |
| 116 | INITIATION_REJECTED | Insufficient funds | This status indicates that the payment initiation request has been rejected by the bank. |
| 117 | INITIATION_DECLINED | Permission denied | This status indicates that the payment initiation request has been declined, in most cases actively by the user. |
| 118 | INITIATION_DECLINED | CUST | This status indicates that the payment initiation request has been declined, in most cases actively by the user. |
| 119 | INITIATION_DECLINED | Order not executed | This status indicates that the payment initiation request has been declined, in most cases actively by the user. |
If you have any feedback about the developer documentation, please contact devdocs@token.io