簡體   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