public BaseResponse <PagingResponse <GetAccessTokenResponse>, MundipaggErrorsResponse> ListAccessTokens(ListAccessTokensRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/customers/{request.CustomerId}/access-tokens";
            var query    = request.ToDictionary();

            return(this.SendRequest <PagingResponse <GetAccessTokenResponse> >(method, endpoint, query));
        }
Exemplo n.º 2
0
        public BaseResponse <ListAccessTokensResponse> ListAccessTokens(ListAccessTokensRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/customers/{request.CustomerId}/access-tokens";
            var query    = request.ToDictionary();

            return(this.HttpClientUtil.SendRequest <ListAccessTokensResponse>(method, endpoint, query));
        }