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

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

The bank account ID.

Response

Returns bank account with balance.

Response model for a bank account with balance information.

id
string<uuid>
required

Unique identifier for the bank account.

accountNumber
string
required

Masked account number.

balance
required

Current balance of the bank account.

createdDateTime
string<date-time>
required

The UTC timestamp when the bank account was created.

routingNumber
string
required

Bank routing number.

status
enum<string>
required

The status of the bank account.

Available options:
ACTIVE,
CLOSED
nickname
null | string

Nickname for the bank account.