查询充值 Orders 接口
接口说明: 根据 apikey 查询用户充值订单 records。
URL: GET /api/orders/query
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
apikey | string | 是 | 商户分配的 API Key |
order_no | string | 否 | 业务订单号,可以传order_no和SystemOrderID的值,如果不传的话显示全部。 |
status | string | 否 | 订单状态,如果不传的话显示全部。可选值:pending/transferred/rejected/success |
limit | int | 否 | 最大记录数 |
offset | int | 否 | 分页偏移量 |
GET /api/orders/query?apikey=abc123&status=paid&limit=20
{ "code": 200, "message": "成功", "data": [ { "Address": "TWakRLSBWvEeexxxxxBrgg", "Amount": 100.29, "Callback_status": "pending", "Callback_url": "https://www.xxxx/usdt/callback", "Created_at": "2025-04-02 12:55:33", "End_time": "2025-04-02T13:05:33+08:00", "Is_manual": false, "Order_no": "FMT202xxxxx55333996", "Real_amount": 0, "Start_time": "2025-04-02T12:55:33+08:00", "Status": "failed", "System_order_id": "20250xxxxxx004199", "Tx_id": "", "Updated_at": "2025-04-02 13:05:35" } ] }
HTTP 状态码 | 错误码 | 描述 |
---|---|---|
400 | 400 | 缺少 apikey 参数 |
401 | 401 | 无效 apikey |
500 | 500 | 查询异常 |