getAccountOverview()
The getAccountOverview() method response contains combined response data of several other methods. The intent of this method is to give a wide range of information that would be of use in situations such as a landing dashboard after customer login.
The following categories or data sets are available in the getAccountOverview() response:
  • General account information (balance, status, application date).
  • Cardholder profile data.
  • Posted transactions.
  • Pending card authorizations.
  • Pending fees (generally because of insufficient funds).
  • Savings interest data. This is only applicable if an associated savings account exists. If no savings account exists, a unary savings_interest element will be returned.

Note

Transactions created by createPayment() and createAdjustment() will not be visible for at least several seconds.
Parameters
The parameters below can be submitted with the method. Note that some parameters are required.
Parameters Required Data type Pattern Notes Example value

transactionId

Yes String 60 characters or less. Unique transaction identifier (generated by provider). There are rare circumstances where allowed characters are more limited. Refer to individual method definitions for any variances. 9845dk-39fdk3fj3-4483483478

accountNo

Yes String PAN or PRN. Can be either a PAN (the 16 digit card number) or PRN (a unique 12 digit account identifier). 074103447228

startDate

Yes Date YYYY-MM-DD The beginning date for the date range. 2016-01-01

endDate

Yes Date YYYY-MM-DD The end date for the date range; Must be greater than or equal to the startDate. 2016-02-01
Status Codes
Codes that define the status of the transaction.
Status Code description
0 Success
2 Invalid parameter(s)
12 Invalid customer account
23 Bad date range
-1 Indicates that the application record failed to update or return.
Response
<?xml version="1.0" encoding="UTF-8"?>
<response>
   <status_code>0</status_code>
   <status>Success</status>
   <system_timestamp>2011-10-21 13:40:28</system_timestamp>
   <response_data>
     <pmt_ref_no>008103023340</pmt_ref_no>
     <status>N</status>
     <application_date>2010-03-16</application_date>
     <balance>5.59</balance>
     <currency_code>USD</currency_code>
     <profile>
       <first_name>Elmer</first_name>
       <middle_name>Fudd</middle_name>
       <last_name>Gantry</last_name>
       <address_1>1234 North 678 East</address_1>
       <address_2>#2</address_2>
       <city>Ember</city>
       <state>AZ</state>
       <postal_code>57106</postal_code>
       <country_code>840</country_code>
       <home_phone>8017212222</home_phone>
       <mobile_phone>8017245521</mobile_phone>
       <email>3asdfaw3fadf@asdfasdf.com</email>
       <dob>1990-09-08</dob>
       <ship_to_address>
         <address_1>33 Maple Drive</address_1>
         <address_2>#44</address_2>
         <city>Ember</city>
         <state>AZ</state>
         <postal_code>57106</postal_code>
         <country_code/>
       </ship_to_address>
       <express_mail>N</express_mail>
       <occupation>Project Manager</occupation>
       <income_source>Kroger Food and Drug</income_source>
     </profile>
     <transaction_count>2</transaction_count>
     <authorization_count>2</authorization_count>
     <start_date>2010-10-01 00:00:00</start_date>
     <end_date>2010-11-01 23:59:59</end_date>
     <transactions>
       <transaction>
         <pmt_ref_no>008103023340</pmt_ref_no>
         <act_id>44777871</act_id>
         <act_type>FE</act_type>
         <post_ts>2010-11-01 04:13:25</post_ts>
         <amt>-.5</amt>
         <details>IVR Fee</details>
         <description>Fee</description>
         <source_id>5227663</source_id>
         <bal_id>5757170</bal_id>
         <prod_id>207</prod_id>
         <auth_ts>2010-11-01 04:13:25</auth_ts>
         <trans_code>FE013</trans_code>
         <ach_transaction_id/>
         <external_trans_id>483494-4443-455454</external_trans_id>
         <original_auth_id/>
         <local_amt/>
         <local_curr_code/>
         <settle_amt/>
         <settle_curr_code/>
         <billing_amt/>
         <billing_curr_code/>
       </transaction>
       <transaction>
         <pmt_ref_no>008103023340</pmt_ref_no>
         <act_id>44777870</act_id>
         <act_type>FE</act_type>
         <post_ts>2010-11-01 04:13:25</post_ts>
         <amt>-.5</amt>
         <details>IVR Fee</details>
         <description>Fee</description>
         <source_id>5227662</source_id>
         <bal_id>5757170</bal_id>
         <prod_id>207</prod_id>
         <auth_ts>2010-11-01 04:13:25</auth_ts>
         <trans_code>FE0401</trans_code>
         <ach_transaction_id/>
         <external_trans_id>483494-4443-455460</external_trans_id>
         <original_auth_id/>
         <local_amt/>
         <local_curr_code/>
         <settle_amt/>
         <settle_curr_code/>
         <billing_amt/>
         <billing_curr_code/>
       </transaction>
     </transactions>
     <authorizations>
       <authorization>
         <auth_id>37464470</auth_id>
         <details>GOOGLE *Zynga Inc</details>
         <details_formatted>GOOGLE *ZYNGA INC, GOOGLE.COM/CH, CA</details_formatted>
         <mcc>7399</mcc>
         <amount>-5.4</amount>
         <timestamp>2012-09-20 07:43:51</timestamp>
         <type>L</type>
         <merchant_id>38438338338339853</merchant_id>
         <acq_id>538559</acq_id>
         <terminal_id/>
         <can_be_expired>1</can_be_expired>
         <original_auth_id>0</original_auth_id>
         <network_code>V</network_code>
         <local_amt/>
         <local_curr_code/>
         <settle_amt/>
         <settle_curr_code/>
         <billing_amt/>
         <billing_curr_code/>
       </authorization>
       <authorization>
         <auth_id>37465448</auth_id>
         <details>REDBOX *DVD RENTAL OAKBRKTERRACEILUS</details>
         <details_formatted>REDBOX *DVD RENTAL, OAKBRKTERRACE, IL</details_formatted>
         <mcc>7841</mcc>
         <amount>-6.57</amount>
         <timestamp>2012-09-23 21:01:00</timestamp>
         <type>L</type>
         <merchant_id>013928477442433</merchant_id>
         <acq_id>4294454</acq_id>
         <terminal_id>43553434</terminal_id>
         <can_be_expired>1</can_be_expired>
         <original_auth_id>374634555</original_auth_id>
         <network_code>V</network_code>
         <local_amt/>
         <local_curr_code/>
         <settle_amt/>
         <settle_curr_code/>
         <billing_amt/>
         <billing_curr_code/>
       </authorization>
     </authorizations>
     <fees>
       <fee>
         <fee_event_id>53266899</fee_event_id>
         <type>TMD</type>
         <type_description>0023</type_description>
         <amt>.5</amt>
         <fee_date>2012-09-19 14:04:03</fee_date>
         <card_id>2935310</card_id>
         <fee_description>Denied ATM Withdrawal Domestic</fee_description>
         <related_transaction>
           <details>1840 HOMEVILLE ROAD    WEST MIFFLIN PAUS</details>
           <amt>102</amt>
           <post_ts>2012-09-19 14:04:03</post_ts>
         </related_transaction>
       </fee>
     </fees>
     <savings_interest>
       <start_date>2012-01-01</start_date>
       <end_date>2012-02-01</end_date>
       <accrual_interest>15.25</accrual_interest>
       <interest_ytd>20.47</interest_ytd>
       <apy>5.99</apy>
     </savings_interest>
   </response_data>
   <processing_time>0.905</processing_time>
   <echo>
     <transaction_id>12345a</transaction_id>
     <provider_transaction_id>77bb</provider_transaction_id>
     <provider_timestamp>2013-02-06 10:10:10</provider_timestamp>
   </echo>
