#stephy

1 messages · Page 1 of 1 (latest)

sick moatBOT
unkempt juniper
#

Can you share more details ?

vital void
#

[19/05, 4:01 pm] Stephy: // Create a Stripe account
$account = Account::create([
'type' => 'express',
'country' => 'US',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
'business_type' => 'individual',
'business_profile' => ['url' => 'https://phplaravel-813399-3371113.cloudwaysapps.com/'],
]);
$accountLink = AccountLink::create([
'account' => $account->id,
'refresh_url' => 'https://phplaravel-813399-3371113.cloudwaysapps.com/refresh',
'return_url' => 'https://phplaravel-813399-3371113.cloudwaysapps.com/return',
'type' => 'account_onboarding',
]);
[19/05, 4:04 pm] Stephy: This way I create a account ..my doubt is the account creation is initiated by vendors then they wanted to enter their account info so how would I give these to my given api
?

unkempt juniper
#

They can fill their details when accessing the AccountLink.

vital void
#

Now am in test mode so if that option is disable to me????

unkempt juniper
#

Can you share what you want to achieve exactly/test ?

vital void
#

Ok my requirement is in my site there is owner who handles the site and under lots of vendors so here owner wants to develop ach payment integration to tranfer the amount for vendors ....

#

Now I develop an account api to create account for the vendors section then they get a link . through the link they enter their info...my doubt is where i entered the account number and routing number ???

unkempt juniper
#

my doubt is where i entered the account number and routing number ???
You don't enter that for them. When they access to the AccountLink they fill their info and their account details.

vital void
#

Ok I got it but I need to see that data I mean the account number and routing number then what I do? It's for to set primary account ..if the vendors add multiple accounts and they wanted to set any account as their primary then what will do? In my idea to Store account I'd along with account number and routing number is this possible?

low path
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

#

Could you summarise the latest question please?

vital void
#

If I can get my bank account number and routing number after account link api

low path
#

You mean, after going through the onboarding process?

vital void
#

Yes when we create an account then we got and accountlink after going through that link and fill up all information then after that shall I can get the details of my bank information like account number and routing number??

low path
#

Why do you need it? It will be used by Stripe for Payouts.

vital void
#

Because if the vendors have multiple accounts they wanted to set any of these account as primary ...to do this one we need to store the account id and account number to identify which account is primary and owner send the money to that primary account

low path
vital void
#

Am a backend developer so I want to get all these information as api response

#

So that why am asking is it possible?

#

If possible then how it is?

low path
#

You can't get the full account number unfortunately.

#

Please, let me know if you have any other questions.