Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants