#sarox85
1 messages · Page 1 of 1 (latest)
Hey there, can you share an example request thats failing, and share any docs/guide you're following specifically?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
here
Sure, but that's the general endpoint for all account types
Note the standard account creation and onboarding docs do not specify use of capabilities: https://stripe.com/docs/connect/standard-accounts#how-to-use-connect-onboarding-for-standard-accounts
$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
remove the capabilities from your request
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?
instead of normal link of stripe
Not sure what you're referring to here, or what kind of limit
For standard account you should let stripe manage the payout account collection details
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?
Your conenct webhook endpoint would get events like account.updated as the account completed onboarding and fulfilled require information etc
oh nice, can u send me link about documentations?
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
thanks