银行目录查询

功能描述: 按银行 → 分行 → 网点逐级查询服务方银行目录。Epay 本地汇款(当前为美国 USD 本地)新增银行账户时,银行名称与网点须取自本接口。

前置条件:

  1. 需要签名
  2. 参数需要加密

说明:

  1. 逐级查询:level=BANK 按 keyword(银行名称)查银行,得到 bankId、bankName;level=BRANCH 传 bankId 查分行;level=LOCATION 传 bankId(有分行时再传 bankBranch)查网点,得到 locationId,同时返回所属 bankId、bankName。
  2. 新增/编辑银行账户时:表单「银行名称」bank 原样填 bankName,「银行网点位置」locationId 填 locationId,汇款方式为 local。
  3. 美国 USD 本地:locationId 即 9 位 ACH 路由号,bankId 与之相同。已知路由号时直接 level=LOCATION、bankId=路由号查一次,即得 locationId 与须原样填写的 bankName(名称含路由号后缀)。
  4. 只返回当前有效通路下的目录;传 subjectType(收款人主体)时只返回该主体可用的目录。每次最多返回 200 条,请用 keyword 缩小范围。

错误码:

  • 8002: 参数错误(level 不是 BANK/BRANCH/LOCATION,countryCode、currency 为空,或 BRANCH/LOCATION 缺 bankId;msg 为具体原因)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

查询层级(BANK=银行,BRANCH=分行,LOCATION=网点)

Allowed:
string
required

收款银行国家/地区,如 US

string
required

收款币种,如 USD

string
enum

收款人主体类型,可空

Allowed:
string

银行 ID(取自 BANK 层),BRANCH/LOCATION 必填

string

分行名称(取自 BRANCH 层),LOCATION 可空:为空时查无分行的网点

string

关键字,按当前层级名称模糊匹配(BANK=银行名称,BRANCH=分行名称,LOCATION=网点地址)

Headers
string
required

请求唯一码(最大长度64个字符)

int64
required

请求时间戳(毫秒)

string
required

API KEY

string
required

签名后的字符串

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json