Skip to main content

Payment lifecycle

Last updated: 2026-11-10

Use the latest accepted payment order status as the business outcome. Redirects, payment instructions, and HTTP acceptance are not final success signals.

Statuses​

  • PAYMENT_ORDER_STATUS_CREATED
  • PAYMENT_ORDER_STATUS_PENDING
  • PAYMENT_ORDER_STATUS_COMPLETED
  • PAYMENT_ORDER_STATUS_FAILED
  • PAYMENT_ORDER_STATUS_REJECTED
  • PAYMENT_ORDER_STATUS_CANCELLED
  • PAYMENT_ORDER_STATUS_EXPIRED

PENDING updates may repeat. COMPLETED, CANCELLED, EXPIRED, and REJECTED end the normal payment flow. A completed pay-in can later receive a correction of the same payment, so continue accepting verified updates after completion.

An EXPIRED or CANCELLED pay-in already sent for payment can still become COMPLETED after a verified late confirmation. The update belongs to the original payment ID. Reconcile that ID before asking the customer to pay again, and keep processing its verified updates even if you have created a separate payment. Expiry or cancellation does not prove that no money arrived. If the result remains unclear, contact support for reconciliation.

During a correction you may receive FAILED for the previously completed payment and then another COMPLETED update with a corrected amount. You may also receive only the corrected completion. Neither is a second payment. Not every FAILED update is followed by a new completion: read the current payment and reconcile the updates together, rather than assuming the next state. Contact support if the result remains unclear.

FAILED is not always final: a late confirmation can change it to COMPLETED. Delivery order alone does not establish the latest payment state. Processing must be idempotent and use the latest reconciled result.

Rejected before execution​

PAYMENT_ORDER_STATUS_REJECTED means that this attempt was declined before payment execution started. Do not credit a pay-in customer from this status. For payouts, reconcile the declined attempt against your payout records. It differs from FAILED, whose existing reconciliation and later-confirmation rules still apply.

An initial create or initialize call can return a generic error even when a recorded payment exists. Keep your merchantReference and read the payment by reference. The error message or HTTP code alone does not identify its status; not every error creates a rejected payment.

Observed resultNext action
A read confirms PAYMENT_ORDER_STATUS_REJECTEDThe same reference identifies the same payment attempt. An equivalent repeat does not restart execution. A new business attempt requires a new reference.
A timeout or an error leaves the result unknownKeep the original reference and reconcile that attempt before another payment. Do not replace it merely because the response was lost.
The lookup returns NOT_FOUNDNo recorded attempt is visible. After a definitive validation error, correct the request and keep the reference. After a timeout, keep the reference and repeat an equivalent request; this result does not prove that the earlier call cannot still finish.

A recorded rejected attempt stays bound to its reference even after the condition is resolved. Repeating its request recovers that attempt; it does not resume processing or submit another payment. Check availability and resolve the condition before deliberately starting a new business attempt with a new reference. See Payment reads and Errors.

Reconciliation​

  1. Persist your merchantReference before sending a create or initialize request. Store the payment order ID when a response, read or verified webhook first provides it; a create error can omit the ID.
  2. Verify and process webhook deliveries idempotently.
  3. Read the payment by ID when a webhook is delayed, after a customer redirect, or during reconciliation.
  4. Use lookup by merchant reference to recover its associated payment. A pay-in keeps its reference after expiry or cancellation; a new intended payment needs a new reference. Keep references distinct across pay-ins and payouts. If an older history contains several attempts with one reference, reconcile each by its payment ID.
  5. Finalize your merchant workflow only from the latest reconciled status.

For a completed pay-in, use the recognized actualAmount when crediting your customer, once per payment ID. A repeated read or a different webhook delivery ID must not create another credit. For payouts, actualAmount supports payout reconciliation. See the amount fields for gross-value and historical-payment semantics. A later webhook can correct the amount on the same payment; keep that update for reconciliation instead of treating it as another payment or silently discarding it. See Later amount corrections.

On USDT settlement flows, a new update can add or revise the saved converted gross amount without changing status. It is not an additional customer payment. Reconcile both monetary dimensions against the same payment ID; see FX and USDT settlement.

See Payments API for read operations, the PaymentOrder object for exact fields, and Webhooks for delivery and signature rules.