Safepay lets you generate settlement report exports so your team can reconcile settlement activity. Report exports are asynchronous: you seed a report request, and our settlement engine processes it in the background.Documentation Index
Fetch the complete documentation index at: https://safepay.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
How settlement report exports work
| Stage | What happens |
|---|---|
| Seed report request | You seed a report export request for an aggregator settlement scope. |
| Processing | Safepay queues and prepares the file in the background. |
| Read export | You fetch the export record to check status and file metadata. |
| Download file | Once completed, download the file from the URL returned in the export payload. |
Create a settlement report export
Seed report request
Call
POST /v1/aggregators/{{aggregator_id}}/settlements/report-exports with your export filters.Track export status
Poll
GET /v1/aggregators/{{aggregator_id}}/settlements/report-exports/{{report_export_id}} until processing is completed.Report exports are generated asynchronously. Keep polling the read endpoint until status indicates REPORT_STATUS_SUCCEEDED, then use the returned file URL.
List settlement report exports
Lists report exports for auditing.Read a settlement report export
Use this endpoint to retrieve the latest state of one export, including readiness and file details.Key endpoints
| Endpoint | Purpose |
|---|---|
POST /v1/aggregators/{{aggregator_id}}/settlements/report-exports | Seed a settlement report export request. |
GET /v1/aggregators/{{aggregator_id}}/settlements/report-exports | List settlement report export requests. |
GET /v1/aggregators/{{aggregator_id}}/settlements/report-exports/{{report_export_id}} | Read one settlement report export request. |