【问题标题】:Bank Payments via PayPal REST API通过 PayPal REST API 进行银行支付
【发布时间】:2016-04-03 14:19:42
【问题描述】:

我正在尝试使用 PayPal REST API 来处理使用银行帐户和路由号码的银行交易。

这是我用于测试的 api 的参考:https://api.sandbox.paypal.com/v1/payments/payment

这是我的 JSON:

{
   "intent":"sale",
   "payer":{
      "payment_method":"bank",
      "funding_instruments":[
         {
            "bank_account":{
               "account_number":"01234567890123456",
               "account_number_type":"BBAN",
               "routing_number":"012345678",
               "account_type":"Checking",
               "account_name":"Test Account",
               "auth_type":"WEB",
               "first_name":"John",
               "last_name":"Doe",
               "birth_date":"1970-01-01",
               "billing_address":{
                  "line1":"Somewhere Street",
                  "line2":"Suite 200",
                  "city":"Atlanta",
                  "country_code":"US",
                  "postal_code":"30350",
                  "state":"GA"
               }
            }
         }
      ]
   },
   "transactions":[
      {
         "amount":{
            "currency":"USD",
            "total":"100"
         }
      }
   ]
}

以下是电话的回复: "{\"name\":\"NOT_IMPLEMENTED\",\"message\":\"NOT_IMPLEMENTED\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#NOT_IMPLEMENTED\",\"debug_id\":\"53fd10d0a05c\ “}”

任何指导将不胜感激。

【问题讨论】:

    标签: api rest paypal payment bank


    【解决方案1】:

    “bank_account”似乎不是funding_instruments的有效选项。文档只列出了“credit_card”和“credit_card_token”

    https://developer.paypal.com/docs/api/#fundinginstrument-object

    【讨论】:

      猜你喜欢
      • 2014-10-26
      • 2015-01-12
      • 2013-04-25
      • 1970-01-01
      • 2014-11-01
      • 2013-05-18
      • 2017-05-13
      • 2013-06-20
      • 2018-06-12
      相关资源
      最近更新 更多