Skip to content

查询支持对公业务的银行列表

通过本接口可以查询支持对公业务的银行列表

请求参数类型描述
queryobject声明请求的查询参数
offsetinteger本次查询偏移量
limitinteger本次请求最大查询条数
php
$instance->v3->capital->capitallhh->banks->corporateBanking->getAsync([
  'query' => [
    'offset' => 0,
    'limit'  => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/capital/capitallhh/banks/corporate-banking')->getAsync([
  'query' => [
    'offset' => 0,
    'limit'  => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/capital/capitallhh/banks/corporate-banking']->getAsync([
  'query' => [
    'offset' => 0,
    'limit'  => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->capital->capitallhh->banks->corporateBanking->get([
  'query' => [
    'offset' => 0,
    'limit'  => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/capital/capitallhh/banks/corporate-banking')->get([
  'query' => [
    'offset' => 0,
    'limit'  => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/capital/capitallhh/banks/corporate-banking']->get([
  'query' => [
    'offset' => 0,
    'limit'  => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
total_countinteger查询数据总条数
countinteger本次查询数据条数
dataobject[]银行列表
bank_aliasstring银行别名
bank_alias_codestring银行别名编码
account_bankstring开户银行
account_bank_codeinteger开户银行编码
need_bank_branchboolean是否需要填写支行
offsetinteger本次查询偏移量
linksobject分页链接
nextstring下一页链接
prevstring上一页链接
selfstring当前链接

参阅 官方文档

Published on the GitHub by TheNorthMemory