#minh-bear-ensofi_webhooks

1 messages ¡ Page 1 of 1 (latest)

pseudo narwhalBOT
#

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

tranquil cloak
#

The Balance Transaction's source will point back to the Charge object, which is again linked to the PaymentIntent

polar fulcrum
#

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.

tranquil cloak
#

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

polar fulcrum
#

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

tranquil cloak
#

Oh sorry. Yes you are correct, this is a Balance object

#

Hmm

polar fulcrum
#

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

tranquil cloak
#

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

polar fulcrum
#

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

tranquil cloak
#

When it is processing it should be processing status (not sure if I get your question correctly?) and isn't available yet

polar fulcrum
#

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 @@

pseudo narwhalBOT
tranquil cloak
#

Yes payment_intent.succeeded should be the one you want to listen to

polar fulcrum
#

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 ?

golden tartan
#

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?

polar fulcrum
#

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

golden tartan