Delete Unused Payment Profile
Built with APIMatic
Deletes an unused payment profile.
If the payment profile is in use by one or more subscriptions or groups, a 422 and error message will be returned.
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 payment profile
application/json
curl -X DELETE \ --url 'https://subdomain.chargify.com/payment_profiles/1.json' \ -H 'Authorization: Bearer ACCESS_TOKEN'