Module: Tipalti::Actions::PaymentBatch

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

Instance Method Summary collapse

Instance Method Details

#payment_batch_create(**params) ⇒ Object



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

def payment_batch_create(**params)
  connection.post("/api/v1/payment-batches", **params)
end

#payment_batch_instructions_get(id) ⇒ Object



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

def payment_batch_instructions_get(id)
  connection.get("/api/v1/payment-batches/#{id}/instructions")
end