Export invoices
curl -X GET "https://test-api.kashier.io/v2/paymentRequest/export""string"Exports the invoices matching your filters as a spreadsheet, returned inline in the response. For large exports use Export invoices asynchronously instead, which emails you the file once it is ready.
Authorization
secretKey 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
Filter by payment status.
Value in
- "unpaid"
- "on hold"
- "paid"
- "voided"
Start of the creation-date range (e.g., 2026-01-01).
End of the creation-date range (e.g., 2026-06-30).
Number of records per page.
Page number.
Response Body
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/json
application/json
application/json
application/json
Share invoice POST
Sends the invoice's payment link to a customer by email or SMS. Kashier records the delivery outcome on the invoice, so a later Get invoice shows whether the message was delivered, opened, or click…
Export invoices asynchronously GET
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 synchrono…