Method: ActiveMerchant::Billing::CheckoutV2Gateway#refund
- Defined in:
- lib/active_merchant/billing/gateways/checkout_v2.rb
#refund(amount, authorization, options = {}) ⇒ Object
73 74 75 76 77 78 79 80 |
# File 'lib/active_merchant/billing/gateways/checkout_v2.rb', line 73 def refund(amount, , = {}) post = {} add_invoice(post, amount, ) add_customer_data(post, ) (post, ) commit(:refund, post, , ) end |