Subscription Components

Read Subscription Component

GET
/subscriptions/{subscription_id}/components/{component_id}.json

Returns information for a specific component on a subscription.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

subscription_id*integer

The Chargify id of the subscription.

component_id*integer

The Advanced Billing id of the component. Alternatively, the component's handle prefixed by handle:

Response Body

application/json

curl -X GET "https://example.com/subscriptions/0/components/0.json"
{  "component": {    "component_id": 193028,    "subscription_id": 14593192,    "allocated_quantity": 1,    "pricing_scheme": "per_unit",    "name": "Users",    "kind": "quantity_based_component",    "unit_name": "Users",    "price_point_id": 1,    "price_point_handle": "top-tier",    "enabled": true  }}