Skip to main content
DELETE
https://api.tensormesh.ai
/
v1
/
billing
/
stripe
/
customers
/
payment-methods
Detach Stripe Payment Method
curl --request DELETE \
  --url https://api.tensormesh.ai/v1/billing/stripe/customers/payment-methods \
  --header 'Authorization: Bearer <token>'
{
  "empty": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication using an access token. Format: Bearer <access_token>

Query Parameters

userId
string

The unique ID of the user.

stripePaymentMethodId
string

The payment method ID.

Response

A successful response.

DetachStripePaymentMethodResponse is the response after detaching a payment method.

empty
object

Empty response.