# Edit the card on file

**URL:** <https://developer.squareup.com/forums/t/edit-the-card-on-file/6589>\
**Category:** Questions\
**Tags:** web-payments-sdk\
**Created:** [July 26, 2022, 11:10am UTC](https://developer.squareup.com/forums/t/edit-the-card-on-file/6589 "2022-07-26T11:10:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anudeep\_reddy\_v](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@anudeep\_reddy\_v](https://developer.squareup.com/forums/u/anudeep_reddy_v)\
**Post date:** [July 26, 2022, 11:10am UTC](https://developer.squareup.com/forums/t/edit-the-card-on-file/6589/1 "2022-07-26T11:10:02Z")

</div>

Hi,  
I have card on file. Now i want to update/edit billing details of the card through apis. How can i do that? When i refer doc, I can see only list,create,retrieve and disable apis.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 26, 2022, 4:17pm UTC](https://developer.squareup.com/forums/t/edit-the-card-on-file/6589/2 "2022-07-26T16:17:27Z")

</div>

👋 You’ll need to create a new card if the information for the existing card has changed. Please note that Square does update card expiration date and CCV when the information is provided from the card networks when they update the cards. 🙂

---

<div class="post-metadata">

**Author:** ![indrajeetsingh](https://avatars.discourse-cdn.com/v4/letter/i/fbc32d/32.png) [@indrajeetsingh](https://developer.squareup.com/forums/u/indrajeetsingh)\
**Post date:** [June 24, 2024, 4:24pm UTC](https://developer.squareup.com/forums/t/edit-the-card-on-file/6589/3 "2024-06-24T16:24:50Z")

</div>

please share the c# code to update card cvv or expiration date.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [June 24, 2024, 5:06pm UTC](https://developer.squareup.com/forums/t/edit-the-card-on-file/6589/4 "2024-06-24T17:06:37Z")

</div>

We currently don’t have an `UpdateCard` endpoint. If you need to update information on the card you’ll need to call `CreateCard` and create a new card on file for the customer. 🙂
