2 augustus 2024
Get subscriptions
GET
https://api.pack.cloud/v1/organizations/{organizationId}/billing/subscriptions
Request
Path parameters
organizationIdstring
Query parameters
includearray
Allowed values:plantier
Response
OK
Body
idstring
ID of the subscription
plan_idstring
ID of the plan
plan_tier_idstringnull
ID of the tier
is_trialboolean
statusstring
Status of the subscription
Allowed values:canceledpendingscheduledactivesuspendedexpired
current_cycle_started_atstringnull
Current billing cycle started at
current_cycle_ends_atstringnull
Current billing cycle ends at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
canceled_atstringnull
Time of cancellation request
expired_atstring
Current expiration time of subscription
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the subscription
plan_idstring
ID of the plan
plan_tier_idstringnull
ID of the tier
is_trialboolean
statusstring
Status of the subscription
Allowed values:canceledpendingscheduledactivesuspendedexpired
current_cycle_started_atstringnull
Current billing cycle started at
current_cycle_ends_atstringnull
Current billing cycle ends at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
canceled_atstringnull
Time of cancellation request
expired_atstring
Current expiration time of subscription
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the subscription
plan_idstring
ID of the plan
plan_tier_idstringnull
ID of the tier
is_trialboolean
statusstring
Status of the subscription
Allowed values:canceledpendingscheduledactivesuspendedexpired
current_cycle_started_atstringnull
Current billing cycle started at
current_cycle_ends_atstringnull
Current billing cycle ends at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
canceled_atstringnull
Time of cancellation request
expired_atstring
Current expiration time of subscription
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the subscription
plan_idstring
ID of the plan
plan_tier_idstringnull
ID of the tier
is_trialboolean
statusstring
Status of the subscription
Allowed values:canceledpendingscheduledactivesuspendedexpired
current_cycle_started_atstringnull
Current billing cycle started at
current_cycle_ends_atstringnull
Current billing cycle ends at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
canceled_atstringnull
Time of cancellation request
expired_atstring
Current expiration time of subscription
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the subscription
plan_idstring
ID of the plan
plan_tier_idstringnull
ID of the tier
is_trialboolean
statusstring
Status of the subscription
Allowed values:canceledpendingscheduledactivesuspendedexpired
current_cycle_started_atstringnull
Current billing cycle started at
current_cycle_ends_atstringnull
Current billing cycle ends at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
canceled_atstringnull
Time of cancellation request
expired_atstring
Current expiration time of subscription
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25