curl --request GET \
--url https://api.hyperline.co/v2/subscriptions/transitions/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"customer_id": "<string>",
"base_subscription_id": "<string>",
"source_subscription_id": "<string>",
"target_subscription_id": "<string>",
"status": "scheduled",
"transitioned_at": "2023-12-25",
"name": "<string>",
"transition_date": "2023-12-25",
"application_schedule": "immediately",
"billing_cycle_transition_method": "keep_current_billing_cycle",
"calculation_method": "do_not_charge"
}Retrieve the details of an existing subscription transition.
curl --request GET \
--url https://api.hyperline.co/v2/subscriptions/transitions/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"customer_id": "<string>",
"base_subscription_id": "<string>",
"source_subscription_id": "<string>",
"target_subscription_id": "<string>",
"status": "scheduled",
"transitioned_at": "2023-12-25",
"name": "<string>",
"transition_date": "2023-12-25",
"application_schedule": "immediately",
"billing_cycle_transition_method": "keep_current_billing_cycle",
"calculation_method": "do_not_charge"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the subscription transition
The ID of the customer associated with the transition
The ID of the original subscription from which this transition is derived. It references the last active version of the subscription.
The ID of the subscription to transition from
The ID of the subscription to transition to
The current status of the subscription transition. Possible values are 'scheduled', 'completed', 'failed', and 'draft'.
scheduled, completed, failed, draft, cancelled, pending_quote_signature An optional name for the transition
Whether the transition should be applied 'immediately' or 'scheduled' for a future date.
immediately, scheduled, next_renewal, quote_signature, scheduled_after_quote_signature The billing cycle transition method to use. 'keep_current_billing_cycle' will keep the current billing cycle dates if possible. 'align_to_new_billing_cycle' will align the billing cycle to the transition date.
keep_current_billing_cycle, align_to_new_billing_cycle The calculation method to use for the transition. 'do_not_charge' will not generate any transition invoice. 'pro_rata' will generate a prorated invoice for the remaining period.
do_not_charge, pro_rata Was this page helpful?