api - C# PayPal API 获取余额

标签 api paypal get

如何通过 .NET PayPal API 和我的 API 凭据获取我的 PayPal 余额?

我已经将 API 添加到 Visual Studio 2017。

最佳答案

我认为目前的答案是没有答案

不过,这是我确实知道的。

在讨论中 here , 有人声称有一个完整的独立 API 称为 Balance Accounts API ,但链接已损坏或 API 已弃用。

在我在此解决方案中链接的 GitHub 链接上,您将看到两个用户之间的以下对话:

@AMRITPK Correct me if I am wrong, but as I see it, this API is only for PayPal partners, for retrieving balances of your internal customers. Or am I mistaken?

yes @andrey-zav , it works only if the caller is a third party... But work around is you can give permissions to your own account to call this api .. not sure if this is right approach.

所以,我真的不确定要从中得到什么。

此外,您可以在 PayPal 技术支持论坛上关注我与 PayPal 自动机器人响应“人类”版主的战斗 here .

但据我所知,您必须是 PayPal 合作伙伴,然后使用一些复杂的方法通过 API 错误地 ping 您自己的帐户以获取您的 PayPal 帐户余额。

希望对您有所帮助。

UPDATE: Through exhaustive searching I found a C# .NET implementation of how to get the PayPal Account Balance using their NVP API here. You'll have to install the PayPal Merchant Nuget Package. In addition, you will have to set up your web config file using the information found here. I'm assuming this works on live as well. I have only tested it in sandbox mode, and it did indeed work.

关于api - C# PayPal API 获取余额,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45647238/

相关文章:

php - 谷歌搜索 API 后端

php - Paypal REST api - 如何控制显示语言?

paypal - 使用卡号验证姓名和地址

android - Android 中的 Google+ : installing app when sharing

java - 我是隐藏 WeakReferences 的含义还是强制客户端使用它们

javascript - Vimeo froogaloop seekto 和 play

带信用卡的 PayPal IPN/PDT

rest - 在参数中添加数组时 HTTP GET 失败,但使用 postman 会成功

javascript - 使用来自客户端的信息进行 Node Js/Express api 调用

http - 如何解决在 302 重定向时将 POST 更改为 GET?