Skip to content

Remove Payment Method

DELETE
/api/account/payment-methods/{id}
curl --request DELETE \
--url https://example.com/api/account/payment-methods/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Memberships that aren’t cancelled and bill against this method are re-pointed at the customer’s next chargeable method. When there is no other chargeable method the removal is rejected, so self-service can’t leave a live membership with nothing to charge.

id
required
string format: uuid

Payment method removed.

The payment method isn’t one of the customer’s.

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

A membership that isn’t cancelled bills against it and there’s no other chargeable method.

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}