Payment methods

Delete payment method

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}

Path parameters

idstring required
Example:payt_xxxxxxxxxxxxx

The unique identifier of the payment method to delete.

Query parameters

member_idstring

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_idstring

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

Changed in 1 of the 74 revisions of this API.11

    • ●

      deleted the query request parameter company_id

      request-parameter-removed

    • ○

      added the new optional query request parameter account_id

      new-optional-request-parameter

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 74 revisions, 1 has no diff computed.