getBankList

Retrieve the list of banks that the merchant can accept direct payments from.

Description

This method pulls the list of banks that the merchant can accept direct payments from. It is only available to merchants setup to process Secure Vault Payments.

Syntax

Bank getBankList ( ueSecurityToken Token )

Arguments

Type Name Description
ueSecurityToken Token Merchant security token: used to identify merchant and validate transaction.

Return Value

Value Description
Bank Returns array of Bank objects that merchant can accept payments from.

Examples

.NET VB

    Dim bank() As usaepay.Bank
            bank = client.getBankList(token)
            MsgBox(bank.Length)

.NET C

    try
                {
                    usaepay.Bank[] bank = client.getBankList(token);
                    MessageBox.Show(string.Concat(bank.Length));

                }
                catch (Exception err)
                {
                    MessageBox.Show(err.Message);
                }