bchavez/Coinbase — pull request #10 by ryanmwilliams (2014-12-04 08:24:20+00:00)
Title: possible failure in refunding

It's possible that a refund may not succeed, for example if it was already refunded or if there aren't sufficient funds to do that refund. In that case, the response has a success = false and errors array.

In the case that the response is successful, it doesn't include a success flag so it's set manually here based on the order existing. The order doesn't need to be completed for it to exist.