查询商户资料
查询最新商户资料 接口限频:单商户号10次/分钟
| 请求参数 | 类型 | 描述 |
|---|---|---|
| query | object | 声明请求的查询参数 |
| mchid | string | 微信支付商户号 |
| bal_account_no | string | 额度台账号 |
| headers | object | 声明请求的头参数 |
| Wechatpay-Serial | string | 微信支付公钥ID/平台证书序列号 |
php
$instance->v3->aggracctBc->wbChannel->account->mch_archives->getAsync([
'query' => [
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
],
'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/aggracct-bc/wb-channel/account/mch_archives')->getAsync([
'query' => [
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
],
'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/aggracct-bc/wb-channel/account/mch_archives']->getAsync([
'query' => [
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
],
'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->aggracctBc->wbChannel->account->mch_archives->get([
'query' => [
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance->chain('v3/aggracct-bc/wb-channel/account/mch_archives')->get([
'query' => [
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance['v3/aggracct-bc/wb-channel/account/mch_archives']->get([
'query' => [
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));| 返回字典 | 类型 | 描述 |
|---|---|---|
| mchid | string | 微信支付商户号 |
| bal_account_no | string | 额度台账号 |
| merchant_type | string | 主体类型1 | 2 枚举值之一 |
| merchant_id_type | string | 主体证件类型12 枚举值 |
| merchant_name | string | 主体证件登记名称 |
| merchant_id_no | string | 主体证件号码 |
| effective_date | string | 主体证件有效期起始日 |
| expire_date | string | 主体证件有效期结束日 |
| merchant_img_front_id | string | 主体证件正面影像ID |
| register_address | string | 主体注册地址 |
| business_scope | string | 主体经营范围 |
| legal_representative | object | 法定代表人信息 |
| legal_representative_id_type | string | 法定代表人证件类型01 枚举值 |
| legal_representative_name | string | 法定代表人姓名 |
| legal_representative_id_no | string | 法定代表人证件号码 |
| legal_representative_effective_date | string | 法定代表人证件有效期起始日 |
| legal_representative_expire_date | string | 法定代表人证件有效期结束日 |
| legal_representative_img_front_id | string | 法定代表人证件正面影像ID |
| legal_representative_img_back_id | string | 法定代表人证件反面影像ID |
| legal_representative_address | string | 法定代表人居住地址 |
| beneficial_owner | object[] | 受益所有人信息列表 |
| beneficial_owner_no | string | 受益所有人编号 |
| beneficial_owner_id_type | string | 受益所有人证件类型01 枚举值 |
| beneficial_owner_name | string | 受益所有人姓名 |
| beneficial_owner_id_no | string | 受益所有人证件号码 |
| beneficial_owner_effective_date | string | 受益所有人证件有效期起始日 |
| beneficial_owner_expire_date | string | 受益所有人证件有效期结束日 |
| beneficial_owner_img_front_id | string | 受益所有人证件正面影像ID |
| beneficial_owner_img_back_id | string | 受益所有人证件反面影像ID |
| beneficial_owner_address | string | 受益所有人居住地址 |
参阅 官方文档