#_api

1 messages ¡ Page 1 of 1 (latest)

queen cosmosBOT
split groveBOT
#

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.

  • _api, 22 hours ago, 9 messages
  • _api, 2 days ago, 6 messages
queen cosmosBOT
#

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

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

sick dune
#
createBankAccountParams := &stripeAPI.BankAccountParams{
        Account: stripeAPI.String(stripeConnectId),
        AccountHolderName: stripeAPI.String("Dexter ScaleWay"),
        AccountHolderType: stripeAPI.String(string(stripeAPI.BankAccountAccountHolderTypeIndividual)),
        AccountNumber:     stripeAPI.String(strings.TrimSpace(accountNumber)),
        AccountType:       stripeAPI.String(string(stripeAPI.PaymentMethodUSBankAccountAccountTypeSavings)),
        Country:           stripeAPI.String(strings.ToLower(newCountryCode.Alpha2())),
        Currency:          stripeAPI.String(string(stripeAPI.Currency(strings.ToLower(currencyCode)))),
    }
    if routingNumber != "" {
        createBankAccountParams.RoutingNumber = stripeAPI.String(strings.TrimSpace(routingNumber))
    }
    createBankAccountParams.SetStripeAccount(stripeConnectId)
#

is that my parameter is not wrong?

trail minnow
#

I recommend logging the error message so that it's easier for you to debug in the future.

The error message mentions : "You cannot add cards or bank accounts for payouts and top-ups away from the dashboard." - The connected account you are trying to add the external bank account for is a Standard account. You cannnot add cards or bank accounts for payouts via the API for it.

sick dune
#

do you have any suggestion to add bank accounts?

trail minnow
#

no, there's no workaround for this if you are using Standard connected accounts. The only way is for the Standard connected account to add it via their Stripe Dashboard