Skip to main content
GET
https://api.destined.ai
/
v1
/
billing
/
subscription
curl "https://api.destined.ai/v1/billing/subscription" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "tier": "pro",
  "status": "active",
  "current_period_end": "2024-02-01T00:00:00Z",
  "cancel_at_period_end": false,
  "price_monthly": 500.00,
  "stripe_customer_id": "cus_xxx",
  "stripe_subscription_id": "sub_xxx"
}

Response

tier
string
required
Current tier: free, starter, pro, enterprise
status
string
required
Subscription status: active, canceled, past_due
current_period_end
string
required
When current period ends
cancel_at_period_end
boolean
required
Whether subscription will cancel at period end
curl "https://api.destined.ai/v1/billing/subscription" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "tier": "pro",
  "status": "active",
  "current_period_end": "2024-02-01T00:00:00Z",
  "cancel_at_period_end": false,
  "price_monthly": 500.00,
  "stripe_customer_id": "cus_xxx",
  "stripe_subscription_id": "sub_xxx"
}