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}
Request
- Base URLhttps://api.sandbox.cleeng.com/3.1
- URLhttps://api.sandbox.cleeng.com/3.1/payment_details/{paymentDetailsId}
- AuthAPI key in header X-Publisher-Token
Path parameters
paymentDetailsIdinteger required
The identifier of Cleeng payment details connected to Cleeng customer.
Headers
Content-Typestring
Response
200
Example response
{
"success": true,
"message": "Payment details deleted"
}Changes
No recorded changes to this operation across all 1 revision of this API.