Overview

GetAvailableBalance is an online, synchronous web service allowing an external system to Request the balance on a Netcash account and receive an immediate response.

A single request per web service call is permitted.

Input

From your application call:

Field Explanation
Service Key Account Service Key

Output

Failed requests will return one of the following codes.

 Numeric Response Description
100 Authentication failed. Ensure that the service key in the method call is correct
200 Web service error contact support@netcash.co.za

 

Successful requests will return

Field Value
AvailableBalance Decimal
CurrentBalance Decimal
ErrorCode 000

Examples

 

<GetAvailableBalance>
  <MethodParameters>
    <GetAvailableBalanceResponse>
      <AvailableBalance>6,33</AvailableBalance>
      <CurrentBalance>6,46</CurrentBalance>
      <ErrorCode>000</ErrorCode>
    </GetAvailableBalanceResponse>
  </MethodParameters>
</GetAvailableBalance>