</response>

 

Response Description Example value
status_code The status of the response. 0
status The condition of a process or response (such as embossed card, account, freeze, and so on). Success
system_timestamp A system generated timestamp. 2011-02-02 11:11:12
response_data A structure for the response data. It can be empty but usually will contain information. <response_data>
  <new_account>
  </new_account>
</response_data>
pmt_ref_no A Galileo generated account number. 008103023340
application_date The date the account application was received. 2016-03-16
calccontent-header-txtated_balance The balance on an account after a transaction is complete. 210.25
currency_code A three-character code to represent global currencies. USD
profile A data structure that contains information on a person. USD
first_name The first name on a profile. John
last_name The last name on a profile. Smith
middle_name The middle name on a profile. Fudd
city The city listed on a profile or address. Ember
country_code The ISO 3166 international standard for country codes. Used to identify a country as a part of a profile. 840
state The geographic state entity that is a part of the United States. AZ
postal_code The zip code listed as part of a profile. 57106
home_phone The home phone number on a profile. 8017212222
mobile_phone The mobile phone number of a person as listed in a profile. 8017245521
email The email address on a profile. noone@nowhere.com
ship_to_address A data structure that contains the ship to address as listed on a profile. <address_1>33 Maple Drive</address_1>
  <address_2>#44</address_2>
  <city>Ember</city>
  <state>AZ</state>
  <postal_code>57106</postal_code>
  <country_code/>
