沙箱调试说明
1.
2.
3.
4.
5.
6.
7.
沙箱调试说明
8.
9.
10.
11.
12.
分账关系维护
13.
分账关系绑定
14.
15.
16.
17.
18.
19.
{
"result_code":"SUCCESS"
}
20.
21.
22.
分账关系查询
23.
25.
26.
27.
28.
{
"result_code":"SUCCESS",
"receiver_list":[
{
"type":"userId",
"account":"2088xxxxx00",
"memo":"分账给测试商户",
"login_name":"test@alitest.xyz",
"bind_login_name":"test@alitest.xyz"
}
],
"total_page_num":10,
"total_record_num":480,
"current_page_num":1,
"current_page_size":20
}
29.
30.
分账比例查询
31.
32.
33.
34.
35.
36.
{
"user_id":"2088XXXX1234",
"max_ratio":80
}
37.
38.
分账关系解绑
39.
40.
41.
42.
43.
44.
{
"result_code":"SUCCESS"
}
45.
46.
同步分账
47.
下单并支付
48.
49.
50.
51.
52.
53.
{
"out_trade_no":"20150423001001",
"trade_no":"2015042321001004720200028594"
}
54.
55.
56.


57.
请求分账
58.
59.
60.
61.
62.
63.
{
"trade_no":"2015070921001004130000127422",
"settle_no":"20210718002530070036530006474222"
}
64.
65.
查询分账信息
66.
67.
68.
69.
70.
71.
{
"out_request_no":"20210727001",
"operation_dt":"2021-07-30 12:00:00",
"royalty_detail_list":[
{
"operation_type":"transfer",
"execute_dt":"2021-07-30 12:00:00",
"trans_out":"2088111111111111",
"trans_out_type":"userId",
"trans_in":"2088111111112222",
"trans_in_type":"userId",
"amount":10.00,
"state":"FAIL",
"detail_id":"2023030610032004370215900000",
"error_code":"TXN_RESULT_ACCOUNT_BALANCE_NOT_ENOUGH",
"error_desc":"分账余额不足"
}
]
}
72.
73.
异步分账
74.
下单并支付
75.
76.
77.
78.
79.
80.
{
"out_trade_no":"20150423001001",
"trade_no":"2015042321001004720200028594"
}
81.
82.
83.


84.
请求异步分账
85.
86.
87.
88.
89.
90.
{
"trade_no":"2015070921001004130000127422",
"settle_no":"20210718002530070036530006474222"
}
91.
92.
接收异步分账消息
93.
95.
96.
97.
98.