删除分账接收方
电商平台发起删除分账接收方请求。删除后,不支持将电商平台下二级商户结算后的资金,分到该分账接收方。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
appid | string | 公众账号ID |
type | string | 接收方类型 |
account | string | 接收方账号 |
php
$instance->v3->ecommerce->profitsharing->receivers->delete->postAsync([
'json' => [
'appid' => 'wx8888888888888888',
'type' => 'MERCHANT_ID',
'account' => '190001001',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/ecommerce/profitsharing/receivers/delete')->postAsync([
'json' => [
'appid' => 'wx8888888888888888',
'type' => 'MERCHANT_ID',
'account' => '190001001',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/ecommerce/profitsharing/receivers/delete']->postAsync([
'json' => [
'appid' => 'wx8888888888888888',
'type' => 'MERCHANT_ID',
'account' => '190001001',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->ecommerce->profitsharing->receivers->delete->post([
'json' => [
'appid' => 'wx8888888888888888',
'type' => 'MERCHANT_ID',
'account' => '190001001',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/ecommerce/profitsharing/receivers/delete')->post([
'json' => [
'appid' => 'wx8888888888888888',
'type' => 'MERCHANT_ID',
'account' => '190001001',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/ecommerce/profitsharing/receivers/delete']->post([
'json' => [
'appid' => 'wx8888888888888888',
'type' => 'MERCHANT_ID',
'account' => '190001001',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
type | string | 接收方类型 |
account | string | 接收方账号 |
参阅 官方文档