#Rahul Kuthuru

1 messages · Page 1 of 1 (latest)

midnight palmBOT
river raptor
#

The List Events API is paginated. You would want auto-pagination to have the full list

alpine marsh
#

I didn't get it. can you please elaborate on it?

I am getting the customer objects. I have a couple of questions here

  1. will I get the customer I want

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

river raptor
#

Oh I see, you only want to get events related to 1 specific Customer?

alpine marsh
#

yes

river raptor
#

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

alpine marsh
#

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.

river raptor
#

It is to listen to webhook and invoice.paid or invoice.payment_failed

alpine marsh
#

invoice.payment_failed of the events or the webhook

river raptor
#

invoice.payment_failed is a webhook event

alpine marsh
#

Thank you for the patient reply. Have a nice day

river raptor
#

np and good luck!

alpine marsh
#

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.

river raptor
#

What do you mean by deep link to the page? Dashboard page?

alpine marsh
#

yes, a link that will navigate to the dashboard page where we are showing the events with login happening in the background

river raptor
alpine marsh
#

Thanks Orakaro