Testing VoP on Sandbox

Simulating statuses in mock environments

To simulate statuses other than MATCH, specific hardcoded payee names can be used:

PayeeReturned Status
Name: John DoeCLOSE_MATCH
Name: Jane DoeNO_MATCH
Name: Jason DoeAPI Exception (with a specific message)
Name: Jane SmithError – Internal Server Error
Name: Jason Doe + Swedish IBANsEXEMPT status

Testing Scenarios

Happy Path Flow (MATCH)

  1. Select the payee to which you want to send payment.
  2. Call the VoP endpoint, which will return a MATCH status.
  3. Copy the payeeVerificationId from the response.
  4. Create the payment via the /payments endpoint, including the payeeVerificationId.

Non-Match / Close Match Flow

  1. Select the payee to which you want to send payment.
  2. Call the VoP endpoint, which will return a CLOSE_MATCH or NO_MATCH status.
  3. Call the review endpoint with the following payload to confirm you want to proceed:
{
  "accepted": true
}
  1. Copy the payeeVerificationId from the response.
  2. Create the payment via the /payments endpoint, including the payeeVerificationId