订单查询
查询支付订单状态与详情
通过 preSn 或 outerOrder 查询支付订单当前状态与完整详情。
响应包含法币/加密金额、汇率、渠道/钱包标识、交易 ID 及相关时间戳。
若原支付单打过标,响应还可能包含可选字段 subMerchantCode。
标头参数
X-R-Ts*string
请求时间戳(毫秒)
X-R-Ak*string
商户 appKey
X-R-Signature*string
请求签名
X-R-Key-Version?string
商户私钥版本,默认 1
请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
*/*
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/openapi/v2/order/detail" \ -H "X-R-Ts: 1762327084929" \ -H "X-R-Ak: string" \ -H "X-R-Signature: string" \ -H "Content-Type: application/json" \ -d '{ "outerOrderSn": "ORD20260101001", "orderSn": "PRE20260000001" }'"Open API 通用响应"{ "code": "paramFormatError", "message": "request param invalid"}{ "code": "authorizationInvalid", "message": "authorizationInvalid invalid"}{ "code": "notInWhiteList", "message": "request ip not in the white list"}{ "code": "frequencyLimited", "message": "Too many requests, please try again later"}