billing
Remove Team Payment Method
Changed onRemove the team's payment method and downgrade to Hobby plan.
Requires: MANAGE_BILLING permission (owner, admin, or billing role)
This endpoint:
- Cancels any active Stripe subscriptions for the team
- Downgrades the team to the Hobby plan
- Removes the stored card from the Stripe customer
Args: team_id: Team UUID request: Payment method ID to remove auth: Authenticated user context
Returns: Success status with message
delete/v1/billing/team/{team_id}/remove-payment-method
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
team_idstring required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info