Affiliates

Create affiliate

post/affiliates

Request

  • Base URL
    https://refgrow.com/api/v1
  • Auth
    HTTP bearer

Request body

emailstring email required
referral_codestring

Auto-generated if omitted

partner_slugstring
payment_methodstring

Free-text, e.g. 'PayPal', 'USDT TRC-20'

payment_detailsstring

Free-text wallet / email / IBAN

Response

Affiliate created. Triggers affiliate.created webhook.

successboolean

Example response

{
  "data": {
    "id": 42,
    "user_email": "alice@example.com",
    "referral_code": "ALICE10",
    "partner_slug": "alice",
    "status": "active",
    "clicks": 124,
    "signups": 8,
    "purchases": 3,
    "total_earnings": "245.50",
    "unpaid_earnings": "45.50",
    "payment_method": "PayPal",
    "payment_details": "alice@paypal.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.