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 URL | Method | Authentication requirements |
---|---|---|
| POST | 1/. |
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 Tag | Description | Data type |
---|---|---|
clientid Mandatory | Unique client identification details
| String |
clientsecret | Unique client identification secret code
| String |
signature | 64-Bit string obtained by processing client signature key through Base-64 and SHA-256 | String |
svAccServiceRQ | Tag carrying information on request to add beneficiary or supplier account | Object |
groupCode | Unique group identification code | String |
company | Tag carrying information on the company | Object |
companyCode | Unique identification code of the company
| String |
userName | Unique SingleView's username of the request initiator
| String |
account | Object carrying information on accounts to be added | Object/Array |
accountNum | Unique bank account number of the beneficiary/supplier | Alphanumeric |
corpID | Corporate identification code as per bank records of the debit account
| Alphanumeric |
holderName | Registered name of the account holder as per bank records
| Alphabetic |
currency | Default currency code in ISO format | Alphabertic |
acERPcode | Unique ERP code assigned to the bank account | Alphanumeric |
bankCode | Unique bank identification code (SingleView identifier code)
| String |
iban | Unique International Bank Account Number (IBAN) | Alphanumeric |
address | Address of the bank where the beneficiary holds the specified account
| String |
beneficiary | Tag carrying an array of beneficiaries bank accounts | Object/Array |
iban | International Bank Account Number/Beneficiary bank account number | Alphanumeric |
type | Type of beneficiary; International or local
| Alphanumeric |
name | Name of beneficiary as per bank account
| Alphabetic |
currency | Beneficiary bank account currency in ISO format | Alphanumeric |
benERPCode | Unique beneficiary code as per ERP | String |
bankCode | Unique SingleView bank code identifier
| Alphanumeric |
supplierCode | Unique supplier code for beneficiary | String |
address | Address of the beneficiary
| String |
swiftCode | Unique swift identification code of the beneficiary bank account | Alphanumeric |
isPrimary | Set | Boolean |
nickName | Nickname of the beneficiary
| Alphanumeric |
accountNum | Bank account number of the beneficiary | Alphanumeric |
corpID | Unique corporate identification details of the beneficiary
| Alphanumeric |
description | Description of the beneficiary
| String |
country | Bank account country | String |
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 Tag | Description | Data type |
---|---|---|
svAccServiceRS | Add account services Response Tag | Object |
groupCode | Unique group code | String |
company | Array of companies | Array |
companyCode | Unique company code | String |
userName | SingleView Account's username | String |
account | Array of accounts | Array |
accERPCode | Account ERP Code | String |
status | Status code | Numerical |
code | Unique company code | String |
message | Process display message | String |
errorCode | Error code | String |
Updated 4 days ago