同步支付后的订单信息给到合作方
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
seller | Seller | 必须 | 卖家信息 | ||
|
|||||
general | General | 必须 | 一般信息 | ||
|
|||||
promotions | Promotion [] | 可选 |
|
优惠列表 | |
|
|||||
price_info | PriceInfo | 必须 | 价格信息 | ||
|
|||||
item_based_orders | ItemBasedSubOrder [] | 可选 |
|
基于商品的子订单列表 | |
|
|||||
partner_based_orders | PartnerBasedSubOrder [] | 可选 |
|
基于合作方订单的子订单 | |
|
|||||
material_based_orders | MaterialBasedSubOrder [] | 可选 |
|
基于商家编码的子订单 | |
|
|||||
buyer | Buyer | 必须 | 买家信息 | ||
|
|||||
_REQ_ID | String | 可选 | 123123 | 请求id | |
pay_list | PayInfo [] | 必须 |
|
支付信息 | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
success | Boolean | true | 接口是否成功 |
error_code | String | PARAM_ERROR | 错误时的业务错误码 |
error_message | String | param error | 错误时的业务错误信息 |
data | Data | 返回值 | |
|
|||
biz_success | Boolean | true | 业务结果是否成功 |
{"seller":{"store_id":"1231","employee_id":"123123","store_name":"sfdsf","enterprise_id":"123123"},"price_info":{"pay_price":12312312,"total_price":120,"adjust_fee":1231232},"general":{"project_id":"12321","booking_date":12312312,"ihome_trade_version":1,"share_commission":true,"main_order_id":"2321312"},"partner_based_orders":[{"itemId":"123","pay_price":1234,"total_price":123123,"adjust_fee":100,"count":123,"partner_sub_id":"123123","sub_order_id":"12312","type":"TEST","skuId":"11"}],"promotions":[{"amount":1000,"cost":100,"title":"test"}],"item_based_orders":[{"pay_price":1234,"total_price":123123,"item_id":"12","adjust_fee":100,"count":123,"partner_item_attachment_id":"1111","sku_id":"0","sub_order_id":"12321","type":"TEST"}],"pay_list":[{"phase":"FULL","no":"111","amount":1000,"time":"11111","type":"POS"}],"material_based_orders":[{"pay_price":1234,"total_price":123123,"materiel_id":"12","adjust_fee":100,"count":123,"sub_order_id":"12321","type":"TEST"}],"_REQ_ID":"123123","buyer":{"address":{"district_name":"五常","city_name":"杭州","address":"test","district_code":"3","city_code":"2","province_code":"1","street_code":"5","street_name":"文一西路","province_name":"浙江"},"phone":"1231231","sex":"1","name":"xxxx"}}
{ "success":true, "error_code":"PARAM_ERROR", "error_message":"param error", "data":{ "sub_order_entries":[ { "partner_sub_id":"1231", "sub_order_id":"1231" } ], "partner_main_id":"123" }, "biz_success":true }
{"error_message":"Illegal request","success":"不等于true","error_code":"sign-check-failure"}
错误码 | 错误描述 | 解决方案 |
---|