Billing Portal

Resend Billing Portal Invitation

POST
/portal/customers/{customer_id}/invitations/invite.json

Resends a customer's Billing Portal invitation.

If you attempt to resend an invitation 5 times within 30 minutes, you will receive a 422 response with an error message in the body.

If you attempt to resend an invitation when the Billing Portal is already disabled for a Customer, you will receive a 422 error response.

If you attempt to resend an invitation when the Customer does not exist, you will receive a 404 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

application/json

curl -X POST "https://example.com/portal/customers/0/invitations/invite.json"
{  "last_sent_at": "enim Duis esse dolore",  "last_accepted_at": "adipisicing magna do in irure",  "send_invite_link_text": "veniam sit",  "uninvited_count": 66254678}