curl --request GET \
--url https://app.flowglad.com/api/v1/subscriptions \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"startDate": "<string>",
"customerId": "<string>",
"organizationId": "<string>",
"status": "trialing",
"defaultPaymentMethodId": "<string>",
"backupPaymentMethodId": "<string>",
"trialEnd": "<string>",
"currentBillingPeriodStart": "<string>",
"currentBillingPeriodEnd": "<string>",
"metadata": {},
"canceledAt": "<string>",
"cancelScheduledAt": "<string>",
"cancellationReason": "<string>",
"replacedBySubscriptionId": "<string>",
"isFreePlan": true,
"priceId": "<string>",
"runBillingAtPeriodStart": true,
"interval": "day",
"intervalCount": "<any>",
"billingCycleAnchorDate": "<string>",
"name": "<string>",
"renews": true,
"current": true
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}
curl --request GET \
--url https://app.flowglad.com/api/v1/subscriptions \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"startDate": "<string>",
"customerId": "<string>",
"organizationId": "<string>",
"status": "trialing",
"defaultPaymentMethodId": "<string>",
"backupPaymentMethodId": "<string>",
"trialEnd": "<string>",
"currentBillingPeriodStart": "<string>",
"currentBillingPeriodEnd": "<string>",
"metadata": {},
"canceledAt": "<string>",
"cancelScheduledAt": "<string>",
"cancellationReason": "<string>",
"replacedBySubscriptionId": "<string>",
"isFreePlan": true,
"priceId": "<string>",
"runBillingAtPeriodStart": true,
"interval": "day",
"intervalCount": "<any>",
"billingCycleAnchorDate": "<string>",
"name": "<string>",
"renews": true,
"current": true
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}
Was this page helpful?