GET
/
api
/
bank
/
accounts
curl --request GET \
  --url https://app.sandbox.rio.trade/api/bank/accounts \
  --header 'x-api-key: <api-key>'
[
  {
    "userId": "66562bc04fe8bf83c577c178",
    "createdAt": "2024-05-31T13:55:11.452Z",
    "bankName": "BANAMEX",
    "country": "MX",
    "accountHolderName": "Account holder name",
    "fiat": "USD",
    "accountNumber": "0123456789",
    "CLABE": "0023764000000012345",
    "CCI": "00111233001112345678",
    "approved": true,
    "notes": "Bank Account",
    "email": "<string>",
    "advancedVerificationStatus": "initiated",
    "id": "6659d6bfd78151f639e74d53",
    "userName": "<string>"
  }
]

Requirements to consume the endpoint.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Query Parameters

userId
string

User id by which you want to filter.

Example:

"665f4084b96e4fb76f5a0e0c"

brokerId
string

Broker id by which you want to filter.

Example:

"655f4084b96e4fb76f5a0e6e"

country
enum<string>

Country by which you want to filter.

Available options:
MX,
PE,
US
fiat
enum<string>

Fiat by which you want to filter.

Available options:
USD,
MXN,
PEN
page
integer

Used to specify the current page you want to get in the paging results.

limit
integer

Used to specify the maximum number of records to be returned on a single page.

Response

200
application/json

OK

The response is of type object[].