Bank Account Verification API
Checks that a bank account exists and can take credits. With penny drop you also get the holder's name as the bank has it, a match score against your name and the UTR of the ₹1 credit.
- Source
- NPCI IMPS network through our partner bank (penny drop), or the bank's account validation service (penny-less)
- Turnaround
- Real time, usually a few seconds
- Endpoint
- POST /v1/bank/verify
- Who can use it
- Any registered business with the account holder's consent. Penny drop needs a prepaid balance to cover the ₹1 credits.
Overview
Send us an account number and IFSC and we tell you whether the account can take a credit, and whose name it is in. Penny drop pushes ₹1 over IMPS and reads back the beneficiary name. Penny-less asks the network without moving money. Lenders run it before disbursal, marketplaces before the first settlement, payroll teams before the first salary.
Good to know
A successful check means the account exists and accepted a credit. It does not tell you the balance, whether the account is about to be closed, or that the person in front of you is the holder.
What you get
- Penny drop or penny-lessUse penny drop when you need the name from the bank. Use penny-less when you only need to know the account is live and want to skip the ₹1.
- Name match you can tuneWe return the bank-registered name and a 0 to 100 score against the name you send, so 'R KUMAR' and 'Ravi Kumar' don't become a manual case.
- Merged-bank IFSCs handledOld IFSCs from the 2019 and 2020 bank mergers (Vijaya, Dena, Syndicate, OBC and others) come back with the current bank so you can update your records.
- UTR on every penny dropEach ₹1 credit carries a UTR, which is what your finance team and auditors will ask for later.
Request
POST https://api.ampletrails.com/v1/bank/verify
| Field | Type | Status | Description |
|---|---|---|---|
account_number | string | Required | Bank account number to verify |
ifsc | string | Required | IFSC of the account's branch |
name | string | Optional | Name to fuzzy-match against the bank-registered holder name |
mode | string | Optional | penny_drop (default) or penny_less |
consent | string | Required | Y when the account holder has consented |
Response
Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.
| Field | Meaning | Example |
|---|---|---|
account_exists | Whether the account is active and can receive credits | true |
name_at_bank | Holder name as registered with the bank | RAVI KUMAR |
name_match | Whether the supplied name matches the bank-registered name | true |
name_match_score | Similarity score from 0 to 100 | 94 |
bank_name | Bank that owns the IFSC | HDFC Bank |
branch | Branch for the IFSC | Connaught Place, New Delhi |
utr | Bank reference number for the penny-drop credit | 412345678901 |
mode | Verification route used | penny_drop |
Example
curl -X POST https://api.ampletrails.com/v1/bank/verify \
-H "Authorization: Bearer $AMPLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"account_number": "123456789012", "ifsc": "HDFC0001234", "name": "Ravi Kumar", "mode": "penny_drop", "consent": "Y"}'import os, requests
resp = requests.post(
"https://api.ampletrails.com/v1/bank/verify",
headers={"Authorization": f"Bearer {os.environ['AMPLE_API_KEY']}"},
json={
"account_number": "123456789012",
"ifsc": "HDFC0001234",
"name": "Ravi Kumar",
"mode": "penny_drop",
"consent": "Y"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["data"])const resp = await fetch("https://api.ampletrails.com/v1/bank/verify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AMPLE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"account_number": "123456789012",
"ifsc": "HDFC0001234",
"name": "Ravi Kumar",
"mode": "penny_drop",
"consent": "Y"
}),
});
const { data } = await resp.json();$ch = curl_init("https://api.ampletrails.com/v1/bank/verify");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AMPLE_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["account_number" => "123456789012", "ifsc" => "HDFC0001234", "name" => "Ravi Kumar", "mode" => "penny_drop", "consent" => "Y"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];{
"status": "success",
"request_id": "req_7f3a9c21e4",
"data": {
"account_exists": true,
"name_at_bank": "RAVI KUMAR",
"name_match": true,
"name_match_score": 94,
"bank_name": "HDFC Bank",
"branch": "Connaught Place, New Delhi",
"utr": "412345678901",
"mode": "penny_drop"
}
}Example data. The exact field list for your account comes with your sandbox documentation.
Use cases
Loan disbursal
Confirm the borrower's account is in their own name before you release funds. A wrong account is very hard to claw money back from.
Seller and vendor settlement
Check the payout account when a seller or vendor is onboarded, not when the first settlement bounces.
Insurance claims and refunds
Pay claims and refunds into accounts that belong to the policyholder or nominee, with the bank's name on record.
Questions about this API
Does the customer see the ₹1 credit?
Yes, it shows in their statement, usually with your business name in the narration. Tell them in advance so it doesn't look like a scam.
Why is the name at the bank different from the name on PAN?
Banks often store initials, old surnames or a truncated name. Look at the match score rather than an exact string compare, and route low scores to a person.
What happens if IMPS is down at the beneficiary bank?
You get a clear failure reason. Retry later or fall back to penny-less, which will at least tell you if the account exists.
Can I verify NRE, NRO or joint accounts?
NRO and joint accounts work, though for joint accounts the bank usually returns the first holder's name. NRE accounts can't accept a domestic IMPS credit from a non-NRI source, so penny drop to them will fail.
Try the Bank Account Verification API
Sandbox keys, the full field reference and a Postman collection, usually within a working day.