Skip to main content

Get subscription state

GET 

/subscriptions/subscriptions/:subscription_uuid/states/:state_uuid

Get subscription state

Request

Path Parameters

    subscription_uuid UUIDrequired

    The unique identifier of the subscription.

    state_uuid UUIDrequired

    The unique identifier of the subscription state.

Responses

Success. A subscription state is returned.

Schema
    data SubscriptionState
    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...