Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet Balance #51

Open
Dolefly opened this issue Apr 1, 2021 · 0 comments
Open

Wallet Balance #51

Dolefly opened this issue Apr 1, 2021 · 0 comments
Assignees

Comments

@Dolefly
Copy link

Dolefly commented Apr 1, 2021

When fetching wallet balance for a user account, as indicated on the ReadMe doesn't work anymore;

**string fetchBalanceResponse = _atGWInstance.FetchWalletBalance();
JObject fetchBalanceResponseJson = JObject.Parse(fetchBalanceResponse);**

Instead, parse dynamic JSON
dynamic res = gw.GetUserData(); Console.WriteLine(res.UserData.balance);
This will give for example Ksh. 600.56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants