Skip to main content
GET

授权

x-auth-token
string
header
必填

由 UQPAY 提供的登录 API Token。

路径参数

order_id
string<uuid>
必填

创建或查询订单列表时返回的订单标识。

响应

成功

order_id
string<uuid>
必填

用于查询订单详情的订单标识。

示例:

"53fe3d55-85ff-4804-b6f0-a25a32aa082f"

quote_id
string<uuid> | null
必填

交易订单使用的报价标识;充值和提现记录为 null。

示例:

"0576b03b-56dd-48b1-ba24-058ce90d0f53"

client_reference
string | null
必填

用于查询订单的客户参考号,不能替代幂等键。

示例:

"stocks-docs-20260921-buy-01"

asset_id
string<uuid>
必填

平台资产 UUID,列表与所有交易接口共用

示例:

"7453f146-b267-11f1-b4f4-0abd773ba497"

symbol
string
必填

资产代码。

示例:

"AAPLx"

side
enum<string>
必填

订单业务类型。交易订单来源于报价;充值和提现记录表示资产转入或转出。

可用选项:
BUY,
SELL,
DEPOSIT,
WITHDRAWAL
示例:

"BUY"

status
enum<string>
必填

订单处理状态。完成后再按结算数值进行对账。

可用选项:
PENDING,
SUCCESS,
FAILED
示例:

"SUCCESS"

network
string | null
必填

执行或资产转移所用的区块链网络;不可用时为 null。

示例:

"Ethereum"

funding_currency
string | null
必填

交易使用的资金币种;资产转移记录为 null。

示例:

"USDC"

quoted_quantity
string | null
必填

所接受报价中的数量;报价未确定数量或记录属于资产转移时为 null。

Pattern: ^-?[0-9]+(\.[0-9]+)?$
示例:

"0.00297066689243735"

executed_quantity
string | null
必填

已完成交易的结算数量;结算前为 null。

Pattern: ^-?[0-9]+(\.[0-9]+)?$
示例:

"0.00297066689243735"

executed_price
string | null
必填

以 funding_currency 计价的每单位结算价格,不表示资产转移的成本基础。

Pattern: ^-?[0-9]+(\.[0-9]+)?$
示例:

"336.624750000000055741"

cash_amount
string | null
必填

以 funding_currency 计价、不含手续费的结算金额;结算前及资产转移记录为 null。

Pattern: ^-?[0-9]+(\.[0-9]+)?$
示例:

"1"

fees
object[] | null
必填

已完成订单记录的费用;null 表示尚无已结算费用信息。

示例:
total_amount
string | null
必填

以 funding_currency 计价,买入时为含手续费的结算总支出,卖出时为扣除手续费后的结算收入;结算前及资产转移记录为 null。

Pattern: ^-?[0-9]+(\.[0-9]+)?$
示例:

"1.0005"

transaction_hash
string | null
必填

可用时返回公开交易哈希;null 本身不表示订单失败。

示例:

"0x7e7b7f06c0a4adce2ec2bc01b455fd4e014b9f298e7e2598b02c93dffa86a96f"

failure_code
string | null
必填

失败订单的业务失败标识,与 HTTP 错误码分别处理。

failure_message
string | null
必填

订单失败原因的可读说明;未报告失败时为 null。

created_at
string<date-time>
必填

订单创建时间。

示例:

"2026-09-21T01:33:08.629Z"

updated_at
string<date-time>
必填

订单最近更新时间。

示例:

"2026-09-21T01:50:53.855Z"

completed_at
string<date-time> | null
必填

结算完成时间;订单完成前为 null。

示例:

"2026-09-21T01:50:53.561Z"

failed_at
string<date-time> | null
必填

终态失败时间;订单未失败时为 null。

transfer_quantity
string | null
必填

充值或提现的资产数量;买入和卖出订单为 null。

Pattern: ^-?[0-9]+(\.[0-9]+)?$