#john_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1389321706107179050
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Checkout Session API does have setup mode you can use to save payment method details - https://docs.stripe.com/payments/checkout/save-and-reuse
You can also use Customer Portal to allow customers to self-serve this - https://docs.stripe.com/customer-management
@lime elk how does the Checkout Session API help here? Basically, we would like to send a link to the customers to add their bank account
the customers may not go thru this instantly
You can have a generic link on your web app; say abc.xyz/save
When I land on that route, you can call your own server to create a new Checkout Session in setup mode & redirect me to the URL Stripe API returns
is the URL parameter in the checkout session = the link ?
does the URL have expiration?
24 hours iirc
But you can create a new Checkout Session each time someone lands on your route
what is the client secret used for? Is that required along wiith the URL?
There's no need of client secret when you work with Hosted Checkout Page - https://docs.stripe.com/payments/checkout/save-and-reuse
ok