Skip to content

Order Statuses

An order moves through the following lifecycle:

new → paid → processing → completed
         ↘               ↘ failed
cancel →  cancelled
ttl expires → expired

Status table

StatusTerminalDescription
newNoOrder created, waiting for the TRX deposit from address_from.
paidNoMatching deposit received. Order is queued for processing.
processingNoEnergy and/or bandwidth are being delivered to address_to.
completedYesResources delivered. Referral commission credited to partner.
failedYesOrder could not be fulfilled.
cancelledYesCancelled by the client via POST /v1/orders/cancel.
expiredYesNo matching deposit received within the ttl window.

Important notes

  • Only orders in new status can be cancelled.
  • A deposit received against a cancelled or expired order is not refunded automatically.
  • Referral commission is credited only when the order reaches completed.
  • Poll Check Order until the status is terminal (completed, failed, cancelled, or expired) to know when delivery is done.

Poll every 5–10 seconds after detecting payment. Most orders complete within 5–10 seconds of payment confirmation.

TronZap Partner Documentation