List subscriptions

Returns a list of subscriptions on the store, most recent first. Requires the SUBSCRIPTIONS_READ scope.

GET https://api.pandabase.io/v2/core/stores/{storeId}/subscriptions/

Authentication

Requires a bearer token (sk_…) or an API key in the header Authorization.

Path parameters

storeId string required

(length 12–48)

Query parameters

page integer default: 1

(range 1–∞, defaults to 1)

limit integer default: 25

(range 1–100, defaults to 25)

status enum

No description.

product_id string

(length 12–48)

customer_id string

(length 12–48)

Header parameters

idempotency-key string

(length 8–32)

Response 200

Default Response

ok enum required

(one of true)

data object required

No description.

Response 400

Default Response

ok enum required

(one of false)

error string required

No description.

Request
curl -X GET https://api.pandabase.io/v2/core/stores/:storeId/subscriptions/
Response
{  "ok": true,  "data": {    "items": [      {        "id": "sub_h7n4tr3bcfp2v8q1mzj0kxw5",        "status": "ACTIVE",        "billingInterval": "MONTHLY",        "amount": 2900,        "currency": "USD",        "currentPeriodStart": "2026-05-14T12:34:56.000Z",        "currentPeriodEnd": "2026-06-14T12:34:56.000Z",        "nextChargeAt": "2026-06-14T12:34:56.000Z",        "trialEnd": null,        "cancelledAt": null,        "pausedAt": null,        "endsAt": null,        "retryCount": 0,        "product": {          "id": "prd_8h4t6sqzy3x9w5n2k1m0vqbf",          "title": "Pro Plan",          "price": 2900        },        "customer": {          "id": "cus_j8h0r1n4tzcbfp2v8q1mzwx5",          "email": "buyer@example.com"        },        "paymentMethod": {          "id": "pmm_n4tr3bcfp2v8q1mzj0kxw5h7",          "brand": "visa",          "lastFour": "4242",          "expMonth": 12,          "expYear": 2030        },        "createdAt": "2026-05-14T12:34:56.000Z"      }    ],    "pagination": {      "page": 1,      "limit": 25,      "total": 1,      "totalPages": 1    }  }}