ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiPayments

Export payments as CSV

GET
/api/v1/payments/export/csv

Downloads ALL payments matching the filters (no pagination limit) as a CSV file — for accounting/reconciliation.

Authorization

bearer

Query Parameters

projectId?string
status?string
Value in"pending""completed""failed"
type?string
Value in"incoming""outgoing"

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

CSV file download

text/csv
Example Request
curl -X GET 'http://localhost:3001/api/v1/payments/export/csv'
Example Response200
Empty