[Guide] Why “The Request has expired” error occurs while adding card t

Why “The Request has expired” error occurs while adding card to Samsung Wallet?

Samsung Wallet card tokens have a TTL of 30 seconds, which means if a generated JWT token is not added to Samsung Wallet within 30 seconds of generation, the token will expire and it will no longer be possible to add the card to Samsung Wallet.

It is recommended to generate the Wallet card token during runtime to avoid facing this error. Ideally the card data token should be generated after an user clicks the “Add to Samsung Wallet” button so that the user can add the token instantly and thus the TTL error can be avoided.