2014-10-30 59 views
1

錯誤看起來是這樣的Venmo API返回記錄的錯誤1396付款端點

request.post({ 
      url: 'https://api.venmo.com/v1/payments', 
      form: { 
       access_token: 'xxxxxxxxxxxxxxxxxxxxxx', 
       email: req.body.email, 
       note: 'Payment of ' + req.user.coins + ' coins', 
       amount: (req.user.coins * coin_price), 
       audience: 'public', 
       confirm: true 
      } 
     }, function(err, httpResponse, body) { 
    console.log(err, body) 
}) 

和JSON響應看起來像這樣

{"error": {"message": "Please confirm whether you would like to pay a fee on this transaction", "code": 1396}} 

我覺得這是因爲我的帳戶我有一個信用卡,需要支付3%的費用。但我對它很好。有沒有一種方法可以自動接受此問題?

的文檔是在這裏:Venmo payments

回答

2

我在布倫特裏,同一家公司Venmo工作。如果您有更多的疑問,您可以隨時reach out to the Venmo support team

該錯誤發生時,你沒有一個默認的資金來源集,唯一可用的資金來源是你的信用卡。設置任何默認資金來源(卡或其他方式)將解決這個問題。其目的是爲了防止你不小心引起​​的費用。

感謝您報告的記錄的錯誤,我們會添加它。我們還將更新錯誤信息更清晰。