Method: Adyen::API#capture_payment
- Defined in:
- lib/adyen/api.rb
#capture_payment(psp_reference, amount) ⇒ PaymentService::CaptureResponse
Capture an authorised payment.
You can also configure your merchant account to automatically capture authorised payments in the merchant account settings.
Note that the response of this request will only indicate whether or not the request has been successfuly received. Check the notitification for the actual mutation status.
289 290 291 |
# File 'lib/adyen/api.rb', line 289 def capture_payment(psp_reference, amount) PaymentService.new(:psp_reference => psp_reference, :amount => amount).capture end |