Bank Account Verification API

VERIFICATION OF ACTIVE BANK ACCOUNT AND NAME MATCHING WITH LEADING BANKS

API v1 Flow v1

Description

Bank account verification API offers an instant verification of active savings and current bank account, given account number and IFSC code. This API can be used to filter out inactive or invalid bank accounts before direct deposits or payouts (loans, transfers, micro lending, EMI, credits) to individuals and vendors.

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

API Outcome

  • Account holder name Name of the bank account holder as registered with the bank.
  • Active status Status to validate if provided bank account is valid and active.
  • Status Code In case the account is found to invalid or flagged, status message describes the reason.

API Details

Request

TypeURL
Posthttps://api.attestr.com/api/{version}/public/finanx/acc

Request Body Parameters

TypeNameDescriptionOptional (Default)Min VersionMax Version
StringaccBank Account NumberRequiredv1
StringifscIFSC code of the bank branchRequiredv1
BooleanfetchIfscFetch IFSC details for the ifsc providedOptionalv1

Request Header Parameters

TypeNameValue / DescriptionOptionalMin VersionMax Version
StringContent-Typeapplication/jsonRequiredv1
StringAuthorizationBasic {authToken}Requiredv1

If you do not have the authentication token, please refer to Register App to generate one.

Sample Request

JSON
Copy

Response

Http Status Code 200

Please note that the valid key decides the availability of rest of the keys in the response. If provided account / ifsc are invalid, then all keys except valid and message are omitted. If true, remaining keys will have appropriate data.

KeyDescriptionTypeMin VersionMax Version
validTrue | false if the provided account and ifsc combination is valid, account exists and is activeBooleanv1
nameName of the account holder as per bank recordsStringv1
messageMessage if account / ifsc is invalid (available only if valid is false)Stringv1
suggestionSuggested new IFSC codes after recent bank acquisitions and mergers. This is available if provided IFSC is invalid and there is a matching new IFSC code record in our database.Stringv1
statusA status code describing the reason if valid is false. It can have following values. ACTIVE: Account is valid and active, INVALID: Account number is invalid. BLOCKED: Account is currently blocked. CLOSED: Account is closed. NRE: Account is a NRE account. INVALID_IFSC: If Ifsc is invalid.Stringv1
ifscIFSC details for the ifsc code entered. Available only if fetchIfsc is passed as true. The structure of object is same as specified in IFSC Validation API response. IFSC validation service must be enabled in your account to use this option.Objectv1

Sample Response

Sample response for the case when account and ifsc are both valid and account exists and is active too

JSON
Copy

Sample response for the case when account either does not exists or is inactive

JSON
Copy

Sample response for the case when IFSC is invalid

JSON
Copy

Sample response when fetchIfsc is true.

JSON
Copy

Error Response

ParameterTypeDescription
codeNumberUnique error codes for different errors. Always available.
messageStringError message describing the error. Always Available.
detailsStringDetail error message. Available only for certain types of errors.

Error Codes

HTTP StatusError CodeError Message
4004001Malformed data or missing required parameter values
4004005Operation could not be performed due to low credits balance
4014016Invalid client authorization
4034031Unauthorized access
4034035Requested service is not provisioned for your account
4034039Client's IP address is not whitelisted
4034035Requested service is not provisioned for your account
4294291Maximum account rate limit exceeded
4294292Maximum API rate limit exceeded
4294293Maximum account daily limit exceeded
4294294Maximum API daily limit exceeded
5005001Request could not be processed
5045041Source or beneficiary bank is either offline or NPCI / IPMS is unavailable

Sample Error Response

JSON
Copy

Get Free Trial

Create a free account Or “Talk to Us” for price information and other queries.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard