Delete a Payment Method of a Customer

Changed on

Use a secret API key to delete a Payment Method of a Customer.

delete/v1/customers/{id}/payment_methods/{payment_method_id}

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/customers/{id}/payment_methods/{payment_method_id}
  • Auth
    HTTP basic

Path parameters

idstring required

ID of Customer

payment_method_idstring required

ID of the Customer's Payment Method

Response

200

object required

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id delete_customers_id_payment_methods removed and replaced with delete-a-payment-method-of-a-customer

    • info

      the endpoint scheme security BasicAuth was removed from the API

    • info

      api tag Customer Payment Methods (v1) removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status