Status lifecycle

Happy path: REQUIRES_PAYMENT_METHOD → PENDING → CONFIRMING → PAID → SETTLED. Engine event payment.paid is delivered to merchants as payment.succeeded.

Underpaid top-up: while status is UNDERPAID, further deposits to the same address can move the intent to confirming/paid/overpaid (webhook flag topUp).

Late payments (24h): after EXPIRED, deposits arriving within 24 hours are still credited and the intent sets acceptedLate (webhook late). After 24 hours the transfer becomes an unmatched transfer for manual assign / ignore in the dashboard.

Quote / exchange-rate lock expiry is expiresAt on the payment intent (webhook alias rateLockExpiresAt).

Payment intent statuses
StatusMeaningTerminal
REQUIRES_PAYMENT_METHODIntent created; awaiting asset selection or deposit addressno
PENDINGQuote locked; waiting for on-chain / Lightning paymentno
CONFIRMINGPayment seen; awaiting network confirmationsno
PAIDExpected amount received; settlement in progressno
SETTLEDSettled to merchant walletyes
SUCCEEDEDLegacy/alias completed status (treat like SETTLED for merchants)yes
UNDERPAIDLess than quoted amount received; payer may top up before expiryno
OVERPAIDMore than quoted amount received (terminal; refund note optional)yes
EXPIREDQuote/rate lock expired; late chain payments may still be acceptedno
CANCELEDCanceled by merchant or payeryes
FAILEDBlocked or failed (e.g. compliance)yes