Welcome to the Affonso API
The Affonso API allows you to programmatically manage your affiliate program. You can create affiliates, track referrals, manage commissions, and process payouts.Authentication
Learn how to authenticate your API requests
Rate Limits
Understand API rate limits and best practices
Base URL
All API requests should be made to:Available Resources
| Resource | Description |
|---|---|
| Affiliates | Manage your affiliate users |
| Referrals | Track referrals and conversions |
| Clicks | Record click events |
| Commissions | Manage commission transactions |
| Payouts | Process affiliate payouts |
Partnership Status
ThepartnershipStatus field indicates the relationship status between an affiliate and a program:
APPROVED- Affiliate is active and can promote the programPENDING- Affiliate applied but hasn’t been approved yetREJECTED- Affiliate application was rejectednull- No partnership exists (affiliate hasn’t completed onboarding)
partnershipStatus can be null for affiliates who haven’t completed their onboarding process yet. The status is only set after the affiliate applies to and gets approved/rejected for a specific program.
Response Format
All responses are returned in JSON format with the following structure:Success Response
Error Response
Need Help?
Support
Contact our support team for API assistance
