Bank directory query

Description: Query the provider bank directory level by level (bank → branch → location). For Epay local transfers (currently US USD local), the bank name and branch location of a new bank account must come from this API.

Preconditions:

  1. Signature required
  2. Request parameters must be encrypted

Notes:

  1. Level by level: level=BANK searches banks by keyword (bank name) and returns bankId and bankName; level=BRANCH with bankId returns branches; level=LOCATION with bankId (plus bankBranch when the bank has branches) returns locations with locationId, together with their bankId and bankName.
  2. When creating or updating a bank account: set the form field bank to bankName exactly, the field locationId ("Bank Branch Location") to locationId, and the transfer method to local.
  3. US USD local: locationId is the 9-digit ACH routing number and bankId equals it. With a known routing number, one call with level=LOCATION and bankId=routing number returns both locationId and the bankName to use exactly (the name ends with the routing number).
  4. Only directories under currently active routes are returned; with subjectType (beneficiary subject) only entries available to that subject are returned. At most 200 entries per call; narrow with keyword.

Error codes:

  • 8002: parameter error (level not BANK / BRANCH / LOCATION, countryCode or currency empty, or bankId missing for BRANCH / LOCATION; msg gives the reason)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

Query level (BANK=bank, BRANCH=branch, LOCATION=location)

Allowed:
string
required

Bank country/region, e.g. US

string
required

Payout currency, e.g. USD

string
enum

Beneficiary subject type, optional

Allowed:
string

Bank ID (from the BANK level), required for BRANCH / LOCATION

string

Branch name (from the BRANCH level), optional for LOCATION; empty returns locations without a branch

string

Keyword, fuzzy match on the current level name (BANK=bank name, BRANCH=branch name, LOCATION=address)

Headers
string
required

Unique request ID (maximum 64 characters)

int64
required

Request timestamp (milliseconds)

string
required

API KEY

string
required

Signature string

Response

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