Payment states
Every payment experience moves through a defined set of states, from the moment it is created to the moment it is paid, expires or is cancelled. This page brings every state together in one reference, so you can design your fulfilment, reconciliation and customer messaging around the complete picture rather than discovering states as they occur.
Principles that apply to every state
- States only move forward
A payment never returns to an earlier state. - Money has arrived only in a paid state
Fulfil only once a payment has reached a paid state, and confirm it from the notification sent through events, never from what a payer reports. - Final states do not change
Once a payment is paid, expired or cancelled, its state is settled, and your systems can treat it as permanent.
Payment links
Payment links can be paid in more than one transfer, so they include a state for partial payment.
When a link expires or is cancelled after a partial payment, the amount already received remains yours, so reconcile it against the corresponding record rather than treating the link as unpaid.
Invoices
Subscriptions and their charges
A subscription has a state of its own, and each billing period produces a charge with its own state.
Plans
Designing around these states from the outset means every outcome, including partial payments, expiries and failed charges, is handled deliberately rather than discovered in production. Your records then reflect exactly what happened to every payment, whichever experience it came through and whoever paid it.