Skip to main content

Lifecycle Diagram

Statuses

Typical Success Path

awaiting_deposit -> deposit_confirming -> selling_crypto -> order_filled -> completed

Early-State Notes

  • pending should usually be short-lived.
  • awaiting_deposit is the state in which the seller can still send funds normally.
  • expired and cancelled should be treated as stop conditions for any seller instructions.

Terminal States

  • completed
  • failed
  • expired
  • cancelled
  • refunded
Terminal states should be treated as final in partner operations.

How to Monitor Progress

  1. Prefer webhooks for near-real-time state updates.
  2. Use GET /transactions/{id} for synchronous checks.
  3. Use GET /transactions/{id}/status-history to understand transition chronology.

Integration Advice

  • Build user messaging around lifecycle phases, not only terminal states.
  • Assume some transitions can occur quickly in sequence.
  • Always reconcile eventual terminal status via API reads.