DELETE
/
workspaces
/
{workspace_id}
/
billing-accounts
/
{billing_account_id}
/
payment-methods
/
{payment_method_id}
Remove Payment Method
curl --request DELETE \
  --url https://api.altostrat.io/workspaces/{workspace_id}/billing-accounts/{billing_account_id}/payment-methods/{payment_method_id} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Auth0 JWT token for user authentication.

Path Parameters

workspace_id
string
required

The unique identifier for the workspace.

Example:

"ws_abc123"

billing_account_id
string
required

The unique identifier for the billing account (Stripe customer ID).

Example:

"cus_abc123"

payment_method_id
string
required

The unique identifier for the payment method (Stripe payment method ID).

Example:

"pm_abc123"

Response

204

Payment method removed successfully.