#whoami_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/1293338774129872896
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! No, there's no setting, you still need to provide those values.
You need to pass whatever's appropriate for those users.
To be honest, this is a better question for Stripe support, we're focused on developer questions here (code, API, webhooks, etc.).
oh I see, thanks
I have a tech question on payment intent fees, should I ask here or start a new thread
after I create a payment intent, is there a field in the response indicating the fees deducted? if not, is there an api to get specific fees detail of a payment intent?
You can ask here. Fees are going to show up on the Balance Transaction, not the Payment Intent: https://docs.stripe.com/api/balance_transactions
to retrieve a balance transaction, it needs a transaction id, I only have a payment intent id, where can I get it?
The Payment Intent will have a latest_charge. The Charge will have a balance_transaction property. You can use expansion to get all of them in a single API request: https://docs.stripe.com/api/expanding_objects
I see, what happens if there are multiple charges in one payment intent? do I only get the latest charge?
It depends on the specific scenario. You may need to get one of the others, which you can do by listing Charges by Payment Intent: https://docs.stripe.com/api/charges/list#list_charges-payment_intent
Note that you can also expand while listing.
got it, thanks
after I created the connected account, is there a way to receive notification if one day Stripe disabled transfers and payouts for the account?
Yeah, you can listen for account.updated Events for that.
After I initiate payout, how long will it take for funds to be received in bank account? I wanted to set delay to be minimum, but the api throws error saying manual payout cannot set delay
Payout delays are a concept that applies to automatic Payouts, not manual ones. With manual ones you create a Payout when it's time to pay out; you're in full control of when it happens.
oh so in this case it's just depending on bank process time?
So, I'm not 100% clear on what particular part of the process you're talking about. The high-level overview is that funds that hit a Stripe account typically land in a pending balance. After a delay, they move to an available balance. Once in available those funds can be paid out or transferred to another account. If paid out, then there's a variable delay for how long it takes the external account to accept and process the funds.
you mentioned delay is not applicable to manual payouts, do they move to available immediately?
The concept of delaying automatic payouts doesn't apply to manual payouts, which is what you were asking about.
In other words, you asked about using delay in the API for Payouts, which is the part that applies to automatic Payouts. It's just one of several possible delays along the path I described above, though.
There's no way to bypass the pending balance in live mode. In test mode we have a special test card you can use to bypass it: https://docs.stripe.com/testing#available-balance
You may also be interested in reading through these docs: https://docs.stripe.com/payouts#payout-schedule
got it thank you!