예제 #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
                ));
 }
예제 #2
0
 public TopUpResult TopUpAccountBalance(TopUpRequest request, Credentials creds = null)
 {
     return(TopUpAccountBalanceAsync(request, creds).GetAwaiter().GetResult());
 }