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.