internal static UpdateChargePaymentMethodRequest BuildUpdateChargePaymentMethodRequest() { var request = new UpdateChargePaymentMethodRequest() { PaymentMethod = "boleto" }; return(request); }
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)); }