</ship_to_address>
address_1 Street and residence number on the account. 1234 North 678 East
address_2 Additional address information on the account. Suite 2
city City for address information. Calgary
state State for address information. AB
postal_code A postal code for the address information. M5J2B6
country_code The ISO 3166 international standard for country codes. Used to identify a country as a part of a profile. 124
express_mail Does the profile use express mail service? N
occupation The occupation of a person as listed in a profile. Project Manager
income_source How the person on a profile earns income. Kroger Food and Drug
transaction_count The number of transactions listed in the response. 3
authorization_count The number of authorizations listed in the response. 3
start_date Start date of the response. 2010-10-01 00:00:00
end_date The end date of a response. The end date must always be later than the start date, violations will trigger a bad date range response. 2010-11-01 23:59:59
transactions A data element to display meta information for one or more transactions. <transactions>
  <transaction>x</transaction>
</transactions>
transaction A data element to display the information associated with a transaction. <transaction>
  <pmt_ref_no>008103023340</pmt_ref_no>
  <act_id>44777870</act_id>
  <act_type>FE</act_type>
  <post_ts>2010-11-01 04:13:25</post_ts>
  <amt>-.5</amt>
  <details>IVR Fee</details>
  <description>Fee</description>
  <source_id>5227662</source_id>
  <bal_id>5757170</bal_id>
  <prod_id>207</prod_id>
  <auth_ts>2010-11-01 04:13:25</auth_ts>
  <trans_code>FE0401</trans_code>
  <ach_transaction_id/>
  <external_trans_id>483494-4443-455460</external_trans_id>
  <original_auth_id/>
  <local_amt/>
  <local_curr_code/>
  <settle_amt/>
  <settle_curr_code/>
  <billing_amt/>
  <billing_curr_code/>
</transaction>
act_id Id number assigned to an account. 44777870
post_ts The time stamp of a posted transaction. 2012-09-19 14:04:03
amt A fee or transaction charge. .5
details Information on a transaction or authorization. IVR Fee
description Definition of what a transaction was for. Fee
source_id A code unique to the source of the activity (such as fees, adjustments, and so on). 51010054
bal_id Integer-based account number, also known as balance ID. 5757170
prod_id Galileo generated product Id of the account. 207
auth_ts Time stamp of an authorization. 2010-11-01 04:13:25
trans_code The combination of act_type and otype. For instance, if act_type is an adjustment, act_type would be AD, otype could be MC and the value in transcode would be 'ADMC'. VIA
ach_transaction_id A unique ID for an ACH transaction. 22528
external_trans_id Non-Galileo id number for a transaction. 19681089
original_auth_id The id of the originating authorization. 374634555
local_amt Amount of the transaction based on local currency. Used when multiple currency codes are in use. 0874
local_curr_code Currency code in use locally. Used when multiple currency codes are in use. 840
settle_amt The amount of a single transaction that has been settled. Required if transaction and settlement currencies are different. Used when multiple currency codes are in use. 1524
settle_curr_code Currency code in use for the settle_amt. Used when multiple currency codes are in use. Required if transaction and settlement currencies are different. 840
billing_amt The billing amount of a transaction. Used when multiple currency codes are in use. 59
billing_curr_code Currency code in use for the billing_amt. Used when multiple currency codes are in use. 840
authorizations A data structure that contains meta data on authorizations listed in the response. <authorizations>
  <authorization>x</authorization>
</authorizations>
authorization A data structure that contains information on an authorization listed in the response. <authorization>
  <auth_id>37464470</auth_id>
  <details>GOOGLE *Zynga Inc</details>
  <details_formatted>ZYNGA INC, CA</details_formatted>
  <mcc>7399</mcc>
  <amount>-5.4</amount>
  <timestamp>2012-09-20 07:43:51</timestamp>
  <type>L</type>
  <merchant_id>38438338338339853</merchant_id>
  <acq_id>538559</acq_id>
  <terminal_id/>
  <can_be_expired>1</can_be_expired>
  <original_auth_id>0</original_auth_id>
  <network_code>V</network_code>
  <local_amt/>
  <local_curr_code/>
  <settle_amt/>
  <settle_curr_code/>
  <billing_amt/>
  <billing_curr_code/>
