v1
latestOpenAPI 3.0.32026-07-26172157253.6 KBStripe Payments
List Stripe Subscriptions
Admin/debug read for mirrored Stripe subscriptions. Use app-owned tables with RLS for end-user payment state.
get/api/payments/stripe/{environment}/subscriptions
Path parameters
environment'test' | 'live' required
Payment provider environment.
Query parameters
subjectTypestring
Billing subject type. Must be provided together with subjectId.
subjectIdstring
Billing subject ID. Must be provided together with subjectType.
limitinteger
Maximum rows to return.
Response
Stripe subscriptions
Example response
{
"subscriptions": [
{
"subscriptionId": "sub_123",
"customerId": "cus_123",
"latestInvoiceId": "in_123",
"items": [
{
"subscriptionItemId": "si_123",
"subscriptionId": "sub_123",
"productId": "prod_123",
"priceId": "price_123",
"quantity": 1
}
]
}
]
}