 
     { JPayment } = KD.remote.api
 
-    JPayment.setBillingInfo billingInfo, (err, result)->
+    JPayment.setBillingInfo billingInfo, callback
 
 
   createBillingInfoModal:(type, billingInfo) ->

      JPaymentPlan.getUserBalance callback
    else
      JPaymentPlan.getGroupBalance callback

  updateCreditCard: (type, callback = (->)) ->

    { JPaymentPlan } = KD.remote.api

    @updateCreditCardModal {}, (newData) =>
      @modal.buttons.Save.hideLoader()
      if type in ['group', 'expensed']
        getGroup().setBillingInfo newData, callback
      else
        JPaymentPlan.setUserAccount newData, callback


  removePaymentMethod: (accountCode, callback) ->


  # views

  fetchBillingInfo: (type, callback) ->

    { JPaymentPlan } = KD.remote.api
