v1
latestOpenAPI 3.1.02026-07-228956435.8 KBList accounts
Lists the accounts of your organization for the live or test mode of the API key used. Filter by entity_id and status. The list is paginated. Use the starting_after, ending_before, and limit query parameters to move through the list. The Link response header carries the URLs to navigate the paginated list.
Query parameters
Identifier of the entity whose accounts are returned. If omitted, returns only the accounts of your root entity.
Status of the accounts to return. One of active, blocked, closed.
Cursor for pagination. Use the ID of the last account on the current page to fetch the next page.
Cursor for pagination. Use the ID of the first account on the current page to fetch the previous page.
Maximum number of accounts to return per page. Ranges from 1 to 300. Defaults to 30.
Response
List of accounts for the current mode.
Example response
[
{
"id": "acc_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"available_balance": 1050000,
"currency": "MXN",
"description": "Main collection account",
"entity": {
"id": "ent_2eGhTp1rLqWnXkZbYc4JsKmAvD9",
"holder_id": "000000000",
"holder_name": "Test Customer 1",
"is_root": true
},
"is_root": true,
"mode": "test",
"root_account_number": "646180111800000000",
"root_account_number_id": "acno_2fJkRm7tBvQxNzYpLc5WsHaDfT3",
"status": "active"
}
]