GETFinancialInstitutions API

The GETFinancialInstitutions web service is used to obtain the list of banks available to the merchant. This web service call is optional and can be used to inform the user about the list of banks that they can use with POLi. This is useful as users can then determine if their bank is supported by POLi before selecting POLi as the payment method.

Alternatively, you could provide a real-time list of available banks to your customers. Simply add your merchant code to the end of this link and add it as a hyperlink on your site:<YOURMERCHANTCODE>


GETFinancialInstitutions Request

To formulate a GETFinancialInstitutions call

GETFinancialInstitutions Response

Name Description Data Type JSON Data Type Possible Values
FinancialInstitutionCode An array of Financial Institution Codes String String Members of the Financial Institution list associated with the merchant
FinancialInstitutionName An array of Financial Institution Names String String Members of the Financial Institution list associated with the merchant
Online A boolean that shows whether the FI is currently online Boolean Boolean true/false

GETFinancialInstitutions Example

This code example show you how to call GETFinancialInstitutions

 $auth = base64_encode('S61xxxxx:AuthCode1234');
 $header = array();
 $header[] = 'Authorization: Basic '.$auth;
 $ch = curl_init("");
 //See the cURL documentation for more information:
 //We recommend using this bundle:
 curl_setopt( $ch, CURLOPT_CAINFO, "ca-bundle.crt");
 curl_setopt( $ch, CURLOPT_HTTPHEADER, $header);
 curl_setopt( $ch, CURLOPT_HEADER, 0);
 curl_setopt( $ch, CURLOPT_POST, 0);
 curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 0);
 curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1);
 $response = curl_exec( $ch );
 curl_close ($ch);
 $json = json_decode($response, true);
var auth = 
var myRequest = 
myRequest.Method = "GET";
myRequest.Headers.Add("Authorization", "Basic "+auth);
var response = (System.Net.HttpWebResponse)myRequest.GetResponse();
var data = response.GetResponseStream();
var streamRead = new StreamReader(data);
Char[] readBuff = new Char[response.ContentLength];
int count = streamRead.Read(readBuff, 0, (int)response.ContentLength);
while (count > 0)
    var outputData = new String(readBuff, 0, count);
    count = streamRead.Read(readBuff, 0, (int)response.ContentLength);
    dynamic latest = JsonConvert.DeserializeObject(outputData);

GETFinancialInstitutions Response Example

        "Name": "ANZ",
        "Code": "ANZ",
        "Online": true
        "Name": "Bank of Melbourne",
        "Code": "BankOfMelbourne",
        "Online": true