Delete a customer's payment method

Delete a specific payment method. The payment method is completely deleted from the customer payment methods.

To reuse the payment method that is deleted, direct your customer to the checkout page and save the card details again.

Request

Path Parameters
Path Parameters

The ID of the Customer object.

The ID of the payment method.

Header Parameters
Header Parameters

Example: "Bearer sk_1234567890ABCdefGHIjklMNOpqrSTUvwxYZ_1234567890-Ab_cdeFGHijkLMNopq"

This parameter accepts the Merchant API Secret key to authorise requests coming from the merchant's backend.

It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a Bearer token.

info

For more information, see: Authentication

Response

No Content

Was this page helpful?