curl --request GET \
--url https://api.hyperline.co/v2/subscriptions/transitions \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0,
"approximateCount": false
},
"data": [
{
"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 existing subscription transitions.
curl --request GET \
--url https://api.hyperline.co/v2/subscriptions/transitions \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0,
"approximateCount": false
},
"data": [
{
"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.
0 <= x <= 100x >= 0scheduled, draft, completed, cancelled, failed, pending_quote_signature scheduled, draft, completed, cancelled, failed, pending_quote_signature Was this page helpful?