#ShipX
1 messages · Page 1 of 1 (latest)
HI
what is your ask ?
so i want to send available balance to specific stripe bank connect
for that i am using payout api
but it throwing an error like no such bank acount
const payout = await stripe.payouts.create({
amount: amount * 100,
currency: "cad",
destination: account.external_accounts?.data[0].id,
source_type: "bank_account",
});
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_sSkyd7dZPqKrY9
The external account you are using belongs to this account acct_1N5kH8DHiRwFLagc while you are doing a request as this account acct_1MsVdYDqiInJXIaH
Try using Stripe Connect Header Auth in order to make a request on behalf of the connected Account:
https://stripe.com/docs/connect/authentication#stripe-account-header
so this will transfer money from stripe balance to stripe connected account
right?
This will transfer the funds from the Connected Account balance to the Connected Account external bank account.
If you want to transfer funds from your platform account balance to the connected account balance try doing a transfer first.
money is adding into the future payment
money is still not in the bank account
I don't understand what you want to achieve from the code you shared, why you are creating a Charge then a transfer then a PaymentIntent ?
You want to implement destination charge? refer to this guide for that:
https://stripe.com/docs/connect/destination-charges
no i do not implement destination charge
i want to make payment from user A 's card and want to send that money to user B to bank account
if stripe balance is available
i want to make from user A 's card and want to send that money to user B to bank account
Well, this is a destination charge. User B is a connected Account to your platform account.
after the payout is successful, yeah.
What part you didn't understand, why not asking here ?
i am using payout api to transfer available funds from stripe account to stripe connected accounted
If you keep opening new threads while you have already ongoing threads, you'll subject for being banned from this channel.
Yes and what part you didn't understand from my answers above ?
so why is it throwing error like no such external account
because i having this external account id ba_1N5kc4DHiRwFLagc396DbLGO
but it throws an error like that
I already answered you on this.
what part of this answer you don't understand ?
can you share something regarding this account acct_1MsVdYDqiInJXIaH?
i am not able to find this account
👋 taking over for my colleague. Let me catch up.
yes
i am using payout api to transfer available funds from stripe account to stripe connected accounted
but i am getting an error like no such external account
so i am not understanding that why that error showing
i just want to send available funds to stripe connected bank account instantly
you need to use transfers and not payouts
yeah ok but if i send the money it goes to the future payout even though i have more than enough funds in stripe balance
it is not being added into the stripe connect bank account
would you mind sharing the request ID where you're doing the transfer?
req_Oz2tNISSaEAD7r
as you can see in this screenshot, money is future payout but i want to add money to the transit
how can i do that
do you have the request ID for the payout?
no
did you create a payout for the connected account?
yes
what's the payout ID?
pi_3N5oRYDHiRwFLagc0oCczCtd
i will check and get back to you later
ok sure thing
Hi! I'm taking over my colleague. Please, let me know if you have any other questions.
i think problem is solved you can close this thrad