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);
    }
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 ) ; }
Confirms a charge that was made with the option confirm set to false.