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));
        }
Beispiel #2
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));
        }