Create Scheduled Renewal
Built with APIMatic
Creates a scheduled renewal configuration for a subscription. The scheduled renewal is based on the subscription’s current product and component setup.
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.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/subscriptions/1/scheduled_renewals.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "renewal_configuration": { "starts_at": "2024-12-01T00:00:00Z", "ends_at": "2025-12-01T00:00:00Z", "lock_in_at": "2024-11-15T00:00:00Z", "contract_id": 222 }}'