Module: Tipalti::Actions::Payee

Included in:
Client
Defined in:
lib/tipalti-ruby/actions/payee.rb

Instance Method Summary collapse

Instance Method Details

#payee_create(**params) ⇒ Object



6
7
8
# File 'lib/tipalti-ruby/actions/payee.rb', line 6

def payee_create(**params)
  connection.post("/api/v1/payees", **params)
end

#payee_get(id) ⇒ Object



10
11
12
# File 'lib/tipalti-ruby/actions/payee.rb', line 10

def payee_get(id)
  connection.get("/api/v1/payees/#{id}")
end

#payee_list(**params) ⇒ Object



14
15
16
# File 'lib/tipalti-ruby/actions/payee.rb', line 14

def payee_list(**params)
  connection.get("/api/v1/payees", **params)
end