Skip to content

核销资格

核销资格

请求参数类型描述
jsonobject声明请求的JSON数据结构
req_ssnstring请求流水号
dataobject[]资格集合
auth_codestring品类凭证码
cate_codestring品类编码
cert_nostring证件号码
gradestring能耗等级
一级 | 二级 枚举值之一
namestring姓名
operation_timestring交易完成或商品退回时间戳
bank_namestring银行机构名称
bank_subsidystring银行补贴金额(都是正数,以元为单 位)
plat_subsidystring交易平台补贴金额(都是正数,以元 为单位)
salesstring销售金额(单位元)
statusstring品类状态
0 | 1 枚举值之一
subsidystring政府补贴金额(都是正数,以元为单 位)
telstring手机号
add_codestring区县编码
addressstring收货地址
sale_modelsstring销售方式(0-线上/1-线下)
0 | 1 枚举值之一
sn_codestringS/N码
uniscidstring统一社会信息代码(18 位,请与营业 执照上保持一致)
corp_namestring销售企业名称
barcodestring商品条码(13 位或 14 位)
item_namestring商品名称
spec_modelstring规格型号
brandstring家电品牌
logistics_nostring物流单号(不超过 100 位)
delivery_timestring签收时间
invoice_nostring发票号(不超过 100 位)
is_ai_productstring是否属于 AI 产品(0-是/1-否)
pc_typestring类型(台式、笔记本),当品类为电 脑时必填
order_nostring商户订单号(不超过 50 位)
origin_order_nostring原始订单号,退货必传
activity_add_codestring活动地区编码(例如:110101)6位数字
imei1stringIMEI1,通讯类设备必传
imei2stringIMEI2
ccc_sn_order_nostring3C SN 锁定解锁订单号
headersobject声明请求的头参数
Wechatpay-Serialstring微信支付公钥ID/平台证书序列号
php
$instance->v3->gov->subsidy->zhejiang->qualifications->sync->postAsync([
  'json' => [
    'req_ssn' => '123',
    'data'    => [[
      'auth_code'         => '0be5f8c9071ad939651948480316da8a2d610833bb63bf67c78fdee5edd5aea1',
      'cate_code'         => 'A01',
      'cert_no'           => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
      'grade'             => '一级',
      'name'              => 'OEimkKuua8igpd+0YDgqF2Z61l=',
      'operation_time'    => '',
      'bank_name'         => '',
      'bank_subsidy'      => '',
      'plat_subsidy'      => '',
      'sales'             => '',
      'status'            => '0',
      'subsidy'           => '',
      'tel'               => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
      'add_code'          => '330000',
      'address'           => '',
      'sale_models'       => '0',
      'sn_code'           => '',
      'uniscid'           => '',
      'corp_name'         => '',
      'barcode'           => '',
      'item_name'         => '',
      'spec_model'        => '',
      'brand'             => '',
      'logistics_no'      => '',
      'delivery_time'     => '',
      'invoice_no'        => '',
      'is_ai_product'     => '',
      'pc_type'           => '',
      'order_no'          => '',
      'origin_order_no'   => '',
      'activity_add_code' => '',
      'imei1'             => '',
      'imei2'             => '',
      'ccc_sn_order_no'   => '',
    ],],
  ],
  '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/sync')->postAsync([
  'json' => [
    'req_ssn' => '123',
    'data'    => [[
      'auth_code'         => '0be5f8c9071ad939651948480316da8a2d610833bb63bf67c78fdee5edd5aea1',
      'cate_code'         => 'A01',
      'cert_no'           => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
      'grade'             => '一级',
      'name'              => 'OEimkKuua8igpd+0YDgqF2Z61l=',
      'operation_time'    => '',
      'bank_name'         => '',
      'bank_subsidy'      => '',
      'plat_subsidy'      => '',
      'sales'             => '',
      'status'            => '0',
      'subsidy'           => '',
      'tel'               => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
      'add_code'          => '330000',
      'address'           => '',
      'sale_models'       => '0',
      'sn_code'           => '',
      'uniscid'           => '',
      'corp_name'         => '',
      'barcode'           => '',
      'item_name'         => '',
      'spec_model'        => '',
      'brand'             => '',
      'logistics_no'      => '',
      'delivery_time'     => '',
      'invoice_no'        => '',
      'is_ai_product'     => '',
      'pc_type'           => '',
      'order_no'          => '',
      'origin_order_no'   => '',
      'activity_add_code' => '',
      'imei1'             => '',
      'imei2'             => '',
      'ccc_sn_order_no'   => '',
    ],],
  ],
  '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/sync']->postAsync([
  'json' => [
    'req_ssn' => '123',
    'data'    => [[
      'auth_code'         => '0be5f8c9071ad939651948480316da8a2d610833bb63bf67c78fdee5edd5aea1',
      'cate_code'         => 'A01',
      'cert_no'           => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
      'grade'             => '一级',
      'name'              => 'OEimkKuua8igpd+0YDgqF2Z61l=',
      'operation_time'    => '',
      'bank_name'         => '',
      'bank_subsidy'      => '',
      'plat_subsidy'      => '',
      'sales'             => '',
      'status'            => '0',
      'subsidy'           => '',
      'tel'               => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
      'add_code'          => '330000',
      'address'           => '',
      'sale_models'       => '0',
      'sn_code'           => '',
      'uniscid'           => '',
      'corp_name'         => '',
      'barcode'           => '',
      'item_name'         => '',
      'spec_model'        => '',
      'brand'             => '',
      'logistics_no'      => '',
      'delivery_time'     => '',
      'invoice_no'        => '',
      'is_ai_product'     => '',
      'pc_type'           => '',
      'order_no'          => '',
      'origin_order_no'   => '',
      'activity_add_code' => '',
      'imei1'             => '',
      'imei2'             => '',
      'ccc_sn_order_no'   => '',
    ],],
  ],
  '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->sync->post([
  'json' => [
    'req_ssn' => '123',
    'data'    => [[
      'auth_code'         => '0be5f8c9071ad939651948480316da8a2d610833bb63bf67c78fdee5edd5aea1',
      'cate_code'         => 'A01',
      'cert_no'           => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
      'grade'             => '一级',
      'name'              => 'OEimkKuua8igpd+0YDgqF2Z61l=',
      'operation_time'    => '',
      'bank_name'         => '',
      'bank_subsidy'      => '',
      'plat_subsidy'      => '',
      'sales'             => '',
      'status'            => '0',
      'subsidy'           => '',
      'tel'               => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
      'add_code'          => '330000',
      'address'           => '',
      'sale_models'       => '0',
      'sn_code'           => '',
      'uniscid'           => '',
      'corp_name'         => '',
      'barcode'           => '',
      'item_name'         => '',
      'spec_model'        => '',
      'brand'             => '',
      'logistics_no'      => '',
      'delivery_time'     => '',
      'invoice_no'        => '',
      'is_ai_product'     => '',
      'pc_type'           => '',
      'order_no'          => '',
      'origin_order_no'   => '',
      'activity_add_code' => '',
      'imei1'             => '',
      'imei2'             => '',
      'ccc_sn_order_no'   => '',
    ],],
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/gov/subsidy/zhejiang/qualifications/sync')->post([
  'json' => [
    'req_ssn' => '123',
    'data'    => [[
      'auth_code'         => '0be5f8c9071ad939651948480316da8a2d610833bb63bf67c78fdee5edd5aea1',
      'cate_code'         => 'A01',
      'cert_no'           => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
      'grade'             => '一级',
      'name'              => 'OEimkKuua8igpd+0YDgqF2Z61l=',
      'operation_time'    => '',
      'bank_name'         => '',
      'bank_subsidy'      => '',
      'plat_subsidy'      => '',
      'sales'             => '',
      'status'            => '0',
      'subsidy'           => '',
      'tel'               => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
      'add_code'          => '330000',
      'address'           => '',
      'sale_models'       => '0',
      'sn_code'           => '',
      'uniscid'           => '',
      'corp_name'         => '',
      'barcode'           => '',
      'item_name'         => '',
      'spec_model'        => '',
      'brand'             => '',
      'logistics_no'      => '',
      'delivery_time'     => '',
      'invoice_no'        => '',
      'is_ai_product'     => '',
      'pc_type'           => '',
      'order_no'          => '',
      'origin_order_no'   => '',
      'activity_add_code' => '',
      'imei1'             => '',
      'imei2'             => '',
      'ccc_sn_order_no'   => '',
    ],],
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/gov/subsidy/zhejiang/qualifications/sync']->post([
  'json' => [
    'req_ssn' => '123',
    'data'    => [[
      'auth_code'         => '0be5f8c9071ad939651948480316da8a2d610833bb63bf67c78fdee5edd5aea1',
      'cate_code'         => 'A01',
      'cert_no'           => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/mEoNSgJh0nvuqQJ1cdL==',
      'grade'             => '一级',
      'name'              => 'OEimkKuua8igpd+0YDgqF2Z61l=',
      'operation_time'    => '',
      'bank_name'         => '',
      'bank_subsidy'      => '',
      'plat_subsidy'      => '',
      'sales'             => '',
      'status'            => '0',
      'subsidy'           => '',
      'tel'               => '1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj/nunesXwq9ogPnSj7EDA==',
      'add_code'          => '330000',
      'address'           => '',
      'sale_models'       => '0',
      'sn_code'           => '',
      'uniscid'           => '',
      'corp_name'         => '',
      'barcode'           => '',
      'item_name'         => '',
      'spec_model'        => '',
      'brand'             => '',
      'logistics_no'      => '',
      'delivery_time'     => '',
      'invoice_no'        => '',
      'is_ai_product'     => '',
      'pc_type'           => '',
      'order_no'          => '',
      'origin_order_no'   => '',
      'activity_add_code' => '',
      'imei1'             => '',
      'imei2'             => '',
      'ccc_sn_order_no'   => '',
    ],],
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
resp_codestring响应码
resp_descstring响应描述
error_datastring[]异常数据说明列表

参阅 官方文档

Published on the GitHub by TheNorthMemory