从 PayPal 交易导出获取国家/地区数据,或 API
Getting country data from PayPal transaction export, or API
PayPal 交易历史 CSV 导出中的 "country" 字段几乎总是空的。但是,PayPal 必须知道交易发起的国家/地区,事实上,像 Putler 这样的工具可以显示几乎所有交易的国家/地区。
我想自己获取这个数据,但是导出好像没有,是不是应该用API获取? API 中的哪一个适合用于此目的?
提前致谢。
是的,您可以使用 API 来做到这一点。首先,您需要 search your account's transaction history. After that you'll get a list of transaction ID's, you can then retrieve information 一个包含买家国家代码的特定 ID。
您可以在此处查看更多详细信息:https://developer.paypal.com/docs/classic/express-checkout/ht_searchRetrieveTransactionData-curl-etc/
PayPal 交易历史 CSV 导出中的 "country" 字段几乎总是空的。但是,PayPal 必须知道交易发起的国家/地区,事实上,像 Putler 这样的工具可以显示几乎所有交易的国家/地区。
我想自己获取这个数据,但是导出好像没有,是不是应该用API获取? API 中的哪一个适合用于此目的?
提前致谢。
是的,您可以使用 API 来做到这一点。首先,您需要 search your account's transaction history. After that you'll get a list of transaction ID's, you can then retrieve information 一个包含买家国家代码的特定 ID。
您可以在此处查看更多详细信息:https://developer.paypal.com/docs/classic/express-checkout/ht_searchRetrieveTransactionData-curl-etc/