#fazilhussain015

1 messages · Page 1 of 1 (latest)

vale wadiBOT
#

Hello! We'll be with you shortly. 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.

low robin
warped sleet
#

sure

#

acct_1O7AxqQ5PzMFXmCE
here is id

#

i want to prefill all the informations for both cases for the individaul and company also. please help me with this im unable to handle the busineess_type =company

low robin
#

What you shared is just the account id, i don't see you sending any requests via the API to create the account? Do you have an request id to share?

warped sleet
#

i have created this id by sending api request

#

"metadata" => []
"payouts_enabled" => false
"requirements" => array:8 [▼
"alternatives" => []
"current_deadline" => null
"currently_due" => array:22 [▼
0 => "company.name"
1 => "company.owners_provided"
2 => "company.phone"
3 => "external_account"
4 => "owners.email"
5 => "owners.first_name"
6 => "owners.last_name"
7 => "representative.address.city"
8 => "representative.address.line1"
9 => "representative.address.postal_code"
10 => "representative.address.state"
11 => "representative.dob.day"
12 => "representative.dob.month"
13 => "representative.dob.year"
14 => "representative.email"
15 => "representative.first_name"
16 => "representative.last_name"
17 => "representative.phone"
18 => "representative.relationship.title"
19 => "representative.ssn_last_4"
20 => "tos_acceptance.date"
21 => "tos_acceptance.ip"
]
is this information related to the screenshot which i have been shared with you

low robin
#

that link which you've provided is an Account Link. It's a hosted page for the connected account user to fill up their details

warped sleet
#

yes and i want to fill these details using api. and want to redirect user directly to bank details insted of asking their personal details i will get these details using my own application form

low robin
warped sleet
#

ah, im unable to find the solution actually what i want as i already describe you in details
im getting problem in only business_type="company"

#

can you please give me exact solution

low robin
#

I'm sorry, but I don't understand what do you mean. Are you a developer? Have you created the request to create an account via the API?

warped sleet
#

Yes, im developer and working with api

low robin
#

Then can you share the request id where you've tried creating the account?

#

and what's your code snippet where you're creating the account? Can you share that?

warped sleet
#

in this snipet response i get a url to share with customer

#

after getting url customer fill there information

low robin
#

This is a public channel, please don't share your secret key here regardless of whether it's a test or live mode key. I strongly suggest you roll your test mode key [0] immediately as the one you sent is now considered compromised: https://dashboard.stripe.com/test/apikeys

[0] https://stripe.com/docs/keys#rolling-keys

Use API keys to authenticate API requests.

#

please paste your code again, without the secret key

warped sleet
#

okay

#

$stripe = new \Stripe\StripeClient('');

    $responsee = $stripe->accounts->create([
        'country' => 'US',
        'type' => 'express',
        'capabilities' => [
            'card_payments' => ['requested' => true],
            'transfers' => ['requested' => true],
        ],
        'business_type' => 'company',
        'business_profile' => [
            'url' => 'http://godontest.com',
            "name" => "Stripe.com",
            'mcc' => '5734',
        ],

        'company' => [
            'tax_id' => '000000000',
            'address' => [
                'city' => 'Brooklyn',
                'line1' => '9 Courtland Ave',
                'postal_code' => "11229",
                'state' => 'NY',
            ],
        ],
    ]);
    $response =  $stripe->accountLinks->create([
        'account' => $responsee['id'],
        'refresh_url' => 'http://127.0.0.1:8000/reauth',
        'return_url' => 'http://127.0.0.1:8000/return',
        'type' => 'account_onboarding',
    ]);
low robin
warped sleet
#

okay if i leave prefill information and allow stripe to get all information using onboarding process
can i get all the details of all our customers using any api or with dashboard

low robin
#

It depends if those fields are considered as PII and are meant to be managed by the Express account alone. I'd suggest testing it out to make sure you can retrieve the fields that you're looking for

Typically, most users would use Express accounts so that Stripe and the connected account user themselves can manage the verification requirements. If you want to be able to get the details of all your connected account users, then Custom account is probably what you want instead

warped sleet
#

okay thanks for your assistance