Revoke Billing Portal Invitation for Customer
Built with APIMatic
Revokes a customer's Billing Portal invitation.
If you attempt to revoke an invitation when the Billing Portal is already disabled for a Customer, you will receive a 422 error response.
This endpoint will only return a JSON response.
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 customer
application/json
curl -X DELETE \ --url 'https://subdomain.chargify.com/portal/customers/1/invitations/revoke.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'