Referrals
Promo codes with configurable currency rewards for referrer and referee.
Create referral and promo codes that reward both the referrer and the referee with virtual currency.
How it works
- Admin creates a referral code with rewards for both parties
- User shares their referral code
- When the code is redeemed, both users receive their rewards
- Usage is tracked with claim counts and optional limits
MCP tools
| Tool | Description |
|---|---|
amba_referrals_create | Create a referral code with rewards |
amba_referrals_get_stats | Get stats for a referral code |
Example
Client API reference
| Method | Path | Description |
|---|---|---|
GET | /client/referrals/me | Get user's referral code |
POST | /client/referrals/claim | Claim a referral code |