code: function refundPayment(id) {
      var callback = preConditions.getCallback(arguments[arguments.length - 1]);
  
      showWarning();
  
      return collectionsModule.put({
        id: id,
        status: 'refunded'
      }, callback);
    }
docs: Refund a payment (v0 implementation)
  @param id
  @param callback
  @returns {*}