Module: NeonApi::GetPaymentSlipBySubAccount

Defined in:
lib/neon_api/methods/get_payment_slip_by_sub_account.rb

Constant Summary collapse

URL =
'V1/PaymentSlip/GetPaymentSlipBySubAccount'

Class Method Summary collapse

Class Method Details

.create(payer_id, bank_account_id) ⇒ Object



4
5
6
# File 'lib/neon_api/methods/get_payment_slip_by_sub_account.rb', line 4

def self.create(payer_id, )
  NeonApi.client.send_request(payload(payer_id, ), URL)
end

.payload(payer_id, bank_account_id) ⇒ Object



8
9
10
11
12
13
# File 'lib/neon_api/methods/get_payment_slip_by_sub_account.rb', line 8

def self.payload(payer_id, )
  {
      "PayerId": payer_id,
      "BankAccountId": 
  }.to_json
end