Skip to content
Last updated

Mock bank

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.valueStatusStatus Reason InformationDescription
101INITIATION_COMPLETEDsuccessReproduces successful payment initiation.
103INITIATION_REJECTEDfailureThis status indicates that the payment initiation request has been rejected by the bank.
104INITIATION_DECLINEDError during payment redemption: PERMISSION_DENIEDThis status indicates that the payment initiation request has been declined, in most cases actively by the user.
105INITIATION_PROCESSINGprocessingThis status indicates that the payment initiation request has been acknowledged by the bank and is now being processed.
106INITIATION_DECLINEDPayment initiation has been canceled.This status indicates that the payment initiation request has been declined, in most cases actively by the user.
108INITIATION_REJECTED_INSUFFICIENT_FUNDSInsufficient fundsThis status indicates that the payment initiation request has been rejected due to insufficient funds.
110INITIATION_PROCESSINGinitiatedThis status indicates that the payment initiation request has been acknowledged by the bank and is now being processed.
112INITIATION_DECLINEDPayment initiation has been declined.This status indicates that the payment initiation request has been declined, in most cases actively by the user.
116INITIATION_REJECTEDInsufficient fundsThis status indicates that the payment initiation request has been rejected by the bank.
117INITIATION_DECLINEDPermission deniedThis status indicates that the payment initiation request has been declined, in most cases actively by the user.
118INITIATION_DECLINEDCUSTThis status indicates that the payment initiation request has been declined, in most cases actively by the user.
119INITIATION_DECLINEDOrder not executedThis 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