GetBankList - accountsIQ/API-Wiki GitHub Wiki

The GetBankList function retrieves the list of available bank from an entity.

Declaration

C#

public WSResult2OfArrayOfBank GetBankList(string token)

Visual Basic

Public Function GetBankList(ByVal token As String) As WSResult2OfArrayOfBank

Parameter List

Parameter Type Description
token String The session token retrieved during authentication.

Example

C#

Integration ws = new Integration();

String auth = ws.Login(entityID, partnerKey, userKey);
if( auth != null )
{
  WSResult2OfArrayOfBank routes = this.ws.GetBankList(this.auth);
  if (routes.Status == OperationStatus.Success)
  {
      foreach (Bank route in routes.Result)
      {
      }
  }
}

Visual Basic

Dim ws As New Integration_1_1

Dim auth As String = ws.Login(entityID, partnerKey, userKey)      
If (Not Me.auth Is Nothing) Then
  Dim routes As WSResult2OfArrayOfBank = Me.ws.GetBankList(Me.auth)
  If (routes.Status = OperationStatus.Success) Then
      Dim route As Bank
      For Each route In routes.Result
      Next
  End If
End If

See Also

⚠️ **GitHub.com Fallback** ⚠️