Skip to main content
GET
/
rewards
/
{site_id}
/
transactions
Get Transaction History
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_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "credit_pence": 123,
      "transaction_type": "flex period",
      "start_time": "2023-11-07T05:31:56Z",
      "end_time": "2023-11-07T05:31:56Z",
      "flex_kwh": 123
    }
  ],
  "is_below_withdrawal_minimum": false,
  "days_until_minimum_wait_time_met": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.axle.energy/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

site_id
string<uuid>
required

Response

Successful Response

Response model for transaction history.

site_id
string<uuid>
required

ID of the site

transactions
TransactionDatumResponse · object[]
required

List of transactions for the site

is_below_withdrawal_minimum
boolean
default:false

If the user is below the minimum withdrawal threshold (if configured)

days_until_minimum_wait_time_met
integer

How many days the user needs to wait to withdraw (if configured)