# Delete the default payment method

**URL:** <https://community.rapyd.net/t/delete-the-default-payment-method/1204>\
**Category:** ⚙️ API\
**Created:** [September 27, 2021, 8:40pm UTC](https://community.rapyd.net/t/delete-the-default-payment-method/1204 "2021-09-27T20:40:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tu\_Mai](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/tu_mai/32/1333_2.png) [@Tu\_Mai](https://community.rapyd.net/u/Tu_Mai)\
**Post date:** [September 27, 2021, 8:40pm UTC](https://community.rapyd.net/t/delete-the-default-payment-method/1204/1 "2021-09-27T20:40:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [September 29, 2021, 3:38am UTC](https://community.rapyd.net/t/delete-the-default-payment-method/1204/2 "2021-09-29T03:38:22Z")

</div>

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](https://docs.rapyd.net/build-with-rapyd/reference/customer-payment-method-object#list-payment-methods-of-customer) before and after to confirm the payment method.

Then I used [Delete Payment Method](https://docs.rapyd.net/build-with-rapyd/reference/customer-payment-method-object#delete-payment-method).

You can see the path parameters and response below

`customer:`cus\_5423810ce7f00e2108ad1672c22ede23  
`payment_method:`card\_69bd5176480d738fe768477246cac035

Delete Payment Method Response

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

---

<div class="post-metadata">

**Author:** ![Tu\_Mai](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/tu_mai/32/1333_2.png) [@Tu\_Mai](https://community.rapyd.net/u/Tu_Mai)\
**Post date:** [September 29, 2021, 4:05am UTC](https://community.rapyd.net/t/delete-the-default-payment-method/1204/3 "2021-09-29T04:05:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [September 29, 2021, 8:45pm UTC](https://community.rapyd.net/t/delete-the-default-payment-method/1204/4 "2021-09-29T20:45:01Z")

</div>

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](https://docs.rapyd.net/build-with-rapyd/docs/hosted-checkout-page-integration-steps) or the [Checkout Toolkit Integration](https://docs.rapyd.net/build-with-rapyd/docs/checkout-toolkit)?

---

<div class="post-metadata">

**Author:** ![Tu\_Mai](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/tu_mai/32/1333_2.png) [@Tu\_Mai](https://community.rapyd.net/u/Tu_Mai)\
**Post date:** [October 1, 2021, 12:11pm UTC](https://community.rapyd.net/t/delete-the-default-payment-method/1204/5 "2021-10-01T12:11:24Z")

</div>

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