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

I’m following this tutorial 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?

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

Additional Documentation

In-App Payments SDK: How It Works
In-App Payments SDK Quickstart
Gift Card Payments

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.

Hello! :wave: 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 or the Cards API.