Method: Unit::Resource::CheckPaymentResource.list

Defined in:
lib/unit/api_resources/check_payment_resource.rb

.list(params = nil) ⇒ UnitResponse, UnitError

Get a list of check payments by calling Unit’s API

Parameters:

  • params (ListCheckPaymentParams) (defaults to: nil)

Returns:



34
35
36
37
# File 'lib/unit/api_resources/check_payment_resource.rb', line 34

def list(params = nil)
  response = HttpHelper.get("#{api_url}/check-payments", params: params.to_hash, headers: headers)
  response_handler(response)
end