Refund Info Api

refik's Avatar

refik

Feb 26, 2013 @ 03:02 PM

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

  1. Support Staff 1 Posted by Marc Guyer on Feb 26, 2013 @ 03:20 PM

    Marc Guyer's Avatar

    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. 2 Posted by refik on Feb 26, 2013 @ 04:02 PM

    refik's Avatar

    Thanks!

  3. 3 Posted by refik on Feb 26, 2013 @ 05:44 PM

    refik's Avatar

    Just to clarify for future readers:

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

  4. refik closed this discussion on Feb 26, 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