Skip to main content
POST
Request a payment report

Authorizations

x-api-key
string
header
required

API key for service-to-service or merchant authentication.

Headers

x-correlation-id
string<uuid>

Unique identifier for request tracing. Generated by the client or server if not provided.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Request a payment report

format
enum<string>
required

Report file format. Only CSV is supported in v1.

Available options:
CSV
Example:

"CSV"

recipient_email
string<email>
required

Email address notified once the report completes.

Example:

"finance@merchant.example"

filters
object

Same filter set accepted by GET /payments. Omit entirely to include every payment for the merchant in the report (still bounded by the frozen upper date and the row ceiling).

Response

Deduped to an existing report matching the same merchant, format, and filters. Adds row_count / completed_at / expires_at when that report is already COMPLETED.

id
string<uuid>
required

Report identifier

Example:

"3f1c0b2a-0e5d-4a1b-9c2f-6a7b8c9d0e1f"

status
enum<string>
required
Available options:
QUEUED,
RUNNING,
COMPLETED,
FAILED
Example:

"QUEUED"

created_at
string<date-time>
required
Example:

"2026-09-06T12:00:00.000Z"

row_count
integer

Exact row count. Present when a deduped report is already COMPLETED.

Example:

1284

completed_at
string<date-time>
Example:

"2026-09-06T12:03:11.000Z"

expires_at
string<date-time>
Example:

"2026-12-05T12:03:11.000Z"