# Does the card tokenize response have a timeout? How long is it?

**URL:** <https://developer.squareup.com/forums/t/does-the-card-tokenize-response-have-a-timeout-how-long-is-it/19109>\
**Category:** Questions\
**Tags:** web-payments-sdk, cards-api\
**Created:** [October 10, 2024, 2:18pm UTC](https://developer.squareup.com/forums/t/does-the-card-tokenize-response-have-a-timeout-how-long-is-it/19109 "2024-10-10T14:18:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmelo](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@dmelo](https://developer.squareup.com/forums/u/dmelo)\
**Post date:** [October 10, 2024, 2:18pm UTC](https://developer.squareup.com/forums/t/does-the-card-tokenize-response-have-a-timeout-how-long-is-it/19109/1 "2024-10-10T14:18:45Z")

</div>

I’m following this tutorial [Online Payments with Square and React](https://developer.squareup.com/blog/online-payments-with-square-and-react/). Using the Square Web Payments SDK to allow the user to fill in his card details. I get a token after that interaction. I use that token for a payment.

My question is, what is the timeout of that token? How long could I wait between getting the token from the Web Payments SDK and calling the API to create the payment?

---

<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:** [October 10, 2024, 2:18pm UTC](https://developer.squareup.com/forums/t/does-the-card-tokenize-response-have-a-timeout-how-long-is-it/19109/2 "2024-10-10T14:18:56Z")

</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:

> **[Payment API: Process Online and In-Person Payments](https://developer.squareup.com/docs/payments)**
>
> Process online, in-app, and in-person payments with Square payment APIs. Manage disputes and subscriptions and perform other payment-related tasks.

> **[In-App Payments SDK Quickstart](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start/start)**
>
> Learn how to set up an application that embeds the Square In-App Payments SDK.

> **Additional Documentation**
>
> [In-App Payments SDK: How It Works](https://developer.squareup.com/docs/in-app-payments-sdk/how-it-works)  
> [In-App Payments SDK Quickstart](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start)  
> [Gift Card Payments](https://developer.squareup.com/docs/in-app-payments-sdk/cookbook/giftcards)

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:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [October 10, 2024, 5:28pm UTC](https://developer.squareup.com/forums/t/does-the-card-tokenize-response-have-a-timeout-how-long-is-it/19109/3 "2024-10-10T17:28:02Z")

</div>

Hello! 👋 Payment tokens are valid for 24 hours, and are intended to be used immediately after generating them. If you need to process a payment at a later time than when card details are entered, I recommend exploring [delayed capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture) or the [Cards API](https://developer.squareup.com/docs/cards-api/overview).
