public Charge confirmCapture ( final ConfirmCaptureParams params ) throws OpenpayServiceException , ServiceUnavailableException { String path = String . format ( CAPTURE_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 capture set to false .