Subscriptions
Get Subscription
Retrieve details of a specific subscription by ID. Use when you need to load a single subscription for a billing portal or to check status.
GET
Get Subscription
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flexprice/flexprice/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Unique identifier of the subscription.Example:
"sub_x1y2z3a4b5c6d7e8f9g0"Response
Unique identifier for the subscription.
FlexPrice customer ID.
Plan ID.
Current subscription status.Values:
"ACTIVE", "CANCELLED", "INCOMPLETE", "EXPIRED", "PAUSED", "DRAFT"Three-letter ISO currency code.
Billing frequency.Values:
"IN_ADVANCE", "IN_ARREARS"Billing period unit.Values:
"DAY", "WEEK", "MONTH", "QUARTER", "YEAR"Number of billing periods per cycle.
ISO 8601 timestamp of the billing anchor date.
Billing cycle type.Values:
"ANNIVERSARY", "CALENDAR"ISO 8601 timestamp when subscription starts.
ISO 8601 timestamp when subscription ends (if set).
ISO 8601 timestamp of current billing period start.
ISO 8601 timestamp of current billing period end.
ISO 8601 timestamp when subscription was cancelled (if applicable).
ISO 8601 timestamp when subscription will be cancelled (if scheduled).
Whether subscription will cancel at period end.
ISO 8601 timestamp of trial start (if applicable).
ISO 8601 timestamp of trial end (if applicable).
Current pause status.Values:
"NONE", "PAUSED"Minimum committed amount (if set).
Commitment duration (if set).
Overage multiplier (if set).
Whether true-up fee is enabled.
Payment handling behavior.
Invoice collection method.
Customer’s timezone.
Proration handling.
Parent subscription ID (if part of hierarchy).
Payment terms for invoices.
Custom metadata.
Subscription version number.
ISO 8601 timestamp when the subscription was created.
ISO 8601 timestamp when the subscription was last updated.
Plan details.
Customer details.
Array of associated coupons.
Array of subscription phases.
Array of credit grants.
Example Request
cURL
Example Response
Get Subscription