Delete the default payment method

Why can’t I delete the default payment method for my customer?

1 Like

Hi @Tu_Mai, are you using the customer ID, starting with cus_ and the payment method ID starting with card_ or other_ ?

First I used List Payment Methods of Customer before and after to confirm the payment method.

Then I used Delete Payment Method.

You can see the path parameters and response below


Delete Payment Method Response

    "status": {
        "error_code": "",
        "status": "SUCCESS",
        "message": "",
        "response_code": "",
        "operation_id": "da8a3dc2-2bfb-4716-a2f7-d2ebd9a73908"
    "data": {
        "deleted": true,
        "id": "card_69bd5176480d738fe768477246cac035"

Okay. One more question. Can we save the card token (“card_69bd5176480d738fe768477246cac035”) without PCI certification?

Yes, the token can be saved without PCI certification. The token is a proxy for the customer’s card details. You can create payments with Rapyd just using the token.

Are you using Hosted Checkout or the Checkout Toolkit Integration?

1 Like

I’m using Hosted Checkout. Thank you so much.

1 Like