#alexesprit
1 messages · Page 1 of 1 (latest)
The easiest way to be notified of this would be to listen for mandate.updated events https://stripe.com/docs/api/events/types#event_types-mandate.updated
Mandate objects have a status field that indicates if they are active or have been revoked https://stripe.com/docs/api/mandates/object#mandate_object-status
You can also retrieve them if you have the ID, but to do that you currently need to look up the PaymentIntent or SetupIntent that created the mandate
listening for webhooks will help to view future changes, and I'm wondering how to know details of mandates changed in past. Retrieving a mandate details via API won't help, as there's no log or audit information there.
Unfortunately not as far as I know. I think you would have to list your us_bank_account payment methods, find the SetupIntent or PaymentIntent that initially set each of them up, and then look up the mandate to check if it is valid. Unfortunately I don't think that that would show why each of them were revoked though
I am thinking more on this. Will let you know if I can think of a better way to find this.
ok roger. I will setup a webhook to log mandate changes then, I hope it will help to figure it out in future. Thank you for the information!