Bank account list

Method bank_account_list is used for showing information about a specific bank account.

Return value

This method returns a BankAccountParamsOut struct.

Arguments

  1. api_keys (required)
  2. bank_account_id (required)

Example code

 1 require 'soap/wsdlDriver'
 2 
 3 server = SOAP::WSDLDriverFactory.new("https://testing.maventa.com/apis/bravo/wsdl").create_rpc_driver
 4 
 5 api_keys = Hash.new
 6 api_keys[:vendor_api_key] = "" # Partner software API key
 7 api_keys[:user_api_key] = "" # User API key
 8 api_keys[:company_uuid] = "" # UUID of current company
 9 
10 account = server.bank_account_show(api_keys, "58c4f3ae-c637-4447-a2ee-4d03cbd62f6e")
11 
12 if account.status == "OK" 
13   puts account.account, account.bank, account.iban, account.swift
14 end

Also available in: HTML TXT