#faruk

1 messages ยท Page 1 of 1 (latest)

fluid elmBOT
crude lintel
covert shoal
#

it says

crude lintel
#

Yep here it is ๐Ÿ™‚

covert shoal
#

but when i created standard account it's status showing restricted

crude lintel
#

Yep it might still have requirements. You would need to see what requirements are due

#

Look at the Account object's requirement

covert shoal
#

this much information it requires, so how can i add them?

crude lintel
#

Did you create it via API and haven't gone through Onboarding?

covert shoal
crude lintel
#

Yes then you need to create the Account Link and went through it to provide information

#

(in above Doc)

covert shoal
#

then it will change status restricted to active or something?

#

and after that this connect are ready to receive payments?

crude lintel
#

Yep, if you provide all the correct information

covert shoal
#

thank you orakaro

#

but this not giving me acc_XXX id in response

#

$stripe->accountLinks->create(
[
'account' => '{{CONNECTED_ACCOUNT_ID}}',
'refresh_url' => 'https://example.com/reauth',
'return_url' => 'https://example.com/return',
'type' => 'account_onboarding',
]
);

to create an account link i wil need connected account id

crude lintel
#

Yep, it's a 2 steps flow: create an Account first, then create an Account Link using the Id from the first Account

#

a head-up that depends on your business needs, an Express account might be lightweight and easier than Standard Account

covert shoal
#

but when i call create account api its not providing acc_XXX id in response so how can i create link?

#

Express account will not be good idea i guess as i want to create for india

crude lintel
fluid elmBOT
covert shoal
#

ok, there i can see account id but programmatically i didn't receive same response

fluid yoke
#

can you explain more? What did you receive in your response?

covert shoal
#

object(Stripe\StripeClient)#23 (3) {
["coreServiceFactory":"Stripe\StripeClient":private]=>
object(Stripe\Service\CoreServiceFactory)#25 (2) {
["client":"Stripe\Service\AbstractServiceFactory":private]=>
RECURSION
["services":"Stripe\Service\AbstractServiceFactory":private]=>
array(1) {
["accounts"]=>
object(Stripe\Service\AccountService)#26 (2) {
["client":protected]=>
RECURSION
["streamingClient":protected]=>
RECURSION
}
}
}
["config":"Stripe\BaseStripeClient":private]=>
array(7) {
["api_key"]=>
string(107) "sk_test_XXXX"
["client_id"]=> NULL
["stripe_account"]=> NULL
["stripe_version"]=> NULL
["api_base"]=> string(22) "https://api.stripe.com"
["connect_base"]=> string(26) "https://connect.stripe.com"
["files_base"]=> string(24) "https://files.stripe.com"
}
["defaultOpts":"Stripe\BaseStripeClient":private]=>
object(Stripe\Util\RequestOptions)#24 (3) {
["apiKey"]=>
string(0) ""
["headers"]=>
array(2) {
["Stripe-Account"]=> NULL
["Stripe-Version"]=> NULL
}
["apiBase"]=>NULL
}
}

#

this is the response i got

#

ok my bad i got the correct response

#

i have created standard connect and now i want to crate account link but it shows failed in log

fluid yoke
covert shoal
#

req_v2EZkZgOrV9nlr

#

it is showing this error message

#

so how can i add this details using api?