#AGILE FALCON
1 messages ยท Page 1 of 1 (latest)
i think custom.
there are use-cases where debiting Express and Custom Accounts are available https://stripe.com/docs/connect/account-debits but if your Connect Account is also a "Customer" in the business meaning of the word, then you shouldn't use that and instead create a Customer for them and proceed with a normal Payment
ok Thanks
ok it solved one of my problem...
I have successfully transferred money from connect account to platform stripe account.
Now how can i transfer the same money in another connect account. (Actually i want to transfer money from one connect account to another connect account which is directly not possilbe without first sending it to platform stripe account)
There?
can you describe what are you trying to achieve here?
i want each customer to have a connect account and they can send money to each other
connected accounts can't send money to each other. Platforms can send money to connected accounts. So for a use case like that you need a complicated set up perhaps using Account Debits to take from one account and Transfer to another one; Stripe is not a peer-to-peer wallet solution by default.
Ok.. Also when i load money in stripe platform account using payment intent:
// const paymentIntent = await stripe.paymentIntents.create({
// amount: amount,
// currency: currency,
// automatic_payment_methods: {
// enabled: true,
// },
// on_behalf_of: 'acct_1NqCmYPGcLLb7t4Y',
// });
// // console.log("PAYMENT INTENT", paymentIntent.id) //Payment intent id starts with pi
// // // CONFIRMING PAYMENT INTENT
// let paymentIntentId = paymentIntent.id
// const confirmPaymentIntent = await stripe.paymentIntents.confirm(
// paymentIntentId,
// {
// payment_method: 'pm_card_visa',
// return_url: 'https://www.google.com/success', // Replace with your actual success URL
// }
// );
It is loaded but in "pending" not in "available"
Still when i create transfer and provide latest charge id which is returned in confirm payment intent response in source transaction... it gets successfull and funds are transferring in connect account.... but when i try to tranfer funds in another connect account without source_transaction param.....it gives me an error: Insufficient balance. even when balance is present in stripe platfore in "pending".
// console.log("Charge", confirmPaymentIntent.latest_charge) // starts with ch
// let chargeId = confirmPaymentIntent.latest_charge
// const transfer = await stripe.transfers.create({
// amount: 1000,
// currency: 'usd',
// source_transaction: "ch_3NqD18A3IHX9ZoeJ0k8fjNNU", //Charge ID
// destination: 'acct_1NqCmYPGcLLb7t4Y', //Connect Account ID
// });
How can i transfer funds that are available in platfrom stripe account(in pending OR in connect_reserve) to another connect account ?
let's stop there and I'll answer that part
It is loaded but in "pending" not in "available"
that's normal, you don't get the funds immediately, it takes days https://stripe.com/docs/payouts#standard-payout-timing
Still when i create transfer and provide latest charge id which is returned in confirm payment intent response in source transaction... it gets successfull and funds are transferring in connect account.... but when i try to tranfer funds in another connect account without source_transaction param.....it gives me an error: Insufficient balance. even when balance is present in stripe platfore in "pending".
that's all normal and exactly what the docs describe, and is exactly why you normally should totally usesource_transactionyes ๐
please read the following links in detail
ok. but we get latest_charge property when we confirm paymentIntent by providing {
// payment_method: 'pm_card_visa',
// return_url: 'https://www.google.com/success', // Replace with your actual success URL
// }
// );
But i don't want to add payment method.. i want to transfer funds that are already present in stripe connect account.
ok
i want to transfer funds that are already present in stripe connect account.
then you can usestripe.transfers.create, but that only works when you have that amount ofavailablebalance, which means you need to set your platform to manual payouts, and wait a few days for incoming funds from charging end-customers to be available before you can make the Transfer. Or, usesource_transaction.
ok Thnks... i will try this