lib/mangopay/transaction.rb in mangopay-3.0.21 vs lib/mangopay/transaction.rb in mangopay-3.0.23
- old
+ new
@@ -9,9 +9,10 @@
# - +Status+: TransactionStatus {CREATED, SUCCEEDED, FAILED}
# - +Type+: TransactionType {PAYIN, PAYOUT, TRANSFER}
# - +Nature+: TransactionNature {NORMAL, REFUND, REPUDIATION}
# - +BeforeDate+ (timestamp): filters transactions with CreationDate _before_ this date
# - +AfterDate+ (timestamp): filters transactions with CreationDate _after_ this date
+ # See https://docs.mangopay.com/api-references/sort-lists/
def fetch(wallet_id, filters={})
MangoPay.request(:get, url(wallet_id), {}, filters)
end
def url(wallet_id)