Skip to main content
DELETE
/
customers
/
{id}
/
payment-methods
/
{paymentMethodId}
Delete payment method
curl --request DELETE \
  --url https://api.conduit.financial/customers/{id}/payment-methods/{paymentMethodId} \
  --header 'X-API-Key: <api-key>' \
  --header 'X-API-Secret: <api-key>'
{}

Authorizations

X-API-Key
string
header
required

Includes an API key in the HTTP headers to authenticate the client.

X-API-Secret
string
header
required

Includes an API secret in the HTTP headers to authenticate the client.

Path Parameters

id
string
required

A valid Customer ID

Example:

"cus_2ofTA13AD0xBtbEvBl20aEb1hEu"

paymentMethodId
required

The ID of the payment method to retrieve A valid Bank Account ID

Example:

"bank_2ofTA5mz0T91pBmD3tMTeLE7T4X"

Response

Payment method deleted successfully

The response is of type object.

I