Skip to main content

Penny Drop Verification

Objective

The Penny Drop Verification module validates a bank account number and the Indian Financial System Code(IFSC) associated with it by making a transaction of 1 rupee (a penny drop).

InputOutput
The account number and its IFSCThe response indicating the status of the transaction and additional details such as the account holder's name

Inputs

The following table provides the details of the input parameters required for the module.

ParameterMandatory or OptionalDescriptionValid Values
ifscMandatoryThe IFSC of the account's branch.Not Applicable
accountNumberMandatoryThe account number associated with the bank account.Not Applicable

Success Response Sample

The following are samples of success responses from the module.

{
"status": "success",
"statusCode": "200",
"result": {
"bankResponse": "Transaction Successful",
"ifsc": "<Enter_the_IFSC>",
"accountNumber": "<Enter_the_Account_Number>",
"accountName": "<Enter_the_Name_of_the_Account_Holder>",
"bankTxnStatus": true
}
}

Success Response Details

The following table provides the details of the fields in a success response.

ParameterDescription
bankResponseIndicates the result of the transaction, signaling whether it was a success or a failure.
ifscThe IFSC Code of the bank account for reference.
accountNumberThe account number associated with the bank transaction.
accountNameThe name of the account holder associated with the bank account.
bankTxnStatusIndicates the status of the transaction, with a value of "true" if the transaction was successful and "false" if it was not.

Failure Response Sample

The following is a failure response sample for a blocked account.

{
"status": "success",
"statusCode": "200",
"result": {
"bankResponse": "Account is blocked",
"ifsc": "<Enter_the_IFSC>",
"accountNumber": "<Enter_the_Account_Number>",
"accountName": "<Enter_the_Name_of_the_Account_Holder>",
"bankTxnStatus": false
}
}

Error Response Sample

The following are the sample error responses from the module.

{
"status": "failure",
"statusCode": "422",
"error": "Invalid value passed for an input: Account number or IFSC"
}
{
"status": "failure",
"statusCode": "500",
"error": "Bank Error: IMPS Mode Fail"
}
{
"status": "failure",
"statusCode": "500",
"error": "Bank Error: NPCI Unavailable"
}

Failure and Error Response Details

A failure or error response from the module contains a failure status, with a relavant status code and error message. The following table lists all error responses.

Status CodeError MessageError Description
422Invalid Account Number or IFSCAn invalid value was provided for either the account number or IFSC in the input.
422Invalid Account NumberAn invalid value was provided for the account number in the input.
422Invalid IFSCAn invalid value was provided for the IFSC in the input.
422Invalid IFSC PatternAn invalid value was provided for the IFSC pattern in the input.
400Invalid IFSC LengthThe length of the IFSC provided is not 11 characters long as required.
400Account Number Length is too ShortThe length of the account number provided is less than the required minimum of 6 characters.
400Account Number Length is too LongThe length of the account number provided exceeds the maximum limit of 25 characters.
500Internal Server ErrorKindly check the request headers or contact the HyperVerge team for resolution.
500Bank Error: IMPS Mode FailA bank-related error, specifically the failure of the IMPS mode.
500Bank Error: Beneficiary Bank OfflineA bank-related error, with the beneficiary bank being offline.
500Bank Error: Source Bank DeclinedA bank-related error, with the source bank declining the transaction.
500Bank Error: Failed at BankA bank-related error, with the transaction failing at the bank.
500Bank Error: Transaction FailedA bank-related error, with the transaction failing.
500Bank Error: NPCI UnavailableA bank-related error, with the National Payments Corporation of India (NPCI) being unavailable.
500Bank Error: Failed at Beneficiary BankA bank-related error, with the transaction failing at the beneficiary bank.
500Bank Error: IMPS not supported on Beneficiary AccountA bank-related error, with the beneficiary account not supporting IMPS.
500Bank Error: Verification Attempt FailedA bank-related error, specifically a failure in the verification attempt.
Was this helpful?
Ask AIBeta
Hi! How can I help?
Ask me anything about HyperVerge products, APIs, and SDKs.
Try asking: