Zoltán Nagy
Zoltán Nagy

Reputation: 41

C# PayPal API get balance

How can I get my PayPal balance via .NET PayPal API and my API credentials?

I have already added the API to Visual Studio 2017.

Upvotes: 3

Views: 781

Answers (1)

Yusha
Yusha

Reputation: 1678

I think the answer as of now is that there isn't an answer.

Here is what I do know though.

In a discussion here, someone claims that there is a whole separate API called Balance Accounts API, but the link is broken or the API is deprecated.

On the GitHub link I linked in this solution you'll see the following dialog between two users:

@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.

So, I'm not really sure what to take out of that.

In addition, you can stay tuned to me fighting the PayPal automated bot-responsive "human" moderators on the PayPal tech support forum here.

As far as I know though, you have to be a PayPal Partner and then use some convoluted way to incorrectly ping your own account via the API to get your PayPal balance account.

I hope this helped.

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.

Upvotes: 2

Related Questions