#Arvind hariharan
1 messages · Page 1 of 1 (latest)
Hi on Stripe ACH direct Debit, needed some information on how do we store Mandate information which is accepted by user on our backend database
So you existing ACH mandates collected with another processor, and what to use them with Stripe?
No i am asking how do we collect the mandate information once user accepts it. Is there any mandate ID we get in any API response?
Depends on how you're integrating. Are you using a Payment Intent, Setup Intent? Checkout? Elements?
Payment intent
Not sure if that's directly available via a Payment Intent. Why do you need to store that?
Is it not necessary to store the mandate information for future purpose? We just need to show the form and ask the user to accept it thats it?
The mandate data is associated to the generated Payment Method, if anything you should just store that pm_xxx ID as that is what you'll use to charge the same ACH details going forward
Give you give any doc links related to this or any sample API response where we can see this mandate data associated with payment method
Well there's a Mandate object that's created: https://stripe.com/docs/api/mandates
But it's not associated with any payment objects, just a Setup Intent directly: https://stripe.com/docs/api/setup_intents/object#setup_intent_object-mandate
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok so how do we use this for ACH since it deals by creating payment Intent right?
I mean do we need to create a new mandate and store it by associating it with payment method
Well, you don't need to. That's the point I'm trying to make. The mandate stuff just shouldn't be a concern for merchants – Stripe takes care of that
No, the Payment Element takes care of creating the mandate: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#web-collect-mandate-and-submit
Okay so we just show the Mandate form HTML in the front end right. Dont need to store or handle it from our backend side.
Exactly
okay fine thanks
And one more query
For Micro deposits verification, we need to have our own form right where user will input his bank details etc in the payment page. The stripe.collectbankAccountInfo will not work in this case correct?
There's a self-hosted URL you can use, or you can build your own form and use verifyMicrodepositsForPayment
I am asking about stripe.collectBankAccountForPayment
Is this valid before Micro deposit verification as well
?
Or do we need to use our own form
To collect the bank details
Yes, you'd still use collectBankAccountForPayment to initialise the collection of bank details. If the verification doesn't happen immediately at that point, via Financial Connections, then you'd use the microdeposit verification flow I shared
okay
So in both Cases instant verification and micro deposits verification , after creating a payment intent we call this collectBankAccountForPayment
Yes, as explained by the guide