Skip to content

提交商户简称变更申请单

服务商使用该接口提交商家的商户简称变更申请,帮助商家修改商户简称。

请求参数类型描述
jsonobject声明请求的JSON数据结构
merchant_codestring商户号
out_request_nostring业务申请编号
merchant_shortnamestring商户简称
php
$instance->v3->mchalterapply->merchantnamealterapplyment->postAsync([
  'json' => [
    'merchant_code'      => '2492185251',
    'out_request_no'     => '1900013511_10000',
    'merchant_shortname' => 'example_merchant_shortname',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/mchalterapply/merchantnamealterapplyment')->postAsync([
  'json' => [
    'merchant_code'      => '2492185251',
    'out_request_no'     => '1900013511_10000',
    'merchant_shortname' => 'example_merchant_shortname',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/mchalterapply/merchantnamealterapplyment']->postAsync([
  'json' => [
    'merchant_code'      => '2492185251',
    'out_request_no'     => '1900013511_10000',
    'merchant_shortname' => 'example_merchant_shortname',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->mchalterapply->merchantnamealterapplyment->post([
  'json' => [
    'merchant_code'      => '2492185251',
    'out_request_no'     => '1900013511_10000',
    'merchant_shortname' => 'example_merchant_shortname',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/mchalterapply/merchantnamealterapplyment')->post([
  'json' => [
    'merchant_code'      => '2492185251',
    'out_request_no'     => '1900013511_10000',
    'merchant_shortname' => 'example_merchant_shortname',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/mchalterapply/merchantnamealterapplyment']->post([
  'json' => [
    'merchant_code'      => '2492185251',
    'out_request_no'     => '1900013511_10000',
    'merchant_shortname' => 'example_merchant_shortname',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
apply_idstring申请单号

参阅 官方文档

Published on the GitHub by TheNorthMemory