#snowcloud_api

1 messages ¡ Page 1 of 1 (latest)

reef hareBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250637626973749373

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

shy shadow
#

This is the full accounts.create call we make:
We need the user to enter the EIN in the widget and have that be required same as company name and company website.
It's currently possible for the user to enter EIN but it's not required in the widget and it's hard to find area to edit it, whereas we're wondering if there's a way to make it required (we don't want to store the EIN).

const account = await stripe.accounts.create({ type: 'custom', country: 'US', business_type: 'company', capabilities: { transfers: { requested: true }, }, // business_profile: { // mcc: 5734, // Specify your MCC (Merchant Category Code) // url: 'https://www.example.com', // Your website URL // }, settings: { payouts: { schedule: { interval: 'manual', // Or automatic depending on your requirements }, }, }, tos_acceptance: { date: Math.floor(Date.now() / 1000), // Current Unix timestamp ip: req.ip, // User's IP address }, company: { // name: clientAccount.businessName, // Company name phone: clientAccount.phoneNumber, // tax_id: 'PENDING', // Company's tax ID which should be required in the widget } });