class MangoPay::PayIn

See docs.mangopay.com/api-references/payins/

Public Class Methods

refunds(pay_in_id, filters = {}) click to toggle source

Fetches list of refunds belonging to the given pay_in_id.

Optional filters is a hash accepting following keys:

# File lib/mangopay/pay_in.rb, line 14
def self.refunds(pay_in_id, filters = {})
  url = url(pay_in_id) + '/refunds'
  MangoPay.request(:get, url, {}, filters)
end