回传处置结果
商户查询订单风险后,调用该接口回传对风险订单/风险商户的调查、处置信息。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
sp_mchid | string | 服务商商户号 |
sub_mchid | string | 子商户号 |
mchid | string | 商户号 |
out_trade_no | string | 商户订单号 |
final_risk_result | number | 最终风险结论1 | 2 枚举值之一 |
final_risk_type | number | 最终风险类型1 | 2 | 3 | 4 枚举值之一 |
disp_conclusion | number[] | 处置结论1 | 2 | 3 枚举值之一 |
disp_addition | string | 处置补充 |
exist_complaint | boolean | 是否有投诉 |
refund_amount | number | 退款金额 |
php
$instance->v3->merchantRiskManage->ecTradeRisk->recvDisposeResult->postAsync([
'json' => [
'sp_mchid' => '1900000109',
'sub_mchid' => '1900009231',
'mchid' => '1900009231',
'out_trade_no' => '20150806125346',
'final_risk_result' => 1,
'final_risk_type' => 1,
'disp_conclusion' => [1, 2, 3],
'disp_addition' => 'example_disp_addition',
'exist_complaint' => true,
'refund_amount' => 100,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant-risk-manage/ec-trade-risk/recv-dispose-result')->postAsync([
'json' => [
'sp_mchid' => '1900000109',
'sub_mchid' => '1900009231',
'mchid' => '1900009231',
'out_trade_no' => '20150806125346',
'final_risk_result' => 1,
'final_risk_type' => 1,
'disp_conclusion' => [1, 2, 3],
'disp_addition' => 'example_disp_addition',
'exist_complaint' => true,
'refund_amount' => 100,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant-risk-manage/ec-trade-risk/recv-dispose-result']->postAsync([
'json' => [
'sp_mchid' => '1900000109',
'sub_mchid' => '1900009231',
'mchid' => '1900009231',
'out_trade_no' => '20150806125346',
'final_risk_result' => 1,
'final_risk_type' => 1,
'disp_conclusion' => [1, 2, 3],
'disp_addition' => 'example_disp_addition',
'exist_complaint' => true,
'refund_amount' => 100,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchantRiskManage->ecTradeRisk->recvDisposeResult->post([
'json' => [
'sp_mchid' => '1900000109',
'sub_mchid' => '1900009231',
'mchid' => '1900009231',
'out_trade_no' => '20150806125346',
'final_risk_result' => 1,
'final_risk_type' => 1,
'disp_conclusion' => [1, 2, 3],
'disp_addition' => 'example_disp_addition',
'exist_complaint' => true,
'refund_amount' => 100,
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant-risk-manage/ec-trade-risk/recv-dispose-result')->post([
'json' => [
'sp_mchid' => '1900000109',
'sub_mchid' => '1900009231',
'mchid' => '1900009231',
'out_trade_no' => '20150806125346',
'final_risk_result' => 1,
'final_risk_type' => 1,
'disp_conclusion' => [1, 2, 3],
'disp_addition' => 'example_disp_addition',
'exist_complaint' => true,
'refund_amount' => 100,
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant-risk-manage/ec-trade-risk/recv-dispose-result']->post([
'json' => [
'sp_mchid' => '1900000109',
'sub_mchid' => '1900009231',
'mchid' => '1900009231',
'out_trade_no' => '20150806125346',
'final_risk_result' => 1,
'final_risk_type' => 1,
'disp_conclusion' => [1, 2, 3],
'disp_addition' => 'example_disp_addition',
'exist_complaint' => true,
'refund_amount' => 100,
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
rsp_msg | string | 返回描述 |