ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiMy wallet

Cancel a pending invoice on my wallet

POST
/api/v1/my-wallet/invoices/{paymentHash}/cancel

Authorization

bearer

Path Parameters

paymentHash*string

Header Parameters

X-API-Version?string

API version for header-based versioning

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

Response Body

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