Skip to main content
POST
/
v1
/
invoices
/
{id}
/
cancel
Cancel an invoice (15-min undo window — see ADR 0007)
curl --request POST \
  --url https://api.example.com/v1/invoices/{id}/cancel \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

200

Invoice cancelled