Search Overlay

Testing Instructions

The Paysafe Test environment can be used to test websites or applications without running transactions through the production (live) processing platform.

With the Interac® verification service API, you can test the following:

  • Verify support for all the operation types that you require.
  • Review all common errors as well as errors that may occur for each operation, and ensure your application can handle them.
  • Verify the lengths and format for all attributes you send.

Use the following cURL to create the verification request

curl --request POST \
--url https://api.test.paysafe.com/bankaccountvalidator/v1/verifiedme/accounts/accountId/verifications \
--header 'Authorization: Basic <token> \
--header 'Content-Type: application/json' \
--data '{
"merchantRefNum": "string",
"accountId": "string",
"returnLinks": [
{
"rel": "string",
"href": "string"
}
],
"locale": "string",
"metadata": {
"key": "value"
}
}'
  1. Copy the redirect link returned to the href to a browser and select the required bank and login with online banking credentials and proceed forward. 
  2. At the end, the customer is redirected to the return URL provided in the Create Verification request. 
  3. Perform a Verification Lookup GET request with verification ID to retrieve the user’s details associated with the selected bank account. Use the following cURL for the same.
curl --request GET \
--url https://api.test.paysafe.com/bankaccountvalidator/v1/verifiedme/verifications/verificationId \
--header 'Authorization: Basic <token> \
--header 'Content-Type: application/json'

Test and Production Accounts

Test accounts enable you to process API transactions that mirror the functionality on the production environment. Once you are satisfied with your integration to the test environment, you will need to repeat any configuration changes made to your test account on the production account. Keep a record of any changes requested and carried out. 

You will need to use different API endpoints and authentication credentials to connect to the Paysafe production environment.