订单查询
POST
/v1/order/query
请求参数
Body 参数application/json
outOrderNo
string
商户侧订单号
tradeNo
string
平台订单号
示例
{
"outOrderNo": "2025022515073962474180579330",
"tradeNo": null
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/order/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"outOrderNo": "2025022515073962474180579330",
"tradeNo": null
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
cardList
array [object {3}]
卡信息
tradeNo
string
平台订单号
salesPrice
integer
售价(单位:分)
completeTime
string
时间戳(毫秒)
outOrderNo
string
商户侧订单号
status
integer
必需
示例
{
"code": 200,
"msg": "操作成功",
"data": {
"cardList": [
{
"cardNo": "925341",
"cardPwd": "9AhgdPdw",
"expireTime": "2025-03-30 23:59:59"
},
{
"cardNo": "069423",
"cardPwd": "gEek2gH1",
"expireTime": "2025-03-30 23:59:59"
}
],
"tradeNo": "2025022515073962490030854146",
"salesPrice": 756,
"completeTime": "1743265309549",
"outOrderNo": "2025022515073962474180579330",
"status": 2
}
}
修改于 2025-03-29 16:33:28