GET
/
rewards
/
{site_id}
/
transactions
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
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

site_id
string
required

Response

200
application/json

Successful Response

Response model for transaction history.