查询分账
接口说明
暂无
基本信息
| 名称 | 描述 |
|---|---|
| HTTP URL | /api/apps/trade/v2/settle/query_settle/ |
| HTTP Method | POST |
| Scope | industry_open.trade.settle |
请求参数
请求头
content-type必填String
固定值"application/json"
Body
order_idString
示例:ot7053735385750849836
抖音开平侧订单id,长度<=64字节
out_order_noString
示例:开发者侧订单id,长度<=64字节
开发者侧订单id,长度<=64字节
out_settle_noString
示例:out_settle_example_1
开发者侧分账单id,长度<=64字节
settle_idString
示例:example_settle_no
抖音开平侧分账单id,长度<=64字节
thirdparty_idString
示例:xxx
服务商id
请求示例
curl --location --request POST '/api/apps/trade/v2/settle/query_settle/' \ --header 'content-type: application/json' \ --header 'access-token: 0801121846735352506a356a6' \ --data '{"order_id":"ot7053735385750849836","settle_id":"example_settle_no","thirdparty_id":"xxx","out_order_no":"开发者侧订单id,长度\u003c=64字节","out_settle_no":"out_settle_example_1"}' # 此示例仅为模板,请修改为更加符合业务规则的调用示例,方便开发者查看
响应参数
Body展开全部子属性
data必填List
返回数据信息
展开子属性
extra必填Struct
展开子属性
响应示例
{ "extra": { "sub_description": "5G1UBCxIiU", "logid": "202008121419360101980821035705926A", "now": 4872989615076798000, "error_code": 7162452903134107000, "description": "Je0Q6DNVMp", "sub_error_code": 8296363893879223000 }, "data": [ { "commission": 931743904187470800, "settle_id": "ot7053723547314981164", "settle_amount": 7030674864717998000, "settle_detail": "商户号68882720803499563550-分成金额(分)840", "out_settle_no": "out_settle_example_1", "settle_time": 6033232146727709000, "inner_settle_id": "7148645171427674401", "order_id": "ot7053735385750849836", "cp_extra": "test", "settle_status": "SUCCESS", "item_order_id": "ot7114843122160372008", "out_order_no": "out_order_example_1", "rake": 974913501530546400, "platform_ticket": 4111219701250475000 } ] }
