#feni-patel_api

1 messages ยท Page 1 of 1 (latest)

kind horizonBOT
#

๐Ÿ‘‹ 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/1304420427266920530

๐Ÿ“ 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.

worldly marten
#

Sure, what are the questions?

graceful thunder
#

Into my system merchants are hotels. I have sent connected account link to the hotels. hotels/merchants onboarded them self first. after onboarding connected account. when user make booking request for any hotel, and make payment then first whole transacation amount will send into merchant ' coonected account like 85% of total amount will be received into merchant's connected account, other 10 % will send to the my platform's account and remaining amount will send to some other third party which may be connected with merchant? so how can i implement this ?

worldly marten
graceful thunder
#

can you suggest which apis and how can i implement in nodejs and mongoose ?

worldly marten
#

The guide has examples for the relevant Stripe API calls with our Node SDK

graceful thunder
#

let's consider one user make payment of $100. then first whole transaction will be added into my platform's bussiness account, then let's consider i need to send 80% of $100 into merchant's connected account, and other 5% into second connected account and remaining amount will remains into my main account ?

#

and what will be the transaction fees of stripe for each transaction?

worldly marten
worldly marten
graceful thunder
worldly marten
# graceful thunder but when user make payment i need to transfer whole amount into my merchant's co...

You just described the opposite here:

hen first whole transaction will be added into my platform's bussiness account, then let's consider i need to send 80% of $100 into merchant's connected account, and other 5% into second connected account and remaining amount will remains into my main account ?
In the SC&T flow 100% of the payment will land in the platform balance initially, thehn you can distribute %/amounts to specific accounts as you need via the Transfers API

worldly marten
graceful thunder
#

but when user make payment i need to transfer whole amount into merchant's connected account and then transfer the amount into platform's account and other connected account. will this possible or this is not possible ? this is my flow

worldly marten
#

Yep should be

#

I suggest you read the doc I've shared to understand how to process payments this way and how the flow of funds works. Then set up and integration to mimic the flow you want and then we can answer any specific Qs or issues that arise

graceful thunder
#

user make payment of $100 then first this transaction will be received into merchant's account let's consider i need to make sure connected account will receive 80% of transaction amount, then i need to disputes 10% into platform account and other remaining amount will send to other connected account from first connected account. if this is possible then how can i acheive this flow ?

worldly marten
#

Did you read the doc I linked you? That should answer 90% of that

graceful thunder
#

can you share that doc link again ?

graceful thunder
#

according to this document i understaood that first amount will be received into platform's account then i need to split

worldly marten
graceful thunder
#

can you provide prons and cons for both type of method ? bcz i need to split payments more than two parties

kind horizonBOT
graceful thunder
#

@silver ice Hi

silver ice
graceful thunder
#

got your point. but if full transaction goes to platform account then split from the connected account, because i have multipe accounts, so i need to use Create separate charges and transfers this method only ? do we have any alternative ?

silver ice
#

sounds right yes

graceful thunder
#

which alternative way should i use to send total amount first into connected account and then split between multiple connected account ?

silver ice
#

there is no alternative way

graceful thunder
#

Okay so i have to use Create separate charges and transfers this method only ?

silver ice
#

yes

graceful thunder
#

but i need to make sure that stripe fees will deduct only from the connected account not from plat form's account. will this possible ?

#

@silver ice I have few question.

Okay I have to use Create separate charges and transfers. let me explain you the requirement. there is one restaurant detail page, into that page there is one book now button when user clicks on that book now button, one payment scren will be open into that there is one page for the add card . when user clicks on that add card one card will be loaded and user entres their details. after entering the details on clock of pay now payment will be done. so into mobile side i need to load the card so for that i need one api which returns the client secret to load the card. and then i also need flow for payment split between multiple connected account from platform account ?

silver ice
#

sounds good, I don't really understand what your specific question is.

graceful thunder
#

I need to load card ifrme into mobile side, so that user entres the card details and make the payment so which endpoints do i need to use ?

silver ice
graceful thunder
#

i am loading the card into node side. i just need to send the client secret so mobile side it will be loaded

#

@silver ice can you please suggest me what should i do ?

silver ice
#

that page documents how to create a mobile integration. What part are you struggling with at the moment, what code do you have so far?

graceful thunder
#

i am using one flutter package of stripe. so i have added below code into flutter side. i only need to add code for server side and need to bind api which return secret to load the card.

Stripe.
publishableKey

'pk_test_645376387383'
;
await Stripe.
instance
.initPaymentSheet
(
paymentSheetParameters: const SetupPaymentSheetParameters
(
setupIntentClientSecret:
'seti_1QHOaFLKTM2K3idyPBFuzHRX_secret_R9i0SPFRCiigdNZWrJzFn0qXzsNrGkn'
,
merchantDisplayName:
'Gridiron'
,
primaryButtonLabel:
'Continue'
,
)
,
)
;
await Stripe.
instance
.presentPaymentSheet
()
;