account
Affiliate link and stats of the account (30% for life)
Creates the ref_code on first call. link = PUBLIC_URL/?ref=CODE; a visitor who signs up (email or Google) within 60 days of clicking it is attributed to this account. Every Stripe invoice.paid of a referred user adds a payout of 30% of amount_paid. If the affiliate is a Stripe customer the amount is credited to their balance automatically (credited, deducted from their next invoices); otherwise it stays pending and the founder pays monthly (PayPal/bank transfer) and marks it paid via PATCH /api/admin/payouts/{id}.
get/api/me/affiliate
Request
- Base URL: https://cliponit.app
- URL: https://cliponit.app/api/me/affiliate
- Auth: one of:
- HTTP bearer
- API key in cookie session
- OAuth 2 (authorization code, authorization URL https://cliponit.app/oauth/authorize, token URL https://cliponit.app/oauth/token, scopes: clips)
Response
Affiliate info
Example response
{
"ref_code": "K7QM2XJ4",
"rate_percent": 30,
"payouts": [
{
"currency": "usd"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.