Skip to main content

Get Daily Balance

Use this endpoint to get the daily balance of a specific date.

Available Environments​

https://api.gateway.com.br/core

Endpoint​

  • Method: GET
  • Endpoint: /wallet/daily-balance/{date}
  • Authentication: Bearer token

Path Params​

NameTypeRequiredDescriptionValidations
datestring (ISO)YesDate of the dayMust be an ISO date string with no time

Request Example​

curl --request GET \
--url https://api.gateway.com.br/core/wallet/daily-balance/553e8400-e29b-41d4-a716-436251480000 \
--header 'Authorization: Bearer your-jwt-token'

Success Response​

FieldTypeRequiredDescription
idstring (UUID)YesUnique identifier
totalCreditsnumberYesTotal credits (integer, in cents)
totalDebitsnumberYesTotal debits (integer, in cents)
balanceChangenumberYesBalance change (integer, in cents)
openingBalancenumberYesOpening balance (integer, in cents)
closingBalancenumberYesClosing balance (integer, in cents)
datestringYesDate of the day
createdAtstring (ISO)YesCreation date

Response Example​

{
"id": "553e8400-e29b-41d4-a716-436251480000",
"totalCredits": 100000,
"totalDebits": 30000,
"balanceChange": 70000,
"openingBalance": 400000,
"closingBalance": 470000,
"date": "2026-03-06T12:49:04.681Z",
"createdAt": "2026-03-06T12:49:04.681Z"
}

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your credentials
403No permission/authorizationContact support
404Daily balance not foundContact support
500Internal errorContact support