Detach a payment method
Detaches a payment method from a billing account. You cannot detach the only payment method on an account, nor can you detach the default payment method if there are active subscriptions.
Authorizations
Enter your JWT in the format: Bearer {token}
Path Parameters
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The ID of the billing account, which corresponds to a Stripe Customer ID (cus_...).
"cus_a1b2c3d4e5f6g7h8"
The ID of the Stripe Payment Method (pm_...).
"pm_a1b2c3d4e5f6g7h8"
Response
The payment method was detached successfully.