#thebobdresseur
1 messages · Page 1 of 1 (latest)
I think the way to do it:
- Lookup the
pm_xxxexpanding thesepa_debit[generated_from][setup_attempt]field - That should include a
setup_intentfield you can also expand - Which will include
mandatafield: 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.
I see ! But this means that there is 1 <-> 1 relationship between a mandate and a payment method via its setup intent ? In other words, one cannot just add its iban and then sign multiple mandates on membership subscription for instance ?
Well you can re-use the SEPA pm_xxx with the single mandate for multiple subscriptions/payments
There's no need to generate a new Payment Method object if it's the same underlying SEPA
I see but in our use case one client may have multiple subscriptions from different connected accounts so different companies
Ah, then you will need to re-collect mandates and create PMs on each connected account yes
Normally you can 'clone' PMs across accounts but it's not supported for SEPA: https://stripe.com/docs/payments/payment-methods/connect
Alright thanks for the help @timber ledge !
No problem, glad I could help!