#kstefanova_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/1262374257275441225
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I cannot find the log where I retrieve the payment method on the server, so I added the setup intent creation request.
Hmm, a setup_by field you say?
yes, in the CLI when I retrive the payment method the last property is named setup_by
and it's value is the Setup Intent ID that was used to setup this payment method
In the Sources API, the information about the SEPA Direct Debit mandate came along with the Source object, but now this information is missing in the Payment Method.
This is the underlying issue,right? You want the Mandate details with the Payment Method object?
What specifically do you need from the mandate?
As recommended in the docs we need the mandate reference and mandate url to include it in out notification emails to end customers
Currently we obtain that from the Source object, but now we can't, the payment method doesn't include any mandate information
So yes, I need mandate information along with the payment method, or if the payment method has a reference to the Setup Intent, I can retrieve mandate information from the setup intent.
hi! I'm taking over this thread.
OK ๐
you can find the SetupIntent that gereated the PaymentMethod with this endpoint: https://docs.stripe.com/api/setup_intents/list
and then check the mandate property of the SetupIntent: https://docs.stripe.com/api/setup_intents/object#setup_intent_object-mandate
yeah, I know that. What I'm wondering is why on the Dashboard CLI when I retrieve the payment method there is a property named setup_by: <setup intent id>, and why when I retrieve the payment method on the server this porperty is missing in the payment method. I want to use this property to retrieve the setup intent
because I may use it later, after payment method creation
like for reminders for recurrent payments
that looks like a bug. you should only be able to access the properties listed here: https://docs.stripe.com/api/payment_methods/object
but like I said, you can easily retrieve the SetupIntent used to create a PaymentMethod with the link I shared earlier.
Ok, this is enough information for me. Thank you for your time ๐