Portal API
Affiliate portal data — stats, referrals, transactions, visits, and settings for the currently authenticated affiliate.
Authentication
Portal routes use UserPolicy and always return data scoped to the currently authenticated affiliate.
Endpoints
| Method | Path | Edition | Operation | Controller |
|---|---|---|---|---|
GET | /portal/stats | Core | Get Portal Stats | PortalController@getStats |
GET | /portal/referrals | Core | List Portal Referrals | PortalController@getReferrals |
GET | /portal/transactions | Core | List Portal Transactions | PortalController@getTransactions |
GET | /portal/visits | Core | List Portal Visits | PortalController@getVisits |
GET | /portal/settings | Core | Get Portal Settings | PortalController@getSettings |
POST | /portal/settings | Core | Update Portal Settings | PortalController@updateSettings |