Export customers
curl -X GET "https://test-api.kashier.io/v2/customers/export-async"{ "message": "string"}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 being processed.
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
Search for a customer by name, phone number, or email address.
Field to sort by: customer name, phone number, or email address.
Sorting direction: 1 = ascending, -1 = descending.
Value in
- 1
- -1
Only export customers created after this date. Example: 01-06-2024
Only export customers created before this date. Example: 30-06-2024
Response Body
application/json
application/json
application/json
application/json
application/json
Get a customer's audit logs GET
Retrieves the full audit trail for a customer — every create and edit, which fields changed, and which dashboard user made the change. This is the same data the profile returns under timeLine, retr…
Export customers with their payment links POST
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…