API Endpoints
The API endpoint (URI or URL) must point to either the Test or the Production (live) environment.
- Test API endpoint: https://api.test.paysafe.com/For example: https://api.test.paysafe.com/merchant/v1/applications
- Production API endpoint:https://api.paysafe.com/For example: https://api.paysafe.com/merchant/v1/applications
API Endpoint Patterns
The API endpoints typically conform to the pattern of the following example:
https://api.test.paysafe.com/merchant/v1/applications/appId
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. |
appId | Replace with your unique applicationID, which you received in the response when you first created an application to onboard on your platform. |
v1 | This is the version of the API. Currently all APIs are on version 1. |
Refer to the table below for further examples.
API Request | Used To | Endpoint Pattern |
---|---|---|
Create | Create an application with full application request body | POST/merchant/v1/applications |
Update | Update application data. | PUT/merchant/v1/applications/appId |
Get Terms and Conditions | Get terms and conditions for the application. | GET/merchant/v1/applications/appId/termsandconditions |
Submit | Submit application. | PATCH/merchant/v1/applications/appId |
Get application | Get application by id | GET/merchant/v1/applications/appId |
Our detailed API Reference section provides full information on all endpoints and JSON objects used.