Testing VoP on Sandbox
Simulating statuses in mock environments
To simulate statuses other than MATCH, specific hardcoded payee names can be used:
| Payee | Returned Status |
|---|---|
| Name: John Doe | CLOSE_MATCH |
| Name: Jane Doe | NO_MATCH |
| Name: Jason Doe | API Exception (with a specific message) |
| Name: Jane Smith | Error – Internal Server Error |
| Name: Jason Doe + Swedish IBANs | EXEMPT status |
Testing Scenarios
Happy Path Flow (MATCH)
- Select the payee to which you want to send payment.
- Call the VoP endpoint, which will return a MATCH status.
- Copy the
payeeVerificationIdfrom the response. - Create the payment via the /payments endpoint, including the
payeeVerificationId.
Non-Match / Close Match Flow
- Select the payee to which you want to send payment.
- Call the VoP endpoint, which will return a
CLOSE_MATCHorNO_MATCHstatus. - Call the review endpoint with the following payload to confirm you want to proceed:
{
"accepted": true
}- Copy the
payeeVerificationIdfrom the response. - Create the payment via the /payments endpoint, including the
payeeVerificationId
Updated about 2 months ago
