TunnelSats Public Wireguard API
  1. 📢 Public
TunnelSats Public Wireguard API
  • About our team
  • 📢 Public
    • List Servers
      GET
    • Create Subscription
      POST
    • Check Status / Heal
      GET
    • Claim Subscription
      POST
    • Renew Subscription
      POST
    • Get Subscription Status
      POST
  • 🔐 Authenticated
    • List My Subscriptions
      GET
    • Sync Subscription
      POST
    • Create Referral Code
      POST
    • Referral History
      GET
  • Announcements
    • 💫 What is TunnelSats?
    • 🚀 Introducing the TunnelSats Public API v1
  • Cookbook
    • 🛠️ Automation & Code Examples
    • 🐚 Bash One-Liners
    • 🛑 Error Codes & Troubleshooting
    • 🎁 Referral Program: Earn Bonus Months
  • Schemas
    • Server
    • InvoiceOrder
    • SubscriptionStatus
    • WireGuardConfig
    • ReferralCode
    • ReferralHistory
    • NodeLookup
    • ConnectivityResult
  1. 📢 Public

Check Status / Heal

GET
/api/public/v1/subscription/{{paymentHash}}
Checks payment status. Triggers 'status healing' if webhook missed.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://tunnelsats.com/api/public/v1/subscription/{{paymentHash}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
    "paymentHash": "a1b2c3d4e5f67890abcdef",
    "status": "paid",
    "serverId": "eu-de",
    "duration": 1,
    "isProvisioned": true,
    "server": {
        "domain": "de2.tunnelsats.com",
        "endpoint": "de2.tunnelsats.com:51820"
    },
    "subscriptionEnd": "2026-02-01T10:30:00.000Z"
}
Modified at 2026-02-10 21:55:30
Previous
Create Subscription
Next
Claim Subscription
Built with