GET
/
rewards
/
{site_id}
/
withdrawal-url
curl --request GET \
  --url https://api-sandbox.axle.energy/rewards/{site_id}/withdrawal-url \
  --header 'Authorization: Bearer <token>'
{
  "balance_withdrawal_standalone_url": "<string>",
  "balance_withdrawal_embed_url": "<string>",
  "url_expiry_timestamp": "2023-11-07T05:31:56Z"
}

Important: Anyone with access to this link will be able to withdraw funds from the corresponding site. The URL expires at midnight (UK time) on the day it was generated.

The ability to withdraw funds via API-generated links is disabled by default. Contact us to enable it for your organisation.

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 balance withdrawal URL.