Open Dolefly opened 3 years ago
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
dynamic res = gw.GetUserData(); Console.WriteLine(res.UserData.balance);
When fetching wallet balance for a user account, as indicated on the ReadMe doesn't work anymore;
Instead, parse dynamic JSON
dynamic res = gw.GetUserData(); Console.WriteLine(res.UserData.balance);
This will give for example Ksh. 600.56