跳转到主要内容
POST
/
v1
/
ramp
/
withdraw
Create Withdraw
curl --request POST \
  --url https://api-sandbox.uqpaytech.com/api/v1/ramp/withdraw \
  --header 'Content-Type: application/json' \
  --header 'x-auth-token: <api-key>' \
  --data '
{
  "currency": "USDC",
  "network": "ETH",
  "amount": "100",
  "withdraw_address": "0x0993446fBB19f4e828768515eF7A9408B5F1A000",
  "reason": "test",
  "memo": "test"
}
'
{
  "code": 200,
  "message": "Success",
  "data": {
    "order_id": "f75fdee5-0cc1-4b52-818e-497dd376cced",
    "short_order_id": "WD260124-N1PAAIXX",
    "order_status": "Pending",
    "order_type": "Withdraw",
    "currency": "USDC",
    "network": "ETH",
    "amount": "100",
    "withdraw_address": "0x0993446fBB19f4e828768515eF7A9408B5F1A000",
    "network_fee": "0.66",
    "processing_fee": "0",
    "actual_amount": "99.34",
    "reason": "test",
    "create_time": "2026-01-24 11:41:37 +08:00"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

x-auth-token
string
header
必填

The API token for login provided by UQPay.

请求头

x-on-behalf-of
string

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

x-idempotency-key
string<uuid>

A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.

请求体

application/json
currency
string
必填

Withdrawal currency

示例:

"USDC"

network
string
必填

Network code

示例:

"ETH"

amount
string
必填

Withdrawal amount

示例:

"100"

withdraw_address
string
必填

Withdrawal address

示例:

"0x0993446fBB19f4e828768515eF7A9408B5F1A000"

reason
string
必填

Withdrawal reason

示例:

"test"

memo
string

Withdrawal memo

示例:

"test"

响应

200 - application/json

Withdrawal created successfully

code
integer
必填
示例:

200

message
string
必填
示例:

"Success"

data
object
必填

Response data for Create Withdraw (4.5.1) - 13 fields