Method: ActiveMerchant::Billing::EbanxGateway#refund
- Defined in:
- lib/active_merchant/billing/gateways/ebanx.rb
#refund(money, authorization, options = {}) ⇒ Object
84 85 86 87 88 89 90 91 92 93 |
# File 'lib/active_merchant/billing/gateways/ebanx.rb', line 84 def refund(money, , = {}) post = {} add_integration_key(post) add_operation(post) (post, ) post[:amount] = amount(money) post[:description] = [:description] commit(:refund, post, ) end |