#Rahul Kuthuru
1 messages · Page 1 of 1 (latest)
The List Events API is paginated. You would want auto-pagination to have the full list
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 didn't get it. can you please elaborate on it?
I am getting the customer objects. I have a couple of questions here
-
will I get the customer I want
-
If I get the customer I want. how do I get the event of that customer.
Sorry, I might be asking some lame questions. Kindly help
Oh I see, you only want to get events related to 1 specific Customer?
yes
Unfortunately it's not possible via API like the list you see on Dashboard. I would recommend relying on webhook endpoint and try to catch all of them when they are sent from Stripe
ok cool, thanks. but one question. can we get any closer? basically when I send an invoice to the customer. I want to know if he has declined it or has insufficient funds or is in the process of payment.
It is to listen to webhook and invoice.paid or invoice.payment_failed
invoice.payment_failed of the events or the webhook
invoice.payment_failed is a webhook event
Thank you for the patient reply. Have a nice day
np and good luck!
Hi, just now I discussed this with my product manager. He asked to keep a deep link to the page where the events are shown after login. Does stripe has documentation for achieving it.
What do you mean by deep link to the page? Dashboard page?
yes, a link that will navigate to the dashboard page where we are showing the events with login happening in the background
Not sure about login happening in the background. You will need to login somewhere eventually. But you can have a page to the customer like https://dashboard.stripe.com/test/customers/cus_xxxx
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Thanks Orakaro