Skip to content

Order lifecycle

Understand order and payment status transitions at every stage from creation to completion.

Every order moves through a predictable sequence of statuses as it progresses from creation to payment completion. Understanding these transitions helps you build accurate UI states and debug payment flows with confidence.

Status transitions

Orders and payments have separate state. Read both after every operation; do not infer one from the other.

Stage Order Payment Next action
Draft or finalized Inttegro.OrderStatuses.Preparing Inttegro.PaymentStatuses.RequiresAction Inttegro.PaymentNextActionTypes.Execute
Payment started Inttegro.OrderStatuses.RequiresPayment Inttegro.PaymentStatuses.RequiresAction Inttegro.PaymentNextActionTypes.ConfirmPayment
OTP confirmed Inttegro.OrderStatuses.RequiresPayment Inttegro.PaymentStatuses.RequiresAction Inttegro.PaymentNextActionTypes.AuthorizePayment
Payment successful Inttegro.OrderStatuses.Paid Inttegro.PaymentStatuses.Paid null
Fulfilled Inttegro.OrderStatuses.Completed Inttegro.PaymentStatuses.Paid null

Move the order forward

Create and finalize

Call Create an order. A draft order has no hosted invoice. Set finalize to true to seal it and generate the invoice, or finalize it later. Before payment starts, use Update an order to replace mutable details.

Start payment

Call Pay for an order, or set

executePayment to true during creation. When confirmation is required, collect the OTP and call Confirm a payment.

Complete fulfillment

After delivering the goods or service, call Complete an order. The order moves from

Inttegro.OrderStatuses.Paid to Inttegro.OrderStatuses.Completed . Completion is terminal.

Handle other outcomes

Type to search…

↑↓ navigate↵ selectEsc close