Adds the new core virtual accounts
post
/service/corevirtualaccounts
This endpoint is used to add the new core virtual accounts.
Request
Supported Media Types
- application/json
Request Body that contains data required for creating a new corevirtualaccounts
Nested Schema : CmcTmCoreVirtualAccountSaveDTO-allOf[0]
Type:
Show Source
object-
accountClass(optional):
string
Account class of the external virtual account
-
acOpenDate(optional):
string(date)
The date on which virtual account is being opened
-
acStatFrozen(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the virtual account status is frozen -
acStatNoCr(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the virtual account does not have any credit facility -
acStatNoDr(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the virtual account does not have any debit facility -
address1(optional):
string
Minimum Length:
0Maximum Length:105First line of the address -
address2(optional):
string
Minimum Length:
0Maximum Length:105Second line of the address -
address3(optional):
string
Minimum Length:
0Maximum Length:105Third line of the address -
address4(optional):
string
Minimum Length:
0Maximum Length:105Fourth line of the address -
countryCode(optional):
string
Minimum Length:
0Maximum Length:4Country Code -
customerNo:
string
Minimum Length:
0Maximum Length:20Customer number to which the virtual account number is being linked -
ecaCheckReq(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that ECA check is required for the external virtual account -
hostCode(optional):
string
The host code that is linked to the logged in user of the branch
-
isForgotten(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the customer is forgotten -
sourceSystem:
string
Name of the source system
-
sourceSystemAccBrn:
string
Branch to which the account belongs to
-
sourceSystemAccNo:
string
Virtual account number as in the source system
-
structuredAddressServiceSaveDTO(optional):
object StructuredAddressServiceSaveDTO
-
virtualAcCcy(optional):
string
Minimum Length:
1Maximum Length:3Currency in which the virtual account is being created -
virtualAccountNo:
string
Minimum Length:
1Maximum Length:35External virtual account number -
virtualAcName:
string
Minimum Length:
0Maximum Length:105Pattern:[a-zA-Z0-9\s]+Name of the virtual account holder -
virtualIban(optional):
string
Minimum Length:
0Maximum Length:35Pattern:[a-zA-Z0-9]+Virtual IBAN as in the source system
Nested Schema : StructuredAddressServiceSaveDTO-allOf[0]
Type:
Show Source
object-
buildingName(optional):
string
Maximum Length:
35building Name -
buildingNumber(optional):
string
Maximum Length:
16Building Number -
countrySubDivision(optional):
string
Maximum Length:
35Country Sub Division -
department(optional):
string
Maximum Length:
70Department -
districtName(optional):
string
Maximum Length:
35District name -
floor(optional):
string
Maximum Length:
70Floor -
postbox(optional):
string
Maximum Length:
16postbox -
postcode:
string
Maximum Length:
16postcode -
room(optional):
string
Maximum Length:
70Room -
streetName(optional):
string
Maximum Length:
70Street Name -
strrCountry:
string
Maximum Length:
2country -
subDepartment(optional):
string
Maximum Length:
70Sub Department -
townLocationName(optional):
string
Maximum Length:
35Town Location Name -
townName:
string
Maximum Length:
35Town Name -
virtualAccountNo:
string
Minimum Length:
1Maximum Length:35Account number of the External customer
Response
Supported Media Types
- application/json
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created corevirtualaccounts
Nested Schema : CmcTmCoreVirtualAccountResponseDTO-allOf[0]
Type:
Show Source
object-
accountClass(optional):
string
Account class of the external virtual account
-
acOpenDate(optional):
string
The date on which virtual account is being opened
-
acStatFrozen(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the virtual account status is frozen -
acStatNoCr(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the virtual account does not have any credit facility -
acStatNoDr(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the virtual account does not have any debit facility -
address1(optional):
string
Minimum Length:
0Maximum Length:105First line of the address -
address2(optional):
string
Minimum Length:
0Maximum Length:105Second line of the address -
address3(optional):
string
Minimum Length:
0Maximum Length:105Third line of the address -
address4(optional):
string
Minimum Length:
0Maximum Length:105Fourth line of the address -
approverRemarks(optional):
string
Remarks made by Approver
-
authStatus(optional):
string
Authorization Status of Virtual Account
-
checkerDateStamp(optional):
string
Date and Time when some action on Virtual Account is authorized
-
checkerId(optional):
string
Checker ID of Virtual Account
-
countryCode(optional):
string
Minimum Length:
0Maximum Length:4Country Code -
customerNo(optional):
string
Minimum Length:
0Maximum Length:20Customer number to which the virtual account number is being linked -
doerRemarks(optional):
string
Remarks made by Maker
-
ecaCheckReq(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that ECA check is required for the external virtual account -
hostCode(optional):
string
The host code that is linked to the logged in user of the branch
-
isForgotten(optional):
string
Minimum Length:
0Maximum Length:1Pattern:[Y,N]Indicates that the customer is forgotten -
makerDateStamp(optional):
string
Date and Time when Virtual Account is created or modified or closed or reopened
-
makerId(optional):
string
Maker ID of Virtual Account
-
modNo(optional):
integer
Version number of Virtual Account
-
onceAuth(optional):
string
Flag that indicated if Virtual Account is authorized once or not
-
recordStatus(optional):
string
Record Status of Virtual Account
-
sourceSystem(optional):
string
Name of the source system
-
sourceSystemAccBrn(optional):
string
Branch to which the account belongs to
-
sourceSystemAccNo(optional):
string
Virtual account number as in the source system
-
virtualAcCcy(optional):
string
Minimum Length:
1Maximum Length:3Currency in which the virtual account is being created -
virtualAccountNo(optional):
string
Minimum Length:
1Maximum Length:35External virtual account number -
virtualAcName(optional):
string
Minimum Length:
0Maximum Length:105Pattern:[a-zA-Z0-9\s]+Name of the virtual account holder -
virtualIban(optional):
string
Minimum Length:
0Maximum Length:35Pattern:[a-zA-Z0-9]+Virtual IBAN as in the source system
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error