我如何获得使用 PayPal REST API 代表 PayPal 商家进行处理的许可?

How do I obtain permission to process on behalf of a PayPal merchant using the PayPal REST API?

我希望我的网站能够代表商家处理 PayPal 付款。商家将拥有自己的 PayPal 帐户,并且需要授予我这样做的权限。

权限API已弃用

PayPal 有一个 "Permissions API" 允许第三方(例如托管购物车)代表 PayPal 商家进行处理。参见:https://developer.paypal.com/docs/archive/permissions-service/integration-guide/PermissionsUsing/

上面的页面说:

Adaptive Accounts and Adaptive Payments are no longer available for new integrations. PayPal provides documentation for these APIs to support existing integrations.

贝宝 REST API

这些事情可以使用 PayPal REST API:

每个商家都可以通过 https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications 从 REST API 应用程序的实时选项卡中获取 ClientID/Secret 凭据,并将它们输入到您平台上的配置界面中。

可以使用 PayPal "Marketplaces and Platforms" API 来实现:

https://developer.paypal.com/docs/platforms/seller-onboarding/