How Referrals Work & Tracking
Complete guide to referral flow, rewards, and partner program
π The Referral Flow
Here's exactly what happens when you share your referral link:
Step 1: You Share Your Link
Share your unique link: https://api.market?ref=YOURCODE
Where to share:
Social media (Twitter, LinkedIn)
Blog posts and tutorials
Email newsletters
Developer communities
Direct messages
Step 2: Someone Clicks Your Link
When they click:
β Click is tracked and attributed to you
β A session cookie is set (valid for 7 days)
β They can browse and explore the platform
Step 3: They Sign Up
When they create an account:
β They're linked to your referral code
β $2.50 credit is added to their wallet automatically
β Status changes to: SIGNED_UP

β οΈ Credit Validity: The $2.50 signup bonus is valid for 30 days. If not used, it expires.
Step 4: They Make a Purchase
When they subscribe to a paid API plan:
β Status changes to: CONVERTED
β Commission is calculated based on their spend
β Commission becomes eligible after 30 days
Step 5: You Earn Commission
After the 30-day eligibility period:
β Commission is paid to your wallet (Basic) or referral balance (Partner)
β Transaction appears in your Ledger
π° Referral Rewards & Credits
For Referred Users: $2.50 Signup Bonus
Amount
$2.50 USD
Added When
Upon signup via referral link
Validity
30 days from signup
Usage
Any paid API subscription
For Referrers: Commission Structure
Basic
5% of purchase amount
$1.00
Partner
10% of purchase amount
$1.00
Commission Eligibility:
Commissions become eligible 30 days after the purchase
Only successful purchases (200 OK responses) count
Refunded purchases don't generate commission
Example:
π Tracking Your Referrals
Referral Stats Card

Key Metrics:
Total Referrals
Users who signed up using your link
Conversions
Referrals who made a qualifying purchase
Total Earnings
Total commission earned to date
Conversion Rate
Percentage of signups that converted
Total Clicks
Number of times your link was clicked
Pending Referrals
Signed up but haven't purchased yet
Referred Users Table
Track each referred user's status:

Not Signed Up
Clicked link but didn't create account
Signed Up
Created account, hasn't purchased
Made a Spend
Made a qualifying purchase (you earned commission!)
Referral Ledger
View all your commission transactions:
Columns:
Date - When commission was earned
User Email - Referred user's email
Commission Earned - Your commission amount
Status - PENDING, ELIGIBLE, PAID
Features:
Export to CSV for your records
Filter and track earnings over time
π Partner Program
Upgrade to Partner for higher commissions and cash payouts.
How to Upgrade
Go to Referrals dashboard
Click "Upgrade to Partner" button
Review and accept the Partner Agreement
Sign with your digital signature
Connect Stripe for Payouts
After upgrading, connect Stripe to receive cash payouts:
Click "Connect Stripe" in the Payouts section
Complete Stripe onboarding (enter bank details)
Wait for account verification
Request Payout
Once Stripe is connected and you have sufficient balance:
Payout Requirements:
β Stripe account connected and verified
β Minimum balance: $25.00
β Account ready for payouts (no missing requirements)
Payout Timeline:
Processing time: 2-7 business days
Email confirmation sent when processed
Stripe fees may apply
Partner Benefits Summary
Commission Rate
5%
10%
Earnings Location
Wallet Credits
Referral Balance
Cash Withdrawals
β No
β Yes (via Stripe)
Minimum Payout
N/A
$25.00
Stripe Connect
N/A
Required for payouts
β FAQ
Q: How long is my referral link valid? A: Your link is permanent. The tracking session lasts 7 days after someone clicks.
Q: Can I refer myself? A: No, self-referrals are not allowed.
Q: When do I receive commissions? A: Commissions become eligible 30 days after the referred user's purchase, then processed based on your track type.
Q: What if my referral gets a refund? A: Refunded purchases don't generate commissions. If commission was already paid, it may be reversed.
Q: Can I switch back from Partner to Basic? A: Yes, click "Convert to Basic" on your dashboard. You'll need zero balance and no pending commissions.
π‘ Tips for Success
β Be authentic - Share with people who genuinely need APIs β Target developers - They're your best audience β Explain the bonus - Highlight the $2.50 signup credit β Use social media - Built-in Twitter/LinkedIn sharing β Create content - Tutorials, reviews, comparisons β Monitor stats - Track what's working
π Related Documentation
What is the Referral Program? - Getting started
How to use Wallet? - Wallet credits
How do I add Payment details? - Stripe setup
Last updated