ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiInvoices

Cancel an invoice

POST
/api/v1/invoices/{id}/cancel

Authorization

bearer

Path Parameters

id*string

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Invoice cancelled successfully

Example Request
curl -X POST 'http://localhost:3001/api/v1/invoices/string/cancel'
Example Response
Empty