curl --request GET \
--url https://api.owem.com.br/v4/i/bank-accounts/{accountId}/balance \
--header 'Authorization: <authorization>'{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"message": "Saldo consultado",
"data": {
"accountId": "123456789000",
"balance": 1250.75
}
}
Retorna o saldo da conta na Owem.
curl --request GET \
--url https://api.owem.com.br/v4/i/bank-accounts/{accountId}/balance \
--header 'Authorization: <authorization>'{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"message": "Saldo consultado",
"data": {
"accountId": "123456789000",
"balance": 1250.75
}
}
Basic {Base64(API_KEY:API_SECRET)}{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"size": 1,
"message": "Saldo consultado",
"data": {
"accountId": "123456789000",
"balance": 1250.75
}
}
| HTTP | Descrição |
|---|---|
| 200 | Sucesso |
| 400 | accountId malformado |
| 401 | Credenciais inválidas |
| 403 | IP não allowlisted |
| 404 | Conta inexistente |
| 429 | Rate limit excedido |
| 500 | Erro interno |
GET /v4/i/ledger).Esta página foi útil?