简体   繁体   English

Paypal REST API-结算协议

[英]Paypal REST API - Billing agreement

Using Paypal Classic API Billing agreement can be created. 使用Paypal Classic API可以创建结算协议。 Agreement Id can be used for future payment using Paypal reference transaction. 协议ID可用于通过Paypal参考交易进行的未来付款。

Can this same functionality achieved using Paypal REST API? 使用Paypal REST API可以实现相同的功能吗? If yes please help me providing reference. 如果是,请帮助我提供参考。 I'm aware Billing Plan and Billing agreement can be created using Paypal REST API but without Billing Plan billing agreement can't be created. 我知道可以使用Paypal REST API创建计费计划和计费协议,但是如果没有计费计划,则无法创建计费协议。

Regards, 问候,

"Billing agreement" in RESTful APIs is specificly for Recurring Payments, and that might have misled you. RESTful API中的“计费协议”专门用于定期付款,这可能会误导您。

The terms are slightly different between Classic APIs and the RESTful APIs, and Reference Transactions is pretty equivalent to what is called "future payments" in RESTful APIs. 经典API和RESTful API之间的术语略有不同,并且参考事务与RESTful API中的“未来付款”相当。

Technical specs are listed HERE , pls be noted that as of now, future payment has to work with mobile integration on top of PayPal MSDK (to obtain user consent and auth code) 这里列出了技术规格,请注意,到目前为止,将来的付款必须与PayPal MSDK之上的移动集成配合使用(以获得用户同意和授权码)

Now this feature is available in REST APIs also. 现在,REST API中也提供了此功能。 But please note this is a vetted product from PayPal. 但是请注意,这是PayPal审核的产品。 Not every merchant will be approved to use the Pre-Approved payments . 并非所有商家都将被批准使用预批准付款。 Docs are available - But as a limited release 提供了文档-但仅限发行

Docs for PayPal Reference transaction API. Docs for PayPal参考交易API。 Also called as pre-approved payments 也称为预先批准的付款

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM