 deleteReq = (url, data, callback)->
   [data, callback] = [callback, null] unless callback
 
-  getNextApiURL (err, apiurl)->
+  getNextApiURL data.proxyUrl, (err, apiurl)->
     return callback err if err
 
     reqOptions =

  url = "/payments/customers/#{accountId}/expire"
  post url, {}, callback

post = (url, data, callback)->
  getNextApiURL (err, apiurl)->
    return callback err if err
    reqOptions =
      url    : "#{apiurl}#{url}"

    request reqOptions, wrapCallback callback

get = (url, data, callback)->

  getNextApiURL data.proxyUrl, (err, apiurl)->
    return callback err if err
    reqOptions =
      url    : "#{apiurl}#{url}"
