class MangoPay::PayOut

Public Class Methods

refunds(pay_out_id, filters = {}, idempotency_key = nil) click to toggle source

Fetches list of refunds belonging to the given pay_out_id.

Optional filters is a hash accepting following keys:

# File lib/mangopay/pay_out.rb, line 11
def self.refunds(pay_out_id, filters = {}, idempotency_key = nil)
  url = url(pay_out_id) + '/refunds'
  MangoPay.request(:get, url, {}, filters, idempotency_key)
end