#feni-patel_api

1 messages ¡ Page 1 of 1 (latest)

nocturne bayBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1304331223795240994

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

dusty marsh
dire parrot
#

Hello

#

What i need to do is first i need one api which create the payment intent and returns the client secret so that using that client secret mobile team will load the credit card iframe and when user fill that card details, and clicks on pay now button then payment should done into merchant connected account . which apis do i need to use ?

dusty marsh
#

First you need to read to doc and decide what kind of connect charge you want to create. e.g., direct charge or destination charge.

dire parrot
#

what is the difference between direct and destination charge?

dusty marsh
#

I'd recommend you to go through the doc first and you can find the answers there.

dire parrot
#

can i start make payment using below code and method ?
const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: currency,
customer: customerId,
automatic_payment_methods: { enabled: true }
});

dusty marsh
#

This code will most likely create a payment on your account instead of the connected account. As I said follow the doc that I shared earlier to create direct charge (for standard account) or destination charge (for express/custon account)