Delete Payment Method
DELETE/api/billing/stripe/payment-methods/:lead_id/:payment_method_id
Delete a saved payment method.
Detaches the payment method from the customer's Stripe account. Validates that:
- Lead exists on current tenant
- Payment method belongs to the specified lead
Args: lead_id: Lead ID for validation (path parameter) payment_method_id: The database UUID of the payment method to delete (path parameter)
Returns: Success confirmation
Raises: 404: Lead or payment method not found 400: Unauthorized access or validation error
Request
Responses
- 200
- 422
Successful Response
Validation Error