Referral Program
Switch the programme on
Links and codes attribute again and settled payments earn again. Emits referral.program_updated with active as the one change, and every affiliate is told the terms as they now stand. Answers 200 with the programme.
post/v1/projects/{project}/referral-program/activate
Request
- Base URL: https://api.subscriby.net
- URL: https://api.subscriby.net/v1/projects/{project}/referral-program/activate
- Auth: HTTP bearer
Path parameters
projectstring uuid required
The project, resolved by the route binder.
Headers
Idempotency-Keystring uuid required
A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.
Response
The programme after the change.
Example response
{
"data": {
"id": "6e2a7a4f-3b8c-4c21-9f6d-2a3b4c5d6e7f",
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"active": true,
"reward_kind": "cash",
"commission_type": "percentage",
"commission_value": "20.0000",
"commission_period_months": 6,
"hold_days": 14,
"minimum_payout": "50.0000",
"friend_reward_kind": "free_days",
"friend_reward_days": 3,
"payout_details_label": "PayPal email",
"terms": "One referral per household.",
"created_at": "2026-10-01T09:14:02+00:00",
"updated_at": "2026-10-08T16:41:11+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.