#estevanjantsk - invoice params
1 messages ยท Page 1 of 1 (latest)
thanks !
I took a look at that invoice and the payment settings are null. What are you seeing on the dashboard?
Oh. All that's saying is that card and wechat are accepted payment methods for that invoice
yes and within the API how can I get the same info?
for x invoice the card and wechat are accepted payment for the invoice?
๐ค
I think you can get it from the payment intent: https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ohh I will take a look
Am I doing this right?
stripe invoices retrieve in_1LMqKUF4GEnvtjdnffMnqvtZ --expand=payment_intent
the invoice has been finalized
Hi ๐ jumping in as my teammate needed to step away. That looks like the right syntax, is it not doing what you were hoping?
Oh, that appears to have been a $0 invoice, so no underlying Payment Intent was created because there was no payment to be processed.
Any time!
just curiosity. Do you work as a software eng for Stripe?
๐ hi there! Taking over for Toby, as he had to step away.
Do you work as a software eng for Stripe?
Yup. Toby and I are