# Will the customer id and card id data created using version 2.7.0 (2018-04-26) still work with the new api version 2022-07-20?

**URL:** <https://developer.squareup.com/forums/t/will-the-customer-id-and-card-id-data-created-using-version-2-7-0-2018-04-26-still-work-with-the-new-api-version-2022-07-20/6880>\
**Category:** Questions\
**Tags:** customers-api, payments-api, orders-api, cards-api\
**Created:** [August 24, 2022, 8:05pm UTC](https://developer.squareup.com/forums/t/will-the-customer-id-and-card-id-data-created-using-version-2-7-0-2018-04-26-still-work-with-the-new-api-version-2022-07-20/6880 "2022-08-24T20:05:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tannn](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@tannn](https://developer.squareup.com/forums/u/tannn)\
**Post date:** [August 24, 2022, 8:05pm UTC](https://developer.squareup.com/forums/t/will-the-customer-id-and-card-id-data-created-using-version-2-7-0-2018-04-26-still-work-with-the-new-api-version-2022-07-20/6880/1 "2022-08-24T20:05:18Z")

</div>

We have a system that has Square Connect PHP SDK `Version 2.7.0 (2018-04-26)`. In our database, we have stored customer ids and card ids created using its `CustomersApi` `createCustomer` and `createCustomerCard` functions. Will this customer and card data still work with the new Square API `Version 2022-07-20`?

I have tested the new api, the customer ids are still 26 characters and the card ids (ccof) are still “ccof:” followed by 19 characters. If these data will still work, I will be using them in the `orders` and `payments` api.

---

<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:** [August 24, 2022, 9:13pm UTC](https://developer.squareup.com/forums/t/will-the-customer-id-and-card-id-data-created-using-version-2-7-0-2018-04-26-still-work-with-the-new-api-version-2022-07-20/6880/2 "2022-08-24T21:13:21Z")

</div>

Yes, saved customers and cards will work with all newer versions of the API. 🙂
