接口说明

查询单个订单信息。

接口方法

esales.order.get

传入参数

名称类型必须描述
order_idbigintfalse平台订单号
out_order_idstringfalse商家订单号

返回数据

参数名类型说明
idbigint订单号
product_idint商品编号
product_namestring商品名称
product_typeint商品类型(1:充值,2:卡密)
product_pricedecimal售价
quantityint购买数量
total_pricedecimal总支付价格
statusint订单状态(100:等待发货,200:交易成功,500:交易失败,300:可疑订单)
status_infostring充值返回信息
created_atstring下单时间
cardsarray卡密,只有卡密商品会返回

示例

{
  "code": 0,
  "message": "",
  "data": {
    "id": "15649071068",
    "product_id": "41924",
    "product_name": "官方激活码CDK",
    "product_type": "2",
    "product_price": "1.0000",
    "quantity": "3",
    "total_price": "3.0000",
    "status": "200",
    "status_info": null,
    "created_at": "2021-09-15 13:39:53.140",
    "cards": [
      {
        "card_no": "vip009",
        "card_password": "DDd2kpCxZosyy7d",
        "expiration_date": "2025-05-28"
      },
      {
        "card_no": "vip010",
        "card_password": "UwQ4WnAKfi6wby6",
        "expiration_date": "2025-05-28"
      },
      {
        "card_no": "vip011",
        "card_password": "qKgITDZUuahfmiu",
        "expiration_date": "2025-05-28"
      }
    ]
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Last Updated: 5/28/2025, 4:34:07 PM
Contributors: Zhang Yuteng, abusym, qq, za