# 2、查询订单

请求方式

  • POST

请求 URL

/api/v3/qr/query/collectingOrder

请求类型

Header: { 'Content-Type': 'application/json;charset=utf-8' }

请求头参数

参数名 描述 示例值
access_key 商户后台获取 pFqV75X3
timestamp 13位 Unix 时间戳(毫秒) 1679724896223
nonce UUID V4 格式 794c26b0-d33c-4394-b2bb-c485eca16d9e
sign 根据签名规则计算的签名 kAXyh+eerqrefyaF8dyFB0M4FVo=

请求参数说明

参数名 类型 描述 示例值 是否必填
externalOrderId String 商户订单号,最大长度64字 241534072867503522
orderId String 系统订单号 OCURRPAID202308220659471692687587691...

响应类型

Header: { 'Content-Type': 'application/json;charset=utf-8' }

响应示例

{
    "code":"200",
    "success":true,
    "msg":"成功",
    "msgEn":"SUCCESS",
    "data":[
        {
        "orderId":"OCURRPAID202504290319221745896762586HAMBIT-U0000000401297557",
        "cashierId":"OCURRPAID202504290319221745896762530HAMBIT-U0000000201297556",
        "orderType":1,
        "orderResourceType":2,
        "userId":"1892907051323297793",
        "orderStatus":2,
        "orderTime":1745896763000,
        "channelOrderId":"OQRCODE20250429031922noDE0YTRxhABi",
        "externalOrderId":"20250429111919543127",
        "orderAmount":"10.11",
        "orderActualAmount":"10.11",
        "orderFee":"3.405",
        "orderPayTime":1745896811000,
        "orderCompleteTime":1745896811000,
        "currencyType":"INR",
        "payType":127,
        "tradeNote":"",
        "notifyUrl":"https://test/testNotifySuccess",
        "markStatus":0,
        "errorMsg":null,
        "errorMsgEn":null,
        "accountType":"",
        "accountName":"",
        "accountNo":"",
        "userInfoName":"",
        "userInfoNo":"",
        "businessId":"1745896762599wlkr9bjcb2je4yvgdcz",
        "orderTypeCode":"Pay",
        "orderResourceTypeCode":"Currency",
        "orderStatusCode":"Payment success",
        "payTypeCode":""
        }
    ]
}

响应参数说明

Param Type Desc
accountName String 账户名称
orderActualAmount String 实际订单金额
orderPayTime int64 订单支付时间
orderCompleteTime int64 订单完成时间
errorMsg string 错误消息
errorMsgEn string 错误消息
orderFee string 订单费用
accountNo String 账户账号
accountType String 账户类型
cashierId String 收银台ID
channelOrderId String 订单关联渠道订单ID
currencyType String 法币类型
errorMsg String 错误信息
externalOrderId String 商户订单号
notifyUrl String 回调地址
orderAmount String 订单金额
orderId String 订单id
orderResourceType int64 订单所属业务类型 2-法币订单
orderStatus int64 订单状态 1-待支付 2- 支付成功
orderTime int64 订单创建时间
orderType int64 订单类型 1-收款
payType int64 支付类型
tradeNote String 备注
userId String 用户ID
payTypeCode String 支付类型code
orderStatusCode String 订单状态code
orderTypeCode String 订单类型code
userInfoName String 用户信息名
userInfoNo String 用户信息ID
businessId String 企业ID