Deactivate Event-Based Component
Built with APIMatic
Deactivates an event-based component for a single subscription. Deactivating the event-based component causes Advanced Billing to ignore related events at subscription renewal.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The Advanced Billing id of the subscription
The Advanced Billing id of the component
curl -X POST \ --url 'https://subdomain.chargify.com/event_based_billing/subscriptions/1/components/1/deactivate.json' \ -H 'Authorization: Bearer ACCESS_TOKEN'