EnglishAPI referenceBalanceGet balance

Get balance

GET/v1/balance
Returns the current balance of the INFI account.

Response 200 OK

{
  "available": 124530,
  "pending": 0,
  "currency": "BRL",
  "updatedAt": 1715000000000
}
FieldDescription
availableAccount gross balance, in cents. Does not subtract active precautionary holds (see Callout below).
pendingReserved for future use. Always 0 today.
currencyAlways "BRL".
updatedAtUnix timestamp in milliseconds at the moment of the response.
Heads up: `available` may not match the withdrawable amount

If the account has active precautionary holds (e.g., Bacen MED, dispute, administrative block), the actually withdrawable amount is available − sum of active holds. A withdrawal attempt above that limit returns 422 Saldo insuficiente.

Eventual consistency

After a charge or withdrawal is confirmed, available reflects the new amount within a few seconds. For fine-grained reconciliation, use GET /v1/transactions/:id.

Examples

curl https://api.internationalfinance.com.br/v1/balance \
  -H "Authorization: Bearer $INFI_API_KEY"