public async Task <NumberTransactionResponse> CancelANumberAsync(NumberTransactionRequest request, Credentials creds = null)
        {
            var response = await ApiRequest.DoPostRequestUrlContentFromObjectAsync <NumberTransactionResponse>(
                ApiRequest.GetBaseUri(ApiRequest.UriType.Rest, "/number/cancel"),
                request,
                creds ?? Credentials
                );

            ValidateNumbersResponse(response);
            return(response);
        }
        public NumberTransactionResponse BuyANumber(NumberTransactionRequest request, Credentials creds = null)
        {
            var response = ApiRequest.DoPostRequestUrlContentFromObject <NumberTransactionResponse>(
                ApiRequest.GetBaseUri(ApiRequest.UriType.Rest, "/number/buy"),
                request,
                creds ?? Credentials
                );

            ValidateNumbersResponse(response);
            return(response);
        }
 public NumberTransactionResponse BuyANumber(NumberTransactionRequest request, Credentials creds = null)
 {
     return(BuyANumberAsync(request, creds).GetAwaiter().GetResult());
 }