#maria_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/1269009957643223161
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, can you share more details on what you're exactly trying to achieve here? Are you trying to update the payment method on the invoice? Or, something else?
Yes, exactly. We have 1000+ invoices that we need to add 'card' to the payment_method_types
they're all already finalized though
We can get it to work through Shell in our dev environment, but we haven't been able to make a successful API call, so we're wondering if this is even possible
So our desired end state is that we see credit card as a payment method option for these already-finalized invoices
Let me see..
I just tested this and it looks like you can update the payment method typos on the finalized invoice: https://docs.stripe.com/api/invoices/update#update_invoice-payment_settings-payment_method_types and pass the 'card' payment method type.
You'd want to write a script to look to update these invoices
You mentioned 'but we haven't been able to make a successful API call', can you share more details here?
Okay that's helpful to know it should be possible. I think us not being able to make it work is a problem on our end we'll have to troubleshoot ourselves. All set on this front then, thanks!