#JM - HiView - Invoice Statuses

1 messages · Page 1 of 1 (latest)

zinc flame
#

Hi. Can you send me the ID of the object that is unexpectedly showing a status as "paid"?

noble wraith
#

I can't DM you but this is the Invoice ID in_1KCzoVLT2mNx0Gex2FBncHw5 let me know if you need the associated payment Id

zinc flame
#

Cool thank you

#

Yeah invoice ids and payment ids are safe to share publicly

noble wraith
#

thanks, here is the associated payment ID pi_3KD0tVLT2mNx0Gex0wzAid7F

zinc flame
#

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

noble wraith
#

ok, but that is only included in the payment intent object not in the invoices object

zinc flame
#

That's correct

#

That's mostly just because the invoice is finalized and paid, but the dispute itself is what's on the payment

noble wraith
#

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

zinc flame
#

So you could expand the payment intent within the invoice to see the dispute info

#

And make it 1 request

noble wraith
#

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

zinc flame