#Jasuno
1 messages · Page 1 of 1 (latest)
Looking
Oh it's because that payment method already has a mandate
Expand it on the customer page https://dashboard.stripe.com/test/customers/cus_NvKK22NLpaFWFn
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You can see there's an id already
Just pass that
Im using the api, is that mandate in the customer object?
I dont see it when i fetch listPaymentMethods
No I think you would have needed to store it when you first created it
interesting so i can't fetch the mandate from stripe
You can if you know the id: https://stripe.com/docs/api/mandates/retrieve
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 can see there's no list endpoint to filter though
I mean i cant fetch the id
Should be on the setupintent: 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.
Which is returned
Ok thanks