Class: StraddlePay::Resources::Payments
- Defined in:
- lib/straddle_pay/resources/payments.rb
Overview
Query unified payment records (charges and payouts).
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#list(**options) ⇒ Hash
List payments with optional filters.
Methods inherited from Base
Constructor Details
This class inherits a constructor from StraddlePay::Resources::Base
Instance Method Details
#list(**options) ⇒ Hash
List payments with optional filters.
11 12 13 14 |
# File 'lib/straddle_pay/resources/payments.rb', line 11 def list(**) headers = extract_headers() @client.get("v1/payments", params: , headers: headers) end |