#fazilhussain015
1 messages · Page 1 of 1 (latest)
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.
- fazilhussain015, 4 days ago, 21 messages
- fazilhussain015, 5 days ago, 22 messages
hi there, can you share the request id [0] where you've created the account? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
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?
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
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
if you want to prefill information, you should provide it when creating the Account : https://stripe.com/docs/api/accounts/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
yes, have you tried using https://stripe.com/docs/api/accounts/create to do so?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
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?
Yes, im developer and working with api
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?
in this snipet response i get a url to share with customer
after getting url customer fill there information
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
please paste your code again, without the secret key
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',
]);
I think you likely need to create a Person separately using : https://stripe.com/docs/api/persons/create set to the relevant relationship : https://stripe.com/docs/api/persons/create#create_person-relationship
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
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
okay thanks for your assistance