Skip to navigation

Payment states

Every state a payment experience can be in, how it progresses and which states are final.
View as Markdown

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

  1. States only move forward
    A payment never returns to an earlier state.
  2. 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.
  3. 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 can be paid in more than one transfer, so they include a state for partial payment.

StateMeaningFinal
pendingOpen and waiting for payment.No
partialPart of the amount has been received.No
settlingA payment is being settled.No
paidThe full amount has been received.Yes
expiredThe expiry passed before the link was fully paid.Yes
cancelledYou cancelled the link.Yes

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

StateMeaningFinal
draftCreated but not yet sent, and still editable.No
sentSent to the recipient, and payable.No
viewedThe recipient has opened it.No
overdueThe due date passed without payment. It remains payable.No
settlingA payment is being settled.No
paidPaid in full.Yes
cancelledYou cancelled it.Yes

Subscriptions and their charges

A subscription has a state of its own, and each billing period produces a charge with its own state.

Subscription stateMeaning
activeBilling normally.
past_dueThe most recent charge did not complete.
pausedBilling is temporarily paused.
cancelledCancelled, and no further charges are made.
expiredThe subscription has reached its end.
Charge stateMeaning
pendingThe charge has been raised and is being collected.
paidThe charge was collected.
failedThe charge could not be collected, and the subscription becomes past due.
refundedThe charge was collected and later refunded.
voidThe charge was cancelled before it was collected.

Plans

StateMeaning
activeOffered to new subscribers.
pausedTemporarily not offered. Existing subscriptions continue.
archivedNo longer offered. Existing subscriptions continue, and the plan can be restored.

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.