Adds a new txn
post
/service/txns
This endpoint is used to add a new transaction.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new txn
Root Schema : VatRequestMastServiceDTO
Type:
Show Source
object
-
sourceCode(required):
string
-
sourceReferenceNo:
string
-
vatRequestDetServiceDTO(required):
array vatRequestDetServiceDTO
Nested Schema : vatRequestDetServiceDTO
Type:
Show Source
array
-
Array of:
object VatRequestDetServiceDTO
Nested Schema : VatRequestDetServiceDTO
Type:
Show Source
object
-
addlText:
string
Minimum Length:
0
Maximum Length:4000
Customer narrative information received from External System or User can also enter the addl text -
amtInTxnAccCcy:
number
-
blkReleaseStatus:
string
Maximum Length:
1
Pattern:[P,F]
-
ddaOffset:
string
-
drCrInd(required):
string
Maximum Length:
1
Pattern:[D,C]
-
ecaOrBlockRefNo:
string
-
exchRate:
number
-
forceDebit:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
reconRefNo:
string
-
txnAccount(required):
string
-
txnAccountBrn(required):
string
Maximum Length:
3
-
txnAccountCcy:
string
Maximum Length:
3
-
txnAmount(required):
number
-
txnCcy(required):
string
Maximum Length:
3
-
txnCode(required):
string
-
valueDate:
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
Response
Supported Media Types
- application/json
- text/csv
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created txn
Root Schema : TransactionResponseDTOWrapper
Type:
Show Source
object
-
messages:
object ResponseDto
-
transactionData:
object TransactionMasterDTO
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes:
array codes
-
id:
string
-
requestId:
string
-
status:
string
Nested Schema : TransactionMasterDTO
Type:
object
Match All
Show Source
-
allOf
ResourceSupport
-
object
TransactionMasterDTO-allOf[1]
Nested Schema : ResponseCode
Type:
Show Source
object
-
arg:
string
-
args:
array args
-
Code:
string
-
Desc:
string
-
Language:
string
-
Type:
string
Nested Schema : items
Type:
object
Nested Schema : ResourceSupport
Match All
Show Source
-
object
ResourceSupport-allOf[0]
Discriminator:
resource_type
Nested Schema : ResourceSupport-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : TransactionMasterDTO-allOf[1]
Type:
Show Source
object
-
authStatus:
string
-
bookingDate:
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
-
checkerDtStamp:
string(date)
-
checkerId:
string
-
initialChecker:
string
-
initialMaker:
string
-
initiationDate:
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
-
keyId:
string
-
makerDtStamp:
string(date)
-
makerId:
string
-
originalReferenceNo:
string
-
sourceCode:
string
-
sourceReferenceNo:
string
-
transactionDetailsDTOList:
array transactionDetailsDTOList
-
transactionStatus:
string
-
txnRefNo:
string
Nested Schema : transactionDetailsDTOList
Type:
Show Source
array
-
Array of:
object TransactionDetailsDTO
Nested Schema : TransactionDetailsDTO
Type:
Show Source
object
-
accountType:
string
-
addlText:
string
Minimum Length:
0
Maximum Length:4000
Customer narrative information received from External System or User can also enter the addl text -
amtInRealAccCcy:
number
-
amtInTxnAccCcy:
number
-
blkReleaseStatus:
string
Maximum Length:
1
Pattern:[P,F]
-
ddaOffset:
string
-
drCrInd:
string
-
ecaOrBlockRefNo:
string
-
entrySerialNo:
number
-
exchRate:
number
-
excRateTxccyRaccy:
number
-
forceDebit:
string
-
id:
string
-
realAccCcy:
string
-
realAccClass:
string
-
realAccountBrn:
string
-
realAccountNo:
string
-
realCustomerNo:
string
-
reconRefNo:
string
-
reportingInfo:
string
-
restrictionId:
string
-
skipDDAEntries:
string
-
txnAccount:
string
-
txnAccountBrn:
string
-
txnAccountCcy:
string
-
txnAmount:
number
-
txnCcy:
string
-
txnCode:
string
-
txnMasterId:
string
-
txnRefNo:
string
-
valueDate:
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
400 Response
Bad request error, the server is unable to process the request.
401 Response
Unauthorized request error, invalid credentials.
403 Response
Request denied, no permission to access the request.
405 Response
Request denied, invalid input.
500 Response
Internal server error.