Skip to main content
GET
/
billing
/
affiliate
Get affiliate details
curl --request GET \
  --url https://api.bunny.net/billing/affiliate \
  --header 'AccessKey: <api-key>'
{
  "AffiliateBalance": 123,
  "AffiliateUrl": "<string>",
  "ClaimBonusPercentage": 123,
  "MinimumPayoutAmount": 123,
  "AffiliateClicksChart": {},
  "AffiliateSignupsChart": {},
  "AffiliateConversionsChart": {}
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Response

Get the affiliate details

AffiliateBalance
number<decimal>

The amount of affiliate credits on the account

AffiliateUrl
string | null

The affiliate URL for the currently authenticated user

ClaimBonusPercentage
number<decimal>

The bonus percentage given when claiming affiliate balance as bunny credits

MinimumPayoutAmount
number<decimal>

The minimum amount required to request affiliate credits external payout

AffiliateClicksChart
object

The constructed affiliate click history chart data

AffiliateSignupsChart
object

The constructed affiliate signup history chart data

AffiliateConversionsChart
object

The constructed affiliate conversion history chart data