Levain LabsLevain Labs
ApiBilling

Detach Payment Method

Detach a payment method from the workspace's Stripe Customer.

Detach a payment method from the workspace's Stripe Customer.

DELETE
/api/v1/billing/payment-methods/{payment_method_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

payment_method_id*Payment Method Id

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X DELETE "https://api.levainlabs.com/api/v1/billing/payment-methods/string"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}