Refund Info Api

refik's Avatar

refik

26 Feb, 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 26 Feb, 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 26 Feb, 2013 04:02 PM

    refik's Avatar

    Thanks!

  3. 3 Posted by refik on 26 Feb, 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 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

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM