Skip to main content

Order status transitions

Order status reference

Subscription statuses

A subscription starts in IN_PROGRESS. It enters AUTHORIZATION_REQUIRED when the user must select a payment method or complete authorization. After the user completes authorization, processing continues toward ACTIVE; failures or timeouts move the subscription to CLOSE. Cancellation statuses and EXPIRED are final. The diagram shows only the key path through creation, authorization, activation, and completion; see the table below for each final status.

Refund statuses

Best practices

Use the Webhook as the only source of truth: redirect URLs are only for user experience and should not be used to determine the payment result.
  1. Handle intermediate states: do not automatically close orders in PAY_IN_PROGRESS; wait for the Webhook or query proactively
  2. Idempotent handling: Webhooks may be delivered more than once; ensure your handling logic is idempotent. See Idempotency
  3. Unknown status: when you encounter error code E0001, query using the original paymentRequestId and do not automatically close the order. For the full handling flow, see Error handling