How it works
This section explains the runtime behavior around the API, especially the parts you rely on operationally: webhooks, order progression, and production readiness.
How the Unigox flow works
Every product on this API shares the same four broad stages:
One-time setup
Your user onboarding
Per-order execution
Monitoring and reconciliation
What changes between products is stage 3 — who pays whom, and which side you confirm. The API reference pages provide payload definitions. This page explains how those pieces behave together.
Off-ramp order lifecycle
Your customer sells crypto and receives fiat. The normal lifecycle is:
Quote
Initiate offramp
Authorize your crypto transfer
Wait for payment proof and review from counterparty
You confirm that fiat was received
Completed
Important status checkpoints:
awaiting_crypto_transfer_authorizationcrypto_receivedfiat_payment_startedfiat_payment_review_startedawaiting_fiat_received_confirmationcompleted
Alternative terminal paths can include:
cancelledfaileddispute_started
For the actual order actions and state fields, see Orders. For the full phased flow, see the Off-Ramp Partner Playbook.
On-ramp order lifecycle
Your customer buys crypto and pays fiat. The direction reverses: a vendor funds escrow first, your customer pays that vendor, and you confirm the payment was sent.
Quote
Initiate onramp
Vendor funds escrow
Your customer pays the vendor's fiat payment details
You confirm payment sent
Completed
Important status checkpoints:
awaiting_vendor_escrow_fundingawaiting_fiat_transferfiat_transfer_pendingcompleted
Once the order reaches awaiting_fiat_transfer, read the vendor's payment details from GET /api/v1/partner/orders/{order_id} and forward them to your customer. On the payment_request flow you also submit payer details before confirming.
For the full phased flow, see the On-Ramp Partner Playbook.
Third-party payouts
A variant of off-ramp: your KYC-verified customer sends money to someone else. The customer is the sender, and a separate recipient is paid.
Two things differ from a normal off-ramp:
You pre-fund. Payouts draw down your own partner wallet balance, not your customer's — so an empty balance stops every payout, not just the next one.
The recipient is a first-class record. You register a recipient identity and a validated payout destination before quoting, and every order is screened on relationship, purpose and velocity.
See Third-party payouts.
Fiat accounts
An optional product: issue dedicated fiat accounts (IBANs) to your own end customers, then read their balances, ledger and incoming payments.
Every account is reached through the customer that holds it, under /api/v1/partner/users/{user_uuid}/…, so there is no second identity to keep in step. Enablement is Unigox-side — until the retail product is active on your partner the write endpoints answer 403 and GET /retail/config reports enabled: false.
See Fiat accounts.
Moving to production
Before switching to production:
Verify webhook signatures end-to-end.
Confirm retries and idempotency behave correctly.
Run the happy path and at least one failure or cancellation path.
Make sure your reconciliation logic can fall back to polling when needed.
Last updated
