Import invoices
curl -X POST "https://test-api.kashier.io/v2/paymentRequest/import" \ -F file="string"{ "body": { "imported": 5, "successful": 5, "failed": 0, "results": [ { "index": 1, "paymentRequestId": "PR-XXXXXXXXXX", "totalAmount": 100, "currency": "EGP", "status": "created" } ] }, "message": "success"}Creates many invoices at once from an uploaded spreadsheet. Each row becomes an invoice; the response reports how many rows were accepted and which ones failed, so you can fix and re-upload just the failures.
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
ISO 4217 currency code applied to the imported invoices (e.g., EGP).
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Import invoices POST
Creates many invoices at once from an uploaded spreadsheet. Each row becomes an invoice; the response reports how many rows were accepted and which ones failed, so you can fix and re-upload just th…
Get all payment links GET
Retrieves the merchant's payment links. All filters are optional and can be combined; results are paginated. If the currency conversion feature is enabled on your account you can also filter by a v…