#john_api

1 messages ¡ Page 1 of 1 (latest)

sonic gyroBOT
#

👋 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.

lime elk
jovial marsh
#

@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

lime elk
#

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

jovial marsh
#

is the URL parameter in the checkout session = the link ?

jovial marsh
#

does the URL have expiration?

lime elk
#

24 hours iirc

#

But you can create a new Checkout Session each time someone lands on your route

jovial marsh
#

what is the client secret used for? Is that required along wiith the URL?

lime elk
jovial marsh
#

ok