#Anshul-Transfer

1 messages · Page 1 of 1 (latest)

atomic yoke
#

You can create a separate Transfer using the Transfer API

#

You have 2 choices:

  1. Transfer at the same time with collecting PI
  2. Transfer later
#

1 is Destination Charge flow, 2 is Separate Charges and Transfer flow

opal temple
#

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"

atomic yoke
#

Let's take a step back. May I know which account type? (Standard/Express/Custom)

opal temple
#

while PI goes to success and money also added to gross volumn.

opal temple
#

@atomic yoke How can I get account type? Actually stripe account is provided by another person.

atomic yoke
#

do you have the account id? acct_xxx

opal temple
#

yes

#

I have account id

atomic yoke
#

Can you paste it here? I can quickly check it

#

account id is safe to post

opal temple
#

Sorry, but I can't share account id with anyone because that was from my client.

#

account type is standard @atomic yoke

atomic yoke
#

Sure

opal temple
#

I got is by using stripe.accounts.retrieve

#

there is a type key and the value is standard

atomic yoke
#

okie so Standard Account should go with Direct Charge flow instead. You shouldn't go with Transfer

#

How did you collect the PaymentIntent?

opal temple
#

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

atomic yoke
#

Basically the PI you created already move fund to the Connected Account's balance

#

The platform takes application_fee_amount back to Platform balance

opal temple
atomic yoke
#

you will need to specify stripeAccount for that

opal temple
atomic yoke
#

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

opal temple
#

so in express/custom account we can achieve this functionality by using pi?

atomic yoke
#

by using Destination Charge / Separate Charges and Transfer flow