API Reference
Live docs
Get history of transactions for the site.
cURL
curl --request GET \ --url https://api-sandbox.axle.energy/rewards/{site_id}/transactions \ --header 'Authorization: Bearer <token>'
{ "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "transactions": [ { "transaction_type": "flex period", "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "start_time": "2023-11-07T05:31:56Z", "end_time": "2023-11-07T05:31:56Z", "flex_kwh": 123, "credit_pence": 123 } ] }
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Response model for transaction history.
ID of the site
List of transactions for the site
Show child attributes
Was this page helpful?