#sarox85

1 messages · Page 1 of 1 (latest)

cunning vesselBOT
latent gate
#

Hey there, can you share an example request thats failing, and share any docs/guide you're following specifically?

stoic bridge
#

here

latent gate
#

Sure, but that's the general endpoint for all account types

stoic bridge
#

$stripe = new \Stripe\StripeClient('sk_test_');
$stripe->accounts->create([
'type' => 'standard',
'country' => 'IT',
'email' => 'jenny.rosen@example.com',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);

#

i see that

latent gate
#

remove the capabilities from your request

stoic bridge
#

oh ok let me try

#

work thanks!!

#

are there some limit if I use this solution instead of normal link of stripe for create Standard Connect Account?

latent gate
#

instead of normal link of stripe
Not sure what you're referring to here, or what kind of limit

stoic bridge
#

for example, can I insert IBAN?

#

using API?

latent gate
#

For standard account you should let stripe manage the payout account collection details

stoic bridge
#

ummm

#

ok thanks

#

and if i use this api
$stripe = new \Stripe\StripeClient('sk_test_');
$stripe->accountLinks->create([
'account' => 'acct_1J2FF3Hw33zpWYLd',
'refresh_url' => 'https://example.com/reauth',
'return_url' => 'https://example.com/return',
'type' => 'account_onboarding',
]);

#

can I have some information after registration?

#

maybe id account?

latent gate
#

Your conenct webhook endpoint would get events like account.updated as the account completed onboarding and fulfilled require information etc

stoic bridge
#

oh nice, can u send me link about documentations?

latent gate
#

https://stripe.com/docs/connect/standard-accounts#return_url

No state is passed through this URL. After redirecting a user to your return_url, check the state of the details_submitted parameter on their account by doing either of the following:

Listening to account.updated webhooks
Calling the Accounts API and inspecting the returned object

stoic bridge
#

thanks