Skip to main content
GET
cURL
Retrieves bank accounts for a user with pagination. Supports filtering by country, ramp type, or fetching a specific account by ID.
This endpoint returns the full account identifiers (accountNumber, clabe), while Add Bank Account returns accountNumber masked to its last 4 characters. This is intended: read the account from this endpoint when you need the full number.

Error Codes

These are the errors this endpoint returns most often. Branch on code, not message, and handle codes you don’t recognize by their HTTP status. See Error Codes for the complete list.

Common Errors

User Ownership Errors

Endpoint-Specific Errors

Authorizations

partner-api-key
string
header
required

API key for the affiliated partner performing the request.

Path Parameters

userId
string
required

The user ID to get bank info for

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

Query Parameters

country
enum<string>

Country filter

Available options:
MX,
DO,
US,
AT,
BE,
BG,
HR,
CY,
CZ,
DK,
EE,
FI,
FR,
DE,
GR,
HU,
IE,
IT,
LV,
LT,
LU,
MT,
NL,
PL,
PT,
RO,
SK,
SI,
ES,
SE,
IS,
LI,
NO,
CH,
GB,
MC,
SM,
AD,
VA,
CN
rampType
enum<string>

Ramp type filter (ON_RAMP or OFF_RAMP)

Available options:
ON_RAMP,
OFF_RAMP,
CROSS_RAMP
id
string

User bank info ID to fetch a specific bank account

skip
number

The number of elements to exclude from the results.

limit
number

The maximum amount of results to return.

sortBy
string

Supported values:

  • createdAt

Response

Retrieves the bank accounts for a user by userId with pagination.

success
boolean
Example:

true

data
object