</authorization>
original_auth_id The id of the originating authorization. 374634555
details_formatted Information on a transaction or authorization formatted for human reading. GOOGLE *ZYNGA INC, GOOGLE.COM/CH, CA
mcc Merchant Category Code (MCC) assigned by a payment card organization to a merchant/payee. 7399
fee An ammount charged for a service. 0
timestamp The date and time a change was made. 2012-09-20 07:43:51
type The type of transaction. L
merchant_id A unique number assigned to a merchant location or terminal to identify that merchant with the association. 38438338338339853
acq_id Acquirer ID. 538599
terminal_id A unique number assigned to a specific point-of-origination terminal or workstation. 43553434
can_be_expired Allow an expiration on an authorization. 1
fees A data structure that contains meta data on fees listed in the response. <fees>
  <fee>x</fee>
</fees>
fee A data structure that contains information on a fee listed in the response. <fee>
  <fee_event_id>53266899</fee_event_id>
  <type>TMD</type>
  <type_description>0023</type_description>
  <amt>.5</amt>
  <fee_date>2012-09-19 14:04:03</fee_date>
  <card_id>2935310</card_id>
  <fee_description>Denied ATM Withdrawal Domestic</fee_description>
  <related_transaction>
  <details>1840 HOMEVILLE ROAD WEST MIFFLIN PAUS</details>
  <amt>102</amt>
  <post_ts>2012-09-19 14:04:03</post_ts>
  </related_transaction>
</fee>
fee_event_id Galileo generated fee transaction integer ID. 53266899
type The type of fee applied. TMD
type_description Fee description (see Activity Transition Types in documentation). 217
fee_date A timestamp for when the fee was charged. 2015-09-19 14:04:03
card_id Integer identifier of the card as found in the raw data file (RDF). Unique identifier for a PAN. 12345
fee_description The description on a fee. Denied ATM Withdrawal Domestic
related_transaction A data structure that contains information on transactions related to a fee <related_transaction>
  <details>x</details>
  <amt>x</amt>
  <post_ts>x</post_ts>
</related_transaction>
savings_interest A data structure that contains start_date, end_date, accrual_interest, interest_ytd, and apy information for an account. <savings_interest>
  <start_date>x</start_date>
</savings_interest>
accrual_interest Interest accrued on account. 15.25
interest_ytd The year to date interest paid on a savings account. 20.47
apy The amount earned with compound interest over the course of one year. 5.99
processing_time The time elapsed in processing the transaction. 1.723
echo A structure that displays transaction ID information. <echo>
  <transaction_id>x</transaction_id>
</echo>
transaction_id A number that represents a transaction. 12345a
provider_timestamp Store a related timestamp for reporting and troubleshooting purposes. 2013-02-06 10:10:10
provider_transaction_id Secondary transaction identifier (generated by a provider). 77bb
  
// The following Java code will make a getAccountOverview call
// and print the XML response.
  
  import java.io.BufferedReader;
  import java.io.IOException;
  import java.io.InputStreamReader;
  import java.io.OutputStream;
  import java.io.Reader;
  import java.net.HttpURLConnection;
  import java.net.MalformedURLException;
  import java.net.URL;
  import java.net.URLEncoder;
  import java.util. *;
  
  class GalileoAPICall
  {
public static void main(String[] args) {
    try {
  Map<String,Object> params = new LinkedHashMap<>();
 params.put("apiLogin", " ");
 params.put("apiTransKey", " ");
 params.put("providerId", "550");
 params.put("transactionId", "40985-random-string-10473");
 params.put("accountNo", "074103447228");
 params.put("startDate", "2018-10-01");
 params.put("endDate", "2018-11-01");
  StringBuilder postData = new StringBuilder();
  for (Map.Entry<String,Object> param : params.entrySet()) {
if (postData.length() != 0) postData.append('&');
postData.append(URLEncoder.encode(param.getKey(), "UTF-8"));
postData.append('=');
postData.append(URLEncoder.encode(String.valueOf(param.getValue()), "UTF-8"));
  }
  byte[] postDataBytes = postData.toString().getBytes("UTF-8");
  
  URL url = new URL("https://sandbox-api.gpsrv.com/intserv/4.0/getAccountOverview");
  
  HttpURLConnection conn = (HttpURLConnection) url.openConnection();
  conn.setRequestMethod("POST");
  conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
  conn.setRequestProperty("Content-Length", String.valueOf(postDataBytes.length));
  conn.setDoOutput(true);
  conn.getOutputStream().write(postDataBytes);
  
  String xmlOutput;
  
  Reader in = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8"));
  for (int c; (c = in.read()) >= 0;) {
System.out.print((char)c);
  }
    } catch (MalformedURLException e) {
  e.printStackTrace();
    } catch (IOException e) {
  e.printStackTrace();
    }
}
  }
 
  
