The TunnelSats Referral Program rewards both the referred user (buyer) and the referring partner with bonus VPN months on 3, 6, and 12-month subscriptions. Whether you are building a node management dashboard or sharing your code with the community, you can automate your rewards.
When a new 3, 6, or 12-month subscription is purchased with a valid referral code:
1.
Buyer Bonus: The referred buyer's new WireGuard tunnel is provisioned with the bonus months included up front (subscriptionEnd reflects duration + bonus).
2.
Partner Bonus: The referring partner's latest active subscription (or one that expired less than 30 days ago) is extended by the same bonus months, exactly once, as soon as the referred order is paid.
Both bonuses apply across every settlement path (payment webhook, GET /api/public/v1/subscription/{paymentHash} status polling, POST /api/public/v1/subscription/claim, and the web checkout).
You can integrate your referral code directly into the programmatic purchase flow to ensure every new subscription is linked to your account.
Linking a Referral
Managing Codes
Referral during Creation
Include your referralCode in the initial POST /api/public/v1/subscription/create request to track the conversion from the start. Unknown codes, and your own code when the request is authenticated, are rejected with 400 ERR_INVALID_INPUT before an invoice is created.
Referral bonuses are applied only to 3, 6, and 12-month plans. Standard 1-month subscriptions do not trigger buyer or partner bonuses (bonus_earned: 0, bonus_status: "skipped", bonus_reason: "not_eligible").
Automatic Application & Self-Referral Rules
Partner bonus months are automatically added to the subscription linked to your account that expires last, if it is active or expired less than 30 days ago. If you have no such subscription when the referred order is paid, that partner bonus is forfeited (bonus_status: "forfeited", bonus_reason: "no_active_subscription").Authenticated self-referrals (where the buyer authenticates with the same account that owns the referralCode via API key, NIP-98, or dashboard session) never receive buyer or partner bonus months (400 ERR_INVALID_INPUT at /create, or bonus_status: "skipped" with bonus_reason: "self_referral"). Anonymous purchases made without authentication carry no account identity to compare against the code owner and cannot be checked for self-referral.