الانتقال إلى المحتوى الرئيسي
DELETE
/
workspaces
/
{workspaceId}
/
billing-accounts
/
{billingAccountId}
/
payment-methods
/
{paymentMethodId}
فصل طريقة دفع
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

أدخل JWT الخاص بك بالتنسيق: Bearer {token}

Path Parameters

workspaceId
string
required

معرّف مساحة العمل.

Example:

"ws_a1b2c3d4e5f6g7h8"

billingAccountId
string
required

معرّف حساب الفوترة، والذي يتوافق مع معرّف عميل Stripe (cus_...).

Example:

"cus_a1b2c3d4e5f6g7h8"

paymentMethodId
string
required

معرّف طريقة دفع Stripe (pm_...).

Example:

"pm_a1b2c3d4e5f6g7h8"

Response

تم فصل طريقة الدفع بنجاح.