Affiliate Program API

Build and manage powerful affiliate programs

Base URL: https://api.wemasy.nl/api
ⓘ The token stays in this browser tab only (sessionStorage) and is sent to the WEMASY API only. Don't use production tokens on shared computers.

Affiliate

My billing details and invoices

POST /services/affiliates/v1/dashboard/invoices Auth

The details that go on the affiliate's invoices, and the invoices issued so far (newest first).

Save my billing details

POST /services/affiliates/v1/dashboard/invoices/details Auth

Used for invoices issued from now on; issued invoices keep the details they were issued with.

Download one of my invoices

POST /services/affiliates/v1/dashboard/invoices/download Auth

The invoice as a printable HTML page.

Affiliate Admin verification review: approve or reject deferred affiliate identity verification. Approval unlocks payouts. Admin-gated (platform manager or affiliate_admin project permission).

POST /services/affiliates/v1/verify/approve Auth

Affiliate Admin: run the monthly payout preparation for a period. Applies the verification gate and min-payout threshold

POST /services/affiliates/v1/payouts/prepare Auth

Affiliate Affiliate assets library: creatives (banners)

POST /services/affiliates/v1/dashboard/assets Auth

Affiliate Affiliate dashboard overview: lifetime earnings

POST /services/affiliates/v1/dashboard/overview Auth

Affiliate Affiliate dashboard: program membership. The authenticated user sees every active program the project runs and can register for one or more (self-serve

POST /services/affiliates/v1/dashboard/programs Auth
POST /services/affiliates/v1/dashboard/programs/enroll Auth
POST /services/affiliates/v1/dashboard/programs/leave Auth

Affiliate Affiliate earnings: commission ledger (per period

POST /services/affiliates/v1/dashboard/earnings Auth

Affiliate Affiliate funnel: clicks → free accounts → sites created → paid accounts → revenue → recurring commission. Better information than most programs give.

POST /services/affiliates/v1/dashboard/performance Auth

Affiliate Affiliate opt-in for an existing

POST /services/affiliates/v1/register Auth

Affiliate Deferred identity verification for an existing affiliate. Tracking already works; payouts unlock after verification is approved.

POST /services/affiliates/v1/verify Auth

Affiliate Delete an affiliate resource file from projects/{projectId}/affiliate/. Admin-gated.

POST /services/affiliates/v1/assets/file-delete Auth

Affiliate Links + click stats for the affiliate dashboard: every generated link with click totals and recent click activity (the "active clicks on my URLs" view).

POST /services/affiliates/v1/dashboard/links Auth

Affiliate List the current affiliate's commission lines (the recurring ledger).

POST /services/affiliates/v1/commissions/lines Auth

Affiliate Mark a mission complete for the current affiliate (gamification).

POST /services/affiliates/v1/missions/complete Auth

Affiliate Missions

POST /services/affiliates/v1/dashboard/missions Auth

Affiliate Monthly affiliate leaderboard by attributed revenue / customers.

POST /services/affiliates/v1/leaderboard Auth

Affiliate Presigned upload URL for affiliate resource files. Files are stored under projects/{projectId}/affiliate/ so uploads stay organized per project. Admin-gated.

POST /services/affiliates/v1/assets/signed-url Auth

Affiliate Recruitment bounty: check + claim the EUR 50 bounty when a recruited creator reaches the qualifying paid-customer threshold.

POST /services/affiliates/v1/bounties/claim Auth

Affiliate Self-service link management: list the affiliate's clean links

POST /services/affiliates/v1/links/list Auth
POST /services/affiliates/v1/links/create Auth
POST /services/affiliates/v1/links/toggle Auth