Save the uploaded customers
curl -X GET "https://test-api.kashier.io/v2/customers/savecustomers?correlationId=string"{ "body": [ { "_id": "507f1f77bcf86cd799439052", "name": "John Doe", "phoneNumber": "01000000000", "emailAddress": "", "customerId": "C-XXXXXXXXXXXXX", "merchantId": "MID-XXXXX-XXX", "customFields": [ { "name": "custom-key-1", "value": "custom-value-1" } ], "createdAt": "2025-02-26 11:16:26.775000+00:00", "updatedAt": "2025-02-26 11:16:26.775000+00:00" }, { "_id": "507f1f77bcf86cd799439053", "name": "Jane Doe", "phoneNumber": "01000000000", "emailAddress": "", "customerId": "C-XXXXXXXXXXXXX", "merchantId": "MID-XXXXX-XXX", "customFields": [ { "name": "custom-key-1", "value": "custom-value-2" } ], "createdAt": "2025-02-26 11:16:26.776000+00:00", "updatedAt": "2025-02-26 11:16:26.776000+00:00" } ], "message": "success"}Step 2 of the bulk import. Persists the customers that were validated by importCustomers, identified by the correlationId returned there. Separating validation from the write keeps a partially invalid sheet from creating any customers.
Authorization
secretKey Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Query Parameters
The correlationId returned by the import step.
Response Body
application/json
application/json
application/json
application/json
application/json
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…
Import payment links POST
Uploads a spreadsheet of payment links and validates it, without saving anything yet. The response reports how many rows were accepted and which ones failed, so you can fix and re-upload just the f…