Skip to content

查询结算账户

普通服务商(支付机构、银行不可用),可使用本接口查询其进件、已签约的特约商户-结算账户信息(敏感信息掩码)。 该接口可用于核实是否成功修改结算账户信息、及查询系统汇款验证结果。

请求参数类型描述
sub_mchidstring特约商户/二级商户号
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_typestring账户类型
account_bankstring开户银行
bank_namestring开户银行全称(含支行)
bank_branch_idstring开户银行联行号
account_numberstring银行账号
verify_resultstring验证结果
verify_fail_reasonstring验证失败原因

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory