Skip to main content
GET
Get Balance Info

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 site balance information.

current_balance_pence
integer
required

Current balance of the site in pence (total earnings minus total withdrawals)

total_earnings_pence
integer
required

Lifetime earnings of the site in pence

minimum_withdrawal_threshold_pence
integer
required

The minimum a user can withdraw in one transaction, in pence

withdrawal_min_wait_days
integer
required

The number of days a user must wait to withdraw after their first reward

can_withdraw
boolean
required

Whether the user can withdraw their balance