API ReferenceCurrent account
Get the caller's current-account summary
Aggregate figures for the caller's current account — for now, the interest credited to it. The figures are derived from the transaction ledger, which keeps roughly 12 months of history, so credits older than that are not counted.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/user/accounts/current/summary"{ "interest_earned": { "value": 25000, "currency": "KES" }}{ "code": "BAD_REQUEST", "description": "Bad Request"}{ "code": "UNAUTHORISED", "description": "Unauthorised"}{ "code": "WAITING_LIST", "description": "User is in the waiting list"}{ "code": "BAD_REQUEST", "description": "Invalid input"}{ "code": "TOO_MANY_REQUESTS", "description": "Too Many Requests"}{ "code": "INTERNAL_SERVER_ERROR", "description": "Internal Server Error"}