Billing portal
Revoke portal session
Invalidate a portal link that is already out in the world.
POST/v1/billing_portal/sessions/{session_id}/revoke
Parameters
| Parameter | Description |
|---|---|
| session_idstring · pathrequired | No description in the spec. |
Returns
Returns a BillingPortalSessionRevokeResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the subscriptions:write scope. |
| 404 | No such object, or it belongs to the other mode. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other billing portal operations
- Create portal session POST /v1/billing_portal/sessions
BillKit