KashierDevelopersKashier Developers

Export invoices asynchronously

curl -X GET "https://test-api.kashier.io/v2/paymentRequest/export-async"
{  "body": {    "status": "processing"  },  "message": "success"}

Starts an invoice export in the background and emails the finished file to the account that made the request. Use this instead of Export invoices when the date range is wide enough that a synchronous download would time out.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Query Parameters

status?string

Filter by payment status.

Value in

  • "unpaid"
  • "on hold"
  • "paid"
  • "voided"
dateFrom?string

Start of the creation-date range (e.g., 2026-01-01).

dateTo?string

End of the creation-date range (e.g., 2026-06-30).

limit?integer

Number of records per page.

page?integer

Page number.

Response Body

application/json

application/json

application/json

application/json

application/json

GET
/v2/paymentRequest/export-async