Skip to content

解绑收款商户号

解绑品牌门店的收款商户号。解绑成功后,商户号不能再为门店收款。

请求参数类型描述
store_idstring品牌门店ID
jsonobject声明请求的JSON数据结构
brand_idstring品牌ID
mchidstring门店收款商户号
php
$instance->v3->brand->partner->store->brandstores->_store_id_->unbindrecipient->postAsync([
  'store_id' => '20488000',
  'json' => [
    'brand_id' => '123456789',
    'mchid'    => '1230000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/brand/partner/store/brandstores/{store_id}/unbindrecipient')->postAsync([
  'store_id' => '20488000',
  'json' => [
    'brand_id' => '123456789',
    'mchid'    => '1230000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/brand/partner/store/brandstores/{store_id}/unbindrecipient']->postAsync([
  'store_id' => '20488000',
  'json' => [
    'brand_id' => '123456789',
    'mchid'    => '1230000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->brand->partner->store->brandstores->_store_id_->unbindrecipient->post([
  'store_id' => '20488000',
  'json' => [
    'brand_id' => '123456789',
    'mchid'    => '1230000109',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/brand/partner/store/brandstores/{store_id}/unbindrecipient')->post([
  'store_id' => '20488000',
  'json' => [
    'brand_id' => '123456789',
    'mchid'    => '1230000109',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/brand/partner/store/brandstores/{store_id}/unbindrecipient']->post([
  'store_id' => '20488000',
  'json' => [
    'brand_id' => '123456789',
    'mchid'    => '1230000109',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
failed_reasonstring解绑失败原因

参阅 官方文档

Published on the GitHub by TheNorthMemory