Ejemplo n.º 1
0
 public Task <TopUpResult> TopUpAccountBalanceAsync(TopUpRequest request, Credentials creds = null)
 {
     return(ApiRequest.DoGetRequestWithQueryParametersAsync <TopUpResult>(
                ApiRequest.GetBaseUriFor(typeof(AccountClient), "/account/top-up"),
                ApiRequest.AuthType.Query,
                request,
                credentials: creds ?? Credentials
                ));
 }
Ejemplo n.º 2
0
 public TopUpResult TopUpAccountBalance(TopUpRequest request, Credentials creds = null)
 {
     return(TopUpAccountBalanceAsync(request, creds).GetAwaiter().GetResult());
 }