6. Rewards

Get Transaction History

Changed on

Get history of transactions for the site. Requires an organisational bearer token.

get/rewards/{site_id}/transactions

Request

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

Path parameters

site_idstring uuid required

Response

Successful Response

site_idstring uuid required

ID of the site

total_countinteger

How many transactions the site has in total. Larger than len(transactions) when a limit applied.

is_below_withdrawal_minimumboolean

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

days_until_minimum_wait_time_metinteger

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

Changes

    • warning

      added the new charge credit enum value to the /// response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      response property transactions/items/credit_pence deprecated

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status