Skip to main content
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. To inspect live batches, payouts, and per-merchant snapshots without generating a file, use Settlement operations.

How settlement report exports work

Create a settlement report export

1

Seed report request

Call POST /v1/aggregators/{{aggregator_id}}/settlements/report-exports with your export filters.
2

Track export status

Poll GET /v1/aggregators/{{aggregator_id}}/settlements/report-exports/{{report_export_id}} until processing is completed.
3

Download and reconcile

Download the exported file and reconcile settlements in your reporting workflow.
Report exports are generated asynchronously. Keep polling the read endpoint until status indicates REPORT_STATUS_SUCCEEDED, then use the returned file URL.

Order references in the report

Each report row carries two order references: Use metadata.order_id when your order_id is an internal reference (for example, a checkout session) and you also want the merchant’s own order number in the report. Refund rows show the values of the original payment.

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

See also