Bank accounts
List bank accounts
Unique identifier
Parameter used for pagination. It is a base64 encoded param used to access the previous page of results. It is provided alongside a metadata section if there is a previous page.
g3QAAAABZAACaWRtAAAAJDU4ZjFlYzhlLWFmYTktNDk0My05M2I1LWQ2ZGM3OWI0M2VhYQ==
Parameter used for pagination. It's a base64 encoded param used to access the previous page of results. Provided along with the data in the metadata section if there is a previous page.
g3QAAAABZAACaWRtAAAAJGJhYTNiNmM1LTAyYTYtNGQ5Ny05NzU1LTI3OGFiNjRiN2Y1MQ==
GET /banking/bank_accounts HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": [
{
"default_virtual_account_id": "0194cc3b-864a-a0c3-b248-1c268dabe82c",
"description": "Bank account Test 1",
"entity_id": "0194cc3b-864a-160c-a952-3c7b6a354e33",
"id": "0194cc3b-864a-0867-d536-ece78fcd3a84",
"inserted_at": "2025-02-03 14:34:00.650350Z",
"updated_at": "2025-02-03 14:34:00.650364Z"
}
]
}
List bank account transactions
Unique identifier
Datatime schema
Datatime schema
External ID
Unique identifier
Parameter used for pagination. It is a base64 encoded param used to access the previous page of results. It is provided alongside a metadata section if there is a previous page.
g3QAAAABZAACaWRtAAAAJDU4ZjFlYzhlLWFmYTktNDk0My05M2I1LWQ2ZGM3OWI0M2VhYQ==
Parameter used for pagination. It's a base64 encoded param used to access the previous page of results. Provided along with the data in the metadata section if there is a previous page.
g3QAAAABZAACaWRtAAAAJGJhYTNiNmM1LTAyYTYtNGQ5Ny05NzU1LTI3OGFiNjRiN2Y1MQ==
GET /banking/bank_accounts/{id}/transactions HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": [
{
"amount": {
"amount": 10,
"currency": "BRL"
},
"bank_account_id": "0191148f-b189-8e42-27a5-1368cc00dea8",
"counterparty_id": "0191148f-b189-8e42-27a5-1368cc00dea8",
"document_type": "pix",
"end_to_end_id": "E44444444202405211946Dwg1pjxgehP",
"external_id": "external_id",
"ledger_account_id": "0190df9a-d08e-9574-c79c-9aa0f40ee330",
"posting_type": "credit",
"reconciliation_id": "018f3406-9e00-1766-05c4-4907e14ee511",
"ref_id": "0190df9a-d1b1-6bfe-ad26-037579ad8588",
"ref_type": "out",
"transaction_date": "2024-07-21T12:00:01",
"transaction_type": "regular",
"virtual_account_id": "0190df9a-d08e-9574-c79c-9aa0f40ee330"
}
]
}
Get balance of a bank account
Unique identifier
Datatime schema
GET /banking/bank_accounts/{id}/balances HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"available_balance": {
"amount": 10,
"currency": "BRL"
}
}
}
Get an existing bank account
Unique identifier
GET /banking/bank_accounts/{id} HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"default_virtual_account_id": "0194cc3b-864a-a0c3-b248-1c268dabe82c",
"description": "Bank account Test 1",
"entity_id": "0194cc3b-864a-160c-a952-3c7b6a354e33",
"id": "0194cc3b-864a-0867-d536-ece78fcd3a84",
"inserted_at": "2025-02-03 14:34:00.650350Z",
"updated_at": "2025-02-03 14:34:00.650364Z"
}
}
Create a new bank account
Parameters used to create a bank account
Bank account description
Entity ID
POST /banking/bank_accounts HTTP/1.1
Host: api.sandbox.trio.com.br
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"description": "Bank account Test",
"entity_id": "0194cc3b-88fa-8a2b-48f6-489d16713d47"
}
{
"data": {
"default_virtual_account_id": "0194cc3b-864a-a0c3-b248-1c268dabe82c",
"description": "Bank account Test 1",
"entity_id": "0194cc3b-864a-160c-a952-3c7b6a354e33",
"id": "0194cc3b-864a-0867-d536-ece78fcd3a84",
"inserted_at": "2025-02-03 14:34:00.650350Z",
"updated_at": "2025-02-03 14:34:00.650364Z"
}
}
Last updated
Was this helpful?