     validateParams requiredParams, data, (err)->
       return callback err  if err
 
-      url = "/payments/paypal/token"
+      url = "#{socialProxyUrl}/payments/paypal/token"
       get url, data, callback
 
 

      return callback err  if err

      data.accountId = getAccountId client
      url = "/payments/creditcard/update"

      post url, data, callback



  { get, post, deleteReq } = require "./socialapi/requests"

  socialProxyUrl = "/api/social"


  @subscribe = secure (client, data, callback)->
    requiredParams = [
