#Debjeet
1 messages · Page 1 of 1 (latest)
Can you share the event ID (evt_xxx) that you expect to receive?
first tell me that I want to make a failed a payment of US bank account on test mode .
there is an option for insufficient balance test mode .
will that tranction will come on webhook failed section ?
No! The failed section refers to your Webhook server fails to receive the events, i.e. not responding 2xx status to Stripe
so How can I get the retrieve the events in form of apis ?
like failed successful or pending trancstion ?
Do you mean receiving in your Webhook endpoint, or you want to use an API to retrieve event details based on the event ID (evt_xxx)?
I want to retrieve the event details.
like every time new new transcation happened weather it is failed or sucessfull
I want all info.
When there's an event, it will be sent to your Webhook automatically which you can use to determine whether a payment is successful or failed.
For example, if you use Checkout Session, Stripe will send checkout.session.* events to you such as checkout.session.completed and payment_intent.succeeded. Or if you want to track the failed payments, payment_intent.failed will be sent.
It should be in succeeded section in your Webhook endpoint if you have configured to listen to those events above.
If you want to retrieve the event manually via API, it can be done with Event Retrieval API: https://stripe.com/docs/api/events/retrieve
what is the GET request link?
The get request for event retrieval can be found here: https://stripe.com/docs/api/events/retrieve
You can choose cURL for the actual request URL
the request of pending transcation how do I know that trancstion has been completed after 2-3 days ?
You will receive the a webhook notification about the result. You can refer to the details here: https://stripe.com/docs/payments/checkout/fulfill-orders#delayed-notification