#akash.bhaskar

1 messages · Page 1 of 1 (latest)

lilac egretBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

dire cradle
#

??

faint temple
#

Hi, let me help you with this.

#

What do you mean by "seperately store the amount" exactly?

dire cradle
#

one sec

#

like for example..i am charging the total of 2 amount for my customer..the first is the price for consulation..which goes to the consultant..and the other one is a commision fee..which the stripe owner gets..so how to seperately store them or give them a tag

#

currenlt passing the breakdown of the total amount thru metadata..is there any other way?

faint temple
#

Are you using Stripe Connect?

dire cradle
#

yes

faint temple
#

Are you using Destination Charges?

dire cradle
#

no

faint temple
dire cradle
#

can i use this in payment intent?

#

const paymentIntent = await stripe.paymentIntents.create(
{
amount: 1000,
currency: 'usd',
automatic_payment_methods: {
enabled: true,
},
application_fee_amount: 123,
},
{
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
}
);

#

in this the total amount includes the application fee amount also?

faint temple
#

Yes, the application_fee_amount is subtracted from the total, the rest goes to the Connected account balance.

dire cradle
#

ohkk..thanks!

faint temple
#

Happy to help.