   # See https://docs.recurly.com/api/accounts for XML format
   #
 
-  @fetchPaymentMethodById = (paymentMethodId, callback)->
-    GET "accounts/#{paymentMethodId}/billing_info", (err, res)->
+  @fetchPaymentMethodById = (paymentMethodId, callback) ->
+    GET "accounts/#{paymentMethodId}/billing_info", (err, res) ->
       return callback err  if err?
       paymentMethod = res[0]?.billing_info
       callback err,

      </transaction>
      """

    POST 'transactions', xml, (err, res)->
      callback err, unless err then new models.Transaction res.transaction

  @deleteTransaction = (paymentMethodId, data, callback)->
    DEL "transactions/#{data.uuid}?amount_in_cents=##{data.amount}", callback

      else
        PUT "accounts/#{paymentMethodId}", xml, callback

  @deleteAccount = (paymentMethodId, callback) ->
    DEL "accounts/#{paymentMethodId}", callback

  #
