主题
消费管理
交易记录
| 项目 | 内容 |
|---|---|
| 接口描述 | 交易记录 |
| 接口地址 | /console/v1/transaction |
| 请求方式 | GET |
| 接口版本 | v1 |
请求参数
| name | type | default | validate | desc |
|---|---|---|---|---|
| keywords | string | - | 搜索范围交易流水号订单IDvalidate:optional | desc:关键字 |
| type | string | - | new新订单renew续费订单upgrade升降级订单artificial人工订单validate:optional | desc:类型 |
| gateway | string | - | validate:optional | desc:支付方式 |
| order_id | int | - | validate:optional | desc:订单ID |
| page | int | - | validate:optional | desc:页数 |
| limit | int | - | validate:optional | desc:每页条数 |
| orderby | string | - | idvalidate:optional | desc:排序字段 |
| sort | string | - | ascdescvalidate:optional | desc:升降序 |
响应参数
| name | type | default | desc |
|---|---|---|---|
| list | array | - | desc:交易流水列表 |
| list[].id | int | - | desc:交易流水ID |
| list[].amount | float | - | desc:金额 |
| list[].gateway | string | - | desc:支付方式 |
| list[].transaction_number | string | - | desc:交易流水号 |
| list[].order_id | int | - | desc:订单ID |
| list[].create_time | int | - | desc:创建时间 |
| list[].type | string | - | desc:订单类型 |
| list[].hosts | array | - | desc:产品列表 |
| list[].hosts[].id | int | - | desc:产品ID |
| list[].hosts[].name | string | - | desc:商品名称 |
| list[].descriptions | array | - | desc:描述 |
| count | int | - | desc:交易流水总数 |