Skip to main content
GET
/
v2
/
subscriptions
/
transitions
Get 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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

take
number | null
default:50
Required range: 0 <= x <= 100
skip
number | null
default:0
Required range: x >= 0

Response

200 - application/json
meta
object
required
data
object[]
required

List of SubscriptionTransition.