#juan-carlos-valverde-solera_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/1270134760072544489
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
Hello!
Okay, so the request you shared returned an error because it was malformed. These are the available parameters for saved_payment_method_options: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-saved_payment_method_options
If the Session was for a non-zero amount (not for a trial), you can retrieve the Session and expand the payment_intent in order to get the PaymentMethod ID. You can also expand multiple levels if you want to expand the PaymentMethod object as well: https://docs.stripe.com/expand#multiple-levels
Wow I never thought this discord support was so efficient I never thought receiving an answer so fast
🥹
Thank you will look at the information you gave me Thank you very much
Sure thing!