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


Block/Unblock virtual account

Block or unblock a virtual account to control its active status

Control the status of a virtual account by blocking or unblocking it. Use this API to temporarily restrict or restore the account’s ability to process transactions.

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

Block/Unblock virtual account

Endpoint details

Endpoint URL

Method

Authentication requirements

/api/v2/virtualaccount/manage

POST

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

Sample request

Block/Unblock Virtual Account Request
curl --location 'https://sandboxapi.onesingleview.com/api/v2/virtualaccount/manage' \
--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": {
    "SVManageVAReq": {
      "BankCode": "ALRAJHI",
      "ReferenceNumber": "SVVA53086",
      "SchemeId": "SVCOL123",
      "VAClientId": "SV123456789",
      "VirtualIBAN": "SA5680900000735991239014",
      "RemitterId": "33984",
      "Action": "BLOCK"
      }
      },
"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

SVManageVARequest

Mandatory

Root node containing all the info to manage a virtual account

Object

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

RemitterId

Mandatory

Unique alphanumeric identifier generated by the client for the remitter

String

Action

Mandatory

Action to perform on the virtual account to be specified as BLOCK or UNBLOCK

String

Signature

Mandatory

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

String

Sample response

Block/Unblock Virtual Account Response
{
  "SVManageVAResp": {
    "BankCode": "ALRAJHI",
    "ReferenceNumber": "43444125016234",
    "StatusCode": "Completed",
    "StatusDetail": "Virtual account blocked successfully",
    "VirtualAccountInfo": {
      "VirtualIBAN": "SA5680900000735991239014",
      "RemitterId": "4560345222"
    }
  }
}

Response parameters

JSON Tag

Description

Data type

SVManageVAResp

Root node

Object

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 that is blocked or unblocked

String

RemitterId

Remitter identification details of the virtual account that is blocked or unblocked

String

Status Codes & Information

StatusCode

StatusDetail

Completed

  • Virtual account blocked successfully.
  • Virtual account unblocked 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?