The GetBalanceSt function type retrieves the current eCash Balance for the merchant associated with the specified Terminal ID.
This function type is not necessary if your billing is not prepaid eCash. It can also be used as a 'heartbeat' message to test host system availability.
Certain parameters must be in all API calls, view all the parameters below:
This field is part of the Common Request Parameters.
The value for this call is GetBalanceSt
<RequestXml> <Type>GetBalanceSt</Type> <TerminalId>*</TerminalId> <Password>*</Password> </RequestXml>NOTE: Some fields returned in the response can be viewed as optional by the Client, such as: MerchantId, Company, CompanyCity, CompanyPhone, TransDate & TransTime. This data can be ignored if the Client has similar data already. Settlement or reconciliation should be based on the unique PSInet transaction number and not these fields.
Certain fields are returned from all API calls, view all the fields below:
Current eCash Balance for the merchant associated with the specified Terminal ID
Merchant ID in PSInet system
Merchant’s company name
Merchant’s city
Merchant’s phone number
<ResponseXml><StatusCode>0</StatusCode><StatusDescription /><Balance>999</Balance><MerchantId>WenchengTesting</MerchantId><Company>PSI has a very long name here</Company><CompanyCity>Port Moody</CompanyCity><CompanyPhone>1234567</CompanyPhone><CompanyDbaName>PSInet99</CompanyDbaName><TransDate>2020-04-02</TransDate><TransTime>14:28:39</TransTime><ProductVer>0340261</ProductVer><BosVer>4</BosVer><PromoVer>0340009</PromoVer><SoftVer /><InvoiceNumber /><NSM>A PHONE CALL TO ACTIVATE PRODUCT IS A SCAM!</NSM></ResponseXml>