获取Paypal API上的付款历史记录 [英] Get payment history on Paypal API

查看:459
本文介绍了获取Paypal API上的付款历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到一种使用Paypal API获取Paypal帐户持有人付款记录的方法.如果我们征得了用户的同意(即我们已经使用Permissions API将他们重定向到Paypal,并且他们也同意授予我们获得向其帐户付款的详细信息的权限),下一步是什么?

I need to find a way of getting a Paypal account holders payment history using the Paypal api. If we have a user's consent (i.e. we've already used the Permissions API to redirect them to Paypal, and they've consented to give us permissions to get details of payments to their account), what's the next step?

我在这里看到了一个类似的问题,该问题涉及使用GetTransactionDetails调用,但这似乎只是获取单个事务的详细信息.另一个答案提到了Payment.List方法,但是没有给出如何使用它的示例.

I've seen a similar question here which talked about using GetTransactionDetails call, but that seems only to get details for a single transaction. Another answer mentioned the Payment.List method, but didn't give an example of how it's used.

有人能指出我正确的方向吗?

Can anyone point me in the right direction?

推荐答案

我建议使用TransactionSearch API.这将使您获得交易列表(一次最多100个).然后,您可以使用GetTransactionDetails API来获取有关单个交易的更多信息.

I would recommend using the TransactionSearch API. This will let you get a list of transactions (up to 100 at a time). You can then use the GetTransactionDetails API to get more information on individual transactions.

https://developer.paypal.com/webapps /developer/docs/classic/api/merchant/TransactionSearch_API_Operation_NVP/

这篇关于获取Paypal API上的付款历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