v1
latestOpenAPI 3.1.02026-07-222392081.7 MBSubscriptions > Phases
Get subscription phase
Retrieve the details of a phase for an existing subscription.
get/v2/subscriptions/{id}/phases/{phaseId}
Path parameters
idstring required
phaseIdstring required
Response
Example response
{
"id": "sup_1FoLfIQ5VOMbXf",
"name": "Initial term",
"type": "standard",
"status": "pending",
"activation_strategy": "manual",
"end_strategy": "duration",
"duration": {
"count": 1,
"period": "years"
},
"billing_date_setting": "phase_start",
"billing_cycle_alignment": "anniversary",
"transition_calculation_method": "prorata",
"transition_invoicing_schedule": "immediately",
"products": [
{
"id": "itm_FJKlqUb8COXw55",
"name": "Product name",
"description": "A description of the product.",
"attached_at": "2024-01-15T00:00:00Z",
"detached_at": "2024-04-15T00:00:00Z",
"current_period_started_at": "2024-01-15T00:00:00Z",
"current_period_ends_at": "2024-02-15T00:00:00Z",
"next_payment_at": "2024-02-15T00:00:00Z",
"payment_interval": {
"period": "once"
},
"payment_schedule": "start",
"count": 1
}
],
"created_at": "2024-10-12T07:00:01.860Z",
"updated_at": "2024-10-12T07:00:01.860Z"
}