#feni-patel_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- feni-patel_api, 3 hours ago, 11 messages
- feni-patel_webhooks, 1 day ago, 21 messages
- feni-patel_webhooks, 1 day ago, 7 messages
- feni-patel_webhooks, 1 day ago, 17 messages
- feni-patel_api, 2 days ago, 6 messages
Sure, what are the questions?
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 ?
If you need to split funds between multiple (more than 2) parties then you'll need to look at separate charges and transfers flow: https://docs.stripe.com/connect/separate-charges-and-transfers
can you suggest which apis and how can i implement in nodejs and mongoose ?
The guide has examples for the relevant Stripe API calls with our Node SDK
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?
Yep, that is all possible using the guide I linked above if you take a look through
There's no fee to transfer balance to other Stripe accounts โ just a fee on the initial payment
but when user make payment i need to transfer whole amount into my 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 ?
how much percentage ?
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
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
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
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 ?
Did you read the doc I linked you? That should answer 90% of that
can you share that doc link again ?
โ๏ธ
according to this document i understaood that first amount will be received into platform's account then i need to split
Yes, the payment will process on the platform and settle the full amount (minus processing fees). Then you can transfer as you need. Otherwise maybe look at a destination charge: https://docs.stripe.com/connect/destination-charges
can you provide prons and cons for both type of method ? bcz i need to split payments more than two parties
@silver ice Hi
there's detailed docs on https://docs.stripe.com/connect/charges#types that explain the differences and pros/cons
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 ?
sounds right yes
which alternative way should i use to send total amount first into connected account and then split between multiple connected account ?
there is no alternative way
Okay so i have to use Create separate charges and transfers this method only ?
yes
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 ?
sounds good, I don't really understand what your specific question is.
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 ?
I would start with https://docs.stripe.com/payments/accept-a-payment
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 ?
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?
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
()
;