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)); }
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)); }