code: public Charge confirmCharge(final ConfirmChargeParams params) throws OpenpayServiceException,
              ServiceUnavailableException {
          String path = String.format(CONFIRM_FOR_MERCHANT_PATH, this.getMerchantId(), params.getChargeId());
          return this.getJsonClient().post(path, params.asMap(), Charge.class);
      }
docs: Confirms a charge that was made with the option confirm set to false.