Orders
Order management, status tracking, and lifecycle actions
Get the current status, amounts, and full timeline for a specific order. The next_action field indicates what the partner must do to advance the order. null means no action is required from the partner at this stage — the order is waiting for the counterparty (e.g. the buyer to submit fiat payment proof).
The allowed_actions array lists all API actions the partner can perform at the current status. An action can be in allowed_actions even when next_action is absent — this means the action is optional. For example, on an ordinary off-ramp order confirm-fiat-received is available at crypto_received as a fast-track: if you already know the fiat has arrived (via your own systems), you can confirm immediately without waiting for the buyer's payment proof flow to complete.
That fast-track does not exist on a delayed settlement (T+1) order. There the crypto leaves escrow before the customer is paid, so at crypto_received confirm-fiat-received is removed from allowed_actions and the endpoint refuses the order; ["settlement-consent", "cancel"] take its place and next_action is sign_settlement_consent, then submit_source_of_funds or await_review — the latter meaning the order is waiting on us, for any required source-of-funds approval, for the licensed partner's payment check and for crypto release. Branch on delayed_settlement — the two orders share a status and differ in everything you may do with it. See the Delayed settlement (T+1) reference.
allowed_actions is [] for a widget order — one your customer created through the embedded widget under your widgetKey. Those orders are attributed to you, and readable here, but the crypto is the end user's, so every action endpoint answers 404 ORDER_NOT_FOUND for them. status, next_action and the timeline still describe the order; they describe your customer's step, not one for you to take.
A cancelled order can still owe you money. An off-ramp order that stopped after its escrow was funded reads cancelled — the same as one that never funded and the same as one whose refund has already been paid out. The status does not distinguish them and never will. What distinguishes them is allowed_actions: ["authorize-refund"] means the crypto is still in the escrow and your signature is the only thing that can send it back, with next_action: "authorize_refund" and action_required naming the endpoint. Check it before writing an order off. The order.refund.required webhook says the same thing once, if you would rather not poll.
Order flow summary:
created
—
Partner (or wait for vendor match)
awaiting_crypto_transfer_authorization
authorize_crypto_transfer
Partner
crypto_transfer_authorization_pending
—
System (on-chain confirmation)
crypto_received
—
Buyer submits fiat payment proof
fiat_payment_started
—
System reviews proof
fiat_payment_review_started
—
System accepts/rejects proof
awaiting_fiat_received_confirmation
confirm_fiat_received
Partner
completed
—
—
A delayed settlement (T+1) order replaces the crypto_received row — no buyer submits proof, because the fiat is paid after the release, not before:
crypto_received
sign_settlement_consent
Partner signs the release
crypto_received
submit_source_of_funds
Partner supplies the source-of-funds case
crypto_received
await_review
Unigox: document review, the licensed partner's payment check, or release processing
crypto_received
—
Held: Unigox holds the order for a check, or a payout failed and a refund is under way
settlement_in_progress
—
Payout in flight; the fiat has not arrived
returned
—
The bank sent the payout back; Unigox pays again or refunds the crypto
The "Who acts" column describes an order you created. On a widget order the rows reading Partner are your customer's step, not yours — next_action is populated the same way for both, because it describes where the order stands rather than who may move it. allowed_actions is what tells you apart: [] on a widget order at every status. Acting on a next_action for a widget order returns 404 ORDER_NOT_FOUND. A delayed order is never a widget order: the wallet must be yours for anyone on this API to sign the release.
Fiat settlement and confirmation (ordinary orders; a delayed order never takes a fiat confirmation):
You can call confirm-fiat-received at any time after crypto is in escrow. You do not need to wait for a system notification. If you know through your own systems that the recipient has received the fiat payment, confirm immediately.
Some liquidity providers also send automatic settlement confirmations when the recipient receives the fiat. When the order's has_fiat_settlement_notification is true (see the quote/order response), the order moves to completed on its own and you receive the status=completed webhook — no manual confirm needed. If you already confirmed manually, the auto-confirmation is a no-op; if the auto-confirmation arrives first, your manual confirm call is also a no-op. Both paths are safe. See the Webhooks page → "Settlement notifications" for details.
How to implement:
Always implement a
confirm-fiat-receivedcall in your flow.Listen for webhooks. If you receive
status=completed, no further action needed.If
next_action=confirm_fiat_received, callconfirm-fiat-receivedwhen you know fiat has been received.Do not wait for
next_actionif you already have confirmation from your own banking or payment systems.On a delayed order do not call
confirm-fiat-received, and treatcompletedas meaning the fiat actually reached the customer.
Possible statuses: see PartnerOrderStatus. Off-ramp: created, awaiting_liquidity_provider, awaiting_crypto_transfer_authorization, crypto_transfer_authorization_pending, crypto_received, fiat_payment_started, fiat_payment_review_started, dispute_started, awaiting_fiat_received_confirmation, completed, cancelled, failed, price_changed_requote_needed, plus settlement_in_progress and returned on a delayed order. On-ramp: awaiting_vendor_escrow_funding, awaiting_fiat_transfer, fiat_transfer_pending, send_out_pending, send_out_completed, send_out_failed.
Partner API key for authentication. Required for all partner account endpoints.
Order UUID returned by the initiate endpoint
b2c3d4e5-f6a7-8901-bcde-f12345678901Order retrieved successfully
Indicates if the request was successful
trueUnauthorized — invalid or missing API key
Order not found or does not belong to this partner
Internal server error
GET /api/v1/partner/orders/{order_id} HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"order_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "awaiting_crypto_transfer_authorization",
"next_action": "authorize_crypto_transfer",
"allowed_actions": [
"authorize-crypto-transfer",
"cancel"
],
"crypto_transfer_authorization_seconds_left": 1720,
"amounts": {
"crypto_amount": "101.50",
"fiat_amount": "152880.00",
"crypto_currency": "USDT",
"fiat_currency": "NGN",
"rate": "1530.12"
},
"fee_breakdown": {
"platform_fee": "1.50",
"platform_fee_pct": 1.5,
"partner_fee": "1.00",
"partner_fee_pct": 1,
"total_fee": "2.50"
},
"timeline": [
{
"status": "created",
"timestamp": "2026-02-01T12:00:05Z",
"description": "Order created"
},
{
"status": "awaiting_crypto_transfer_authorization",
"timestamp": "2026-02-01T12:00:06Z",
"description": "Awaiting crypto transfer authorization"
}
],
"created_at": "2026-02-01T12:00:05Z",
"updated_at": "2026-02-01T12:00:06Z"
}
}Get transfer authorization parameters
Returns pre-filled parameters required to build and sign the EIP-712 forward request. Use this endpoint first, then sign locally and send the signature to /api/v1/partner/orders/{order_id}/authorize-crypto-transfer.
Partner API key for authentication. Required for all partner account endpoints.
Order UUID
Transfer authorization parameters returned
Indicates if the request was successful
trueUnauthorized
No order with this id belongs to your partner account.
The order exists but is not at a stage where it can be funded. A new order starts at awaiting_liquidity_provider with no escrow yet, so this is the normal answer until a provider accepts — poll GET /orders/{order_id} until next_action becomes authorize_crypto_transfer.
GET /api/v1/partner/orders/{order_id}/transfer-authorization-parameters HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"order_id": "123e4567-e89b-12d3-a456-426614174000",
"network_preset": "text",
"chain_id": "text",
"rpc_url": "text",
"token_address": "text",
"forwarder_address": "text",
"recipient_address": "text",
"sender_address": "text",
"amount_atomic": "text",
"amount_human": "text",
"crypto_currency": "text",
"crypto_decimals": 1,
"recommended_gas_limit": "text",
"recommended_ttl_seconds": 1,
"transfer_data": "text",
"forwarder_nonce": "text",
"authorization_path": "text"
}
}Submit signed EIP-712 forward_request to authorize transfer of order crypto to escrow.
Security note: Your private key is never sent to the API. The SDK uses it locally to construct and sign the EIP-712 ForwardRequest on your machine. Only the resulting signature and the unsigned forward_request fields are submitted. You can verify this by reading the SDK source code.
Recommended: use SDK helper files (only 4 arguments needed):
Python:
https://github.com/Unigox/sdk_python/blob/main/partner_authorize_crypto_transfer_sdk.pyJavaScript:
https://github.com/Unigox/sdk_javascript/blob/main/partner_authorize_crypto_transfer_sdk.js
The SDK automatically fetches all required parameters (chain, token, forwarder, escrow address, RPC URL) from the transfer-authorization-parameters endpoint.
SDK helper options:
End-to-end one call:
authorize_crypto_transfer(...)/authorizeCryptoTransfer(...)Build unsigned request only:
build_forward_request(...)/buildForwardRequest(...)Sign existing request only:
sign_forward_request(...)/signForwardRequest(...)Build full request body
{forward_request, signature}:build_authorize_crypto_transfer_payload(...)/buildAuthorizeCryptoTransferPayload(...)
Manual implementation: call GET /transfer-authorization-parameters first, then build the EIP-712 typed data and sign with your partner wallet private key locally.
Non-custodial customers (wallet_type: external_wallet): the request must be signed by the customer's linked address (sender_address), in your app, where the customer's key is. A request whose from is not that address, or that does not move exactly this order's amount to this order's escrow, is refused with 400 INVALID_REQUEST naming the field. A short balance answers 422 INSUFFICIENT_BALANCE and nothing is relayed.
Signature check. Unigox recovers the signer before relaying. A signature not made by from, a deadline in the past, or a nonce that is not the signer's current forwarder nonce is refused with 400 INVALID_REQUEST, and nothing is relayed. Fetch new parameters and sign again. If an earlier request for this order failed without moving funds, a new signed request is accepted.
Partner API key for authentication. Required for all partner account endpoints.
Order UUID
b2c3d4e5-f6a7-8901-bcde-f12345678901Signed EIP-712 ForwardRequest payload
65-byte EIP-712 signature of forward_request by forward_request.from, hex-encoded. 0x prefix recommended; a signature without it is accepted.
Crypto authorization accepted
No content
INVALID_REQUEST — the request does not match the order (from, token, amount, escrow), the
signature does not recover to from, the deadline has passed, or the nonce is not the
current forwarder nonce. Nothing is relayed; fetch new parameters and sign again.
Unauthorized
Order not found
Order is not in the correct status for crypto authorization
Insufficient token balance — the funding address (your partner wallet, or the
external_wallet customer's linked address) does not hold enough tokens to fund the
escrow. Nothing is relayed.
TRANSACTOR_ERROR — the transaction could not be submitted, although the request passed every check. Retry.
POST /api/v1/partner/orders/{order_id}/authorize-crypto-transfer HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 259
{
"forward_request": {
"from": "0x4444444444444444444444444444444444444444",
"to": "0x2222222222222222222222222222222222222222",
"value": "0",
"gas": "500000",
"nonce": "0",
"deadline": "1760000000",
"data": "0xa9059cbb000000000000000000000000..."
},
"signature": "0xabc123..."
}No content
Get refund authorization parameters
Returns the EIP-712 Safe transaction to sign in order to send a funded escrow back to the seller. This is the way out of an off-ramp order that stopped before settlement — the payment window expired, a payment proof was declined, the bank returned the payment, or a dispute was resolved for the seller. In every one of those the crypto is still sitting in escrow and owes its way back.
Use this endpoint first, sign the returned typed data locally with the key that owns signer_address, then send the signature to /api/v1/partner/orders/{order_id}/authorize-refund.
Who signs. The escrow is a 2-of-3 Safe whose owners are the buyer side, the seller side and Unigox. For a partner_wallet customer the seller-side owner is your wallet — the customer never holds a key. For an external_wallet customer it is the customer's linked address, and the customer signs; the refund then lands on the customer's own address. signer_address names the key either way; sign with that key and no other, or the Safe rejects the transaction.
Where the money goes is not yours to choose. The recipient is read from the escrow's seller address on the server. recipient_address is returned so you can verify it before signing; there is no parameter that changes it.
Partner API key for authentication. Required for all partner account endpoints.
Order UUID
b2c3d4e5-f6a7-8901-bcde-f12345678901Refund authorization parameters returned
Indicates if the request was successful
trueUnauthorized
No order with this id belongs to your partner account.
The order does not owe a refund. Either it has already been refunded or released, its status is one where the crypto is not owed back (INVALID_STATUS), or it is held for review and no automatic refund may run against it (OPERATION_NOT_ALLOWED) — the message says which. A held order is settled by our operations team, not by retrying.
Internal server error
GET /api/v1/partner/orders/{order_id}/refund-authorization-parameters HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"order_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "refund_pending",
"escrow_address": "0x3333333333333333333333333333333333333333",
"signer_address": "0x4444444444444444444444444444444444444444",
"recipient_address": "0x4444444444444444444444444444444444444444",
"amount_human": "250.5",
"crypto_currency": "USDT",
"crypto_decimals": 6,
"direction": "to_seller",
"safe_params": {
"to": "0x2222222222222222222222222222222222222222",
"value": "0",
"data": "0xa9059cbb000000000000000000000000...",
"operation": 0,
"safeTxGas": "0",
"baseGas": "0",
"gasPrice": "0",
"gasToken": "0x0000000000000000000000000000000000000000",
"refundReceiver": "0x0000000000000000000000000000000000000000",
"nonce": "0"
},
"domain": {
"chainId": 660279,
"verifyingContract": "0x3333333333333333333333333333333333333333"
},
"types": {
"SafeTx": [
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
]
},
"authorization_path": "/api/v1/partner/orders/b2c3d4e5-f6a7-8901-bcde-f12345678901/authorize-refund"
}
}Submit the signature produced from GET /refund-authorization-parameters to send the escrow back to the seller. Unigox adds the second of the two signatures the Safe requires and executes the transaction.
Security note: your private key is never sent to the API. Sign the typed data locally and submit only the resulting signature.
The recipient is fixed server-side to the escrow's seller address. A signature is an authorization to move the money back, never an instruction about where it goes.
Safe to retry: the on-chain Safe executes a given transaction at most once, so a duplicate call after a successful refund is refused on status rather than paying twice.
Partner API key for authentication. Required for all partner account endpoints.
Order UUID
b2c3d4e5-f6a7-8901-bcde-f12345678901Hex-encoded signature over the returned safe_params
The exact payload that was signed. Optional — the server rebuilds it from the order and uses its own copy for verification.
Refund accepted
Indicates if the request was successful
trueMissing or malformed signature
Unauthorized
No order with this id belongs to your partner account.
The order does not owe a refund — already refunded, already released, or in a status where the crypto is not owed back (INVALID_STATUS); or it is held for review and no automatic refund may run against it (OPERATION_NOT_ALLOWED), in which case retrying will not clear it and our operations team settles the order.
The refund could not be executed on-chain — most often a signature from a key that does not own the escrow. Verify you signed with signer_address and retry.
POST /api/v1/partner/orders/{order_id}/authorize-refund HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"signature": "0xabc123..."
}{
"success": true,
"data": {
"order_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "refunded",
"tx_hash": "0x7f1e...c4"
}
}Confirm that the recipient has received the fiat payment for an off-ramp order. This triggers the crypto release from escrow.
Call this endpoint as soon as you know fiat has been received. You do not need to wait for a system prompt. If you have confirmation from your own banking or payment systems, confirm immediately.
Call it while the order offers confirm-fiat-received in allowed_actions. Once the order has moved past that point (it was already confirmed, or it completed through the liquidity provider's own settlement confirmation), the call answers 409 INVALID_STATUS and changes nothing: read the order instead.
Not for delayed settlement (T+1) orders. On such an order, whatever its status, this answers 409 INVALID_STATUS ("this order settles T+1: the payout is confirmed by the provider, not with confirm-fiat-received").
Partner API key for authentication. Required for all partner account endpoints.
Order UUID
b2c3d4e5-f6a7-8901-bcde-f12345678901Fiat receipt confirmed successfully
No content
Bad Request
Unauthorized
Order not found
INVALID_STATUS — nothing was changed. The order's status does not allow the confirmation (it is not funded yet, or it has already moved past it); the order is under review; or it is a delayed settlement (T+1) order, which refuses this call at every status. Read the order.
POST /api/v1/partner/orders/{order_id}/confirm-fiat-received HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Cancel an order if cancellation is allowed at the current status. Check allowed_actions on the order response — cancel is available when cancellation is permitted.
Once authorize-crypto-transfer has submitted the escrow funding, an off-ramp cannot be cancelled while that transfer may still execute: the call answers 409 OPERATION_NOT_ALLOWED. It can be cancelled again only if the submitted transfer failed without reaching the chain.
Partner API key for authentication. Required for all partner account endpoints.
Order UUID
b2c3d4e5-f6a7-8901-bcde-f12345678901Free-text reason. On an order a liquidity provider has already accepted, the reason is kept with the cancellation for Unigox support, and cancelled by partner is recorded when it is omitted or empty. On an order still waiting for a liquidity provider to accept it, the reason is not recorded. It is never returned on the order.
Order cancelled successfully. Returns the order as it reads after the cancellation.
Indicates if the request was successful
trueINVALID_REQUEST — malformed order_id, or a request body that is present but not JSON.
Unauthorized — invalid or missing API key
Order not found
OPERATION_NOT_ALLOWED — cancellation not allowed at the current status, including a delayed settlement (T+1) order whose consent is signed or whose crypto transfer is already submitted. Read the order: allowed_actions says whether cancel is still offered. On a delayed order a consent call that is still running, or one cut off before its signature was stored, also refuses the cancel, for up to two minutes after that call while allowed_actions still offers cancel.
INTERNAL_ERROR — the cancellation could not be completed. Read the order before retrying: its status and allowed_actions say whether it was cancelled.
POST /api/v1/partner/orders/{order_id}/cancel HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"reason": "customer changed their mind"
}{
"success": true,
"data": {
"order_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "awaiting_crypto_transfer_authorization",
"next_action": "authorize_crypto_transfer",
"action_required": {
"type": "update_kyc_address",
"message": "EUR/AUD/GBP bank transfers require the recipient's physical address. Update the user's KYC before the order can proceed.",
"endpoint": "PATCH /api/v1/partner/users/{user_uuid}/kyc",
"fields": [
{
"field": "city",
"label": "City of the recipient"
}
]
},
"allowed_actions": [
"authorize-crypto-transfer",
"cancel"
],
"fiat_funding_source": "own_account",
"fiat_account_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"payout_via_own_account": true,
"own_account_payout_status": "sent_to_bank",
"crypto_transfer_authorization_seconds_left": 1720,
"amounts": {
"crypto_amount": "101.50",
"fiat_amount": "152880.00",
"crypto_currency": "USDT",
"fiat_currency": "NGN",
"rate": "1530.12"
},
"fee_breakdown": {
"platform_fee": "5.43",
"platform_fee_pct": 0.5,
"partner_fee": "10.87",
"partner_fee_pct": 1,
"total_fee": "16.30",
"fiat_rail_fee": "0.00",
"fiat_rail_fee_currency": "CNY",
"payout_base_rate": "7.25"
},
"timeline": [
{
"status": "awaiting_crypto_transfer_authorization",
"timestamp": "2026-02-01T12:00:05Z",
"description": "Order created"
}
],
"has_fiat_settlement_notification": true,
"created_at": "2026-02-01T12:00:05Z",
"updated_at": "2026-02-01T12:00:06Z",
"order_type": "onramp",
"vendor_payment_details": {
"payment_method_name": "Agribank",
"payment_network_name": "Napas Vietnam",
"details": {}
},
"payment_request": false,
"send_out_tx_hash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"payment_deadline_at": "2026-10-24T09:12:30Z",
"recipient_context": {
"sender_id": "123e4567-e89b-12d3-a456-426614174000",
"recipient_id": "123e4567-e89b-12d3-a456-426614174000",
"recipient_destination_id": "123e4567-e89b-12d3-a456-426614174000",
"sender_recipient_relationship": "text",
"purpose_of_payment": "text",
"purpose_details": "text",
"screening_status": "text"
},
"compliance": {
"case_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "authorized",
"risk_decision": "allow",
"requires_review": true
},
"delayed_settlement": false,
"settlement_hours": 24,
"consent_deadline_at": "2026-09-21T11:58:30Z",
"payout_deadline_at": "2026-09-19T12:07:55Z",
"delayed_settlement_crypto_sent_to_provider_at": "2026-01-01T00:00:00.000Z",
"delayed_settlement_fiat_payout_authorized_by_admin_at": "2026-01-01T00:00:00.000Z",
"delayed_settlement_fiat_payout_submitted_by_provider_at": "2026-01-01T00:00:00.000Z",
"delayed_settlement_fiat_paid_to_customer_at": "2026-01-01T00:00:00.000Z",
"delayed_settlement_fiat_returned_by_bank_at": "2026-01-01T00:00:00.000Z",
"delayed_settlement_crypto_refunded_to_customer_at": "2026-01-01T00:00:00.000Z",
"source_of_funds_required": true,
"source_of_funds_threshold_usd": 50000,
"settlement_refund_reason": "not_released_in_time"
}
}Get a paginated list of orders with optional filtering by status. Each order includes allowed_actions indicating which API actions are available.
The list also contains widget orders — orders your customers created through the embedded Unigox widget under your widgetKey. Those are attributed to you for reporting and markup, but the crypto belongs to the end user, so they are notify-only: they appear here and in your webhook stream, and every action endpoint answers 404 ORDER_NOT_FOUND for them.
The guarantee runs one way only. A widget order is always [], and any action listed is one the endpoint will accept — but [] does NOT mean an order is a widget order. Your own orders are also [] whenever their status carries no action for you, including the mid-flight crypto_transfer_authorization_pending. Reading an empty array as "this is a customer's order" would misclassify your own live orders and stop you tracking them.
Keep acting only on order ids your own initiate call returned. That rule still holds as defence in depth, and it is the one that does not depend on reading a field correctly.
To read a specific widget order, the embedded widget's onTradeStarted and onTradeCompleted callbacks carry orderId — the same order_id used here and in your webhooks. Its sibling tradeId is a Unigox-internal numeric id and is not accepted by this API: GET /partner/orders/{order_id} validates the path segment as a UUID and answers 400 invalid order_id format for it.
Partner API key for authentication. Required for all partner account endpoints.
Order status.
Off-ramp statuses (crypto → fiat):
created— order created, quote lockedawaiting_liquidity_provider— order initiated, waiting for vendor acceptanceawaiting_crypto_transfer_authorization— partner must authorize crypto transfer via EIP-712 signaturecrypto_transfer_authorization_pending— authorization submitted, awaiting on-chain confirmationcrypto_received— crypto locked in escrowfiat_payment_started— buyer submitted fiat payment prooffiat_payment_review_started— the proof is under reviewdispute_started— a dispute was raised on the orderawaiting_fiat_received_confirmation— waiting for partner to confirm fiat receiptfiat_received_confirmed,crypto_release_pending— timeline vocabulary. They appear intimeline[].status; no order reports either as its ownstatus, and filtering on them returns nothingcompleted— order fully completedcancelled— order cancelledfailed— terminal errorprice_changed_requote_needed— slippage exceeded at initiation. Likeawaiting_liquidity_provider, it is reported before a liquidity provider has accepted the order, andGET /partner/orders?status=returns the orders that report it
Delayed settlement (T+1) statuses:
Both are unreachable for an ordinary order.
settlement_in_progress— crypto release has started or is confirmed; the order is not yet resolved. This alone does not mean a bank payment has been sentreturned— the payout went out and the bank sent it back, with no new payout authorization. The crypto is not refunded yet: Unigox arranges another payout attempt, or refunds the crypto and the order readscancelled. A payout the provider cancelled before sending it is not a return
Precedence on a delayed order, in this order — more than one mark can be set at once:
delayed_settlement_fiat_paid_to_customer_atset →completed- else
delayed_settlement_crypto_refunded_to_customer_atset →cancelled - else
delayed_settlement_fiat_returned_by_bank_atset anddelayed_settlement_fiat_payout_authorized_by_admin_atnull→returned - else, on a release status →
settlement_in_progress - before the release, the ordinary mapping applies — a funded delayed order awaiting release is
crypto_receivedlike any other, andnext_actionis what tells them apart
A return with a fresh authorization on top reads as settlement_in_progress (step 4).
On-ramp statuses (fiat → crypto):
awaiting_liquidity_provider— order initiated, waiting for vendor acceptanceawaiting_vendor_escrow_funding— vendor accepted, funding escrow with cryptoawaiting_fiat_transfer— crypto locked in escrow; the partner pays the vendor and confirms payment sent (fiat_funding_source: vendor_details), or the customer transfers into their own fiat account (own_account)fiat_transfer_pending— fiat payment confirmed, awaiting vendor confirmation of receiptcompleted— vendor confirmed fiat received, crypto released to end-user walletcancelled— order cancelledfailed— escrow error
On-ramp send-out statuses (optional post-trade cross-chain transfer):
After an on-ramp order reaches
completed, the partner may optionally initiate a send-out — a cross-chain transfer of the received crypto to a destination network (e.g. XAI → Arbitrum). This is an additional flow and does not affect the core trade lifecycle. Thecompletedstatus reflects that the trade itself is done; send-out statuses track the subsequent cross-chain transfer only.
send_out_pending— send-out initiated, cross-chain transfer in progresssend_out_completed— cross-chain transfer successfully delivered to destinationsend_out_failed— cross-chain transfer failed; the on-ramp trade itself remains completed
awaiting_crypto_transfer_authorizationPossible values: Restrict to one ramp: onramp or offramp. Omit for both. Any other value is ignored rather than refused, so a typo widens the page instead of failing it.
offrampPossible values: Return only the orders you created with this reference_id on initiate, newest first, at
most 100. Use it to find an order when the initiate response was lost. Each entry is the
same object GET /partner/orders/{order_id} returns.
reference_id is not enforced unique, so the answer is a list. Combines with type,
page and limit. Combined with status it answers 400 INVALID_REQUEST. At most 255
characters.
your-order-000123Page number (default 1)
1Example: 1Results per page (default 20, max 100)
20Example: 20Orders retrieved successfully
Indicates if the request was successful
trueUnauthorized — invalid or missing API key
GET /api/v1/partner/orders HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"orders": [
{
"order_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "completed",
"allowed_actions": [],
"amounts": {
"crypto_amount": "101.50",
"fiat_amount": "152880.00",
"crypto_currency": "USDT",
"fiat_currency": "NGN",
"rate": "1530.12"
},
"fee_breakdown": {
"platform_fee": "1.50",
"platform_fee_pct": 1.5,
"partner_fee": "1.00",
"partner_fee_pct": 1,
"total_fee": "2.50"
},
"timeline": [
{
"status": "created",
"timestamp": "2026-02-01T12:00:05Z",
"description": "Order created"
},
{
"status": "completed",
"timestamp": "2026-02-01T12:30:00Z",
"description": "Order completed"
}
],
"created_at": "2026-02-01T12:00:05Z",
"updated_at": "2026-02-01T12:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total_count": 42,
"total_pages": 3
}
}
}Headline numbers for your whole order history in one call: how many orders you have, how many completed, and the fiat volume and markup earned on the completed ones. This is what the partner dashboard tiles show.
Volume and earnings cover completed orders only and are reported in USD, each order converted at the rate snapshotted when it was created, so the totals are comparable across the fiat currencies you trade in and do not move with today's FX. total_orders equals pagination.total_count of GET /partner/orders with no filter.
A delayed settlement (T+1) order counts as completed — in completed_orders, volume_usd and earned_usd — only once its payment is recorded paid (delayed_settlement_fiat_paid_to_customer_at), the rule the completed filter of GET /partner/orders applies. Released but unpaid, returned, or refunded after the release, it is not counted.
Partner API key for authentication. Required for all partner account endpoints.
Aggregate order statistics
trueUnauthorized — invalid or missing API key
GET /api/v1/partner/stats HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"total_orders": 161,
"completed_orders": 54,
"volume_usd": 26386.79,
"earned_usd": 131.93
}
}Last updated
