Open BankingB2B SuiteERP Integration
GuidesChangelog
Menu

Categories

Open BankingB2B SuiteERP Integration


  • GENERAL INFORMATION

    • Documentation guide
    • Documentation guide
    • SingleView B2B Core APIs
    • SingleView Open Banking
    • Platform architecture
    • KSAOB standards
    • Security best practices
  • Getting started

    • Introduction
    • Become a User
    • Quick Lookup
  • GETTING STARTED

    • Integration guide
    • Become a user
    • Integration guide
    • Prerequisites for Sandbox
    • Developer console
    • Establishing secure connection
    • Establish secure connection
    • Authenticating your request
    • Generate access token
    • Making your first test api call
    • Make test raw data API call
    • Prerequisites for production
    • Make test data use case API call
    • Moving to production
  • Authentication

    • Generate Signature
  • ERP API Services

    • Configure API Account
    • Create Group & Company
    • Supplier Services
    • Account Services
    • Balance Enquiry
    • Statements
    • IBAN Validation
    • POS Transactions
  • CONSENT MANAGEMENT

    • Overview
    • Create a consent
    • Retrieve consent details
    • Revoke a consent
  • AUTHENTICATION

    • Header parameters
    • Obtain access token
    • Generate signature
  • Data APIs

    • Account statement
    • Balance enquiry
    • IBAN verification
    • POS transactions
    • Raw statement
  • Raw Data APIs

    • Introduction
    • View accounts
    • View balance
    • View transactions
    • Identify account holders (Parties)
    • Review direct debits
    • Review scheduled payments
    • Review standing orders
  • Payment APIs

  • DATA USE CASE APIS

  • SADAD

  • Plug-and-Play Integrations

    • Payly
  • Virtual Accounts

    • Overview
    • Create new virtual account
    • Block/Unblock virtual account
    • VA balance enquiry
    • VA statement
  • RESOURCES

    • Errors & codes
    • Collections
    • API version management
    • Bank connectivity
    • User inputs
    • POR Details
    • Error codes
  • SME Onboarding (Draft)

    • Overview (Draft)
  • API Archives


VA balance enquiry

Check the available balance of a virtual account in real-time

Retrieve the available balance of a virtual account in real time. Use this API to check the funds available in a virtual account using its Virtual IBAN.

Important information
  • The user must provide the valid credentials in the header
  • Encrypted and valid Signature and an active "Access Token"
  • Request format as specified with all the mandatory details with appropriate request tags

Domain details

Environment

Domain

Rate/Limit

Sandbox

sandboxapi.onesingleview.com

3 Calls per Minute

Production/LIVE

To be provided upon onboarding

Based on contract

Virtual account balance enquiry

Endpoint details

Endpoint URL

Method

Authentication requirements

/api/v2/virtualaccount/balance

POST

  1. SVReferenceID
  2. CompanyId
  3. Device
  4. DateTimeStamp
  5. Authorization: Bearer

Sample request

Virtual Account Balance Enquiry Request
curl --location 'https://sandboxapi.onesingleview.com/api/v2/virtualaccount/balance' \
--header 'SVReferenceID:  SV123456' \
--header 'CompanyId: SINGLEVIEW1234' \
--header 'Device: web' \
--header 'DateTimeStamp: 2025-01-07T10:20:39' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiTDNyMmpxV29JS2I4MTNodDBNeVN4WFRCZjlqUlNWQzFad3B5QnlkOVpHelZXR2ZwUmFQNUUrY3d6cVQ5bi9OV0lwR2V5STNNMkdPL1pqakd4ZG0yclJkVEZxY3lhWGNpWnZFejl0V1EySjQxK2VvSlk2ZjdJZkFsV3BKRi9VL1YydDEzMUtnRnVhcnd6MzVQY1UzbnFEV0p0UWlzIiwiaWF0IjoxNzY3NzYxODc3LCJleHAiOjE3Njc3NjU0Nzd9.lWDSB3Rk_TtdUbKyFcCdaE5XGo7UDiTu2kDcqEyU7vg' \
--header 'Content-Type: application/json' \
--data '{
  "Message": {
    "SVVABalanceEnquiryReq": {
      "TransactionType": "VABE",
      "BankCode": "ALRAJHI",
	  "ReferenceNumber":"98765432146565",
      "SchemeId": "CollectionOSV",
      "VAClientId": "SV123456789",
      "VirtualIBAN": "SA5680900000735991239014"
      }
      },
"Signature": "rZZ9alg/2k9B5uWSdnW3AfYswAMqA4HXyNX3jIzckWb4o37uS4eKFEQ3xRn/dBarN6EGjfaXiMSOPdKyyjjrgT80K5ReXzQ7cC1INuU79ozlLgK8yTFz+nq785geQ+He4PR+hD35DkF9qnela9qmcr3GhAXpTjZG12hmaJEyzeofh6q3p+jqLFd208eAImubnL6SbSBDEAi5SLRH1K2I1U77OmFNirrfGV8qd+gsi+lqgyF9mpNj6lzy/fJNNe0qEr2WHvG1R7E2g3EhqovDNanQt6RFgkWegtlE37Eyi5qO3xlTqu76317ZWfMI7jHxs48fOLTNtBCOwUboVze5Tw=="
}'

Request parameters

JSON Tag

Requirement

Description

Data type

Message

Mandatory

Header information (client credentials)

Object

SVVABalanceEnquiryRequest

Mandatory

Root node containing all the info to check balance of a virtual account

Object

TransactionType

Mandatory

Details on the type of transaction to be specified as VABE

String

BankCode

Mandatory

Unique bank identification code

ALRAJHI - Al Rajhi Bank

String

ReferenceNumber

Mandatory

Unique reference number for the request generated by the client
Maximum length : 16 numeric characters

String

SchemeId

Mandatory

Identifier of the virtual account scheme provided by the partner bank to the client

String

VAClientId

Mandatory

Unique client identifier for the virtual account provided by the partner bank to the client

String

VirtualIBAN

Mandatory

IBAN of the virtual account to be provided for balance enquiry service

String

Signature

Mandatory

Encrypted string generated using a Private Key/CA-Signed Certificate with SHA-256 and RSA (JCE Signature)

String

Sample response

Virtual Account Balance Enquiry Response
{
  "SVVABalanceEnquiryResp": {
    "TransactionType": "VABE",
    "BankCode": "ALRAJHI",
	"ReferenceNumber": "98765432146565",
    "StatusCode": "Completed",
    "StatusDetail": "Balance fetched successfully.",
    "VirtualAccountInfo": {
      "VirtualIBAN": "SA5680900000735991239014",
      "Currency": "SAR",
      "AvailableBalance": "98464"
    }
  }
}

Response parameters

JSON Tag

Description

Data type

SVVABalanceEnquiryResp

Root node

Object

TransactionType

Details on the type of transaction as specified in the request as VABE

String

BankCode

Unique bank identification code

ALRAJHI - Al Rajhi Bank

Object/Array

ReferenceNumber

Unique reference number for the request generated and passed by the client in the request

String

StatusCode

Code representing status of the transaction processing

String

StatusDetail

Details of the status code represented for the transaction processing

String

VirtualAccountInfo

Tag carrying information on the manage virtual account in the request

Object

VirtualIBAN

IBAN of the virtual account representing the available balance

String

Currency

Currency in which the balance is provided.

String

AvailableBalance

Current available balance of the virtual account

String

Status Codes & Information

StatusCode

StatusDetail

Completed

Balance fetched successfully.

Failed

Bank response description

Response_Timeout

Timeout! Unable to get response from the bank. Please try again or contact SingleView support if issue persists.

Updated August 19, 2026

Was this helpful?