receiptOrders

Order management, status tracking, and lifecycle actions

Order details

get
/api/v1/partner/orders/{order_id}

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 null — this means the action is optional. For example, 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.

Order flow summary:

Status
next_action
Who acts

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

Fiat settlement and 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 this happens, the order moves to completed on its own. 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.

How to implement:

  • Always implement a confirm-fiat-received call in your flow.

  • Listen for webhooks. If you receive status=completed, no further action needed.

  • If next_action=confirm_fiat_received, call confirm-fiat-received when you know fiat has been received.

  • Do not wait for next_action if you already have confirmation from your own banking or payment systems.

Possible statuses: created, awaiting_liquidity_provider, awaiting_crypto_transfer_authorization, crypto_transfer_authorization_pending, crypto_received, fiat_payment_started, awaiting_fiat_received_confirmation, fiat_received_confirmed, crypto_release_pending, completed, cancelled, failed, price_changed_requote_needed.

Authorizations
X-API-KeystringRequired

Partner API key for authentication. Required for all partner account endpoints.

Path parameters
order_idstring · uuidRequired

Order UUID returned by the initiate endpoint

Example: b2c3d4e5-f6a7-8901-bcde-f12345678901
Responses
chevron-right
200

Order retrieved successfully

application/json
successbooleanRequired

Indicates if the request was successful

Example: true
get
/api/v1/partner/orders/{order_id}

Get transfer authorization parameters

get
/api/v1/partner/orders/{order_id}/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.

Authorizations
X-API-KeystringRequired

Partner API key for authentication. Required for all partner account endpoints.

Path parameters
order_idstring · uuidRequired

Order UUID

Responses
chevron-right
200

Transfer authorization parameters returned

application/json
successbooleanRequired

Indicates if the request was successful

Example: true
get
/api/v1/partner/orders/{order_id}/transfer-authorization-parameters

Authorize crypto transfer

post
/api/v1/partner/orders/{order_id}/authorize-crypto-transfer

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.py

  • JavaScript: 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.

Authorizations
X-API-KeystringRequired

Partner API key for authentication. Required for all partner account endpoints.

Path parameters
order_idstring · uuidRequired

Order UUID

Example: b2c3d4e5-f6a7-8901-bcde-f12345678901
Body
forward_requestobjectRequired

Signed EIP-712 ForwardRequest payload

signaturestringRequired

Hex-encoded signature from partner wallet

Responses
chevron-right
200

Crypto authorization accepted

No content

post
/api/v1/partner/orders/{order_id}/authorize-crypto-transfer

No content

Confirm fiat received

post
/api/v1/partner/orders/{order_id}/confirm-fiat-received

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.

This endpoint is idempotent. If the order already completed (via automatic settlement confirmation from the liquidity provider), calling this returns the current order status with no side effects.

Authorizations
X-API-KeystringRequired

Partner API key for authentication. Required for all partner account endpoints.

Path parameters
order_idstring · uuidRequired

Order UUID

Example: b2c3d4e5-f6a7-8901-bcde-f12345678901
Responses
chevron-right
200

Fiat receipt confirmed successfully

No content

post
/api/v1/partner/orders/{order_id}/confirm-fiat-received

No content

Cancel order

post
/api/v1/partner/orders/{order_id}/cancel

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.

Authorizations
X-API-KeystringRequired

Partner API key for authentication. Required for all partner account endpoints.

Path parameters
order_idstring · uuidRequired

Order UUID

Example: b2c3d4e5-f6a7-8901-bcde-f12345678901
Responses
chevron-right
200

Order cancelled successfully

No content

post
/api/v1/partner/orders/{order_id}/cancel

No content

List orders

get
/api/v1/partner/orders

Get a paginated list of orders with optional filtering by status. Each order includes allowed_actions indicating which API actions are available.

Authorizations
X-API-KeystringRequired

Partner API key for authentication. Required for all partner account endpoints.

Query parameters
statusstring · enumOptional

Filter by partner order status

Example: completedPossible values:
pageintegerOptional

Page number (default 1)

Default: 1Example: 1
limitinteger · max: 100Optional

Results per page (default 20, max 100)

Default: 20Example: 20
Responses
chevron-right
200

Orders retrieved successfully

application/json
successbooleanRequired

Indicates if the request was successful

Example: true
get
/api/v1/partner/orders

Last updated