Read Subscription Component
Returns information for a specific component on a subscription.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
The Chargify id of the subscription.
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 }}Refund Prepayment POST
Refunds a prepayment applied to a subscription, either fully or partially. The `prepayment_id` will be the account transaction ID of the original payment. The prepayment must have some amount remaining in order to be refunded. The amount may be passed either as a decimal, with `amount`, or an integer in cents, with `amount_in_cents`.
List Subscription Components GET
Lists a subscription's applied components. ## Archived Components When requesting to list components for a given subscription, if the subscription contains **archived** components they will be listed in the server response.