Export customers with their payment links
curl -X POST "https://test-api.kashier.io/v2/customers/export-batch-async" \ -H "Content-Type: application/json" \ -d '{ "customerIds": [ "67ba0311bf4f31001203c6c2", "67b9f78287c9970012383912" ], "startDate": "01-06-2024", "endDate": "30-06-2024", "search": "" }'{ "message": "string"}Exports a chosen set of customers together with the payment links created for them. Pass customerIds to export specific customers, or the date/search filters to export everything that matches. Like the other exports, the file is emailed to the merchant account.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Export customers GET
Exports the customers matching the given filters. The export is generated asynchronously and delivered to the merchant account's email address, so the response only acknowledges that the request is…
Upload a customers sheet for review POST
Step 1 of the bulk import. Uploads an Excel sheet of customers and validates it without saving anything. Rows that fail validation come back with their errors populated so you can correct them; if…