#Anshul-Transfer
1 messages · Page 1 of 1 (latest)
You can create a separate Transfer using the Transfer API
You have 2 choices:
- Transfer at the same time with collecting PI
- Transfer later
1 is Destination Charge flow, 2 is Separate Charges and Transfer flow
while I am creating transfer by using stripe.transfers.create I am getting an error "You have insufficient funds in your Stripe account for this transfer"
Let's take a step back. May I know which account type? (Standard/Express/Custom)
while PI goes to success and money also added to gross volumn.
let me check it
@atomic yoke How can I get account type? Actually stripe account is provided by another person.
do you have the account id? acct_xxx
Sorry, but I can't share account id with anyone because that was from my client.
account type is standard @atomic yoke
Sure
I got is by using stripe.accounts.retrieve
there is a type key and the value is standard
okie so Standard Account should go with Direct Charge flow instead. You shouldn't go with Transfer
How did you collect the PaymentIntent?
I am creating pi with
{
amount: 100,
currency: 'USD',
// customer: customerId,
payment_method_types: ['card'],
// payment_method: '{{CARD_ID}}'
}
object and sharing client secret to client side
after that using confirmCardPayment method of stripe
for payment confirmation
payment_method: {
card: cardElement
}
I am using card element for payment confirmation
Okie, I recommend to follow this flow: https://stripe.com/docs/connect/direct-charges#flow-of-funds-with-fees
Basically the PI you created already move fund to the Connected Account's balance
The platform takes application_fee_amount back to Platform balance
Actually, I need to hold money to stripe account and after some confirmation I need to move money to connect accounts
you will need to specify stripeAccount for that
is it possible with this method?
Hmm I see
So you are holding fund
But that will makes your client business concept closer to Express/Custom.
I would advise switch from Standard to Express/Custom for that use case
so in express/custom account we can achieve this functionality by using pi?