Skip to content

变更资格

变更资格

请求参数类型描述
jsonobject声明请求的JSON数据结构
cate_codestring品类编码
cert_nostring证件号码
namestring姓名
telstring手机号
req_ssnstring请求流水号
headersobject声明请求的头参数
Wechatpay-Serialstring微信支付公钥ID/平台证书序列号
php
$instance->v3->gov->subsidy->zhejiang->qualifications->alter->postAsync([
  'json' => [
    'cate_code' => 'A01',
    'cert_no'   => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
    'name'      => 'OEimkKuua8igpd+0YDgqF2Z61l=',
    'tel'       => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
    'req_ssn'   => '123',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/gov/subsidy/zhejiang/qualifications/alter')->postAsync([
  'json' => [
    'cate_code' => 'A01',
    'cert_no'   => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
    'name'      => 'OEimkKuua8igpd+0YDgqF2Z61l=',
    'tel'       => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
    'req_ssn'   => '123',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/gov/subsidy/zhejiang/qualifications/alter']->postAsync([
  'json' => [
    'cate_code' => 'A01',
    'cert_no'   => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
    'name'      => 'OEimkKuua8igpd+0YDgqF2Z61l=',
    'tel'       => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
    'req_ssn'   => '123',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->gov->subsidy->zhejiang->qualifications->alter->post([
  'json' => [
    'cate_code' => 'A01',
    'cert_no'   => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
    'name'      => 'OEimkKuua8igpd+0YDgqF2Z61l=',
    'tel'       => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
    'req_ssn'   => '123',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/gov/subsidy/zhejiang/qualifications/alter')->post([
  'json' => [
    'cate_code' => 'A01',
    'cert_no'   => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
    'name'      => 'OEimkKuua8igpd+0YDgqF2Z61l=',
    'tel'       => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
    'req_ssn'   => '123',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/gov/subsidy/zhejiang/qualifications/alter']->post([
  'json' => [
    'cate_code' => 'A01',
    'cert_no'   => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
    'name'      => 'OEimkKuua8igpd+0YDgqF2Z61l=',
    'tel'       => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
    'req_ssn'   => '123',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
resp_codestring响应码
resp_descstring响应描述
auth_codestring品类凭证码

参阅 官方文档

Published on the GitHub by TheNorthMemory