Module: Telleroo::API::BankTransfers
- Included in:
- Telleroo::API
- Defined in:
- lib/telleroo/api/bank_transfers.rb
Overview
Telleroo Transfers. These are bank transfers from your Source Account to Recipient
Instance Method Summary collapse
- #create_adhoc_transfer(params) ⇒ Hash
- #create_transfer(account_id: nil, currency_code: nil, amount: nil, recipient_id: nil, idempotent_key: nil, options: {}) ⇒ Hash
Instance Method Details
#create_adhoc_transfer(params) ⇒ Hash
82 83 84 |
# File 'lib/telleroo/api/bank_transfers.rb', line 82 def create_adhoc_transfer(params) post('adhoc_bank_transfers', params) end |
#create_transfer(account_id: nil, currency_code: nil, amount: nil, recipient_id: nil, idempotent_key: nil, options: {}) ⇒ Hash
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/telleroo/api/bank_transfers.rb', line 45 def create_transfer(account_id: nil, currency_code: nil, amount: nil, recipient_id: nil, idempotent_key: nil, options: {}) params = { account_id: account_id, currency_code: currency_code, amount: amount, recipient_id: recipient_id, idempotent_key: idempotent_key }.merge() post('bank_transfers', params) end |