# Customer ID Available, but No Saved Card found After Payment Link Payment

**URL:** <https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349>\
**Category:** Questions\
**Tags:** orders-api, payments-api, checkout-api\
**Created:** [March 7, 2025, 1:18pm UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349 "2025-03-07T13:18:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohini](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Mohini](https://developer.squareup.com/forums/u/Mohini)\
**Post date:** [March 7, 2025, 1:18pm UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349/1 "2025-03-07T13:18:23Z")

</div>

Hello,

I am using Square’s Checkout API to generate payment links. When a customer completes payment, I receive the payment.updated webhook event, which includes a customer\_id.  
After receiving the customer\_id, I call the Customers API to retrieve saved cards using card API.  
However, the response shows “cards”: null, meaning no saved cards exist for that customer.  
My Questions:  
1)Does Square automatically save a card when a customer pays via a Payment Link?  
2)Is there a way to enforce card saving when creating a Payment Link?  
3)Does the customer need to log in or explicitly save their card for it to be stored?  
4)If a customer does save their card, how can I verify this before attempting future manual charges?

How can I ensure that a card is **saved for future charges** when a customer pays via a Payment Link?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [March 7, 2025, 1:18pm UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349/2 "2025-03-07T13:18:46Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Cards API](https://developer.squareup.com/docs/cards-api)**
>
> Use the Cards API to save a credit or debit card for a customer.

> **[Cards API](https://developer.squareup.com/docs/cards-api/overview)**
>
> Use the Cards API to save a credit or debit card for a customer.

> **Additional Documentation**
>
> [Customers API Workflows](https://developer.squareup.com/docs/customers-api/how-it-works)  
> [Integrate Customer Profiles with Other Services](https://developer.squareup.com/docs/customers-api/use-the-api/integrate-with-other-services)  
> [Charge a Card on File](https://developer.squareup.com/docs/reader-sdk/cookbook/charge-cards-on-file)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [March 7, 2025, 5:25pm UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349/3 "2025-03-07T17:25:21Z")

</div>

1. No, Square does not automatically save a card when a customer pays via a Payment Link. The card information is used for that specific transaction only.

2. There isn’t a way to enforce card saving when creating a Payment Link. The customer must explicitly give permission for their card to be saved.

3. Yes, the customer needs to explicitly save their card for it to be stored. This can be done by including a checkbox or similar feature in your purchase flow that customers can select to specify that they want to save their card information for future purchases.

4. You can verify if a customer has a saved card by using the ListCards endpoint in the Cards API. This will return a list of cards on file for a specific customer. If the customer has saved a card, it will appear in this list.

To ensure that a card is saved for future charges when a customer pays via a Payment Link, you would need to ask the customer for permission to save their card information for future purchases. This could be done through a checkbox or similar feature in your purchase flow. Once the customer has given permission, you can use the Cards API to save the card for future charges.

_This answer was reviewed by @Bryan-Square._

---

<div class="post-metadata">

**Author:** ![Mohini](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Mohini](https://developer.squareup.com/forums/u/Mohini)\
**Post date:** [March 10, 2025, 5:57am UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349/4 "2025-03-10T05:57:41Z")

</div>

Thanks for the response.  
Can you give me the steps how we can enable the checkbox option to save the card for future transaction in square hosted checkout page?

---

<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:** [March 10, 2025, 4:41pm UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349/5 "2025-03-10T16:41:03Z")

</div>

The check box is there however there isn’t a way to make it a required when checking out. 🙂

---

<div class="post-metadata">

**Author:** ![aras](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@aras](https://developer.squareup.com/forums/u/aras)\
**Post date:** [April 2, 2025, 10:19pm UTC](https://developer.squareup.com/forums/t/customer-id-available-but-no-saved-card-found-after-payment-link-payment/21349/6 "2025-04-02T22:19:59Z")

</div>

Are you sure it is there? I have looked for this checkbox in both Sandbox and in a Production Payment link and can not see it. Where is it?

Here is a screen shot from a PROD account? Where is the checkbox to store the cards?

 ![Screenshot 2025-04-02 at 5.23.19 pm](https://global.discourse-cdn.com/square/original/2X/0/0851e949a9d011cb97bbfb24af5a5fe07cf361d0.png)
