RedotPay Connect
订单查询

批量查询支付订单

按商户外单号或时间范围批量查询支付订单。 若提供 outerOrderList,将忽略 beginTime/endTime。 按时间查询仅支持近期数据(最长 30 天)。 若原支付单带有子商户标识,结果项可能包含可选字段 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/list" \  -H "X-R-Ts: 1762327084929" \  -H "X-R-Ak: string" \  -H "X-R-Signature: string" \  -H "Content-Type: application/json" \  -d '{}'
"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"}