#stephy
1 messages · Page 1 of 1 (latest)
Can you share more details ?
[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
?
They can fill their details when accessing the AccountLink.
Now am in test mode so if that option is disable to me????
Can you share what you want to achieve exactly/test ?
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 ???
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.
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?
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Could you summarise the latest question please?
If I can get my bank account number and routing number after account link api
You mean, after going through the onboarding process?
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??
Why do you need it? It will be used by Stripe for Payouts.
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
You can see the routing number under account.external_accounts.data.routing_number: https://stripe.com/docs/api/accounts/object#account_object-external_accounts-data-routing_number