KashierDevelopersKashier Developers

Delete invoice

curl -X DELETE "https://test-api.kashier.io/v2/paymentRequest/string"
{  "body": {    "paymentRequestId": "PR-XXXXXXXXXX",    "isDeleted": true  },  "message": "success"}

Deletes an invoice. The invoice is soft-deleted — it stops being payable and disappears from List invoices, but its history is retained.

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

Path Parameters

paymentRequestId*string

The invoice identifier (e.g., PR-XXXXXXXXXX).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

DELETE
/v2/paymentRequest/{paymentRequestId}