Refund Info Api

Hi, is it possible to learn whether and invoice is refunded from api?

  1. Hi Refik -- If the the invoice is paid (has a paidTransactionId) and the sum of all amounts of "approved" transaction records in the invoice with parentId == paidTransactionId is equal to the amount of the parent transaction, then the invoice is refunded.

  2. Thanks!

  3. Just to clarify for future readers:

    parentId == paidTransactionId is equal to the negated amount of the parent transaction

  4. refik closed this discussion on 26 Feb, 2013 05:44 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions