Class AccountValidationAPIResponse
Successful Response
| Name | TYPE | REQUIRED | Description |
|---|---|---|---|
| Id | string | Yes | Transaction Id of the transaction Id |
| RoutingNumber | string | Yes | Routing number to identify the FI AccountValidation.RoutingNumber |
| AccountNumber | string | Yes | Account number to be validated AccountValidation.AccountNumber |
| AccountType | string | Yes | They type of Account AccountValidation.AccountType |
| SequenceNo | string | Yes | The sequence in which the transaction posted to core AccountValidation.TrialTransactions.SequenceNo |
| Type | string | Yes | The type of transaction happened. It can be a credit or debt. AccountValidation.TrialTransactions.Type |
| Amount | number | Yes | The transaction amount which is credited to or debited from the account. AccountValidation.TrialTransactions.Amount |
| Status | string | Yes | The status of the transaction. The transaction can be a success or a failure. AccountValidation.TrialTransactions.Status |
| TransactionReceiptId | string | Yes | The transaction receipt id of the transaction which is returned from the core when transaction is successfully posted. AccountValidation.TrialTransactions.TransactionReceiptId |
| EndToEndId | string | Yes | The EndToEndId is a reference for each transaction posted. AccountValidation.TrialTransactions.EndToEndId |
Failure Response
| Name | TYPE | REQUIRED | Description |
|---|---|---|---|
| Message | string | Yes | Free text. Error Message. AccountValidation.Message |
| Code | string | Yes | Error code AccountValidation.Error.Code |
| Description | string | Yes | Error 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"
}
}
}