Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我应该使用哪个PayPal API向附属公司发送付款_Paypal_Paypal Sandbox - Fatal编程技术网

我应该使用哪个PayPal API向附属公司发送付款

我应该使用哪个PayPal API向附属公司发送付款,paypal,paypal-sandbox,Paypal,Paypal Sandbox,我在一家网站公司工作,该公司向向向我们网站发送流量的合作伙伴支付佣金。目前,我们跟踪从附属公司到我们网站的流量,然后通过贝宝发送付款的繁琐手工过程 这是我们当前流程的要点: 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 sc

我在一家网站公司工作,该公司向向向我们网站发送流量的合作伙伴支付佣金。目前,我们跟踪从附属公司到我们网站的流量,然后通过贝宝发送付款的繁琐手工过程

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

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

PayPal有两个API用于此类用例

  • 通过API
  • MassPay API用于在后端将付款(付款)发送给大量收件人(通过API发送250笔或通过API发送多达3000笔)

    Adaptive Payments API不仅可用于在后端发送付款,还允许您在原始交易期间通过链接付款向您的关联公司付款。它还为您提供了一种方法,将代销商付款延迟至90天,以处理产品退货等事宜。您可以找到有关延迟的连锁付款如何工作的信息

    您可以找到AdaptivePaymentsAPI的php代码示例