Payment methods

Delete payment method

Changed on

Delete a saved payment method. Cannot delete a payment method attached to an active subscription.

Required permissions:

  • member:payment_methods:manage
delete/payment_methods/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required
Example:payt_xxxxxxxxxxxxx

The unique identifier of the payment method to delete.

Query parameters

member_id, string

The unique identifier of the member. Provide either this or account_id, not both. Omit both to address your own saved payment methods.

Example:mber_xxxxxxxxxxxxx
account_id, string

The unique identifier of the company. Provide either this or member_id, not both. Omit both to address your own saved payment methods.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

boolean required

Represents true or false values.

Changes