listBankAccounts examples

Request

{  
   "merchantCode":"TestMerchant"
}
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <listBankAccounts xmlns="http://caaccount.services.adyen.com">
      <request>
        <merchantCode>TestMerchant</merchantCode>
      </request>
    </listBankAccounts>
  </soap:Body>
</soap:Envelope>

Response

{  
  "pspReference":"9914526949470174",
  "bankAccounts":[  
    {  
      "BankAccountDataSO":{  
        "bic":"TESTNL01",
        "countryCode":"NL",
        "currency":"EUR",
        "foundationAccount":"BankAccount1",
        "iban":"NL13TEST0123456789",
        "number":"123456789",
        "owner":"A. Klaassen"
      }
    }
  ]
}
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://caaccount.services.adyen.com" xmlns:ns1="http://serviceobjects.caaccount.services.adyen.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <ns0:listBankAccountsResponse>
      <ns0:response>
        <ns0:pspReference>9914140650000269</ns0:pspReference>
        <ns0:bankAccounts>
          <ns0:BankAccountDataSO>
            <ns1:bic>TESTNL01</ns1:bic>
            <ns1:countryCode>NL</ns1:countryCode>
            <ns1:currency>EUR</ns1:currency>
            <ns1:foundationAccount>BankAccount1</ns1:foundationAccount>
            <ns1:iban>NL13TEST0123456789</ns1:iban>
            <ns1:number>123456789</ns1:number>
            <ns1:owner>A. Klaassen</ns1:owner>
          </ns0:BankAccountDataSO>
        </ns0:bankAccounts>
      </ns0:response>
    </ns0:listBankAccountsResponse>
  </soap:Body>
</soap:Envelope>