Skip to content

Instantly share code, notes, and snippets.

@t-rekttt
Created May 24, 2018 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t-rekttt/31848f40e6f08e5ebdf5a7235ba7e54f to your computer and use it in GitHub Desktop.
Save t-rekttt/31848f40e6f08e5ebdf5a7235ba7e54f to your computer and use it in GitHub Desktop.
public static Task<string> TopUp(string msisdn, string voucherCode)
{
return APIService.Post<string>(string.Format("subscriber/topup/{0}/{1}/{2}", new object[] { Settings.CurrentUser.Msisdn, voucherCode, msisdn }), null, false, false);
}
public static Task TopUpSuccessfulNotification(double amount)
{
return APIService.Get(string.Concat(new object[] { "subscriber/etopup/", Settings.CurrentUser.Msisdn, "/", amount }));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment