API Reference/Documentation
GitHubDashboard
Billing

Subscriptions

Manage user and team subscriptions. List plans, create Stripe Checkout sessions, open the billing portal, and cancel subscriptions.

Plans & tiers

List available subscription plans

Stripe Checkout

Create checkout and portal sessions

Cancel

Cancel subscription at period end or immediately

List Plans

Request
HTTP
http
GET https://api.leadron.io/v1/subscriptions/plans
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
X-Tenant-Id: acme-corp
Response200OK
200 Response
json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  "success": true,
  "status": 200,
  "message": "Plans",
  "data": [
    {
      "tier": "free",
      "name": "Free",
      "description": "Free tier with limited features",
      "priceId": null,
      "order": 0
    },
    {
      "tier": "pro",
      "name": "Pro",
      "description": "For power users",
      "priceId": "price_2Def...",
      "order": 2
    }
  ],
  "meta": {
    "timestamp": "2026-02-08T14:30:00.000Z",
    "version": "v1"
  }
}

Get Subscription

List Subscriptions

Create Checkout

Billing Portal

Cancel Subscription