Skip to content

Balance

Queries the bank account balance associated with the API Key.

Endpoint

GET /api/v2/external/balance

Headers

HeaderTypeRequiredDescription
AuthorizationStringYesBearer {access_token}

Example

bash
curl -X GET https://api.owem.com.br/api/v2/external/balance \
  -H "Authorization: Bearer $TOKEN"

Success Response (200)

json
{
  "worked": true,
  "balance": 1500000,
  "available": 1450000,
  "pending": 50000,
  "currency": "BRL"
}
FieldTypeDescription
workedBooleantrue indicates operation success
balanceIntegerTotal account balance in cents
availableIntegerAvailable balance for operations in cents
pendingIntegerAmount held in pending transactions in cents
currencyStringCurrency code (always BRL)

Values in cents

All values are integers in cents. 1500000 = BRL 15,000.00. Divide by 100 to get the value in BRL.

Relationship between fields

  • balance = available + pending
  • available: amount that can be used for new PIX transfers
  • pending: sum of amounts in transactions not yet settled

Error Response (401)

json
{
  "worked": false,
  "detail": "Invalid or expired token"
}

Owem Pay Instituição de Pagamento — ISPB 37839059