#mochihealth
1 messages · Page 1 of 1 (latest)
hello! you can listen for payment_intent.payment_failed and then retrieve the mandate to check if it's inactive
how can i retrieve the mandata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
you should be able to get it from the payment_intent.payment_failed event : https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
which field is it accs debit
i suggest you try to create a test acss debit that fails and take a look at the resulting PaymentIntent object
the field should be the same
sorry, i'm not sure i understand? You can create a test payment for either ACH Debit or for ACSS debit, the field should be the same, but i always strongly recommend you test things out to be certain