Actually: https://github.com/balanced/balanced-dashboard/pull/828/files#diff-5da14091727c5f80f1cfd8f650449407L20

`can_refund` was just a negation of `is_failed`.