v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

Delete payment details

Use this endpoint to delete a customer’s payment details (e.g. an expired credit card).<br><br>Please note that removing payment details that are attached to subscriptions will prevent those subscriptions from being renewed. Update subscription endpoint can be used to assign other payment details to a subscription for best user experience.<br><br>Important: Deletion is an irreversible process.

delete/payment_details/{paymentDetailsId}

Path parameters

paymentDetailsIdinteger required

The identifier of Cleeng payment details connected to Cleeng customer.

Headers

Content-Typestring

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Payment details deleted"
}