# The following Python code will make a getAccountOverview call
  # and print the response status code.
  
  import requests
  payload = {'apiLogin': ' ', 'apiTransKey': ' ', 'providerId': '550', 'transactionId': '40985-random-string-10473', 'accountNo': '074103447228', 'startDate': '2018-10-01', 'endDate': '2018-11-01'}
  r = requests.post(url='https://sandbox-api.gpsrv.com/intserv/4.0/getAccountOverview', data=payload, headers={'response-content-type': 'json'})
  print('getAccountOverview response code: ' + r.json()['status_code'])
  
 
  
// The following PHP code will make a getAccountOverview call
  // and echo the response status code.
  
  $endpoint = 'https://sandbox-api.gpsrv.com/intserv/4.0/getAccountOverview';
  $params = array('apiLogin'=>' ', 'apiTransKey'=>' ', 'providerId'=>'550', 'transactionId'=>'40985-random-string-10473', 'accountNo'=>'074103447228', 'startDate'=>'2018-10-01', 'endDate'=>'2018-11-01');
  
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_POST, 1);
  curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
  curl_setopt($curl, CURLOPT_URL, $endpoint);
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  
  $result = curl_exec($curl);
  curl_close($curl);
  $xml = new SimpleXMLElement($result);
  $statusCode = (string) $xml->status_code;
  echo "method response status code={$statusCode}";
  
 
  
// The following C# code will make a getAccountOverview call
  // and echo the response status code.
  
  using System.IO;
  using System.Net;
  using System.Xml;
  
  string sEndPoint = "https://sandbox-api.gpsrv.com/intserv/4.0/getAccountOverview"
  string sAPICall = string.Format("{0}?apiLogin{1}&apiTransKey{2}&providerId{3}&transactionId{4}&accountNo{5}&startDate{6}&endDate{7}", sEndPoint, " ", " ", "550", "40985-random-string-10473", "074103447228", "2018-10-01", "2018-11-01");
  
  string sResponse = HttpGet(sAPICall);
  XmlDocument doc = new XmlDocument();
  doc.LoadXml(sResponse);
  XmlNode xmlAPIResponse = doc.SelectSingleNode("response");
  
  HttpWebRequest req = WebRequest.Create(sAPICall)as HttpWebRequest;
  string sResponse = null;
  using (HttpWebResponse resp = req.GetResponse()as HttpWebResponse)
  {
StreamReader reader = new StreamReader(resp.GetResponseStream());
sResponse = reader.ReadToEnd();
  }
  XmlDocument doc = new XmlDocument();
  doc.LoadXml(sResponse);
  XmlNode xmlAPIResponse = doc.SelectSingleNode("response");
  
  Console.WriteLine(string.Format("{0} response code = {1}", sMethodName, xmlAPIResponse.FirstChild.InnerText));
 
  
# The following Ruby code will make a getAccountOverview call
  # and print the response status code.
  
  require 'uri'
  require 'securerandom'
  require 'nokogiri'
  
  uri = URI.parse("https://sandbox-api.gpsrv.com/intserv/4.0/getAccountOverview")
  http = Net::HTTP.new(uri.host, uri.port)
  
  http = Net::HTTP.new(uri.host, uri.port)
  request.set_form_data({"apiLogin" => " ", "apiTransKey" => " ", "providerId" => "550", "transactionId" => "40985-random-string-10473", "accountNo" => "074103447228", "startDate" => "2018-10-01", "endDate" => "2018-11-01"})
  response = http.request(request)
  
  xml_doc = Nokogiri::Slop(response.body)
  puts(xml_doc.response.status_code.content)
 
Code Snippet

                    # The following shell script will use cURL to call getAccountOverview
# and return the json response.

curl -d '{"transactionId":"45k-dk3fj3-44478", "accountNo":"074103447228", "startDate":"2016-01-01", "endDate":"2016-02-01"}' \ 
-H "response-content-type: json" \ 
-H "Authorization: Bearer **your-access-token**" \ 
-X POST https://sandbox.galileo-ft.com/intserv/4.0/getAccountOverview
                
                    // The following Java code will make a getAccountOverview call
