Get Subscription By Id
Get Subscription By Id
Gets the consumer’s subscription by id
GET
Get Subscription By Id
Documentation Index
Fetch the complete documentation index at: https://docs.withflex.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use a Bearer token to access this API.
Path Parameters
Query Parameters
Represents a list as a comma-separated string.
Example:
""
Response
Success
Example:
{
"subscription_id": "obj_01EXAMPLE00000000000000000",
"created_at": "2024-01-01T00:00:00Z",
"items": [
{
"subscription_item_id": "obj_01EXAMPLE00000000000000000",
"quantity": 0,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"test_mode": false
}
],
"customer": "string",
"status": "incomplete",
"cancel_at_period_end": false,
"current_period_end": "string",
"current_period_start": "string",
"test_mode": false,
"proration_behavior": "always_invoice",
"trial_start": "string",
"trial_end": "string",
"cancel_at": "2024-01-01T00:00:00Z",
"default_payment_method": "string",
"partner": "string"
}