API Endpoints
The API endpoint (URI or URL) must point to the Production (live) environment.
- Production API endpoint: https://api.paysafe.com/
For example: https://api.paysafe.com/reporting/v1/
API Endpoint Patterns
The API endpoints typically conform to the pattern of the example below:
https://api.paysafe.com/reporting/v1/
Because the Test environment is completely isolated, any changes you perform on your Test accounts configuration may have to be repeated in your Production account. Your production account IDs will also differ from your test account IDs.
Resource Patterns
The following table lists the major request types supported by the Reporting API.
API Request | Endpoint Pattern |
---|---|
Subscribe to a Report | POST/report-configs/{reportId}/subscriptions |
Get Subscriptions | GET/report-configs/{reportId}/subscriptions{subscriptionId} |
Unsubscribe from a Report | DELETE/report-configs//{reportId}/subscriptions/{subscriptionId} |
Submit a Report Request | POST/report-requests/ |
Subscribe to a Report
You use this API to subscribe to reports that you want to be delivered over HTTP endpoint (webhooks). A valid, reachable webhook endpoint should be configured and provided to Paysafe. When you subscribe to a report, a unique subscribe id is returned to you. You’ve to use this id if you chose to unsubscribe a report.
Submit a Report Request
You use this API to submit a request to retrieve a report, for example, monthly charge back report. The report format will be in .CSV. Depending upon the data, the file you obtain in the response could contain a single or even multiple files. The report will contain several field and columns. For a report to be delivered, you must subscribe to it first.