Skip to main content

Class AccountValidationAPIResponse


Successful Response

NameTYPEREQUIREDDescription
IdstringYesTransaction Id of the transaction

Id
RoutingNumberstringYesRouting number to identify the FI

AccountValidation.RoutingNumber
AccountNumberstringYesAccount number to be validated

AccountValidation.AccountNumber
AccountTypestringYesThey type of Account

AccountValidation.AccountType
SequenceNostringYesThe sequence in which the transaction posted to core

AccountValidation.TrialTransactions.SequenceNo
TypestringYesThe type of transaction happened. It can be a credit or debt.

AccountValidation.TrialTransactions.Type
AmountnumberYesThe transaction amount which is credited to or debited from the account.

AccountValidation.TrialTransactions.Amount
StatusstringYesThe status of the transaction. The transaction can be a success or a failure.

AccountValidation.TrialTransactions.Status
TransactionReceiptIdstringYesThe transaction receipt id of the transaction which is returned from the core when transaction is successfully posted.

AccountValidation.TrialTransactions.TransactionReceiptId
EndToEndIdstringYesThe EndToEndId is a reference for each transaction posted.

AccountValidation.TrialTransactions.EndToEndId

Failure Response

NameTYPEREQUIREDDescription
MessagestringYesFree text. Error Message.

AccountValidation.Message
CodestringYesError code

AccountValidation.Error.Code
DescriptionstringYesError description

AccountValidation.Error.Description

Successful Response - JSON representation

{
"Id": "String",
"AccountValidation": {
"RoutingNumber": string,
"AccountNumber": string,
"AccountType": string,
"TrialTransactions": [
{
"SequenceNo": Integer,
"Type": string,
"Amount": number,
"Status": string,
"TransactionReceiptId": string,
"EndToEndId": string
},
{
"SequenceNo": Integer,
"Type": string,
"Amount": number,
"Status": string,
"TransactionReceiptId": string,
"EndToEndId": string
},
{
"SequenceNo": Integer,
"Type": string,
"Amount": number,
"Status": string,
"TransactionReceiptId": string,
"EndToEndId": string
}
]
}
}

Failure Response - JSON representation

{
"AccountValidation": {
"Message": string,
"Error": {
"Code": string,
"Description": string
}
}
}

Sample Response: Success Scenario

{
"Id": "8d07d926-0b5d-41cd-90e9-f42d02513e6e",
"AccountValidation": {
"RoutingNumber": "075911742",
"AccountNumber": "000201911121",
"AccountType": "D",
"TrialTransactions": [
{
"SequenceNo": 637,
"Type": "CR",
"Amount": 0.09,
"Status": "Success",
"TransactionReceiptId": "JWFOQH8IYI",
"EndToEndId": "075911742-TRIAL-HZUDH02584"
},
{
"SequenceNo": 638,
"Type": "CR",
"Amount": 0.05,
"Status": "Success",
"TransactionReceiptId": "JWFOQH8IYJ",
"EndToEndId": "075911742-TRIAL-XQIED34001"
},
{
"SequenceNo": 639,
"Type": "DR",
"Amount": 0.14,
"Status": "Success",
"TransactionReceiptId": "JWFOQH8IYK",
"EndToEndId": "075911742-TRIAL-AKRDD97772"
}
]
}
}

Sample Response: Error Scenario

{
"AccountValidation": {
"Message": "Validation failed",
"Error": {
"Code": "70008",
"Description": "Invalid RTN or There is no info available for this RTN"
}
}
}