更新退款审批结果
商户可通过调用此接口,更新“申请退款”单据的退款审批结果。
请求参数 | 类型 | 描述 |
---|---|---|
complaint_id | string | 投诉单号 |
json | object | 声明请求的JSON 数据结构 |
action | string | 审批动作REJECT | APPROVE 枚举值之一 |
launch_refund_day | integer | 预计发起退款时间 |
reject_reason | string | 拒绝退款原因 |
reject_media_list | string[] | 拒绝退款的举证图片列表 |
remark | string | 备注 |
php
$instance->v3->merchantService->complaintsV2->_complaint_id_->updateRefundProgress->postAsync([
'complaint_id' => '200201820200101080076610000',
'json' => [
'action' => 'REJECT',
'launch_refund_day' => 3,
'reject_reason' => '拒绝退款',
'reject_media_list' => ['MediaId'],
'remark' => '已处理完成',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance->chain('v3/merchant-service/complaints-v2/{complaint_id}/update-refund-progress')->postAsync([
'complaint_id' => '200201820200101080076610000',
'json' => [
'action' => 'REJECT',
'launch_refund_day' => 3,
'reject_reason' => '拒绝退款',
'reject_media_list' => ['MediaId'],
'remark' => '已处理完成',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance['v3/merchant-service/complaints-v2/{complaint_id}/update-refund-progress']->postAsync([
'complaint_id' => '200201820200101080076610000',
'json' => [
'action' => 'REJECT',
'launch_refund_day' => 3,
'reject_reason' => '拒绝退款',
'reject_media_list' => ['MediaId'],
'remark' => '已处理完成',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r($response->getStatusCode() === 204);
})
->wait();
php
$response = $instance->v3->merchantService->complaintsV2->_complaint_id_->updateRefundProgress->post([
'complaint_id' => '200201820200101080076610000',
'json' => [
'action' => 'REJECT',
'launch_refund_day' => 3,
'reject_reason' => '拒绝退款',
'reject_media_list' => ['MediaId'],
'remark' => '已处理完成',
],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance->chain('v3/merchant-service/complaints-v2/{complaint_id}/update-refund-progress')->post([
'complaint_id' => '200201820200101080076610000',
'json' => [
'action' => 'REJECT',
'launch_refund_day' => 3,
'reject_reason' => '拒绝退款',
'reject_media_list' => ['MediaId'],
'remark' => '已处理完成',
],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance['v3/merchant-service/complaints-v2/{complaint_id}/update-refund-progress']->post([
'complaint_id' => '200201820200101080076610000',
'json' => [
'action' => 'REJECT',
'launch_refund_day' => 3,
'reject_reason' => '拒绝退款',
'reject_media_list' => ['MediaId'],
'remark' => '已处理完成',
],
]);
print_r($response->getStatusCode() === 204);
返回字典 | 类型 | 描述 |
---|---|---|
空字符串(无返回内容) |