Module: MangoPay::HTTPCalls::Refund::ClassMethods

Defined in:
lib/mangopay/http_calls.rb

Instance Method Summary collapse

Instance Method Details

#refund(id = nil, params = {}, idempotency_key = nil) ⇒ Object



75
76
77
# File 'lib/mangopay/http_calls.rb', line 75

def refund(id = nil, params = {}, idempotency_key = nil)
  MangoPay.request(:post, url(id) + '/refunds', params, {}, idempotency_key)
end