Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Retrieve a subscription

Get a subscription by its ID.

GET/v1/subscriptions/{id}

Get a subscription by its ID.

Endpoint

http
GET /v1/subscriptions/{id}

Path parameters

NameTypeDescription
idstringThe subscription's ID, sub_....

Example request

bash
curl https://api.sovgate.com/v1/subscriptions/sub_2924bc30f433418e621960a1 \  -H "Authorization: Bearer sov_sk_test_your_key"

Example response

json
{  "id": "sub_2924bc30f433418e621960a1",  "object": "subscription",  "livemode": false,  "customer": "cust_13ed3f69adfcfcb6289a5491",  "name": "Studio membership",  "status": "active",  "currency": "usd",  "line_items": [    {      "price": "price_d2fcc8475d89f661d674185c",      "quantity": 1    }  ],  "amount": 2900,  "interval": {    "unit": "month",    "count": 1  },  "collection": "charge_automatically",  "days_until_due": null,  "start_date": "2026-11-01",  "trial_end": null,  "end_date": null,  "next_billing_date": "2026-12-01",  "cancel_at_period_end": false,  "canceled_at": null,  "paused_at": null,  "resumes_on": null,  "created": "2026-11-01T10:12:00Z"}