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
    • 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

    SubscriptionListItem

    Model for subscription records in the authenticated list view. Uses snake_case to match database-aligned API reality.

    {
        "id": "string",
        "payment_hash": "string",
        "server_domain": "string",
        "server_country": "string",
        "subscription_end": "2019-08-24T14:15:22.123Z",
        "status": "string",
        "created_at": "2019-08-24T14:15:22.123Z",
        "key_id": "string",
        "bandwidth_used": 0,
        "vpn_ip": "string",
        "duration": 0
    }
    Built with