// and print the json response.

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
import java.util. *;

class GalileoAPICall
{
    public static void main(String[] args) {
        try {
            Map<String,Object> params = new LinkedHashMap<>();
           params.put("transactionId", "45k-dk3fj3-44478");
           params.put("accountNo", "074103447228");
           params.put("startDate", "2016-01-01");
           params.put("endDate", "2016-02-01");
            StringBuilder postData = new StringBuilder();
            for (Map.Entry<String,Object> param : params.entrySet()) {
                if (postData.length() != 0) postData.append('&');
                postData.append(URLEncoder.encode(param.getKey(), "UTF-8"));
                postData.append('=');
                postData.append(URLEncoder.encode(String.valueOf(param.getValue()), "UTF-8"));
            }
            byte[] postDataBytes = postData.toString().getBytes("UTF-8");

            URL url = new URL("https://sandbox.galileo-ft.com/intserv/4.0/getAccountOverview");

            HttpURLConnection conn = (HttpURLConnection) url.openConnection();
            conn.setRequestMethod("POST");
            conn.setRequestProperty("response-content-type", "json");
            conn.setRequestProperty("Authorization", "Bearer **your-access-token");
            conn.setRequestProperty("Content-Length", String.valueOf(postDataBytes.length));
            conn.setDoOutput(true);
            conn.getOutputStream().write(postDataBytes);

            String xmlOutput;

            Reader in = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8"));
            for (int c; (c = in.read()) >= 0;) {
                System.out.print((char)c);
            }
        } catch (MalformedURLException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
                
                    # The following Python code will call getAccountOverview
# and print the json response.

import requests
headers = {'response-content-type': 'json', 'Authorization': 'Bearer {}'.format(**your-access-token**)}
payload = {'transactionId': '45k-dk3fj3-44478', 'accountNo': '074103447228', 'startDate': '2016-01-01', 'endDate': '2016-02-01'}
r = requests.post(url='https://sandbox.galileo-ft.com/intserv/4.0/getAccountOverview', data=payload, headers=headers)
try:
    print(r.json())
except:
    print(r.status_code)
                
                    // The following PHP code will make a getAccountOverview call
// and prints the json response.

$endpoint = 'https://sandbox.galileo-ft.com/intserv/4.0/getAccountOverview';
$params = array('transactionId'=>'45k-dk3fj3-44478', 'accountNo'=>'074103447228', 'startDate'=>'2016-01-01', 'endDate'=>'2016-02-01');

$curl = curl_init();
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
curl_setopt($curl, CURLOPT_URL, $endpoint);
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
    'response-content-type: json',
    'Authorization: Bearer **your-access-token**'
));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

$result = curl_exec($curl);
curl_close($curl);
$json = new json_decode($result, true);
print_r($json);

                
                    // The following C# code will make a getAccountOverview call
// and print the json response.

using System;using System.IO;
using System.Net;
using System.Text;

byte[] data = Encoding.ASCII.GetBytes(
    "transactionId=45k-dk3fj3-44478&accountNo=074103447228&startDate=2016-01-01&endDate=2016-02-01");
WebRequest request = WebRequest.Create("https://sandbox.galileo-ft.com/intserv/4.0/getAccountOverview");
request.Method = "POST"\;
request.ContentLength = data.Length;
request.Headers.Add("response-content-type", "json");
request.Headers.Add("Authorization","Bearer **your-access-token**");
using (Stream stream = request.GetRequestStream())
{
    stream.Write(data, 0, data.Length);
}
string responseContent = null;
using (WebResponse response = request.GetResponse())
{
    using (Stream stream = response.GetResponseStream())
    {
        using (StreamReader sr = new StreamReader(stream))
        {
            responseContent = sr.ReadToEnd();
        }
    }
}
Console.WriteLine(responseContent);
                
                    # The following Ruby code will make a getAccountOverview call
# and print the json response.

require 'uri'
require 'net/http'

uri = URI("https://sandbox.galileo-ft.com/intserv/4.0/getAccountOverview")
https = Net::HTTP.new(uri.host, uri.port)
https.use_ssl = true
request = Net::HTTP::Post.new(uri.path)
request['response-content-type'] = 'json'
request['Authorization'] = 'Bearer **your-access-token**'
request.body = {transactionId: '45k-dk3fj3-44478', accountNo: '074103447228', startDate: '2016-01-01', endDate: '2016-02-01'}.to_json
response = https.request(request)
puts response