Quick Start
Welcome to the BonziCart Affiliate API. Every endpoint speaks JSON, lives behind HTTPS, and uses bearer-token authentication. Base URL:
You'll need an API key from your Dashboard → Settings → Developer. Keep it secret — treat it like a password.
Authentication
All requests must include your API key in the Authorization header as a Bearer token:
Missing or invalid keys return 401 Unauthorized. Tokens are scoped per-affiliate by default.
Rate Limits & Errors
API is rate-limited to 600 requests/minute per account. Exceeding triggers 429 Too Many Requests with a Retry-After header in seconds.
Standard error envelope:
Affiliate Stats
Returns lifetime + period earnings, click counts, conversion rate, and tier status.
Response
Generate Deep Link
Create a unique tracked affiliate link for any product, category, or storefront URL.
Request body
Response
Withdrawals
Trigger a withdrawal request once your matured balance crosses ₹500. Funds land in 24 hours.
Webhooks
Subscribe to real-time events: click.recorded, sale.attributed, commission.matured, withdrawal.processed.
Postman Collection & SDKs
Skip the boilerplate — download our Postman collection and SDKs: