Balance Enquiry

Retrieve single or multiple bank account balances

Overview

SingleView Balance Enquiry API service allows you to request and retrieve specific bank account balances within your ERP system to confirm sufficient balances before making a payment or track insights.

Endpoint details

Endpoint URL

Method

Authentication requirements

/v1/api/erp/svBalanceEnqService

POST

1. clientid
2. clientsecret
3. signature

Get Account Balance

Sample request

curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/svBalanceEnqService' \
--header 'clientid: abcdef83643f61c975' \
--header 'clientsecret: zyxvw95cE163C03b7d1' \
--header 'signature: UMEH9M8tXknuRnnkrzRjDHaxFRLyZJwDNAl408nUMEH9M8tXknuRnnkrzRjDHaxFRLyZJwDNAl408n' \
--header 'Content-Type: application/json' \
--data-raw '{
"svBalanceEnqServiceRQ": {
  "groupCode": "5412",
  "company": [
    {
      "companyCode": "MYCOMPANY012",
      "userName": "Abdul1234",
      "account": [
        {
          "acERPcode": "54321"
        }                
      ]
    }
  ]
}
}'

Request description

JSON Tag

Description

Data Type

clientid Mandatory

Unique client identification details

  • Length of input:
    Min 3 Characters
    Max 20 Characters_

String

clientsecret
Mandatory

Unique client secret code

  • Length of input:
    Min 3 Characters
    Max 20 Characters_

String

signature
Mandatory

64-Bit string obtained by processing client signature key through Base-64 and SHA-256

String

svBalanceEnqServiceRQ
Mandatory

Root tag carrying information on the request payload

Object

groupCode
Mandatory

Unique group identification code

  • Length of input:
    Min 3 Characters
    Max 20 Characters_

Numeric

company
Mandatory

Tag carrying information about company

Object

companyCode
Mandatory

Unique company identification code

  • Length of input:
    Min 3 Characters
    Max 20 Characters_

Numeric

userName
Mandatory

Unique user identification name

  • Length of input:
    Min 3 Characters
    Max 20 Characters_

String

acERPcode
Mandatory

Unique account ERP identification code

  • Length of input:
    Min 3 Characters
    Max 20 Characters_

Numeric

Sample response

{
  "svBalanceEnqServiceRS": {
    "company": [
      {
        "companyCode": "MYCOMPANY012",
        "userName": "Abdul1234",
        "account": [
          {
            "acERPcode": "54321",
            "Balance": {
              "SequenceNum": "",
              "ReceiptTime": "2025-05-21T09:16:49",
              "AccountNumber": "5823697459876",
              "AccountCurrency": "SAR",
              "AccountStatus": "00",
              "AccountStatusDesc": "",
              "CustomerFullName": "",
              "AccountType": "CA",
              "AuthorizedOdLimit": "000000000000000",
              "LastCreditDate": "2025-05-20",
              "LastCreditAmount": "57.00",
              "AvailableBalance": 8948541125.63,
              "AvailableBalanceLCY": "",
              "OpeningBalanceLCY": "",
              "OpeningBalance": 8948541125.63,
              "ClosingBalance": 0,
              "DebitAllowed": true,
              "CreditAllowed": true,
              "StatusCode": "OK",
              "StatusDetail": "Success"
            }
          }
        ]
      }
    ]
  }
}

Response description

JSON TagDescriptionData Type
svBalanceEnqServiceRSTag carrying information on process response of account balance servicesObject
companyTag carrying information on companyObject
companyCodeUnique company identification codeNumerical
userNameUnique usernameString
accountTag carrying information on account requested for balance enquiry servicesObject
acERPcodeUnique ERP account codeNumerical
BalanceTag carrying information on the balance details of the requested accountObject
SequenceNumUnique sequence number of the transactionString
ReceiptTimeParameter denoting the time of the request and responseDate & Time
AccountNumberUnique account number passed in the request for balance enquiry servicesAlphanumeric
AccountCurrencyCurrency of the accountAlphabetic
AccountStatusStatus of the accountNumeric
AccountStatusDescDetails on the status description of the accountString
CustomerFullNameFull name of the customerString
AccountTypeType of the accountString
AuthorizedOdLimitOver draft limit of the accountNumeric
LastCreditDateDate denoting the last credit transaction happened for the accountDate and Time
LastCreditAmountAmount that is credited during the last credit transactionNumeric
AvailableBalanceAvailable balance of the accountNumeric
AvailableBalanceLCYAvailable balance of the account in local currencyNumeric
OpeningBalanceLCYOpening balance of the account in local currencyNumeric
OpeningBalanceOpening balance of the accountNumeric
ClosingBalanceClosing balance of the accountNumeric
DebitAllowedStatus if the debit transactions allowed for the account to be mentioned as true or falseBoolean
CreditAllowedStatus if the credit transactions are allowed for the account to be mentioned as true or falseBoolean
StatusCodeStatus code of the process for balance enquiry serviceString
StatusDetailStatus details of the process for balance enquiry serviceString