#munlightshadow
1 messages · Page 1 of 1 (latest)
There are a number of different ways to get the account ID after creation. Are you trying to transfer to the account immediately after creation? If so, why?
anyway. I have my user_id in my platform and I want connect this user with stripe account id for make payment to this user
I don't understand what you're asking
ok. For example I have user in my platform. I want send money to this user. For this I shuold do this:
$transfer = \Stripe\Transfer::create....
But for this I should have CONNECTED_STRIPE_ACCOUNT_ID. I haven't
I say user: "Please go to stripe site and create account with all verification". He go to stripe, make account. And what the next. How can I get his CONNECTED_STRIPE_ACCOUNT_ID?
It shows up in the Dashboard via the Connect view. It's available in many different places in the API. This is all well-documented, so I asked the below questions in order to be as helpful as possible
Are you trying to transfer to the account immediately after creation? If so, why?
No, I just need accountt_id.
Ok. Another question:
CONNECTED_STRIPE_ACCOUNT_ID is equal account_id in stripe account?
You seem to misunderstand how Stripe operates. Stripe is, in general, a ONE-WAY payment processor - FROM "Customers who make payments via various methods" TO "Business Accounts that take payments" - either the Platform, or connected Accounts. Stripe generally does NOT make payments or transfers to "Customers", and generally does NOT transfer funds between Connected Accounts. It does not behave like a "banking system"
I want do this
(I'm a user, not support, btw) I do exactly this in my application.
BUT "connected accounts" are NOT separately created accounts - my platform creates them so I can process charges for them
our "Customers" are people who pay for the product that my Connected Accounts sell to them
when I create a new Connected Account for a seller, the API call returns the account ID
unfortunately I can't use
$stripe->accountLinks->create(
[
'account' => 'acct_1032D82eZvKYlo2C',
'refresh_url' => 'https://example.com/reauth',
'return_url' => 'https://example.com/return',
'type' => 'account_onboarding',
'collect' => 'eventually_due',
]
);
because on Ionic I can't use return_url
I don't know Ionic, but the "seller" can still follow the link to complete the onboarding, and separately return to your app
I assume you have already created the account before providing the account link (that's exactly how my react app does it)