#_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1265333680511914094
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
That depends on the PaymentMethod I beleive. Some allow you to make new mandates OBO other accounts, some specifically require that the user specifically approves the new mandate for each account that they make payments to
What Payment Method(s) are you using here?
payment methods created by setup intents, could be credit cards, google pay, apple pay
Cards and Apple/Google Pay don't typically require mandates as far as I am aware. Do you have the ID of a specific payment where you got a mandate error from a card?
it will take me a few minutes but I think I can provide it
Sounds good. Also, in general, when a PaymentMethod specifically needs a mandate for each OBO account, you can create a new mandate by creating a SetupIntent with the existing saved PaymentMethod and then confirm it. Trying to find more info about what PMs require you to recollect a new mandate each time and which let you use the existing mandate to create new ones.
im having some trouble generating a PM right now, sorry for the delay
what is OBO account?
also, creating a mandate doesn't necessarily requires the user's input?
By "OBO account" I meant a connected account that you are specifying in the on_behalf_of field for these payments
also, creating a mandate doesn't necessarily requires the user's input?
Initially creating a mandate always requires user input. For some specific payment methods, you can use a mandate on your connected account to createon_behalf_ofmandates for your connected accounts without further user input.
what if its a new account?
That would still be a connected account and would have the same requirements as other connected accounts
I just want it to be clear, but even if its a new merchant account that wasn't the same one I created the setup intent with?
That is specifically the situation where you would need to create a new mandate (for some payment methods)
Also to be clear, when I am talking about mandates, I am talking about the Mandate objects that Stripe creates. Many payment methods have some kind of mandate, but only some have strict enough requirements that require an object to track them and where you need to create a new one for each merchant of record.
https://docs.stripe.com/api/mandates/object
Okay so it looks like those mandates are required for ACH, BECS, Bacs, PADs, and SEPA
Trying to find which ones out of those you need an on_behalf_of mandate for, and out of those which you need to actually reach out to the user each time
Sounds good. And are you planning to use any of the Payment Methods out of the ones that I listed there?
Trying to do a simple credit card payment
But I think something is broken and I cant get to the point of actually initiating a payment
Unrelated to payment
Are you working with recurring payments in india? https://docs.stripe.com/india-recurring-payments
I can double check how those work with OBO if so
And happy to help, what issue are you running in to before actually initiating the payment?
No, my customers are from North America
Gotcha, then there shouldn't be a special mandate angle to any of your card payments. You should be able to save cards to your platform and charge them on behalf of whatever connected account you specify
The use case is this: I charge tenants and then make payouts to vendors that provide me their merchant account
Yep, this should work for that use case.
Currently what's happening is a vendor connects a new merchant account and in time due a customer gets charged, a payment intent is created and in the obo field I insert the new account id, it fails immediately when I do that, not even a webhook is sent. What should I do differently?
What failure are you getting? That could error out for a few different reasons
If you can't find a payment now, I can try looking through your request logs if you send me your account ID (acct_1234)
Can I contact you tomorrow with the information? Right now I dont think im able to provide you with data
For followups, we reccommend asking in the main channel again. That way someone else can help immediately if I am not around
How can I correlate the new question with this one?
We have a bot that links to the old thread in case anyone needs to go back for context
But definitely still include the basics of what you are trying to look in to so my colleagues can help without having to ask too much. Like if you say you are trying to do destination + OBO payments but are running in to X error, that should be plenty to start looking in to that.