Account Services

Enlist your company's and suppliers' bank accounts

Account services allows you to add your own bank accounts as well as manage beneficiary bank accounts (supplier bank accounts).

Add account

Endpoint details

Endpoint URLMethodAuthentication requirements
/v1/api/erp/svAccServicePOST1. clientid 2. clientsecret 3. signature

A request in the following format should be posted to the mentioned URL endpoint.

curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/svAccService' \
--header 'clientid: Enter_Client_ID' \
--header 'clientsecret: Enter_Client_Secret' \
--header 'signature: Enter_Signature' \
--header 'Content-Type: application/json' \
--data-raw '{
"svAccServiceRQ": {
  "groupCode": "Enter_Group_Code",
  "company": [
    {
      "companyCode": "Enter_Company_Code",
      "userName": "Enter_Username",
      "account": [
        {
          "bankCode": Enter_OSV_Bank_Code_Identifier,
          "accountNum": "Enter_Bank_Account_Number",
          "corpId": "Enter_Corporate_Bank_Code",
          "holderName": "Enter_Bank_Account_Holder_Name",
          "iban": "Enter_International_Bank_Account_Number",
          "address": "Enter_ Bank_Address",
          "currency": "Enter_Currency",
          "acERPcode": "Enter_Unique_ERP_Account_Code"
        }, 
        {
          "bankCode": Enter_OSV_Bank_Code_Identifier,
          "accountNum": "Enter_Bank_Account_Number",
          "corpId": "Enter_Corporate_Bank_Code",
          "holderName": "Enter_Bank_Account_Holder_Name",
          "iban": "Enter_International_Bank_Account_Number",
          "address": "Enter_ Bank_Address",
          "currency": "Enter_Currency",
          "acERPcode": "Enter_Unique_ERP_Account_Code" // EX : ACC002
        }
      ],
      "beneficiary": [
        {
          "type": "Enter_Type",
          "nickName": "Enter_Nickname",
          "bankCode": Enter_OSV_Bank_Code_Identifier,
          "accountNum": "Enter_Bank_Account_Number",
          "name": "Enter_Bank_Account_Name",
          "iban": "Enter_International_Bank_Account_Number",
          "currency": "Enter_Currency",
          "benERPcode": "Enter_Unique_ERP_Beneficiary_Code",
          "description": "Enter_Description",
          "country": "Enter_Country",
          "supplierCode": "Enter_Unique_ERP_Supplier_Code",
          "isPrimary": Enter_True/False
        },
        {
          "type": "Enter_Type",
          "nickName": "Enter_Nickname",
          "bankCode": Enter_OSV_Bank_Code_Identifier,
          "accountNum": "Enter_Bank_Account_Number",
          "name": "Enter_Bank_Account_Name",
          "iban": "Enter_International_Bank_Account_Number",
          "currency": "Enter_Currency",
          "benERPcode": "Enter_Unique_ERP_Beneficiary_Code",
          "description": "Enter_Description",
          "country": "Enter_Country",
          "supplierCode": "Enter_Unique_ERP_Supplier_Code",
          "isPrimary": Enter_True/False
        }
      ]
    }
  ]
}
}'

Request details:

JSON TagDescriptionData type
clientid
Mandatory
Client IDString
clientsecret
Mandatory
Client CodeString
signature
Mandatory
SignatureString
svAccServiceRQ
Mandatory
Add Own Bank Accounts and Beneficiaries request tagObject
groupCode
Specific Mandatory
Unique Group CodeString
userName
Mandatory
SingleView's account usernameString
account
Specific Mandatory
Array of accountsArray
bankCode
Mandatory
SingleView Unique bank code identifierString
acERPCode
Mandatory
Unique code for bank accounts as per ERPString
accountNum
Mandatory
Bank account numberString
corpID
Mandatory
Corporate identification code as per bank records of the debit accountString
holderName
Mandatory
Registered account nameString
iban
optional
International Bank Account NumberString
address
optional
Bank Account AddressString
currency
Mandatory
Default currency in ISO formatString
beneficiary
Specific Mandatory
Array of beneficiariesArray
benERPCode
Mandatory
Unique beneficiary code as per ERPString
type
Mandatory
Type of beneficiary; International or localString
nickName
Optional
Nickname of the beneficiaryString
bankCode
Mandatory
Unique SingleView bank code identifierString
corpId
Conditional
Corporate identification code as per bank records of the payee
Required only for company accounts (payee)
String
name
Mandatory
Registered name in bank accountString
iban
Mandatory
International Bank Account Number/Beneficiary bank account numberString
currency
Mandatory
Beneficiary bank account currency in ISO formatString
address
Specific Mandatory
Beneficiary Bank Account Address in case of type = "International"String
swiftCode
Specific Mandatory
Beneficiary Bank Account SWIFT code in case of type = "International"String
description
Optional
Description of the beneficiaryString
country
Optional
Bank account countryString
supplierCode
Mandatory
Unique supplier code for beneficiaryString
isPrimary
Optional
Set true if is a primary account for beneficiaryBoolean

Successful response

{
  "svAccServiceRS": {
    "groupCode": "Group_Code",
    "company": [
      {
        "companyCode": "Company_Code",
        "userName" : "Username",
        "account": [
          {
            "acERPcode": "Account_ERP_Code",
            "status":  Status_Code,
            "message": "Process/Status_Message"
          },
          {
            "acERPcode": "Account_ERP_Code",
            "status": Status_Code,
            "message": "Process/Status_Message",
            "errorCode": "Error_Code"
          }
        ],
        "beneficiary": [
          {
            "benERPcode": "Beneficiary_ERP_Code",
            "status": Status_Code,
            "message": "Process/Status_Message"
          },
          {
            "benERPcode": "Beneficiary_ERP_Code",
            "status": Status_Code,
            "message": "Process/Status_Message",
            "errorCode": "Error_Code"
          }
        ]
      }
    ]
  }
}
JSON TagDescriptionData type
svAccServiceRSAdd account services Response TagObject
groupCodeUnique group codeString
companyArray of companiesArray
companyCodeUnique company codeString
userNameSingleView Account's usernameString
accountArray of accountsArray
accERPCodeAccount ERP CodeString
statusStatus codeNumerical
codeUnique company codeString
messageProcess display messageString
errorCodeError codeString