module Telleroo::API::Transactions

Telleroo Accounts. These are Bank Accounts

Public Instance Methods

get_transaction(id) click to toggle source

@return [Hash]

# File lib/telleroo/api/transactions.rb, line 93
def get_transaction(id)
  get("transactions/#{id}")
end
transactions(account_id: nil, start_date: nil, end_date: nil, page: 1) click to toggle source

@return [Array]

# File lib/telleroo/api/transactions.rb, line 55
def transactions(account_id: nil, start_date: nil, end_date: nil, page: 1)
  params = {
    account_id: account_id,
    start_date: start_date,
    end_date: end_date,
    page: page
  }
  get('transactions', params)
end