Core Resources
Banking Api
Energy Api
Common api
Returns list of energy account balances available under the authorised consent
Balance Endpoints
Retrieves an balances object.
{
"balances": [
{
"account_id": "448b17f8-1937-4f41-8664-da1dfae7ec16",
"arrangement_id": "arr678",
"balance": "242.89",
"fiskil_id": "energy_balance_abcdef",
"institution_id": "140"
}
],
"links": {
"next": "https://api.fiskil.com/v1/accounts?page[after]=x",
"prev": "https://api.fiskil.com/v1/accounts?page[before]=x"
}
}
/v1/energy/balance
Returns list of energy account balances available under the authorised consent
A unique identifier for the End User object.
When the page[before] is specified, backwards pagination is achieved
When the page[after] is specified, forwards pagination is achieved
When the page[size] is specified, no more than page[size] resources will be included in the response's data field. This parameter is set to a sensible default, which varies depending on the endpoint.
curl --request GET \
--url https://api.fiskil.com/v1/v1/energy/balances?end_user_id={end_user_id}&page[before]={page[before]}&page[after]={page[after]}&page[size]={page[size]} \
--header 'Authorization: Bearer {access_token}' \
--header 'accept: application/json; charset=UTF-8' \
--header 'content-type: application/json; charset=UTF-8'
{
"balances": [
{
"account_id": "448b17f8-1937-4f41-8664-da1dfae7ec16",
"arrangement_id": "arr678",
"balance": "242.89",
"fiskil_id": "energy_balance_abcdef",
"institution_id": "140"
}
],
"links": {
"next": "https://api.fiskil.com/v1/accounts?page[after]=x",
"prev": "https://api.fiskil.com/v1/accounts?page[before]=x"
}
}
Was this page helpful?