User Management
Create and manage your customers, put them through KYC, hold their payout details — and issue the fiat accounts they are paid into.
All of it hangs off one customer. POST /api/v1/partner/users creates them and answers with the user_uuid every route below takes in its path; KYC verifies them; and an account is opened for that same person. There is no second identity to register and no separate customer record for banking — the person Unigox verified is the person the account belongs to.
Customer-owned wallets and crypto deposits
Ask Unigox to enable external-wallet customers for your partner account.
Create the customer with
wallet_type: external_wallet. Omitting it creates apartner_walletcustomer. The type is fixed at creation; use the same type when repeating a request for an existinguser_ref.Request
POST /api/v1/partner/users/{user_uuid}/wallet/challengefor the customer's EVM address. Have that wallet sign the returnedmessageunchanged withpersonal_signor its equivalentsignMessageoperation.Submit
address,messageandsignaturetoPOST /api/v1/partner/users/{user_uuid}/wallet.GETon that path returns the link status and XAI balances.Allocate deposit addresses and check their monitoring status before accepting payments. Supported deposits are credited to the linked wallet on UNIGOX, on XAI (chain ID 660279). Register your partner webhook to receive
wallet.deposit.receivedafter a bridge credit.
Enabling external-wallet customers controls new customer creation. Existing external-wallet customers can still link their wallet, read it and deposit if that permission is later disabled. These routes use X-API-Key and your customer UUID. Wallet-signed Bridge memo addresses use the separate Bridge payment API; the partner deposit-address routes do not attach memos.
Verifies that the provided API key is valid and authentication is working correctly.
Partner API key for authentication. Required for all partner account endpoints.
Authentication successful
Indicates if the request was successful
trueUnauthorized - invalid or missing API key
GET /api/v1/partner/verify-auth HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"message": "Authentication successful",
"authenticated": true
}
}Creates a customer or returns the existing customer for user_ref. Use the returned user_uuid in subsequent paths. Partners can only access their own users.
For customer-owned wallets and deposit-address allocation, set wallet_type: external_wallet and complete the wallet challenge/link steps in User Management. This option must be enabled by Unigox before creating a new external-wallet customer. The default is partner_wallet. A customer's wallet type cannot be changed by repeating this request.
Each partner user must represent one actual payout beneficiary/end customer. Create a separate partner user for each beneficiary. Do not attach payment details for unrelated people to the same user_uuid.
A partner user is the SENDER. To pay someone else, do not create a shell user for the payee — register a recipient (/api/v1/partner/recipients) and quote against it. See the Third-party payouts guide.
Partner API key for authentication. Required for all partner account endpoints.
Partner's unique user ID (usually primary key or UUID)
partner_unique_id_123User's email address. Among your customers created from 2026-10-12, one email is
one account: a second user_ref with such an email gets its own user_uuid but the
same account (funds, orders, KYC and, for external_wallet, the same wallet). A new
user_ref with the email of a customer created before that date gets a new account.
The same email at another partner or in the Unigox app is a separate account.
user@example.comWhose address holds this customer's funds, fixed at creation.
partner_wallet— your partner wallet holds them and you sign (default, and every customer created before this field existed).external_wallet— the customer's own EVM address holds them and the customer signs. Requires non-custodial mode.
partner_walletExample: external_walletPossible values: Customer created, or the existing customer for this user_ref
Indicates if the request was successful
trueBad Request, for example an unknown wallet_type (INVALID_REQUEST)
Unauthorized (missing or invalid X-API-Key)
FEATURE_NOT_ENABLED — wallet_type: external_wallet requested but non-custodial mode is not switched on for your partner account.
WALLET_TYPE_MISMATCH — a customer with this user_ref, or your customer with this email,
already exists with a different wallet_type. A customer's type is fixed at creation.
Internal Server Error
POST /api/v1/partner/users HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"user_ref": "customer_123",
"email": "customer@example.com",
"wallet_type": "external_wallet"
}{
"success": true,
"data": {
"user_uuid": "550e8400-e29b-41d4-a716-446655440000",
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"kyc_status": "NOT_INITIATED",
"wallet_type": "external_wallet",
"wallet": {
"address": "0x8ba1f109551bd432803012645ac136ddd64dba72",
"status": "unlinked"
},
"created_at": "2026-01-06T14:30:00Z"
}
}Get user details including KYC status and payment profiles using the user_uuid returned during user creation. Partners can only access their own users.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000User found
Indicates if the request was successful
trueUnauthorized
User not found
GET /api/v1/partner/users/{user_uuid} HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"user_uuid": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"wallet_type": "external_wallet",
"wallet": {
"address": "0x8ba1f109551bd432803012645ac136ddd64dba72",
"status": "unlinked"
},
"created_at": "2026-01-06T14:30:00Z",
"kyc": {
"status": "IN_PROGRESS",
"kyc_method": "direct_data",
"first_name": "John",
"last_name": "Doe",
"country_code": "NG",
"rejection_reasons": [
"Document back not detected in the document image"
],
"rejection_reason": "Document verification was not approved",
"updated_at": "2026-01-06T14:30:00Z"
},
"fiat_account_issuance": {
"ready": false,
"missing_fields": [
"address",
"postal_code"
]
},
"payment_profiles": [
{
"id": "987",
"rail": "nip-nigeria",
"currency": "NGN",
"institution_name": "Guaranty Trust Bank",
"institution_id": "guaranty-trust-bank",
"details": {
"account_number": "0123456789"
}
}
]
}
}Returns a Sign-In with Ethereum (EIP-4361) message that proves the customer controls address. Show it to the customer unchanged and have them sign it with personal_sign, then submit it to POST /api/v1/partner/users/{user_uuid}/wallet.
The message names your partner account, the customer and the address, is valid for 10 minutes and can be used once. Requesting a new challenge invalidates the previous one.
Only an externally owned account can be linked: linking needs a plain personal_sign signature, and the same key later signs EIP-712 requests that the XAI forwarder verifies with ecrecover. A smart-contract wallet cannot produce either, so linking one fails with 400 INVALID_SIGNATURE.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-446655440000The customer's EVM address
0x8ba1f109551bD432803012645Ac136ddd64DBA72Pattern: ^0x[0-9a-fA-F]{40}$Challenge issued
Indicates if the request was successful
trueINVALID_REQUEST — address is not a valid EVM address.
CUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_ALREADY_LINKED — the customer is already linked, or the address is linked to another of your customers. Addresses that Unigox holds for an account (a Unigox app wallet, your partner wallet, an escrow) or uses itself are refused the same way.
WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
POST /api/v1/partner/users/{user_uuid}/wallet/challenge HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"address": "0x8ba1f109551bD432803012645Ac136ddd64DBA72"
}{
"success": true,
"data": {
"message": "unigox.com wants you to link your Ethereum account:\n0x8ba1f109551bD432803012645Ac136ddd64DBA72\n\nLink this address to customer 550e8400-e29b-41d4-a716-446655440000 of Acme on Unigox. Funds you deposit are held at this address and move only with your signature.\n\nURI: https://unigox.com\nVersion: 1\nChain ID: 660279\nNonce: 8f3a2c9b1d4e7f60\nIssued At: 2026-10-12T10:00:00Z\nExpiration Time: 2026-10-12T10:10:00Z\n",
"nonce": "8f3a2c9b1d4e7f60",
"expires_at": "2026-10-12T10:10:00Z"
}
}The customer's linked address, its status, and the balance held at that address on the XAI chain in each supported token. Deposits appear here once credited on XAI.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-446655440000Wallet returned
Indicates if the request was successful
trueCUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
BALANCE_UNAVAILABLE — the XAI balance could not be read. Safe to retry.
GET /api/v1/partner/users/{user_uuid}/wallet HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"address": "0x8ba1f109551bd432803012645ac136ddd64dba72",
"status": "linked",
"linked_at": "2026-10-12T10:01:12Z",
"chain_id": "660279",
"balances": [
{
"crypto_currency": "USDC",
"token_address": "0x37BF70ee0dC89a408De31B79cCCC3152F0C8AF43",
"amount_human": "25",
"decimals": 6
}
]
}
}Submit the challenge message and the customer's personal_sign signature. The signer is recovered on the server and must equal address; the message must be the one issued, unchanged and unexpired.
On success the address is the customer's address at Unigox for good: deposits credit it, off-ramp orders are funded from it, on-ramp orders and refunds are paid to it. It cannot be changed or unlinked. A wallet.linked webhook is sent once, without retries.
balances in the response is empty when the XAI balance could not be read at that moment; that is not a zero balance. Read GET .../wallet again for it.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-4466554400000x8ba1f109551bD432803012645Ac136ddd64DBA72Pattern: ^0x[0-9a-fA-F]{40}$The message from the challenge, byte for byte
65-byte personal_sign signature, hex with 0x prefix
0x5f1c…1bAddress linked
Indicates if the request was successful
trueINVALID_SIGNATURE — the signature does not recover to address, the message was altered, or address differs from the challenged one. INVALID_REQUEST — a malformed address or body.
CUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_ALREADY_LINKED
CHALLENGE_EXPIRED — no challenge was issued, it is older than 10 minutes, or it was already used. A message from a challenge that a newer one replaced fails as 400 INVALID_SIGNATURE.
WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
POST /api/v1/partner/users/{user_uuid}/wallet HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"address": "0x8ba1f109551bD432803012645Ac136ddd64DBA72",
"message": "text",
"signature": "0x5f1c…1b"
}{
"success": true,
"data": {
"address": "0x8ba1f109551bd432803012645ac136ddd64dba72",
"status": "linked",
"linked_at": "2026-10-12T10:01:12Z",
"chain_id": "660279",
"balances": [
{
"crypto_currency": "USDC",
"token_address": "0x37BF70ee0dC89a408De31B79cCCC3152F0C8AF43",
"amount_human": "25",
"decimals": 6
}
]
}
}List customer deposit addresses and monitoring status
Returns the saved deposit addresses for a customer with a linked external wallet. The customer must belong to the authenticated partner. This request checks monitoring status for existing addresses; it never allocates another address. Complete the external-wallet customer creation and wallet-link steps in User Management first. Deposits credit that linked wallet on UNIGOX, on XAI (chain ID 660279), and are reported by the wallet.deposit.received partner webhook.
After an allocation returns 503 DEPOSIT_ADDRESS_NOT_WATCHED, repeat this GET to check the saved addresses. Do not repeat the allocation POST to check readiness.
For EVM and Tron, accept payments only on networks whose monitoring.chains entry has confirmed: true. A missing network is unconfirmed. monitoring.watched is the aggregate result, so one network can be ready while another is still pending. For Solana and TON, use monitoring.watched; their chains array is empty. Monitoring confirmation does not establish which tokens are supported.
Partner API key for authentication. Required for all partner account endpoints.
The customer user_uuid belonging to the authenticated partner.
Saved addresses with current monitoring results; an empty list is valid.
Successful address allocation or retrieval; readiness is separate from HTTP success.
The allocation or list request completed successfully.
Missing or invalid X-API-Key.
CUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_NOT_LINKED — the customer has no linked address yet.
WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
DEPOSIT_ADDRESSES_UNAVAILABLE — saved addresses could not be read; this GET never allocates. Safe to retry.
GET /api/v1/partner/users/{user_uuid}/deposit-addresses HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"deposit_addresses": [
{
"chain_type": "evm",
"address": "0x1111111111111111111111111111111111111111",
"monitoring": {
"watched": false,
"chains": [
{
"chainId": 1,
"confirmed": true
},
{
"chainId": 8453,
"confirmed": false
}
]
}
}
]
}
}Allocate customer deposit addresses
Creates additional deposit addresses for a customer with a linked external wallet. The customer must belong to the authenticated partner. Supported address families are evm, svm (Solana), tvm (Tron) and ton. The configured address cap also applies. First create an external_wallet customer and complete the wallet challenge/link flow. The linked address receives the supported settlement token on UNIGOX, on XAI (chain ID 660279). wallet.deposit.received reports the amount and token actually credited.
201 confirms allocation; use each address's monitoring fields to select a confirmed payment network. 503 DEPOSIT_ADDRESS_NOT_WATCHED means allocation may already have completed, but monitoring is not confirmed. Its data.deposit_addresses preserves the addresses returned by the allocation. Keep those addresses and check them with GET /api/v1/partner/users/{user_uuid}/deposit-addresses; do not repeat this POST. An empty saved-address list in a 503 response does not prove that nothing was allocated.
502 DEPOSIT_ADDRESS_ALLOCATION_UNKNOWN means the allocation outcome could not be confirmed after sending the request. Check saved addresses with the same GET; do not automatically repeat this allocation. An immediate empty list does not prove failure, because the original request may still complete. The allocation POST is not idempotent: repeating it can create additional addresses. Treat a lost HTTP response as uncertain too.
These partner endpoints do not attach a memo. Wallet-signed memo-address requests use the separate Bridge payment API.
Partner API key for authentication. Required for all partner account endpoints.
The customer user_uuid belonging to the authenticated partner.
Address family; EVM addresses can support multiple configured networks.
Number of additional addresses. Omitted or zero requests one address.
1Addresses allocated; monitoring is reported for each saved address.
Successful address allocation or retrieval; readiness is separate from HTTP success.
The allocation or list request completed successfully.
INVALID_REQUEST — the request body is not valid JSON.
Missing or invalid X-API-Key.
CUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_NOT_LINKED — the customer has no linked address yet.
INVALID_REQUEST — unknown chainType, or count above 50 or below 0. WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
ADDRESS_CAP_REACHED — allocating would take the customer past the limit for this chain type; error.message states the limit.
DEPOSIT_ADDRESS_ALLOCATION_UNKNOWN means the allocation may have committed. Check saved addresses; do not automatically repeat the allocation. DEPOSIT_ADDRESSES_UNAVAILABLE covers other failures, including a failed address count before allocation was attempted.
DEPOSIT_ADDRESS_NOT_WATCHED preserves any returned allocation while monitoring is unconfirmed.
POST /api/v1/partner/users/{user_uuid}/deposit-addresses/{chainType}/allocate HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"count": 1
}{
"success": true,
"data": {
"deposit_addresses": [
{
"chain_type": "evm",
"address": "0x1111111111111111111111111111111111111111",
"monitoring": {
"watched": true,
"chains": [
{
"chainId": 1,
"confirmed": true
},
{
"chainId": 8453,
"confirmed": true
}
]
}
}
]
}
}Prices a withdrawal of amount of crypto_currency from the customer's XAI address to destination_address on destination_chain, and returns the EIP-712 ForwardRequest that authorizes it. Have the customer sign forward_request unchanged with their linked key, then submit it to POST /api/v1/partner/users/{user_uuid}/withdrawals before expires_at.
The token arriving is the same crypto_currency. Destination chains for a token: GET /api/v1/partner/send-out/routes?crypto=<crypto_currency>. destination_chain: xai sends on XAI itself with no bridge.
The quote is valid for 10 minutes; the signed request's deadline equals expires_at. Withdrawals need no KYC.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-446655440000USDCAmount to debit from the customer's XAI balance, decimal string with no more decimals than the token has
25.00Chain name as GET /api/v1/partner/send-out/routes lists it (case-insensitive), its chain_id, or xai
Arbitrum OneAddress on the destination chain, in that chain's format
0x1111111111111111111111111111111111111111Withdrawal quoted
Indicates if the request was successful
trueINVALID_REQUEST — a missing field, an unsupported chain or token, a malformed destination address, a destination the chain cannot pay (error.details.reason), or an amount with too many decimals.
CUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_NOT_LINKED — the customer has no linked address yet.
INSUFFICIENT_BALANCE, WALLET_TYPE_MISMATCH, or AMOUNT_TOO_LOW — too small to bridge to that chain: the bridge refused it (error.details.reason), or its fee would exceed 2% (error.details.bridge_fee, estimated_minimum_amount, max_fee_pct).
INTERNAL_ERROR — the balance or the forwarder nonce could not be read. Retry shortly.
BRIDGE_UNAVAILABLE — no bridge quote could be obtained for this destination. Retry shortly.
POST /api/v1/partner/users/{user_uuid}/withdrawals/quote HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 145
{
"crypto_currency": "USDC",
"amount": "25.00",
"destination_chain": "Arbitrum One",
"destination_address": "0x1111111111111111111111111111111111111111"
}{
"success": true,
"data": {
"withdrawal_quote_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"expires_at": "2026-10-12T10:20:00Z",
"crypto_currency": "USDC",
"amount": "25.000000",
"to_amount": "24.910000",
"fee": "0.090000",
"destination_chain": "Arbitrum One",
"destination_address": "0x1111111111111111111111111111111111111111",
"forward_request": {
"from": "0x8ba1f109551bd432803012645ac136ddd64dba72",
"to": "0x37BF70ee0dC89a408De31B79cCCC3152F0C8AF43",
"value": "0",
"gas": "500000",
"nonce": "3",
"deadline": "1791800400",
"data": "0xa9059cbb…"
},
"eip712_domain": {
"name": "SyntheticAssetForwarder",
"version": "1",
"chainId": "660279",
"verifyingContract": "0x6fFCF38bEc8c733b096958fcd2a8E31A00530EDC"
}
}
}Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-446655440000500Withdrawals, newest first
Indicates if the request was successful
trueCUSTOMER_NOT_FOUND — no customer with this user_uuid belongs to your partner account.
WALLET_NOT_LINKED — the customer has no linked address yet.
WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
GET /api/v1/partner/users/{user_uuid}/withdrawals HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"withdrawals": [
{
"withdrawal_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"withdrawal_quote_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"status": "bridging",
"crypto_currency": "USDC",
"amount": "25.000000",
"to_amount": "24.910000",
"destination_chain": "Arbitrum One",
"destination_address": "0x1111111111111111111111111111111111111111",
"source_tx_hash": "0x5c1e…9a02",
"destination_tx_hash": null,
"failure_reason": null,
"created_at": "2026-10-12T10:11:04Z",
"updated_at": "2026-10-12T10:11:40Z"
}
],
"total": 1
}
}Submit the quoted forward_request and the customer's signature. Unigox checks that the request is exactly the one quoted (sender, token, calldata, gas, nonce, deadline), that it was signed by the customer's linked address, re-checks the balance, and relays it; the customer pays no gas. The withdrawal keeps the quote's id: withdrawal_id equals withdrawal_quote_id.
Safe to retry with the same withdrawal_quote_id: a quote is executed at most once, and a repeat returns the existing withdrawal.
Off-ramp funding and withdrawals share the customer's forwarder nonce. Once one of them executes, a request signed with the same nonce can no longer execute and answers 409 QUOTE_EXPIRED; request a new quote.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-446655440000The forward_request from the quote, unchanged
EIP-712 signature by the customer's linked address, hex with 0x prefix
Withdrawal accepted and being sent on chain (status: submitted)
Indicates if the request was successful
trueINVALID_REQUEST — the request differs from the quote or is not signed by the customer; error.message names the field.
CUSTOMER_NOT_FOUND or WITHDRAWAL_NOT_FOUND (unknown withdrawal_quote_id).
QUOTE_EXPIRED — the quote expired, the forwarder nonce moved, or another withdrawal has not executed on XAI yet. WALLET_NOT_LINKED — the customer has no linked address.
INSUFFICIENT_BALANCE (the balance dropped since the quote), or WALLET_TYPE_MISMATCH (a partner_wallet customer).
INTERNAL_ERROR — the balance or the forwarder nonce could not be read. Retry shortly.
POST /api/v1/partner/users/{user_uuid}/withdrawals HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"withdrawal_quote_id": "123e4567-e89b-12d3-a456-426614174000",
"forward_request": {},
"signature": "text"
}{
"success": true,
"data": {
"withdrawal_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"withdrawal_quote_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"status": "bridging",
"crypto_currency": "USDC",
"amount": "25.000000",
"to_amount": "24.910000",
"destination_chain": "Arbitrum One",
"destination_address": "0x1111111111111111111111111111111111111111",
"source_tx_hash": "0x5c1e…9a02",
"destination_tx_hash": null,
"failure_reason": null,
"created_at": "2026-10-12T10:11:04Z",
"updated_at": "2026-10-12T10:11:40Z"
}
}Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /api/v1/partner/users. Partners can only access their own customers.
550e8400-e29b-41d4-a716-446655440000Withdrawal returned
Indicates if the request was successful
trueCUSTOMER_NOT_FOUND or WITHDRAWAL_NOT_FOUND. A quote that was never submitted is not a withdrawal.
WALLET_NOT_LINKED — the customer has no linked address yet.
WALLET_TYPE_MISMATCH — the customer is a partner_wallet customer.
GET /api/v1/partner/users/{user_uuid}/withdrawals/{withdrawal_id} HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"withdrawal_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"withdrawal_quote_id": "0b8e6c1e-3f0a-4c2e-9d55-6a1f4c3b2e10",
"status": "bridging",
"crypto_currency": "USDC",
"amount": "25.000000",
"to_amount": "24.910000",
"destination_chain": "Arbitrum One",
"destination_address": "0x1111111111111111111111111111111111111111",
"source_tx_hash": "0x5c1e…9a02",
"destination_tx_hash": null,
"failure_reason": null,
"created_at": "2026-10-12T10:11:04Z",
"updated_at": "2026-10-12T10:11:40Z"
}
}Submit KYC (Know Your Customer) data for a partner user. Supports three methods:
direct_data: Partner submits PII data directly, user is verified
external_token: Partner provides external KYC provider credentials (SumSub token or Persona inquiry_id)
handoff: Unigox handles KYC verification and generates verification URL
Important for EUR/AUD/GBP off-ramp: EUR, AUD, and GBP payouts require the user's physical address. Include address, city, and postal_code in the PII data when submitting KYC. If not provided at submission time, you can add them later with PATCH /partner/users/{user_uuid}/kyc. Without address, EUR/AUD/GBP orders will be created with status pending_address until the address is provided.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000KYC submitted successfully
Indicates if the request was successful
trueBad Request — invalid method, missing required data, or a date of birth that fails validation. The response body is { "success": false, "data": { "error_key": "...", "message": "..." } }. Possible error_key values include: underage_not_allowed — "User must be at least 18 years old. The provided date_of_birth indicates an age under 18."; and invalid_date_of_birth — "date_of_birth is invalid. Provide a real date in YYYY-MM-DD format that is in the past." invalid_identity_number_type — "id_type is required for NIN/BVN + selfie verification and must be one of the supported identity number types (e.g. NIN, BVN)."
Unauthorized
User not found
Internal Server Error
POST /api/v1/partner/users/{user_uuid}/kyc-submissions HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"method": "direct_data",
"data": {
"pii": {
"first_name": "John",
"last_name": "Doe",
"dob": "1990-01-01",
"country_code": "NG",
"address": "123 Street Name, Lagos",
"postal_code": "100001"
}
}
}{
"success": true,
"data": {
"kyc_status": "IN_PROGRESS",
"message": "PII data accepted",
"verification_url": "https://verify.example.com/session/4fd410c9-ba9b-46cf-a4f0-132204a9a564"
}
}Upload a KYC document for a partner user. Choose one of two upload methods:
Method 1: File Upload
Send the document as a file attachment.
POST /api/v1/partner/users/{user_uuid}/kyc/documents
Content-Type: multipart/form-data
document: <file>
document_type: identity_frontMethod 2: Single URL Upload
Send a URL pointing to one document image.
{
"upload_method": "url_link",
"document_type": "identity_front",
"url": "https://example.com/id-front.jpg"
}Method 3: Batch URL Upload
Upload multiple documents in one call (up to 10).
URL requirements: HTTPS only, 10MB per file, JPEG/PNG/GIF/PDF.
Supported document_type values — the API accepts exactly the following (this is the complete, finite list; anything else is rejected). Required: a selfie and one identity-document front (identity_front or any equivalent ID type listed below). All other values are optional (document back sides and alternative ID types).
NIN/BVN + selfie option (verify with a registry number instead of an ID image). This is a two-step flow across two endpoints — the registry number is submitted as text, never uploaded as a file:
On the submit-KYC endpoint (
POST .../kyc-submissions, methoddirect_data), send the customer's data plusid_number(the registry number, as a string) andid_type(e.g.NIN,BVN). No image is uploaded in this step.On this documents endpoint, upload only a
selfie(document_type: selfie) — no ID-document image. The registry number from step 1 satisfies the identity requirement, so verification starts automatically (national-registry lookup + selfie face-match against the registry photo).
The three upload methods below (multipart / single URL / batch URL) are for image files only — they are not how the registry number is sent (that is the id_number text field in step 1).
document_type only selects which slot (front / back / selfie) an image occupies. It is not used as a document-category and it does not set the country: our verification system detects the actual document type from the image, and the country is taken from the customer's KYC profile (their identity/address country), independent of this value. The country names below are naming hints to help you choose — they are not enforced, so a country-specific value is never required.
Generic identity document — general (any country):
identity_front,identity_backPassport — general (any country):
passport,passport_frontNational ID — general (any country; covers e.g. Nigeria's NIN card, Kenya national ID, India Aadhaar):
national_id,national_id_front,national_id_backDriver license — general (any country):
driver_license,driver_license_front,driver_license_backVoter ID — general (any country):
voter_id,voter_id_front,voter_id_backResident card — general (any country):
resident_card,resident_card_front,resident_card_backID card — general (any country; catch-all for local cards without their own type below, e.g. Indonesia KTP, Pakistan Nadra Card):
id_card,id_card_front,id_card_backGhana card — Ghana (NIA biometric national ID):
ghana_card,ghana_card_front,ghana_card_backGhana SSNIT card — Ghana (social-security card):
ghana_ssnit_card,ghana_ssnit_card_front,ghana_ssnit_card_backKenya alien card — Kenya (non-citizen resident ID):
kenya_alien_card,kenya_alien_card_front,kenya_alien_card_backGreen book — South Africa (legacy green barcoded ID book):
green_book,green_book_front,green_book_backTax ID — general label (primary example: India PAN card):
tax_id,tax_id_front,tax_id_backColombia PPT — Colombia (Permiso por Protección Temporal):
colombia_ppt,colombia_ppt_front,colombia_ppt_backSelfie — general (any country):
selfie
Any front-side identity type above (e.g. passport, national_id, tax_id) satisfies the ID requirement — not only the literal identity_front. Nigeria's NIN is submitted as national_id (with the customer's country set to Nigeria); there is no separate nin value.
Automatic Verification: After an identity document + selfie + KYC data are present, the service queues verification processing and returns immediately. The identity document can be any accepted ID type above, not only identity_front (e.g. passport + selfie triggers verification). A 200 response means the documents were accepted; it is not a final verification result. Asynchronous verification checks can move the user to VERIFICATION_REJECTED after this response.
To trigger verification explicitly, or to check exactly what is still missing, call POST /api/v1/partner/users/{user_uuid}/kyc/verify (below).
Obtain the eventual outcome by polling GET /api/v1/partner/users/{user_uuid}/verification-status or consuming the user.kyc.updated webhook. The upload response does not include a verification session ID or kyc_status, because asynchronous state can change immediately after acceptance.
Partner API key for authentication. Required for all partner account endpoints.
Public UUID of the user
550e8400-e29b-41d4-a716-446655440000Document file (JPEG, PNG, GIF, or PDF, max 10MB)
Complete set of document types accepted by the partner KYC upload endpoint. document_type only selects the upload slot (front/back/selfie); it is not a document-category and does not set the country — our verification system detects the document type from the image, and the country comes from the customer's KYC profile. Values named after a country (ghana_card, ghana_ssnit_card, kenya_alien_card, green_book, colombia_ppt) are country-specific hints; all others (passport, national_id, driver_license, voter_id, resident_card, id_card, tax_id, identity_front/identity_back, selfie) are general — any country. Nigeria's NIN is submitted as national_id.
identity_frontPossible values: Documents accepted; verification starts asynchronously once all required documents are available
trueBad Request - invalid file type, missing document, or user not ready for uploads
Unauthorized
User not found or no active KYC session
Internal Server Error
POST /api/v1/partner/users/{user_uuid}/kyc/documents HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 54
{
"document": "binary",
"document_type": "identity_front"
}{
"success": true,
"data": {
"document_id": "f1d5f922-bee2-4c7e-88ef-18022958c4c2",
"document_type": "identity_front",
"file_name": "passport_photo.jpg",
"message": "Documents accepted"
}
}Explicitly start KYC verification for a partner user on the direct_data image flow, or check what is still missing. Verification also starts automatically once an identity document + selfie + KYC data are present (see the document upload endpoint) — this endpoint is an explicit control and readiness check, not the only path. No request body.
The response tells you the state:
Ready, started:
{ "ready": true, "status": "IN_PROGRESS", "message": "Verification started." }. Idempotent — if a run is already in flight, the message is"Verification is already in progress."and no duplicate run is created.Already verified:
{ "ready": true, "status": "VERIFIED", "message": "User is already verified." }.Not ready:
{ "ready": false, "missing": ["identity_document", "selfie"], "message": "..." }. Themissingitems are generic:identity_document(any accepted ID type),selfie,kyc_data.
If the user has not submitted KYC with the direct_data method yet, this returns 400 — submit KYC via POST /api/v1/partner/users/{user_uuid}/kyc-submissions first.
Partner API key for authentication. Required for all partner account endpoints.
Public UUID of the user
550e8400-e29b-41d4-a716-446655440000Readiness result. Either verification was triggered / is already running / the user is
already verified, or the user is not ready and missing lists what to provide.
trueBad Request - the user has not submitted KYC with the direct_data method yet
Unauthorized
User not found
Internal Server Error
POST /api/v1/partner/users/{user_uuid}/kyc/verify HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"ready": true,
"status": "IN_PROGRESS",
"message": "Verification started."
}
}Update optional PII fields on existing KYC data. The user stays verified. Only optional fields can be updated. Required fields (first_name, last_name, country_code) cannot be changed.
For EUR/AUD/GBP offramp, provide address, city, and postal_code here. These will auto-populate into payment details for EUR/AUD/GBP payouts.
Sender identity (consumer-to-consumer payout rails). Chinese mobile wallets (Alipay, WeChat Pay) settle person to person: the receiving wallet must show the paying customer as the remitter, not Unigox. POST /offramp/initiate returns 422 SENDER_IDENTITY_REQUIRED when the customer's record cannot name them, listing the fields to send here in error.details.kyc_fields. gender, nationality, id_issue_country and source_of_funds exist for that flow, alongside dob, phone_number, id_number, id_type and the address fields the same rails need. Send them once, then retry the order.
The values are normalized before they are stored, and a value the rail would reject is a 400 here rather than a failed payout later: gender accepts M/F (MALE/FEMALE are folded in), nationality and id_issue_country take an ISO 3166-1 alpha-2 code, and source_of_funds takes one of the listed slugs.
Length is the exception, because the ceiling belongs to the payout rail and this record is not tied to one: a value too long for a corridor is accepted here and comes back from that corridor's initiate as a listed field, with the ceiling in error.details.field_limits.
The record belongs to the customer, not to a payout destination — never send another person's details here to satisfy a payout.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users.
550e8400-e29b-41d4-a716-446655440000Street address
Svitrigailos g 29City
Vilnius03229Date of birth (YYYY-MM-DD). Must be in the past and indicate an age of at least 18; a future, malformed, or under-18 date is rejected with HTTP 400.
1990-01-01E.164 format
+37012345678Document number, as printed on the document named by id_type.
AK9931245Sender identity. As it appears on the identity document — payout rails match it against the document, so this is not a self-description field. MALE/FEMALE are accepted and normalized to M/F.
FPossible values: Sender identity. Nationality as an ISO 3166-1 alpha-2 code.
LTSender identity. Country that issued the document, ISO 3166-1 alpha-2. Often but not always the same as nationality.
LTSender identity. Where the money being sent comes from. Each payout rail maps this onto its own catalogue and refuses a payout it cannot map, so send the closest listed value rather than other when one applies.
salaryPossible values: KYC data updated successfully. updated_fields names only the fields that actually reached the record. A recognised field sent blank is a no-op rather than an error, so a patch whose recognised fields are all blank answers 200 with updated_fields: [] and nothing is written — this endpoint does not clear a stored value.
trueBad request — no valid fields, attempting to change a required field, or a value that fails validation. Body: { "success": false, "data": { "error_key": "...", "message": "..." } }. DOB-related error_key values: underage_not_allowed (age under 18) and invalid_date_of_birth (malformed or future date). Sender-identity values: invalid_gender, invalid_country_code (nationality / id_issue_country is not an alpha-2 code) and invalid_source_of_funds. invalid_field_value means a value was sent as an object or an array where a string or a number is expected. no_valid_kyc_fields means the body carried no updatable field at all. Nothing is written when one field is rejected — fix it and resend the whole patch.
Unauthorized
User not found
PATCH /api/v1/partner/users/{user_uuid}/kyc HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 271
{
"address": "Svitrigailos g 29",
"city": "Vilnius",
"postal_code": "03229",
"dob": "1990-01-01",
"phone_number": "+37012345678",
"middle_name": "text",
"id_number": "AK9931245",
"id_type": "NATIONAL_ID",
"gender": "F",
"nationality": "LT",
"id_issue_country": "LT",
"source_of_funds": "salary"
}{
"success": true,
"data": {
"updated_fields": [
"address",
"city",
"postal_code"
],
"message": "KYC data updated successfully"
}
}Get the current verification status for a partner user. This endpoint returns the current status, verification URL (if available), and other relevant information. Optionally, you can provide a verification_id to check a specific verification session.
Status values:
NOT_INITIATED— no verification started yetPENDING_DOCUMENTS— waiting for the customer to submit documentsIN_PROGRESS— automated verification is underway (usually a couple of minutes)UNDER_REVIEW— under manual compliance review; the customer is being reviewed by our team and is NOT yet cleared. UnlikeIN_PROGRESS(automated, usually a couple of minutes), this can take up to 24 hours. Keep polling; treat as not cleared.VERIFIED— verification passed; the customer is approvedFAILED— verification could not be completed due to an errorVERIFICATION_REJECTED— verification completed with a rejection outcome
Non-terminal states (NOT_INITIATED, PENDING_DOCUMENTS, IN_PROGRESS, UNDER_REVIEW) mean the customer is not cleared yet — keep polling. A manual compliance review is now surfaced as the friendly UNDER_REVIEW (the internal review-state name is still never exposed) so you can tell a long human review apart from a quick automated check and set the right expectation with your customer.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000Optional verification session ID. If not provided, the latest verification session for the user will be checked.
a1b2c3d4-e5f6-7890-abcd-ef1234567890Successfully retrieved verification status
Indicates if the request was successful
trueUnauthorized
User not found
Internal Server Error
GET /api/v1/partner/users/{user_uuid}/verification-status HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"status": "IN_PROGRESS",
"verification_url": "https://verify.example.com/session/abc123",
"verification_seconds_left": 3600
}
}Retrieve all payment details (payment profiles) for a partner user. Returns all saved beneficiary details that can be used for offramp operations. Partners can only access their own users.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000Successfully retrieved payment details
Indicates if the request was successful
trueUnauthorized
User not found
Internal Server Error
GET /api/v1/partner/users/{user_uuid}/payment-details HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": [
{
"payment_details_id": "987",
"rail": "nip-nigeria",
"currency": "NGN",
"institution_name": "Guaranty Trust Bank",
"institution_id": "guaranty-trust-bank",
"details": {
"account_number": "0123456789"
}
}
]
}Create payment details (beneficiary details) for a partner user. Used for offramp operations where crypto is converted to fiat and sent to the user's payment account. Partners can only access their own users.
Payment details must belong to the same beneficiary represented by user_uuid. Do not attach phone numbers, bank accounts, wallets, or other payout instruments for unrelated people to the same partner user. If you need to pay a different person, create a separate partner user for that beneficiary first.
Institution handling:
for most rails,
institution_idmust be provided from/api/v1/supported/institutionspartners may omit
institution_idonly for the explicitly supported rails below
Currently supported omission rails:
iban-sepa,nip-nigeria,faster-payments— resolve to the genericother-bankpayment methodimps-neft-india— resolves to the genericimps-or-neft-transfermethod; the bank comes frombank_name+ifsc_codealipay-wallet,wechat-wallet,interac-e-transfer— resolve to the rail's own institution (alipay,wechat-pay,interac-e-transfers) and go through the same checks as if you had sent it
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000Conditional request schema for partner payment details. institution_id may be omitted for iban-sepa, nip-nigeria, and imps-neft-india.
Payment details created successfully
Indicates if the request was successful
trueBad Request - invalid payment details or unsupported combination
Unauthorized
User not found
Recipient details are incomplete or invalid for the payout corridor. The recipient fields you supply are validated against the provider's per-corridor requirements; if a required field is missing or malformed, the recipient is not created and the offending field names are listed in the error message. Fix the details and resubmit. Address fields auto-populated from KYC are not part of this check (a missing address does not block creation — see the KYC endpoints).
Internal Server Error
POST /api/v1/partner/users/{user_uuid}/payment-details HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"currency": "EUR",
"rail": "iban-sepa",
"country_code": "DE",
"details": {
"full_name": "John Doe",
"iban": "DE89370400440532013000"
}
}{
"success": true,
"data": {
"payment_details_id": "987",
"rail": "nip-nigeria",
"currency": "NGN",
"institution_name": "Guaranty Trust Bank",
"institution_id": "guaranty-trust-bank",
"details": {
"account_number": "0123456789"
}
}
}Get a single payment detail for a partner user
Retrieve one payment detail (payment profile) by its payment_details_id, returning the same shape as one element of the list endpoint (rail, currency, institution_name, institution_id, details).
Use this when you already hold a payment_details_id instead of listing every payment detail for the user — it stays fast on accounts with many saved payment details.
Partners can only access their own users. A payment detail that belongs to a different user (or another partner) returns 404 rather than revealing that it exists.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000The payment_details_id returned when creating or listing payment details.
987Successfully retrieved the payment detail
Indicates if the request was successful
trueBad Request - malformed payment_details_id
Unauthorized
User not found, or payment detail not found / not owned by this user
Internal Server Error
GET /api/v1/partner/users/{user_uuid}/payment-details/{payment_details_id} HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"payment_details_id": "987",
"rail": "nip-nigeria",
"currency": "NGN",
"institution_name": "Guaranty Trust Bank",
"institution_id": "guaranty-trust-bank",
"details": {
"account_number": "0123456789"
}
}
}Delete payment details for a partner user
Delete a specific payment details (payment profile) for a partner user by its ID. Partners can only access their own users.
Partner API key for authentication. Required for all partner account endpoints.
The user_uuid returned by POST /partner/users. Partners can only access their own users.
550e8400-e29b-41d4-a716-446655440000The payment_details_id returned when creating payment details.
987Payment details deleted successfully
trueUnauthorized
User not found or payment details not found
Conflict - payment details linked to active offers
Internal Server Error
DELETE /api/v1/partner/users/{user_uuid}/payment-details/{payment_details_id} HTTP/1.1
Host: api-staging.unigox.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"message": "Payment details deleted successfully"
}
}Last updated
