Skip to main content

List subscription states

GET 

/subscriptions/subscriptions/:subscription_uuid/states

List subscription states

Request

Path Parameters

    subscription_uuid UUIDrequired

    The unique identifier of the subscription.

Responses

Success. A list of subscription states is returned.

Schema
    data SubscriptionState[]
  • Array [
  • id UUID (string)

    The unique identifier.

    type SubscriptionStateType (string)required

    Possible values: [subscription_state]

    This represents the type of resource object being returned. Always subscription_state.

    attributes SubscriptionStateAttributesrequired
    action SubscriptionStateAction (string)required

    Possible values: [cancel, pause, resume, pending]

    The subscription lifecycle is the states that a subscription can go through when a customer subscribes to a service or a product.

    A subscription can have the following states; canceled, paused, or resumed.

    See Managing the subscription lifecycle.

    meta StateMetarequired
    created_at stringrequired

    The date and time a resource was created.

  • ]
Loading...