2011-01-27 94 views
3

我为一家网站公司工作,该公司向向我们网站发送流量的合作伙伴支付佣金。目前,我们会跟踪关联公司提及的我们网站的流量,然后通过PayPal发送付款的繁琐手动过程。我应该使用哪种PayPal API向附属公司发送付款

这是我们当前进程的要点:

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。谢谢!

回答

8

PayPal有2种API用于这种用例。

  1. MassPay
  2. Business Payments通过Adaptive Payments的API

MassPay API是用于(通过API或高达3000通过file upload 250)

在后端发送付款(支付),以大量的收件人

Adaptive Payments API可用于不仅在后端发送付款,还允许您在原始交易本身通过cha支付您的分支机构付款。它还为您提供了延迟联盟支付的方法,直到9 0天才能处理产品退货等事宜。您可以找到有关延期支付支付如何工作的信息here

您可以找到适用于Adaptive Payments API here on x.com的php代码示例。

相关问题