GET ?action=get_referrals
Store-wide referral reporting: totals, top referrers, and the per-service breakdown of credits earned and spent.
Response Fields
| Field | Type | Description |
|---|---|---|
enabled | boolean | Whether referrals are switched on |
totals | object | earned, signup_granted, adjusted, spent, outstanding |
counts | object | active_codes, customers_referred, accounts |
top_referrers | array | Up to 20 — customer_id, email, name, customers_referred, points_earned |
per_service | array | plugin_id, service_name, earned, spent |