查询结算账户
普通服务商(支付机构、银行不可用),可使用本接口查询其进件、已签约的特约商户-结算账户信息(敏感信息掩码)。 该接口可用于核实是否成功修改结算账户信息、及查询系统汇款验证结果。
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 特约商户/二级商户号 |
php
$instance->v3->apply4sub->sub_merchants->_sub_mchid_->settlement->getAsync([
'sub_mchid' => '1900006491',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/apply4sub/sub_merchants/{sub_mchid}/settlement')->getAsync([
'sub_mchid' => '1900006491',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/apply4sub/sub_merchants/{sub_mchid}/settlement']->getAsync([
'sub_mchid' => '1900006491',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->apply4sub->sub_merchants->_sub_mchid_->settlement->get([
'sub_mchid' => '1900006491',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/apply4sub/sub_merchants/{sub_mchid}/settlement')->get([
'sub_mchid' => '1900006491',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/apply4sub/sub_merchants/{sub_mchid}/settlement']->get([
'sub_mchid' => '1900006491',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
account_type | string | 账户类型 |
account_bank | string | 开户银行 |
bank_name | string | 开户银行全称(含支行) |
bank_branch_id | string | 开户银行联行号 |
account_number | string | 银行账号 |
verify_result | string | 验证结果 |
verify_fail_reason | string | 验证失败原因 |