Exemplo n.º 1
0
        public BaseResponse <ListCardsResponse> ListCards(ListCardsRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/customers/{request.CustomerId}/cards";
            var query    = request.ToDictionary();

            return(this.HttpClientUtil.SendRequest <ListCardsResponse>(method, endpoint, query));
        }
        public BaseResponse <PagingResponse <GetCardResponse>, MundipaggErrorsResponse> ListCards(ListCardsRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/customers/{request.CustomerId}/cards";
            var query    = request.ToDictionary();

            return(this.SendRequest <PagingResponse <GetCardResponse> >(method, endpoint, query));
        }