Cancel invoice

View as Markdown

Cancel an open invoice. This endpoint requires the merchant-side UUID, not the public inv_* identifier.

Authentication

AuthorizationBearer
Merchant API key (`sk_m_*`). ``` Authorization: Bearer sk_m_abc123def456... ```

Path parameters

idstringRequiredformat: "uuid"

Merchant-side invoice UUID

Response headers

X-Request-Idstring
Unique request identifier for debugging and support

Response

Invoice canceled
idstringformat: "uuid"
statusenum
Allowed values:
canceled_atdatetime

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error