账单
接口地址:/get_invoices GET
账单 -- wyh
接口说明:账单
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| page | 整型 | 非必填 | - | - | 页码 |
| limit | 整型 | 非必填 | - | - | 长度 |
| order | 字符串 | 非必填 | - | - | 排序字段(id,name,amount,create_time,paid_time,status,payment,type) |
| sort | 字符串 | 非必填 | - | - | 排序规则(asc/desc) |
| status | 数组 | 非必填 | - | - | 账单状态(Unpaid待支付,Paid已支付,Refunded已退款) |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
"currency":"货币",
"total":"总数",
"invoices":[{//账单
"id":"",
"invoice_num":"",
"subtotal":"",
"type":"类型",
"paid_time":"支付日期",
"due_time":"逾期",
"status":"支付状态",
"payment":"支付方式",
}]
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改