Balance
Get account balance history
Unique resource name : ais.v1.balance.history
Important!:
- The maximum allowed date range period is one year.
- toDate need to be greater than fromDate
The permissions bellow are required on the consent:
- ReadAccountsBasic
- ReadAccountsDetail
- ReadBalances
- ReadTransactionsBasic
- ReadTransactionsDetail
- ReadTransactionsDebits
- ReadTransactionsCredits
get/api/v1.0/ais/Balance/History
Request
- Base URL: https://sandbox.sparefinancial.sa
- URL: https://sandbox.sparefinancial.sa/api/v1.0/ais/Balance/History
- Auth: API key in header Authorization
Query parameters
accountIdstring uuid required
Account id
fromBookingDateTimestring date-time
From booking date time
toBookingDateTimestring date-time
To booking date time
Response
Example response
{
"data": {
"accountId": "00000000-0000-0000-0000-000000000000",
"history": [
{
"date": "2025-01-01T00:00:00Z",
"balances": [
{
"amount": {
"currency": "SAR",
"localExchange": {
"sourceCurrency": "SAR",
"targetCurrency": "SAR",
"date": "2025-01-01"
}
}
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.