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": [      "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
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

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