Retrieve the current balance for a link
Changed onRetrieve the current account balance for all checking and savings accounts for an existing link. We recommend also sending the account.id so that you receive balances for a specific account.
Request
- Base URLhttps://sandbox.belvo.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Omit certain fields from being returned in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
Return only the specified fields in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
Request body
Example request
{
"link": "c81a1dea-6dd6-4999-8b9f-541ee8197058",
"account_id": "e2cdb621-f44a-4558-89f6-8ab2a57add7a",
"save_data": true
}Response
OK - Balance Retrieved (when save_data=false)
Example response
[
{
"id": "0b94bdf9-3719-43a9-81e7-be95d2318595",
"link": "0b94bdf9-3719-43a9-81e7-be95d2318595",
"account_id": "c4bfecf9-4eb6-4920-9f9f-e1f1e60ef321",
"account_internal_identification": "92792126019929279212650822221989319252576",
"collected_at": "2024-05-21T08:32:00Z",
"created_at": "2024-05-21T08:32:00Z",
"last_updated_at": "2021-05-21T08:30:00Z",
"currency": "USD",
"available": 1000.02,
"blocked": 1000.02,
"automatically_invested": 1000.02,
"reserved_balances": [
{
"name": "Cofrinho",
"identification": "d78fc4e5-37ca-4da3-adf2-9b082bf92280",
"amounts": [
{
"amount": 1565.51,
"currency": "BRL",
"remuneration": {
"post_fixed_rate": 1.2,
"rate_type": "LINEAR",
"rate_periodicity": "ANUAL",
"calculation_base": "DIAS_UTEIS",
"indexer": "CDI"
}
}
]
}
]
}
]Changes
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info