code: function updatePreapprovalPayment(id, preapproval) {
      var callback = preConditions.getCallback(arguments[arguments.length - 1]);
  
      showWarning();
  
      // Add the id to the preapproval object
      preapproval.id = id;
  
      return preapprovalModule.update(preapproval, callback);
    }
docs: Update a preapproval payment using the preapprovalModule (Make sure that the id is on the payload)
  @param id
  @param preapproval
  @param callback
  @returns {*}