Vai al contenuto principale
DELETE
/
workspaces
/
{workspaceId}
/
billing-accounts
/
{billingAccountId}
/
payment-methods
/
{paymentMethodId}
Scollega un metodo di pagamento
curl --request DELETE \
  --url https://api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods/{paymentMethodId} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Inserisci il tuo JWT nel formato: Bearer {token}

Path Parameters

workspaceId
string
required

L'ID del workspace.

Example:

"ws_a1b2c3d4e5f6g7h8"

billingAccountId
string
required

L'ID del conto di fatturazione, che corrisponde a un ID Cliente Stripe (cus_...).

Example:

"cus_a1b2c3d4e5f6g7h8"

paymentMethodId
string
required

L'ID del Metodo di Pagamento Stripe (pm_...).

Example:

"pm_a1b2c3d4e5f6g7h8"

Response

Il metodo di pagamento è stato scollegato con successo.