Bank Account Check Idempotency and Billing Guide
Each bank-answered account check is billed once whatever the result; 400, 402, 404 and 503 are never billed. An Idempotency-Key returns the first response with the same request_id and bills once.

Contents
In this guide
Jump to the part you need.
The Didit Account Check API bills one credit each time a bank answers a check, whatever that answer is, and never bills a request the API refuses. It fits backend teams that confirm a payout account belongs to a name they already hold, before money moves. List price is $0.45 per answered check. The caveat: a retry without an Idempotency-Key runs a second check and bills again, and no endpoint reads a past check back, so you must store every response.
If you drive the build from an AI assistant, connect Didit through the MCP server at https://didit.me/developers/mcp/. The MCP setup page explains how to connect an AI assistant.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Question | What Didit does |
|---|---|
| Is a failed check billed? | Yes, when the bank answers. One credit for match, close_match, no_match or cannot_verify. |
| Which failures are never billed? | 400 with a refused body, 402 with no credit, 404 for an uncovered country, 503 when the bank is unavailable. |
What does an Idempotency-Key do? | Returns the first response for that key, with the same request_id, and bills once. |
| What if I retry without a key? | A new check runs and is billed again. |
| How long is the response kept? | 24 hours, when you send a key. |
| Can I read a check back later? | No read-back endpoint is documented. Store the response you get. |
| Rate limit | 300 requests per minute per API key. |
| Sandbox | Sandbox keys are never charged. |
| Price | $0.45 per answered account check at list price. |
Start free in the sandbox at https://business.didit.me/, with no sales call. For developers, connect Didit to an AI assistant through the MCP server at https://didit.me/developers/mcp/.
Does a failed bank account verification get billed?
Yes, if the bank answered. The rule for the account check is one credit per bank-answered check, whatever the result. A no_match costs the same as a match, because the work is identical: we sent the account to the bank and the bank answered with a verdict on the holder name.
No, if the request was refused before the bank answered. Four statuses never reach a bank and are never billed, and a 429 reaches no bank and is not billed either. The table below shows what each one means and what to do about it.
| Status | What happened | Billed | What to do |
|---|---|---|---|
200 with a result | The bank answered, with match, close_match, no_match or cannot_verify | One credit | Apply your payout policy |
400 | A field failed validation, for example account.bank_code or consent required | No | Fix the field the body names, then resend |
402 | The check could not be paid for, code insufficient_credits | No | Top up, then resend |
404 with country_not_covered | No priced account check route in that country | No | Check the coverage page |
503 | A bank service is unavailable, or the check took too long to answer (query_timeout) | No | Resend with the same Idempotency-Key |
429 | The rate limit was reached, so no bank check runs | No, no bank check runs and nothing is billed | Wait for Retry-After, then resend with the same key |
Format is checked before the bank is called. Didit checks the length, the characters, the check digits and, for an IBAN, that it belongs to the selected country. A value that fails is refused with the field to fix and no attempt is spent, so a mistyped IBAN costs nothing and never reaches the bank.
What the four results mean
result | What it means | Typical next step |
|---|---|---|
match | The bank holds the account under the name you sent | Send the money |
close_match | The bank holds a close name, returned in holder_name when the bank returns it | Compare the name, or ask the person to confirm |
no_match | Another name holds the account, or there is no such account | Do not send the money |
cannot_verify | The bank answered without comparing the name, for example a blocked or closed account | Apply your own policy, for example ask for another account |
name_match_score is the 0 to 100 similarity between the holder name you sent and the name on the account. result stays authoritative: it is decided with the default thresholds, a match from 85 and a close_match from 70 up to 84, and your own threshold never changes it. The score is null when no name was compared, which covers a missing account, a bank verdict with no holder name, and holder details that could not be read.
Install route: the API recipe and the MCP connector
Didit documents two routes into this, and they answer different questions. The check itself is a backend API call: the account check page documents it as POST /v3/bank/account-check/, with no session and no sign-in, and the call needs your API key. The MCP server helps with the integration work rather than running the check: it connects an AI assistant to Didit so you can work from a prompt while you build, and the MCP setup page explains how to connect an AI assistant. The payout decision stays in your backend, because that is where the key and the money are. If your client has no documented connector, the documented route is the API call below, and its price sits on https://didit.me/pricing/.

Prerequisites
| Item | What you need | Where |
|---|---|---|
| Plan | Any plan. The sandbox is free on every plan; production pays per answered check from prepaid credit | https://didit.me/pricing/ |
| Credit | A balance that covers the check. A 402 means the check did not run | Business Console billing |
| API key | A key with access to this endpoint, sent as x-api-key. Sandbox keys are never charged | API keys |
| Coverage | The account's country must have a priced account check route. The account check runs in 47 countries today | Coverage page |
| Client | A server-side HTTP client that sends JSON. The key never ships in a browser | Your backend |
| Storage | A place to store the response, because there is no read-back endpoint | Your own record |
Step by step
Create a sandbox application and an API key. Open https://business.didit.me/, create a sandbox application, then create a key on the API keys page. Sandbox keys are never charged, and a sandbox key asks for consent in the same countries a live key does.
Send the check with an
Idempotency-Key. Send the account in the shape its country writes it, and add the key as a header. Pick a key your system can rebuild for the same payout attempt, so a retry after a timeout repeats it instead of creating a new one.curl -X POST https://verification.didit.me/v3/bank/account-check/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: payout-4821-attempt-1" \ -d '{ "country": "ESP", "account": { "iban": "ES5500000000000000000001" }, "holder": { "business_name": "Northwind Trading S.L." } }'Read the result. Take
result,holder_nameandname_match_scorefrom the body.resultis authoritative. The score is the number it was decided on, so you can apply your own threshold onclose_matchwithout changing the verdict.Store the response. There is no endpoint that reads a check back, so write
request_id,result,holder_name,name_match_scoreand the time against your payout record.Retry with the same key. On a
503withquery_timeout, a500or502, or a429after waiting forRetry-After, resend the identical body with the identicalIdempotency-Key. You get the first response back with the samerequest_id, and one credit is charged.Fix refusals and resend. A
400names the field to fix, for exampleaccount.bank_codewith reasonrequired, orconsentwith reasonrequired. A402means top up. A404withcountry_not_coveredmeans there is no priced route in that country. None of these is billed, so fixing and resending costs only one credit when the bank finally answers.Go live. Swap the sandbox key for a live key, confirm the country is on the coverage page, and check whether the country requires consent. Where it does, ask the holder for explicit consent in your product and send
"consent": truebefore each check.

Field and response mapping
Request fields
| Field | What it does | Watch out for |
|---|---|---|
country | The ISO code of the account's country, which decides the account format and the coverage | An uncovered country answers 404 with country_not_covered and is not billed |
account | The account object in that country's shape | A missing key is a 400 naming the field. Spaces, dashes and dots are ignored |
holder.full_name | Checks a person's account against that name | Send one of the two holder fields |
holder.business_name | Checks a company's account against that name | Same field family, use this for business accounts |
consent | Records the holder's explicit consent where the country requires it before each check | Missing consent is a 400 on consent and is not billed |
Idempotency-Key header | Makes the call safe to retry | The same key returns the first response with the same request_id and bills once |
Account shapes by country
| Country | account |
|---|---|
| IBAN countries, United Arab Emirates | {"iban": "..."} |
| United Kingdom | {"sort_code": "...", "account_number": "..."} |
| United States | {"routing_number": "...", "account_number": "..."} |
| Canada | {"transit_institution": "...", "account_number": "..."} |
| Australia | {"bsb": "...", "account_number": "..."} |
| India | {"ifsc": "...", "account_number": "..."} |
| Nigeria | {"bank_code": "...", "account_number": "..."}, with the 6-digit NIP code and the 10-digit NUBAN |
| Ghana | {"bank_code": "...", "account_number": "..."}, with the bank's 3-letter code |
| Kenya, Zambia | {"bank_code": "...", "account_number": "..."}, with the bank's code for that country |
| Brazil | {"iban": "...", "registration_id": "..."}, with the CPF or CNPJ |
| Mexico | {"clabe": "..."} |
| Argentina | {"cbu_cvu": "..."} |
Response fields
| Field | Meaning | Where it goes |
|---|---|---|
request_id | The id of this check | Store it. Every retry with the same key returns the same value |
result | match, close_match, no_match or cannot_verify | Your payout decision |
holder_name | The name the bank holds, when the bank returns it | Review queue, mostly for close_match |
name_match_score | 0 to 100 similarity, or null when no name was compared | Your own threshold as a secondary signal |
Test with sandbox data, then handle the errors
A sandbox application mocks every external provider, and sandbox keys are never charged, so the whole loop can be exercised before a live key exists. Send the documented Spain example with a sandbox key and a key header. Expect HTTP 200 with result, name_match_score and request_id in the body, so assert on the shape of the response and on your own handling of each result value rather than on one fixed verdict. Then resend the identical request with the identical Idempotency-Key and confirm the same request_id comes back, which proves your retry path bills once.
| What you see | Why | Fix | Billed |
|---|---|---|---|
400, account.bank_code, required | The country's check needs a bank code you did not send | Send the bank's code for that country | No |
400, consent, required | The country needs the holder's explicit consent before each check | Ask for consent in your product, then send "consent": true | No |
402 with insufficient_credits | The check could not be paid for, so it did not run | Top up, then resend | No |
404 with country_not_covered | No priced route in that country | Check the coverage page before offering the check there | No |
503 with query_timeout | The bank did not answer in time | Resend with the same Idempotency-Key | No |
429 with Retry-After | More than 300 write requests per minute on one key | Wait for Retry-After, add backoff with jitter, stop after a few attempts, resend with the same key | No, no bank check runs and nothing is billed |
409 | The request conflicts with the current state. The docs name a reused Idempotency-Key as an example | Read code and reload the state before resending | Depends on the code |
Disconnect and clean up
Delete the API key in the console and calls from it answer 401: the credentials are invalid. If the whole application is deleted, its keys answer 403 with code: application_deleted for a few minutes, then are refused like any wrong key. Do not retry after that.
On your side, the record is the response you stored. Since no endpoint reads a check back, keep your own copy for as long as your payout records need it.
What the integration costs at both ends
Didit charges only the per-check price: one credit for each check a bank answers, nothing for the four refusal statuses. Your side is one POST, one stored response and a retry path that resends the same key. A retry loop that mints a new Idempotency-Key on every attempt, or sends none, runs a new check each time, and every check the bank answers is billed again.
Take 10,000 payout account checks in a month. 9,200 are answered by a bank and 800 are refused: a 400 with a missing bank code, a 404 for a country without a route, and some 402 calls while the balance was empty. Billed: 9,200 x $0.45 = $4,140.00. Refused: 800 x $0.00 = $0.00. Month total: $4,140.00.
Now run the same 10,000 checks through a retry loop that omits the Idempotency-Key, and let 2,000 of them run a second time after a timeout. Billed: 11,200 x $0.45 = $5,040.00. The missing header costs $900.00 a month, more than a fifth of the original bill, for 2,000 duplicate answers. Growth takes 4% off every Didit price and Scale 10%, applied at billing, so the per-check figure falls with the plan, not with how many times you resend.

