Billing Portal

Revoke Billing Portal Invitation for Customer

DELETE
/portal/customers/{customer_id}/invitations/revoke.json

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.

Limitations

This endpoint will only return a JSON response.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

customer_id*integer

The Chargify id of the customer

Response Body

application/json

curl -X DELETE "https://example.com/portal/customers/0/invitations/revoke.json"
{  "last_sent_at": "Not Invited",  "last_accepted_at": "Invite Revoked",  "uninvited_count": 8}