Skip to main content
GET
/
embedded-banking
/
v1
/
bank-accounts
Get all bank accounts with balances.
curl --request GET \
  --url https://api.sandbox.tesouro.com/embedded-banking/v1/bank-accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "accountNumber": "<string>",
      "balance": 123,
      "createdDateTime": "2023-11-07T05:31:56Z",
      "routingNumber": "<string>",
      "status": "ACTIVE",
      "nickname": "<string>"
    }
  ],
  "nextPaginationToken": "<string>",
  "prevPaginationToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

organizationId
string<uuid>

Optional organization ID to filter bank accounts by. Bank users can filter to any VSP under their bank. Platform users can filter to any organization in their visible set.

limit
default:25

Number of items to return (default 25, max 100).

pagination_token
string

Opaque pagination token from a previous response.

Response

Returns bank accounts with balances.

A paginated response containing a page of results and navigation tokens.

data
object[]
required

The items in the current page.

nextPaginationToken
null | string

A token that can be sent in the pagination_token query parameter to get the next page of results, or null if there is no next page.

prevPaginationToken
null | string

A token that can be sent in the pagination_token query parameter to get the previous page of results, or null if there is no previous page.