Sources
- Didit docs: Account Check API, for the account shapes, consent, results and the country coverage rule.
- Didit docs: Bank Account Check, for the format check before billing and the method value
account_lookup. - Didit docs: Bank Data API overview, for the $0.45 answered-check price and the 47-country account check coverage.
- Didit docs: Bank Verification pricing, the list of countries the check runs in.
- Didit docs: API rate limiting, for the 300 per minute write ceiling, the
429shape andRetry-After. - Didit docs: API errors, for
402on this endpoint, the status table and the retry guidance. - Didit docs: Sandbox test data, for mocked providers and unbilled sandbox calls.
- Didit docs: API keys and API authentication.
- Didit docs: Bank Verification coverage and Verify a payout account.
- Didit pricing, the live price feed read on November 26, 2026, with plans, credits and the plan discounts.
- Didit docs: Pricing, the billing rules that sit behind the price list.
- Didit MCP server, the setup page for every supported AI client.
The next step is to run the two calls that matter before you write any payout code: one answer that costs a credit, and one retry that must not. Start free in the sandbox at https://business.didit.me/, with no sales call.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
Does a failed bank account verification get billed?
Yes, when the bank answered. Didit bills one credit for each bank-answered account check, whatever the result, so no_match and cannot_verify cost the same as match. Requests refused before the bank answered are never billed: 400 with a refused body, 402 when the check cannot be paid for, 404 for an uncovered country, and 503 when the bank is unavailable.
What does an Idempotency-Key do on the Didit account check?
It makes the call safe to retry. When you send an Idempotency-Key header, a second request with the same key returns the first response, with the same request_id, and one credit is charged in total. The response is kept for 24 hours when a key is used, so the key covers the window in which a timeout or a network failure usually resolves.
What happens if I retry the account check without an Idempotency-Key?
A new check runs and it is billed again. Nothing about the previous response is returned, because without a key Didit has no way to match the retry to the first request. Send a key per payout attempt, and rebuilding that key on a retry is the whole fix.
How long does Didit keep the response of an idempotent account check?
24 hours, when you send an Idempotency-Key. Inside that window a retry with the same key returns the same response and the same request_id. After it, store your own copy, because there is no endpoint to read a past check back.
Can I read a past bank account check back through the API?
No. The docs describe no endpoint that returns a past account check, so the response body is the only record and you must store it. Write request_id, result, holder_name, name_match_score and the time into your own payout record when the call returns.
How much does a Didit bank account check cost?
$0.45 per answered account check at list price, charged once for each check a bank answers whatever the result. Refused requests cost nothing. Growth takes 4% off every Didit price and Scale takes 10%, and sandbox keys are never charged.
What is the rate limit on the account check API?
300 requests per minute per API key, because the account check is a write request and writes share that ceiling. A 429 carries a Retry-After header, so wait that long, add backoff with jitter, stop after a few attempts, and resend with the same Idempotency-Key.
Are sandbox account checks charged?
No. Sandbox keys are never charged, and a sandbox application mocks every external provider, so you can run the full success and error set before a live key exists. A sandbox key asks for consent in the same countries a live key does, so the consent path is testable too.
What is name_match_score and which value wins?
name_match_score is the 0 to 100 similarity between the holder name you sent and the name on the account. result stays authoritative: it is decided with the default thresholds, a match from 85 and a close_match from 70 up to 84. The score is null when no name was compared, for example when there is no such account.
Does the account check need the account holder's consent?
In some countries, yes. Where the country requires it, ask for the holder's explicit consent in your product and send "consent": true with the check. Without it, the check in those countries is refused with a 400 on consent and is not billed. Elsewhere consent is optional, and when you send it Didit records it with the check's charge.
Can an AI assistant run the account check for me?
The account check is documented as a server-to-server call with your API key, so the call belongs in your backend, where the key and the payout decision live. The MCP server connects an AI assistant to Didit so you can work from a prompt while you build, and its setup page explains how to connect an AI assistant.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


