#rahul_webhooks
1 messages ¡ Page 1 of 1 (latest)
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.
- rahul_webhooks, 7 hours ago, 5 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255339311629471814
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hello! If you want to track which exact transaction for which the balance became available, that's something which you have to keep track on your own.
hey! yup I figured - for every transfer into a connected account, we create an object on our system. Do we have to check all the pending balance transactions to figure out which one became available, or is there some shortcut available
Our current flow is that on transfer, we create object and save the balance transaction id (which has status of pending)
When you create the Transfer, you should expand the destination_payment.balance_transaction. In the Balance Transaction, you'll be able to see an available_on : https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-available_on
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
you'll want to save that information to your own database so you can query for it
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i'm assuming that you want to know when the transferred funds becomes available on the connected account
oh awesome! that's exactly what i was looking for!
yup - just trying to avoid the most inefficient check of every single transaction with a cron job