TunnelSats Public Wireguard API
    • About our team
    • 📢 Public
      • List available VPN servers
        GET
      • Create a new VPN subscription
        POST
      • Claim a WireGuard configuration after payment
        POST
      • Check subscription status via payment hash
        GET
      • Renew an existing VPN subscription
        POST
      • Get Subscription Status
        POST
    • 🔐 Authenticated
      • Sync Subscription
        POST
      • Create Referral Code
        POST
      • Referral History
        GET
      • List all active/paid subscriptions for the account
        GET
    • 🔧 Tools
      • Lightning Node Network Address Discovery
        POST
      • Universal Connectivity Probe
        POST
    • Announcements
      • 💫 What is TunnelSats?
      • 🚀 Introducing the TunnelSats Public API v1
      • How TunnelSats Leverages Public APIs for Confined VPN Management
    • Cookbook
      • 🛠️ Automation & Code Examples
      • 🐚 Bash One-Liners
      • 🛑 Error Codes & Troubleshooting
      • 🎁 Referral Program: Earn Bonus Months
      • 🚑 Node Health & Upkeep
      • 🛡️ Security & Authentication
    • Schemas
      • Server
      • InvoiceOrder
      • SubscriptionStatus
      • WireGuardConfig
      • ReferralCode
      • ReferralHistory
      • NodeLookup
      • ConnectivityResult
      • RenewalOrder
      • ClaimResult
      • ApiError
      • SubscriptionListItem

    ReferralCode

    Metadata about a TunnelSats referral code.

    {
        "code": "TUNNEL2024",
        "usage_count": 0,
        "bonusMonths": 0,
        "discount": 0
    }
    Built with