Delete a payment method for a customer
Changed onDeletes a customer payment method using its ID.
Deleted payment methods are no longer saved and presented to the customer for future purchases.
Saved payment methods can't be deleted if tied to an active, trialing, paused, or past_due subscription. Update the subscription's payment method first, then delete the saved payment method.
There's no way to recover a deleted saved payment method. It's permanently removed from that customer.
Request
- Base URLhttps://sandbox-api.paddle.com
- AuthHTTP bearer
Path parameters
Unique Paddle ID for this customer entity, prefixed with ctm_.
Paddle ID of the customer entity to work with.
Paddle ID of the payment method entity to work with.
Response
There is no content to send for this request, but the headers may be useful.
Changes
- breaking
added the pattern
^ctm_[a-z\d]{26}$to thepathrequest parametercustomer_id
- breaking
- breaking
added the new path request parameter
customer_id - breaking
added the new path request parameter
payment_method_id - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking