Whenever any surety on an undertaking on appeal, executed to stay proceedings upon a money judgment, pays the judgment, either with or without action, after its affirmation by the appellate court, he is substituted to the rights of the judgment creditor and is entitled to control, enforce and satisfy such judgments in all respects as if he had recovered the same.
Idaho Code § 12-616