Skip to content

撤销申请

平台服务商提交申请后需要进行撤销操作时,可调用该撤销申请接口,仅当申请状态为初始化、未提交、待主体意愿确认、审核中、已驳回时才允许撤销。

请求参数类型描述
jsonobject声明请求的JSON数据结构
applyment_idstring微信支付申请单号
business_codestring业务申请编号
php
$instance->v3->brand->applyments->cancelApplyment->postAsync([
  'json' => [
    'applyment_id'  => '2000002124775691',
    'business_code' => '190001351110000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/brand/applyments/cancel-applyment')->postAsync([
  'json' => [
    'applyment_id'  => '2000002124775691',
    'business_code' => '190001351110000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/brand/applyments/cancel-applyment']->postAsync([
  'json' => [
    'applyment_id'  => '2000002124775691',
    'business_code' => '190001351110000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->brand->applyments->cancelApplyment->post([
  'json' => [
    'applyment_id'  => '2000002124775691',
    'business_code' => '190001351110000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/brand/applyments/cancel-applyment')->post([
  'json' => [
    'applyment_id'  => '2000002124775691',
    'business_code' => '190001351110000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/brand/applyments/cancel-applyment']->post([
  'json' => [
    'applyment_id'  => '2000002124775691',
    'business_code' => '190001351110000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
applyment_idstring微信支付申请单号
business_codestring业务申请编号

参阅 官方文档

Published on the GitHub by TheNorthMemory