latestOpenAPI 3.1.02026-08-19270462702.4 KB
b92f75fd3b61
billing
Remove Payment Method
Cancel the user's active subscription and remove the stored payment method.
This endpoint is retained for frontend compatibility, but its behavior is subscription-centric:
- Cancels the user's active Stripe subscription immediately
- Downgrades the user to the Hobby plan in Supabase
- Removes the stored card from the Stripe customer
Args: request: Active subscription payment method ID shown in the UI auth: Authenticated user context
Returns: Success status with cancellation message
delete/billing/remove-payment-method
Request body
Response
Successful Response