Order status transitions
Order status reference
Subscription statuses
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.
- Handle intermediate states: do not automatically close orders in
PAY_IN_PROGRESS; wait for the Webhook or query proactively
- Idempotent handling: Webhooks may be delivered more than once; ensure your handling logic is idempotent. See Idempotency
- 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