#braydensterrett

1 messages · Page 1 of 1 (latest)

opaque duneBOT
feral perch
#

HI 👋

What is the Q?

foggy dawn
#

Looking for a way to specify a default value for the URL required by the person onboarding..

#

Is that supported?

feral perch
#

Nope

foggy dawn
#

Ah shoot, and this is always going to be required? There's no way we can not require it?

feral perch
#

Oh wait you mean the business URL?

foggy dawn
#

yeah, sorry

#

We'll basically have people selling things in a marketplace and we'd like to fill that box with a link from our own app. Like their seller profile. We think it will be relatively confusing for people if we don't provide them something default.

#

As well, can we fill the email box with the email we have on file for them already?

feral perch
foggy dawn
#

Okay, so something like,

Stripe::Account.create({
  type: "custom",
  email: <seller email>,
  business_type: "individual",
  individual: {
    email: <seller email>
  },
  business_profile: {
    url: <seller profile url>
  },
  ...
})
#

Should do it?

#

To fill in both the email and business url with a default value?

#

I'm already filling the email like this, but it's not showing the value that I want in the onboarding form.. it's still just blank. Am I doing that part wrong?

feral perch
foggy dawn
#

Okay, I'm passing that one too

#

Still not filling it in. Should have included it in my example. I've updated it.

feral perch
#

Hmmm when I create a new account in Test mode it just grey's out the email

feral perch
#

Okay I was able to go through the Account link onboarding without providing a business URL or email (but in Test mode). Here is the payload I used

data = {
        "type": "custom",
        "country": "US",
        "business_type": "individual",
        "email": "jbat@bufo.io",
        "requested_capabilities": ["card_payments", "transfers"],
        "business_profile": {
            "mcc": "5734",
            "url": "https://bufo.io",
        },
        "individual": {
            "first_name": "J",
            "last_name": "Bat",
            "dob": {
                "day": 1,
                "month": 1,
                "year": 1971
            },
            "address": {
                "city": "San Francisco",
                "line1": "510 Townsend St",
                "postal_code": "94103",
                "state": "CA",
                "country": "US"
            },
            "id_number": "000000000",
            "ssn_last_4": "0000",
        },
    }