Vai al contenuto principale
POST
Cancel Order Invoice

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

order_id
string<uuid>
obbligatorio

Corpo

application/json

Optional body of POST /admin/orders/{id}/nextera/cancel (PAYMENTS-7): why the receipt is cancelled, kept in the audit. Optional while the admin sends the request without a body.

reason
string | null
Maximum string length: 500

Risposta

Successful Response

data
NexteraFiscalInvoiceOut · object | null

The fiscal invoice for one order. payload (the sent body) is NOT exposed — it is audit-only and the client never needs it.

meta
PaginationMeta · object | null
error
string | null
error_code
string | null