/accounts/{id}/balanceObtenha saldo em tempo real
Obtém o saldo em tempo real da conta diretamente do conector da instituição financeira, sem exigir uma sincronização completa do item. Requer a chave da API (X-API-KEY): um Connect Token accessToken é rejeitado com 403 FORBIDDEN_INSUFFICIENT_PERMISSIONS.
Parameters
Path Parameters
| Name | Type |
|---|---|
idrequired | string |
Responses
The available balance of the account, same as balance in the account resource.
Amount currently blocked or held on the account. Only present when the institution reports it.
Amount held in the account's automatic investment facility. Only present when the institution reports it.
Accounting balance of the account: balance plus blockedBalance. Same value as bankData.closingBalance in the account resource, which is updated with it. Only present when the institution reports it.
The currency code of the balance amounts
The date and time when the balance was last updated
Example response
{
"balance": 1500.5,
"blockedBalance": 0,
"automaticallyInvestedBalance": 200,
"closingBalance": 1500.5,
"currencyCode": "BRL",
"updateDateTime": "2024-01-15T10:30:00Z"
}curl -X GET \
'https://api.pluggy.ai/accounts/{id}/balance' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY'{
"balance": 1500.5,
"blockedBalance": 0,
"automaticallyInvestedBalance": 200,
"closingBalance": 1500.5,
"currencyCode": "BRL",
"updateDateTime": "2024-01-15T10:30:00Z"
}