Method: ActiveMerchant::Billing::PinGateway#capture
- Defined in:
- lib/active_merchant/billing/gateways/pin.rb
#capture(money, token, options = {}) ⇒ Object
Captures a previously authorized charge. Capturing only part of the original authorization is currently not supported.
78 79 80 |
# File 'lib/active_merchant/billing/gateways/pin.rb', line 78 def capture(money, token, = {}) commit(:put, "charges/#{CGI.escape(token)}/capture", { amount: amount(money) }, ) end |