#r-v-chandan_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/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.
- r-v-chandan_api, 5 hours ago, 19 messages
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
Hi there
This depends on how you have payouts set up
By default they should be automatic
so how its works when customer A pay's it will go to which account ? my own bank account ?
What do you mean
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!
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
okay got it thank you so much 🙂
No problem
hey hi i m following this now :
Caused by: com.stripe.exception.InvalidRequestException: Sorry, you don't have any external accounts in that currency (usd).; request-id: req_PZAy4xrxy05fRX
got this error but in test environment how can i add?
which type charge is this calling means direct or destination or other ?
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
in testing environment i m unble to add payout bank account how can i do can you please guide me through that
Yes you need to add a real bank account
for testing also ?
Yep
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 ?
You can't test payouts on a platform account without adding a real bank account afaik