KashierDevelopersKashier Developers

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": [      "507f1f77bcf86cd799439050",      "507f1f77bcf86cd799439051"    ],    "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
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

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

POST
/v2/customers/export-batch-async