internal static UpdateChargePaymentMethodRequest BuildUpdateChargePaymentMethodRequest()
        {
            var request = new UpdateChargePaymentMethodRequest()
            {
                PaymentMethod = "boleto"
            };

            return(request);
        }
Пример #2
0
        public BaseResponse <GetChargeResponse, MundipaggErrorsResponse> UpdateChargePaymentMethod(string chargeId, UpdateChargePaymentMethodRequest request)
        {
            var method   = new HttpMethod("PATCH");
            var endpoint = $"/charges/{chargeId}/payment-method";

            return(this.SendRequest <GetChargeResponse>(method, endpoint, request));
        }