6. Rewards

Get Rewards Balance Withdrawal Url

Get a temporary link to an Axle-hosted form through which users can view and withdraw rewards. Requires an organisational bearer token.

get/rewards/{site_id}/url/balance

Request

  • Base URL
    https://api-sandbox.axle.energy
  • URL
    https://api-sandbox.axle.energy/rewards/{site_id}/url/balance
  • Auth
    OAuth 2
    Password
    Token URL: auth/token-form

Path parameters

site_idstring uuid required

The ID on Axle's system for this user. The site_id can be easily retrieved from the get-by-external-id endpoint.

Query parameters

enforce_two_factor_authboolean

Require email verification before the user can link a bank account. Balance and transaction-history views are not gated. When omitted, falls back to the organisation's configured 2FA posture.

redirect_uristring required

Where to redirect after completion

hide_transactionsboolean

Hide transaction history from the user

auto_redirect_to_setupboolean

Skip the balance page and go straight to bank setup if no account exists

Response

Successful Response

balance_withdrawal_urlstring required

Temporary standalone URL via which an end-user may enter their bank details to withdraw their balance

url_expiry_timestampstring date-time required

Time at which the given URL will expire

Changes

No recorded changes to this operation across all 2 revisions of this API.