#r-v-chandan_api

1 messages · Page 1 of 1 (latest)

brittle hawkBOT
#

👋 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/1361705897738637553

📝 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.

forest rain
#

creating payment link like:

           def lineItem = SessionCreateParams.LineItem.builder()
            .setPriceData(
                SessionCreateParams.LineItem.PriceData.builder()
                    .setCurrency(currencyCode)
                    .setUnitAmount(amountInCents)
                    .setProductData(
                        SessionCreateParams.LineItem.PriceData.ProductData.builder()
                            .setName("Transaction #${transaction.id}")
                            .build()
                    )
                    .build()
            )
            .setQuantity(1L)
            .build()

        def params = SessionCreateParams.builder()
            .setMode(SessionCreateParams.Mode.PAYMENT)
            .setSuccessUrl(successUrl)
            .setCancelUrl(cancelUrl)
            .addLineItem(lineItem)
            .build()
        def session = Session.create(params)
#

so how can i create a payout to my bank account how that will work
in Dashboard how can we check

brittle hawkBOT
rigid salmon
#

Hi there

#

This depends on how you have payouts set up

#

By default they should be automatic

forest rain
#

so how its works when customer A pay's it will go to which account ? my own bank account ?

rigid salmon
#

What do you mean

forest rain
#

Thanks for your support so far!

I was able to successfully implement transfers to connected accounts using the API. However, I’m still unclear on how to create a payout to my own bank account (platform account) using the API.

I went through the documentation, but couldn’t find a clear way to initiate a payout from my platform’s Stripe balance to my own linked bank account. Could you please guide me on whether this is possible via API? And if yes, how?

Appreciate your help!

rigid salmon
#

It's on the docs page I just linked

#

It will happen automatically if you're on automatic payouts

#

However if you changed your account to be on manual payouts, then you can do it via the api

forest rain
#

okay got it thank you so much 🙂

rigid salmon
#

No problem

forest rain
forest rain
rigid salmon
#

You need to add a payout bank account

#

And that session doesn't look to be any sort of connect account type charge based on your code

forest rain
rigid salmon
#

Yes you need to add a real bank account

forest rain
#

for testing also ?

rigid salmon
#

Yep

forest rain
#

i dont have a real bank account my company as now for developing i need to check and test how can i achive this then can i have dummy account ?

rigid salmon
#

You can't test payouts on a platform account without adding a real bank account afaik