解除门店收款信息绑定
请求参数 | 类型 | 描述 |
---|---|---|
store_id | integer | 微信支付商户门店ID |
json | object | 声明请求的JSON 数据结构 |
sub_mchid | string | 子商户号 |
store_recipient | object[] | 收款门店信息 |
mchid | string | 门店收款商户号 |
company_name | string | 门店收款主体 |
php
$instance->v3->merchantStore->stores->_store_id_->recipients->unbind->postAsync([
'store_id' => '20488000',
'json' => [
'sub_mchid' => '1900000109',
'store_recipient' => [[
'mchid' => '',
'company_name' => '',
],],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant-store/stores/{store_id}/recipients/unbind')->postAsync([
'store_id' => '20488000',
'json' => [
'sub_mchid' => '1900000109',
'store_recipient' => [[
'mchid' => '',
'company_name' => '',
],],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant-store/stores/{store_id}/recipients/unbind']->postAsync([
'store_id' => '20488000',
'json' => [
'sub_mchid' => '1900000109',
'store_recipient' => [[
'mchid' => '',
'company_name' => '',
],],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchantStore->stores->_store_id_->recipients->unbind->post([
'store_id' => '20488000',
'json' => [
'sub_mchid' => '1900000109',
'store_recipient' => [[
'mchid' => '',
'company_name' => '',
],],
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant-store/stores/{store_id}/recipients/unbind')->post([
'store_id' => '20488000',
'json' => [
'sub_mchid' => '1900000109',
'store_recipient' => [[
'mchid' => '',
'company_name' => '',
],],
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant-store/stores/{store_id}/recipients/unbind']->post([
'store_id' => '20488000',
'json' => [
'sub_mchid' => '1900000109',
'store_recipient' => [[
'mchid' => '',
'company_name' => '',
],],
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
failed_store_recipient | object[] | 收款门店信息 |
mchid | string | 门店收款商户号 |
failed_reason | string | 绑定当前收款信息失败的原因 |
参阅 。