#lp
1 messages · Page 1 of 1 (latest)
Good question, we have client-side functions that input mandate_data automatically so those might be easier to use if your user is inputting their details themselves (I am also not sure if doing this server-side puts a higher compliance requirement on you) https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API
setup_future_usage isn't something you collect, it specifies how you expect to use this payment method
🤔 I see
I get what you mean on setup_future_usage,
but then I would like to understand with the given elements on the rendered form (see image), and assuming a manually input ACH account, how can I handle/get the mandate data from the client-side and send it to the server. Is that possible?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So it looks like the three relevant things you will be passing in are accepted_at , ip_address, and user_agent
Accepted at is when the user accept's their mandate, the IP and user agent are usually included as part of the HTTP protocol when any calls are made from the client to the server
So whatever server library you have should have a way to access them on your endpoint