#jayvir_api

1 messages ¡ Page 1 of 1 (latest)

quiet anvilBOT
#

👋 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/1245418728015921152

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lean acorn
#

Hello! Which links are you asking about?

leaden orchid
#

const account = await stripe.accounts.create({
type: 'standard'
});

  const accountLink =
    account &&
    (await stripe.accountLinks.create({
      account: account.id,
      refresh_url: 'https://example.com/reauth',
      return_url: 'https://example.com/return',
      type: 'account_onboarding',
    }));

1.i want to how can i increase the expire time of links to 30 days from 4 minutes
2.how can i know my customer have provided all things & filled all data

lean acorn
#

You can't increase the amount of time those links are valid. Account Links are designed to be used more or less immediately after they're created.

leaden orchid
#
  1. any other way to create customer & provide them link
    so they fill data with less expiry
lean acorn
#

You should give out links that point to your website, then when those links are visited your server should create an Account Link and redirect them to it.

leaden orchid
#

i didnt understand that
please explain me in detail

lean acorn
#

How are you sending these links to people now? Email? Something else?

#

I'll use email as an example. When you send out your email, you don't create an Account Link at that point. Instead, you include a link that points back to your website, like https://example.com/account-link?code=<some_code>

Then, when someone visits that link, you use the code to identify them, create an Account Link for them, and redirect them to the Account Link's URL.

quiet anvilBOT
leaden orchid
#

i send on email Then that link stripe link will be expired after 5 minutes