POST
Void Invoice

Authentication

Requires X-API-KEY header.

Path Parameters

uuid
required
The unique identifier of the invoice to void.

Details

This endpoint instantly expires an invoice. If the invoice has already been paid, it returns a 422 error with the code invoice_already_paid.

Response

Returns the updated invoice object with is_expired set to true.