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?
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:
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! 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.