Mock providers
v1 providers endpoint currently exposes a mock provider named Mock UK Payments - Redirect Flow. Mock UK Payments - Redirect Flow simulates UK banks that use the redirect authorisation flow.
When you initiate a payment using this provider, we will return a URI to redirect your user to our mock provider authorisation page.
On the authorisation prompt page, different actions lead to different outcomes for the payment.
The following table describes the different actions you can make on the authorisation page and their outcomes:
Outcome | Action | Username |
---|---|---|
Execute | Enter username | test_executed |
Auth failure | Enter username | test_authorisation_failed |
Execution Rejection | Enter username | test_execution_rejected |
Cancellation | Click cancel button |
{
"id": "mock-payments-gb-redirect",
"name": "Mock UK Payments - Redirect Flow",
"country": "GB",
"divisions": [
"retail"
],
"steps": []
}
Once you log in with one of the predetermined usernames, the mock provider will present the account selection page. When you provide the remitter account details in the payment initiation request, only the stated account can be selected on this screen.
Updated 8 months ago