API Reference
Live docs
Get info about current balance and total earnings for the site.
cURL
curl --request GET \ --url https://api-sandbox.axle.energy/rewards/{site_id}/info \ --header 'Authorization: Bearer <token>'
{ "current_balance_pence": 123, "total_earnings_pence": 123 }
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Response model for site balance information.
Current balance of the site in pence (total earnings minus total withdrawals)
Lifetime earnings of the site in pence
Was this page helpful?