Skip to content

INVOICE_EXPIRED

The invoice passed its expiresAt and is now expired. An expired invoice cannot be paid or cancelled.

HTTP status
410 Gone
Code
INVOICE_EXPIRED
createdexpiresAtno payment possible

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.

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.

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.

{ "error": { "code": "INVOICE_EXPIRED", "message": "…" } }