#minh-bear-ensofi_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1261157816383574046
đ Have more to share? Add details, code, screenshots, videos, etc. below.
The Balance Transaction's source will point back to the Charge object, which is again linked to the PaymentIntent
hmm, It not related to my question, Like I just want to know is Stripe have the event that notification the amount of payment intent is available in our stripe account.
Yes it's still the balance.available webhook event. And it can link back to the PaymentIntent by the source property of the Balance Transaction object
Here is the data of event Balance.Available, as you can see it does not have any link to payment intent
I already test to check the data response, is same the image above
https://docs.stripe.com/payments/paymentintents/lifecycle#intent-statuses
I had read this docs
As you can see is said that the funds are now in your account
So I am wondering can I used this in webhook to know what payment intent is 100% available in my stripe account
Yes it should be the payment_intent.succeeded, where you can consider the fund is available, but you will need to subtract the Stripe fee
You can find the linked Charge from the PaymentIntent, again find the Balance Transaction from the Charge, and look at the fee details
So for conclusion, the payment intent with event webhook payment_intent.succeeded is tell us that amount is available in our stripe account after 5-7 days processing right ?
If the payment intent had captured, and is in processing is will have what status, because I test in stripe dev mod so I did not know exactly the order of status in stripe payment intent
When it is processing it should be processing status (not sure if I get your question correctly?) and isn't available yet
oke, just wondering the payment_intent.succeeded can used in my case or not, can you as the developer team to confirm this question for me, because we need to make sure that is 100% right to develop our feature, I had research a lot of docs but does not see to much docs tell about this @@
Yes payment_intent.succeeded should be the one you want to listen to
Cool
I had seen you add alex_stripe to this threads, can you reviews the list question above and answer for me the question that if the payment intent had captured and is in processing, the status in dashboard is processing right ?
to clarify, if you want to know when the funds from a payment is available, you should look at the corresponding balance transaction and check the available_on timestamp. There is no specific event for when the funds for a specific PaymentIntent becomes available. Does that answer your question?
So the flow I need to develop is listen the event payment_intent.succeeded, and check the balance transaction to see what available_on timestamp right
pretty much yes. you can use expand : https://docs.stripe.com/api/expanding_objects so that you don't have to make multiple requests
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.