MNY WAY – Integration Docs
1) Create a Program
As a merchant, go to Dashboard → New Program. Copy the Webhook Secret (API key) and your Program Slug.
2) Create an Offer
Add at least one Offer with a target URL (your landing page).
3) Affiliate Links
Format: https://YOUR_DOMAIN/go/<programSlug>?aff=<AFF_PUBLIC_ID>&offer=<offerSlug>
4) Conversion API
Simple POST request:
POST /api/conversions
X-Api-Key: {PROGRAM_WEBHOOK_SECRET}
{"programSlug":"demoprogram","orderId":"123","amount":99.99,"currency":"USD","cid":"{clickId}","meta":{"sku":"abc"}}5) Reconciliation & Payouts
Nightly cron marks conversions older than 3 days as APPROVED. Export CSV from /reports/payouts to pay affiliates manually (Stripe, ACH, etc.).
6) Environment Variables
DATABASE_URL=postgresql://... (Neon recommended) NEXTAUTH_URL=https://yourdomain.com NEXTAUTH_SECRET=...