Skip to main content

3.Account Validation

Account validation is used for validating creditor/beneficiary account before initiating the actual financial transaction. Validating creditor account beforehand reduces the transactions rejection ratio. After the account is validated the actual fund transfer APIs are required to be called. It validates the existence of the account, status and account name match details etc. Additionally, the account name validation ensures beneficiary Know Your Customer (KYC) requirement while sending the remittance transactions from different jurisdiction of across the globe. This section describes the required information for account validation through NPI.

MethodEnd-PointsAuthorizationContent-Type
POST(BASE_URL)+/ api/ validatebankaccountBearer (access_token)application/json

Request Parameter:

#Field NameData TypeLengthDescriptionPresence
1bankIdString4Assigned bank id.Y
2accountIdString20Bank account number.Y
3accountNameString140Bank Account name.Y

Response Parameter:

#Field NameData TypeLengthDescriptionPresence
1bankIdString4Customer bank idY
2branchIdString4Actual branch id.Y
3accountIdString20Bank account number.Y
4accountNameString140Bank account name.C
5currencyString3Bank account currency.Y
6responseCodeString4Response Code.Y
7responseMessageString140Response Message.Y
8matchPercentateInteger3Match percentage.Y
9baseUrlString100Base UrlO
10usernameString20User name.O
11passwordString20User passwordO

Sample Request:

{
"bankId":"0401",
"accountId" : "08110017501011",
"accountName" : "MANISHA DHAUBANJAR"
}

Sample response1:

{
"bankId": "0401",
"branchId": "81",
"accountId": "08110017501011",
"accountName": null,
"currency": "NPR",
"responseCode": "000",
"responseMessage": "Account successfully validated.",
"matchPercentate": 100,
"baseUrl": null,
"userName": null,
"password": null
}

Sample response2:

{
"bankId": "0401",
"branchId": "81",
"accountId": "08110017501011",
"accountName": null,
"currency": "NPR",
"responseCode": "999",
"responseMessage": "Some difference in beneficiary account name observed. Transaction once sent is irreversible, please reconfirm the beneficiary account number.",
"matchPercentate": 94,
"baseUrl": null,
"userName": null,
"password": null
}

Sample response3:

{
"bankId": "0401",
"branchId": "81",
"accountId": "08110017501011",
"accountName": null,
"currency": "NPR",
"responseCode": "523",
"responseMessage": "Beneficiary Account Name Mismatched.",
"matchPercentate": 40,
"baseUrl": null,
"userName": null,
"password": null
}

Explanation on Response Codes:

#Response CodeDescriptionRemarks
1000Account successfully validated. Account 100% Match.Process the transaction to NPI.
2999Some difference in beneficiary account name observed. Refer the account name percentage (match Percentage) in response.If the match percentage is > 80, process the transaction to NPI. Otherwise stop the transaction for further processing.
3Not (000 & 999)Issue with the beneficiary account. Please refer the response message.Stop the transaction for further processing to NPI.