API Endpoints
The API endpoint (URI or URL) must point to either the Test or Production (live) environment.
- Test API endpoint: https://api.test.paysafe.com/
For example: https://api.test.paysafe.com/bankaccountvalidator/v1/monitor - Production API endpoint: https://api.paysafe.com/
For example: https://api.paysafe.com/bankaccountvalidator/v1/monitor
API Endpoint Patterns
The following example demonstrates the pattern of a typical API endpoint:
https://api.test.paysafe.com/bankaccountvalidator/v1/accounts/account_id/APIrequest
Replace the elements in the API endpoint example above as follows:
Element | Usage |
---|---|
test | Use test for a test transaction. Remove the word test for a live transaction. |
account_id | Replace with your unique merchant account number, which you receive when you create your test account – the email will include the information. |
APIrequest | Replace with the type of API request, such as verifications. |
v1 | This is the version of the API. |
Resource Patterns
API Request | Used To | Endpoint Pattern |
---|---|---|
Verifications | Initiate a bank account verification request with Paysafe. | POST/bankaccountvalidator/v1/accounts/account_id/verifications |
Redirect | Redirect a customer so they can validate their bank account details. | GET/bankaccountvalidator/v1/redirect?sessionId={sessionId} |
Get Verification | Look up a verification request using the ID returned in the response to the original Create a Verification request. | GET/bankaccountvalidator/v1/accounts/account_id/verifications/verification_id |
Was this page helpful?
On this Page