Skip to content

渠道商查询商户审核信息

用于渠道商查询其下属关联机构进件的商户的审核信息。

请求参数类型描述
xmlobject声明请求的XML数据结构
mch_idstring渠道商号
sub_mch_idstring子商户号
acquiring_bank_idstring服务商号
sign_typestring签名类型
HMAC-SHA256 枚举值
php
$instance->v2->mchrisk->channelquerymchauditinfo->postAsync([
  'xml' => [
    'mch_id'            => '1900000109',
    'sub_mch_id'        => '999990016',
    'acquiring_bank_id' => '999990017',
    'sign_type'         => 'HMAC-SHA256',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance->chain('v2/mchrisk/channelquerymchauditinfo')->postAsync([
  'xml' => [
    'mch_id'            => '1900000109',
    'sub_mch_id'        => '999990016',
    'acquiring_bank_id' => '999990017',
    'sign_type'         => 'HMAC-SHA256',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance['v2/mchrisk/channelquerymchauditinfo']->postAsync([
  'xml' => [
    'mch_id'            => '1900000109',
    'sub_mch_id'        => '999990016',
    'acquiring_bank_id' => '999990017',
    'sign_type'         => 'HMAC-SHA256',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$response = $instance->v2->mchrisk->channelquerymchauditinfo->post([
  'xml' => [
    'mch_id'            => '1900000109',
    'sub_mch_id'        => '999990016',
    'acquiring_bank_id' => '999990017',
    'sign_type'         => 'HMAC-SHA256',
  ],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance->chain('v2/mchrisk/channelquerymchauditinfo')->post([
  'xml' => [
    'mch_id'            => '1900000109',
    'sub_mch_id'        => '999990016',
    'acquiring_bank_id' => '999990017',
    'sign_type'         => 'HMAC-SHA256',
  ],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance['v2/mchrisk/channelquerymchauditinfo']->post([
  'xml' => [
    'mch_id'            => '1900000109',
    'sub_mch_id'        => '999990016',
    'acquiring_bank_id' => '999990017',
    'sign_type'         => 'HMAC-SHA256',
  ],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
返回字典类型描述
return_codestring返回状态码
SUCCESS | FAIL 枚举值之一
return_msgstring返回结果
result_codestring业务结果
SUCCESS | FAIL 枚举值之一
err_codestring错误代码
err_code_desstring错误描述
mch_idstring服务商号
sub_mch_idstring子商户号
channel_idstring渠道号
audit_statusstring审核状态
audit_commentstring审核备注
nonce_strstring随机字符串
signstring签名
sign_typestring签名类型
HMAC-SHA256 枚举值

参阅 官方文档

Published on the GitHub by TheNorthMemory