class MangoPay::Refund

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

Public Class Methods

of_repudiation(repudiation_id, filters = {}) click to toggle source

Fetches list of refunds belonging to given repudiation_id

Optional filters is a hash accepting following keys:

# File lib/mangopay/refund.rb, line 14
def self.of_repudiation(repudiation_id, filters = {})
  url = "#{MangoPay.api_path}/repudiations/#{repudiation_id}/refunds"
  MangoPay.request(:get, url, {}, filters)
end