#JM - HiView - Invoice Statuses
1 messages · Page 1 of 1 (latest)
Hi. Can you send me the ID of the object that is unexpectedly showing a status as "paid"?
I can't DM you but this is the Invoice ID in_1KCzoVLT2mNx0Gex2FBncHw5 let me know if you need the associated payment Id
thanks, here is the associated payment ID pi_3KD0tVLT2mNx0Gex0wzAid7F
Gotcha, so looking at the payment intent object, you can see that a dispute was initiated via the diputed property, which we see is set to true
Then, you could also look at the dispute property to get the applicable dispute object
ok, but that is only included in the payment intent object not in the invoices object
That's correct
That's mostly just because the invoice is finalized and paid, but the dispute itself is what's on the payment
Don't you think that needs to be added? We shouldn't be sending different request to multiple endpoints to have the correct status
As a developer, I'll handle it as a bug or at least feature request
So you could expand the payment intent within the invoice to see the dispute info
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And make it 1 request
payment intent only displays the ID but it is not expandable
so that means we will have to send hundreds of request to check each of the invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.