#hareshgediya
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Here , Request Id req_bOuB1WeGVxWuoJ
Let me share my payout flow, I hope it is right.
- Creating external accounts
- Then making payout request
According to this request, the external bank account belong to the Connected account acct_1N8HXw4d0QHfShJP, while you are doing the request as the platform Account acct_1M176ZGD741OMwZW. You need to create the request as the Connected Account, for that you can use the Stripe header authentication:
https://stripe.com/docs/connect/authentication#stripe-account-header
After adding Stripe header request, I'm getting following error Cannot create payouts: this account has requirements that need to be collected.. Please provide those fields to re-enable payouts. with request-id req_J8PkZHWUkvP5EB.
Did I need to verify user account after creating external account?
You need to complete the requirement of that account in order to proceed to payouts
Can you share API for that?
Hi! I'm taking over from my colleague. Please, let me know if you have any other questions.
I'm confuse on payout. I want to transfer payment direct to user's bank account from (single) merchant's stripe account. Can you please provide me docs and APIs docs that need to use for that? It will really help me to understand my current flow with your suggested flow, also if there any changes in it then I can modified it from my side.
Are you making this request on the Platform account? req_bOuB1WeGVxWuoJ
If you use destination charges, the payout flow works like this
Customer -> (payment) -> Platform -> (transfer) -> Connected account -> (payout) -> Bank account
Do you have an example payment (PaymentIntent ID) that you'd like to pay out?
No, I'm actually making wallet based flow. Seller can accept payment from buyer and then it amount store on its wallet. And after seller can withdraw its earning amount from its wallet to its bank account.
Okay, so then Customer pays directly to the Connected account, correct?
Still, the payout part is the same.
Do you have an example payment (PaymentIntent ID) that you'd like to pay out?
I'm using payouts api with destination account, and amount directly. So payment intent id not available for that case.
Okay, what's the Platform account and Connected account IDs?
This error is because you are making the call on the Platform, while the Bank Account object lives on the Connected account. You need to use the Stripe-Account header with the Connected account ID to make the call on the Connected account: https://stripe.com/docs/connect/authentication
Got it. That I solved, after that getting another error. That have request id req_J8PkZHWUkvP5EB
This means the account hasn't uploaded all required documents to pay out real money. You can find the outstanding requirements here: https://stripe.com/docs/api/accounts/object#account_object-requirements
When it's done, payouts_enabled will turn true: https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled
Thank you for your help. It will really help me to go ahed. I'll look into and add this APIs into code. Thank you once again. 👍
Glad to hear that!
Happy to help. Please, let me know if you have any other questions.