Skip to main content
GET
/
v1
/
energy
/
customer
/
{customerId}
/
accounts
/
{accountId}
/
balance
Error
A valid request URL is required to generate request examples
{
  "data": {
    "balance": "120.00"
  }
}

Authorizations

Authorization
string
header
required

The Fiskil Data Provider will include a self-signed JWT as a Bearer token in the Authorization header. You should verify this JWT using the JWKS URL you can find for your Data Provider instance in the Fiskil Console. To verify the JWT you must:

  • Verify the signature
  • Ensure the token has not expired by checking the exp claim
  • The sub and iss claims are your data provider subdomain
  • The aud claim is the URI of the resource being requested (excluding any query parameters)
  • The jti value is unique For further detail on security and authentication refer to our Authentication documentation

Path Parameters

customerId
string
required

Unique ID of a customer. This ID must not change for the lifecycle of the customer

accountId
string
required

ID of a specific account to obtain data for.

Response

The current balance for the queried energy account

data
object
required