#z_api

1 messages ¡ Page 1 of 1 (latest)

simple stirrupBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

  • z_api, 47 minutes ago, 9 messages
harsh badger
#

BTW, I am using the Embedded Onboarding Component

sinful torrent
#

Thanks for the detail, looking in to this

#

Can you send me the snippet of code where you create an Account? When testing it will likely be best if I request the same capabilities and such even though the URL aspect shouldn't change based on that

harsh badger
#

Sure.

#
async createAccount(req, res) {
        try{
            const account = await stripe.accounts.create({
                type: 'standard',
                email: req.body.email,
                controller: {
                    stripe_dashboard: {
                      type: "none",
                    },
                  },
                capabilities: {
                    card_payments: {
                        requested: true,
                    },
                    transfers: {
                        requested: true,
                    },
                },
            });
            res.send(account.id)
        }
        catch(err){
            res.send(JSON.stringify({
                error: err.type,
                message: err.message}));
        }
    }```
#

Wait, a second

#

Wrong function

#

Sorry, looks like it is a mistake on our end

#

Looks like some has overwritten the prefilled information section when creating the account in regards to business_profile.product_description

sinful torrent
#

Gotcha, so it doesn't prompt for a URL now?

harsh badger
#

I am trying to implement this now