#akash.bhaskar

1 messages · Page 1 of 1 (latest)

fluid fjordBOT
#

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.

fresh wharf
#

Hi, let me help you with this.

#

What do you mean by "destination bank" exactly?

rustic apex
#

when i sign up i give my bank/card details..so how do it get that id?

#

like i need to give the destination for getting the application fees

lone jewel
#

Hi! I'm taking over this thread.

#

can you clarify what you are trying to do exactly here? what's your end goal?

rustic apex
#

i am trying to transfer my applicaiton fees to my account

#

so how do i know the destination id for it?

lone jewel
#

what do you mean by "my accout"? Your Stripe account, your bank account, something else?

rustic apex
#

my stripe account

lone jewel
#

And what do you mean by "application fee"?

#

And what is "destination id"?

#

Please try to be more precise in your question

rustic apex
#

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

lone jewel
#

and what's your question?

rustic apex
#

how do i get stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',

lone jewel
#

did you already create a connected account?

rustic apex
#

yup

lone jewel
rustic apex
#

yeah but it shows only the connect if of users created connect account...but this one fee i am taking as fees..that id is not mentioned in the list..stripe owner

lone jewel
rustic apex
#

no actually i created a stripe main account..so in that case how would i get the id?

lone jewel
#

Are you using Stripe Connect? If no, then you shouldn't use stripeAccount: '{{CONNECTED_ACCOUNT_ID}}' at all.

#

what are you trying to do? accept a regular payment?

rustic apex
#

in simple words...i am the owner and i have users paying for consultation..when the payment is done..a part of the amount goes to the consultant that is connected account...and the other part i take as the application fees which needs to be transfered to my account

lone jewel
rustic apex
#

no no..i am speaking about getting the application fees

lone jewel
#

If you use the code below, it will automatically send 1,23$ to your own account and the remaining to the connected account:

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

is this not what you are trying to do?

rustic apex
#

yeah this should go the main account..that means the one who uses stripe..not the consultant

lone jewel
#

There's the main accoun (we call it a platform), that's you. And it will get the amount set in application_fee_amount.
Then there's the connected account, that's the consultant. And it will get the remaining amount.

rustic apex
#

ok but i get this error

lone jewel
rustic apex
#

req_vv0sM7AXoUJV7l

lone jewel
rustic apex
#

yeah for that i need to know my platforms id right? how can i get it

lone jewel
#

no, you need to connected account ID

rustic apex
#

i am sorry if am confusing...but i need to send the application fees to my stripe platform account

#

do i need to create a new connect account for my platform?

lone jewel
#

the application fee will be automatically sent to your platform with the code you shared. the only think missing is you need to set the Stripe-Account header to the ID of the connected account.

rustic apex
#

so u mean that my platform should also have a connected account like the other consultants?

#

but i do see one id over here

lone jewel
#

I'm completely lost, sorry

rustic apex
lone jewel
#

Let's take a step back

#

You have a Stripe account, correct? And you also have some Stripe accounts connected to your own Stripe account, correct?

rustic apex
#

yup,absolutely

lone jewel
#

And you want to create a payment, and some moneys goes to your own Stripe account, and some money goes to one of the connected account. Correct?

rustic apex
#

exactly

fluid fjordBOT
lone jewel
#

Then can you try running this code with your own Stripe account:

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

Just make sure to replace acct_xxx with the ID of the connected account (so not your own account).

#

And it will work

#

You need to use the Stripe API key of your own account, and set the connected account ID in stripeAccount.

rustic apex
#

yeah but in the connected account id list i dont see the id of my stripe platform account

lone jewel
#

why are you talking about the platform account ID? you don't need it

rustic apex
#

the application fee amount goes to my platform right?

lone jewel
#

yes, but you don't need its ID.

#

you use the Stripe API key of the platform to make the API request. And the application fee goes directly to your platform account.

#

the only ID you need to set is the ID of the connected account.

agile plover
#

👋 taking over as soma needs to step away soon

rustic apex
#

hey

agile plover
#

This seems like a long running thread, can you give me a quick summary of what you're blocked on?

rustic apex
#

yeah so for example, i am an owner..and my platform accepts payments from user for some consultation, from the total amount the user pays few amount goes to the consultants and the remaining comes to my stripe platform as application fees

#

so when i create a payment intent...i need to specify the stripeAccount..but am not able to find itr

agile plover
rustic apex
#

ok ill give a look

#

thanks alot!

#

and btw, while using custom onboarding for connnect accounts..will i get a mail?

#

like for the mail the users enters..any any verification or confirmation mail will be sent?