Creates a new transaction request for Virtual Account Closure
post
/service/accountclosure
This endpoint is used to initiate a new closure request for a set of Virtual Accounts.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for initiating a new Virtual Account Closure request
Root Schema : VAClosureRequestDTO
Type:
Show Source
object
-
operationType(optional):
string
operation type
-
resourceId(optional):
string
resource id
-
resourceName(optional):
string
resource name
-
sourceReferenceNo(optional):
string
Source Reference number of Virtual Account Closure Request
-
TransferDetailsDTO(optional):
array TransferDetailsDTO
Nested Schema : TransferDetailsDTO
Type:
Show Source
object
-
transferInVirAccNo(optional):
string
Virtual Account number from where the funds will be transferred
-
transferOutVirAccNo(optional):
string
Virtual Account number to which the funds will be transferred
-
virtualAccountNumber:
string
Virtual Account number for which closure is requested
Response
Supported Media Types
- application/json
- text/csv
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created Virtual Account Closure Request
Root Schema : ClosureDetailsServiceDTOWrapper
Type:
Show Source
object
-
data(optional):
object ClosureRequestDetailsServiceDTO
-
messages(optional):
object ClosureReqDetailsResponseDto
Nested Schema : ClosureRequestDetailsServiceDTO
Type:
Show Source
object
-
AccountDetailDTO(optional):
array AccountDetailDTO
-
authStatus(optional):
string
Authorization status of Virtual Account Closure Request
-
checkerDateStamp(optional):
string(date)
Checker Date time stamp of Virtual Account Closure Request
-
CheckerId(optional):
string
Checker of Virtual Account Closure Request
-
makerDateStamp(optional):
string(date)
Maker Date time stamp of Virtual Account Closure Request
-
makerId(optional):
string
Maker of Virtual Account Closure Request
-
obvamRequestRefNo(optional):
string
Request Reference Number
-
sourceCode(optional):
string
Source Code
-
sourceReferenceNo(optional):
string
External Reference Number
Nested Schema : ClosureReqDetailsResponseDto
Type:
Show Source
object
-
codes(optional):
array codes
-
status(optional):
string
Nested Schema : AccountDetailDTO
Type:
Show Source
object
-
branchCode(optional):
string
Branch Code of Virtual Account for which Closure was initiated
-
defaultAccCcy(optional):
string
Currency of Virtual Account for which Closure was initiated
-
realCustomerNo(optional):
string
Real Customer Number to whom the Virtual Account Number, for which Closure was initiated, belongs
-
requestRefNo(optional):
string
Reference number of Virtual Account Closure Request
-
sourceRefNo(optional):
string
Source Reference number of Virtual Account Closure Request
-
transferInVirAccNo(optional):
string
Virtual Account number from where the funds will be transferred
-
transferOutVirAccNo(optional):
string
Virtual Account number to which the funds will be transferred
-
vaClosureRefNum(optional):
string
Reference Number for Virtual Account Number
-
virtualAccountName(optional):
string
Virtual Account Name for which Closure was initiated
-
virtualAccountNo(optional):
string
Virtual Account number for which closure is requested
Nested Schema : ClosureReqDetailsResponseCode
Type:
Show Source
object
-
Code(optional):
string
-
Desc(optional):
string
-
Language(optional):
string
-
Type(optional):
string
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