繁体   English   中英

PayPal REST API和定期付款

[英]PayPal REST API and recurring payments

我正在查看新的PayPal REST API和示例。 从今天开始是否可以进行定期付款? (又名:订阅具有结算周期的定期付款和重复付款的次数。)

我在文档中找不到此信息。

谢谢,

PayPal REST API现在正式支持定期付款 (账单计划和协议)

PayPal REST API当前不提供定期付款,尽管Classic API确实提供了以下功能:

https://developer.paypal.com/webapps/developer/docs/classic/use-cases/

REST API这里有两个选项。

首先,您可以将信用卡存储在Vault中,以对该卡进行定期付款。

第二个选项尚未发布,但将涉及长期的OAuth令牌,请参见此答案

尝试使用Paypal REST API-> https://developer.paypal.com/docs/integration/direct/create-billing-plan/

设置帐户后,您将获得一个密钥和客户端ID,稍后将使用它们来调用api。

请记住在apiContext上设置grant_type,以免得到403。

https://developer.paypal.com/docs/api/#create-a-plan

Billing Plan and Agreement API也已弃用,我们可以改用Subscription API

整合指南: https//developer.paypal.com/docs/subscriptions/integrate/#

文档: https//developer.paypal.com/docs/api/subscriptions/v1/

暂无
暂无

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

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