INVOICE_EXPIRED
The invoice passed its expiresAt and is now expired. An expired invoice cannot be paid or
cancelled.
An invoice’s lifetime
Section titled “An invoice’s lifetime”Invoices expire on their own clock — 30 minutes by default, expiresInSec on create (300 s to
86 400 s). An attempt that has already been detected keeps its invoice alive for a 10-minute grace,
so an in-flight deposit still settles.
What to do
Section titled “What to do”Create a new invoice. Reuse your own order ID as the reference only if you want the old invoice
back: reference is unique per merchant and mode, so the same value returns the expired invoice rather than
a fresh one. For a retry, use a new reference (order_1042.2) or leave it out.
Late payments
Section titled “Late payments”If a deposit lands after expiry and still completes, the invoice becomes paid with
needsReview: true, and invoice.paid arrives with late: true. The money is yours; you decide
whether to fulfil.
Example response
Section titled “Example response”{ "error": { "code": "INVOICE_EXPIRED", "message": "…" } }