Places the subscription on hold, preventing it from renewing.
You may not place a subscription on hold if the next_billing_at date is within 24 hours.
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 Chargify id of the subscription.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Allows you to pause a Subscription.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/subscriptions/1/hold.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "hold": { "automatically_resume_at": "2017-05-25T11:25:00Z" }}'