Savings Vault
Get user savings vault balance
Retrieve EUR savings vault balance including unrealised interest.
GET
Get user savings vault balance
Response Structure
The savings vault returns a map with the currency code as the key (currently only EUR is supported):Response Fields
- amount: The current savings balance in whole currency units (EUR)
- currency: The currency code (always EUR for this endpoint)
- unrealisedInterest: Interest earned but not yet paid out, in whole currency units
Unrealised interest represents interest that has been accrued but not yet distributed to the user’s account. This typically includes interest earned in the current month that will be paid out at the beginning of the next month.
Use Cases
This endpoint is ideal for:- Displaying the user’s total savings balance in your application
- Showing pending interest earnings before the next payout
- Building savings overview dashboards
- Calculating total assets under management
Authorizations
Auth0-issued access token that includes the scopes listed for the endpoint.
Headers
User identifier for the M2M client to specify which user's data to access.
Pattern:
^[a-f0-9]{24}$Response
Savings balance response.
Map containing EUR savings balance. The key is the currency code (EUR) and the value contains the amount, currency, and unrealised interest. Only EUR savings are returned.
Get user savings vault balance