# Is there a way to change status of credit card to "inactive"?

**URL:** <https://integration.keap.com/t/is-there-a-way-to-change-status-of-credit-card-to-inactive/1207>\
**Category:** API Q&A\
**Created:** [June 30, 2017, 1:44am UTC](https://integration.keap.com/t/is-there-a-way-to-change-status-of-credit-card-to-inactive/1207 "2017-06-30T01:44:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna\_Dalmacio](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@Joanna\_Dalmacio](https://integration.keap.com/u/Joanna_Dalmacio)\
**Post date:** [June 30, 2017, 1:44am UTC](https://integration.keap.com/t/is-there-a-way-to-change-status-of-credit-card-to-inactive/1207/1 "2017-06-30T01:44:06Z")

</div>

Hi,

I have an option in my system to add/edit cc info. I was told that the last cc charged will be the one IS charges the new bill, regardless if I added a new card. And since we can’t assign a default cc (Or can we?) I need to find a way to make a credit card “Inactive”. In the documentation [Table Schema Documentation - Keap Developer Portal](https://developer.infusionsoft.com/docs/table-schema/) it says that the status is only “read”. I was wondering if we have a work around?

Thank you very much!

Best Regards,  
Joanna D

---

<div class="post-metadata">

**Author:** ![Von\_Ryan\_Javillonar](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/von_ryan_javillonar/32/158_2.png) [@Von\_Ryan\_Javillonar](https://integration.keap.com/u/Von_Ryan_Javillonar)\
**Post date:** [June 30, 2017, 8:19am UTC](https://integration.keap.com/t/is-there-a-way-to-change-status-of-credit-card-to-inactive/1207/2 "2017-06-30T08:19:32Z")

</div>

There is a deactivate function called “ProductService.deactivateCreditCard”, you can check more in [xml-rpc - Keap Developer Portal](https://developer.infusionsoft.com/docs/xml-rpc/)

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [June 30, 2017, 8:43am UTC](https://integration.keap.com/t/is-there-a-way-to-change-status-of-credit-card-to-inactive/1207/3 "2017-06-30T08:43:52Z")

</div>

Nice @Von_Ryan_Javillonar!!! It apparently is in the language interfaces like PHP as well…great catch!

---

<div class="post-metadata">

**Author:** ![Joanna\_Dalmacio](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@Joanna\_Dalmacio](https://integration.keap.com/u/Joanna_Dalmacio)\
**Post date:** [July 3, 2017, 3:43am UTC](https://integration.keap.com/t/is-there-a-way-to-change-status-of-credit-card-to-inactive/1207/4 "2017-07-03T03:43:49Z")

</div>

Thank you for the insight @Von_Ryan_Javillonar!
