Skip to content

Remove Payment Method

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

Removes a stored payment method and revokes its token at the payment gateway. Any subscriptions still using this method will need a replacement set before the next billing date.

memberId
required
string format: uuid

The member’s unique identifier.

id
required
string format: uuid

The payment method’s identifier.

Payment method removed.

No payment method with the given ID exists.

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"
}