Skip to main content
GET
/
stores
/
{storeId}
/
subscriptions
/
{subscriptionId}
cURL
curl --request GET \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/subscriptions/{subscriptionId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token mode — passes the secret directly. Token starts with sk_.

Path Parameters

storeId
string
required
Required string length: 12 - 48
subscriptionId
string
required
Required string length: 12 - 48

Response

Default Response

ok
enum<boolean>
required
Available options:
true
data
any
required