#Anshul-Connect and payments

1 messages · Page 1 of 1 (latest)

bright sable
#

Hi, happy to help

#

So first, since you're still building your integration with no legacy code, we'd recommend you'd use Payment Intents instead of Charges

#

As for the Connected Accounts, are you using Direct or Destination Charges?

sage thistle
#

const chargeObj: any = {
amount: Math.ceil(amount),
currency: 'USD',
source: data.token,
}
const chargeData = await stripe.charges.create(chargeObj);

#

I am using this code for charge

#

@bright sable

#

So without payment intent we can't make transfer to connect account @bright sable ?

bright sable
#

It depends on the model you're trying to put in place

#

But in all cases it's recommended to use the PaymentIntents which can give you access to multiple payment methods other than just cards

sage thistle
#

Actually, I want all transaction money to my stripe account and after that I want to pay some money to the users.

bright sable
#

Then you're looking at our Destination Charges model

sage thistle
bright sable
#

whenever we talk about PaymentIntents it's the final customer that will be paying

sage thistle
#

@bright sable

bright sable
#

And as we are not taking the source from where we have to deduct money then how stripe detect it?
do you mean how would you get paid?

sage thistle
bright sable
#

let me know if you need any more help