我应该使用哪个 PayPal API 向关联公司发送付款
我在一家网站公司工作,该公司向向我们网站发送流量的合作伙伴支付佣金。目前,我们跟踪从附属机构引向我们网站的流量,然后通过 PayPal 进行繁琐的手动发送付款过程。
这是我们当前流程的要点:
1. Review affiliate commission report (our website back end generates this)
2. Copy/paste email & amount fields, one at a time, into the PayPal Send Payment screen (open in a different browser tab)
3. Specify additional fields in the PayPay Send Payment screen and select "continue"
考虑到我们每月支付的会员数量,这可能会非常耗时,因此如果可能的话,我们希望使用 php 脚本自动执行此操作。我不熟悉 PayPal 的任何 API - 有人可以向我推荐最适合解决此问题的 API。谢谢!
I work for a website-company that pays a commission to partners who send traffic to our website. Currently we track the traffic referred to our site from the affiliates and then go through a tedious manual process of sending payment via PayPal.
This is the gist of our current process:
1. Review affiliate commission report (our website back end generates this)
2. Copy/paste email & amount fields, one at a time, into the PayPal Send Payment screen (open in a different browser tab)
3. Specify additional fields in the PayPay Send Payment screen and select "continue"
This can get very time consuming considering the number of affiliates we pay every month, so if possible we would like to automate this with a php script. I'm unfamiliar with any of PayPal's APIs - could someone please refer me to the API best suited for solving this problem. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PayPal 有 2 个适用于此类用例的 API。
MassPay API 用于在后端向大量收件人发送付款(付款)(通过 API 发送 250 个收件人,或通过 文件上传)
自适应支付 API 不仅可用于在后端发送付款,还允许您在原始交易期间通过以下方式向您的联营公司付款:链式支付。它还为您提供了一种将联属网络营销付款延迟最多 9 0 天的方法,以处理产品退货等事宜。您可以找到有关延迟链付款如何运作的信息此处。
您可以在 x.com 上找到自适应支付 API 的 php 代码示例。
PayPal has 2 APIs for this kind of use cases.
MassPay API is for sending payments in the back end (disbursements) to large number of recipients (250 through API or upto 3000 through file upload)
Adaptive Payments API can be used to send payments not only in the back-end but also allows you to payout your affiliates during the original transaction itself through chained payments. It also provides you a way to delay the affiliate payout until up to 9 0 days to handle things like product returns, etc. You can find information about how the delayed chain payments work here.
You can find php code samples for Adaptive Payments APIs here on x.com.