申请修改特约商户结算规则
从业机构可调用该接口帮助特约商户进行结算规则ID的修改。
| 请求参数 | 类型 | 描述 |
|---|---|---|
| json | object | 声明请求的JSON数据结构 |
| acquiring_bank_id | string | 从业机构号 |
| channel_id | string | 渠道商户号 |
| sub_mchid | string | 从业机构特约商户号 |
| settle_rule_id | integer | 结算规则id |
php
$instance->v3->merchantSettlement->merchantSettleRuleApplications->postAsync([
'json' => [
'acquiring_bank_id' => '1356485',
'channel_id' => '20001111',
'sub_mchid' => '1346578',
'settle_rule_id' => 760,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance->chain('v3/merchant-settlement/merchant-settle-rule-applications')->postAsync([
'json' => [
'acquiring_bank_id' => '1356485',
'channel_id' => '20001111',
'sub_mchid' => '1346578',
'settle_rule_id' => 760,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance['v3/merchant-settlement/merchant-settle-rule-applications']->postAsync([
'json' => [
'acquiring_bank_id' => '1356485',
'channel_id' => '20001111',
'sub_mchid' => '1346578',
'settle_rule_id' => 760,
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$response = $instance->v3->merchantSettlement->merchantSettleRuleApplications->post([
'json' => [
'acquiring_bank_id' => '1356485',
'channel_id' => '20001111',
'sub_mchid' => '1346578',
'settle_rule_id' => 760,
],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance->chain('v3/merchant-settlement/merchant-settle-rule-applications')->post([
'json' => [
'acquiring_bank_id' => '1356485',
'channel_id' => '20001111',
'sub_mchid' => '1346578',
'settle_rule_id' => 760,
],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance['v3/merchant-settlement/merchant-settle-rule-applications']->post([
'json' => [
'acquiring_bank_id' => '1356485',
'channel_id' => '20001111',
'sub_mchid' => '1346578',
'settle_rule_id' => 760,
],
]);
print_r(json_decode((string) $response->getBody(), true));| 返回字典 | 类型 | 描述 |
|---|---|---|
| application_id | string | 申请单编号 |
| application_process_info | string | 申请单处理信息 |
| application_state | string | 申请单状态 |
| update_time | string | 最后更新时间 |
| acquiring_bank_id | string | 从业机构号 |
| channel_id | string | 渠道商户号 |
| sub_mchid | string | 从业机构特约商户号 |
| settle_rule_id | integer | 结算规则id |
参阅 官方文档