Appearance
Bank account verification
This guide shows how to verify a bank account with the EyeDP API. Bank Account Verification (BAV) checks that the account details are valid and associated with the supplied account holder.
Person cases send first and last name plus the Person's address. Entity cases send organisationName and account details only — they do not use an address.
A BAV check is enqueued automatically when a bank account is created on the case (when BAV is enabled for your client). For a bank account created from a bank statement, and for any bank account after it's edited, you can turn this off with the automatic check settings. You can create the account via the API, or upload a bank statement and let extraction create it.
Verify by creating a bank account
Authenticate with client credentials. See API basics.
Create a case. All bank accounts and checks belong to a case.
Create a bank account on the case. Submit country-specific identifiers using List bank account formats for the live field keys. UK accounts can send
sortCodeandaccountNumberinstead ofbankFields. When BAV is enabled, EyeDP enqueues the check as soon as the account exists.Wait for the check to finish. BAV is asynchronous.
- With webhooks: register a webhook for
bank-account-verification/completedand use thecheckIdfrom the payload. Also register forbank-account-verification/could-not-run, sent if the account or case is missing details the check needs, andbank-account-verification/error. Each event'sbankAccountIdsays which account it's about. - Without webhooks: poll Case Progress and find the account under
bankAccounts. Its Bank Account Verification check is done whenlastRun.stateisCompleted, and the run'soperationIdis the check id. IflastRun.stateisFailed, it errored or couldn't run; if the check'srunStateisNeedsToRunwithvalidationissues, it couldn't start.
- With webhooks: register a webhook for
Read the result with Get check (
GET /api/cases/{caseId}/checks/{checkId}). ItsbankAccountIdsays which account was checked. ThebavResponsecontains the decision, reasons, scores, branch details, account match type, and the rules that fired.
Verify from a bank statement
Authenticate with client credentials. See API basics.
Create a case. All documents, bank accounts, and checks belong to a case.
Upload a bank statement to the case, then poll Get document until extraction finishes, or wait for the
document-extraction/completedordocument-extraction/errorwebhook (if neither arrives, see Extraction status). EyeDP creates a bank account from the extracted details and, when BAV is enabled and runs automatically, enqueues the check. See Extract and verify a bank statement for the extraction walkthrough, and bank statement for the fields that are extracted.Wait for the check to finish. If you've turned off BAV's automatic run, start it first by executing the
bavworkflow with the account'sbankAccountId. BAV is asynchronous.- With webhooks: register a webhook for
bank-account-verification/completedand use thecheckIdfrom the payload. Also register forbank-account-verification/error, and forbank-account-verification/could-not-run, which is sent if the account read from the statement is missing details the check needs, such as an unreadable sort code. Each event'sbankAccountIdtells you which account it's about. - Without webhooks: poll Case Progress and find the account under
bankAccounts. Its Bank Account Verification check is done whenlastRun.stateisCompleted, and the run'soperationIdis the check id. IflastRun.stateisFailed, it errored or couldn't run; if the check'srunStateisNeedsToRunwithvalidationissues, it couldn't start.
- With webhooks: register a webhook for
Read the result with Get check (
GET /api/cases/{caseId}/checks/{checkId}). ItsbankAccountIdsays which account was checked. ThebavResponsecontains the decision, reasons, scores, branch details, account match type, and the rules that fired.
To start or re-run BAV against an existing account, execute the bav workflow and pass bankAccountId in workflowOptions. Get that ID from List bank accounts.
Correct an account before BAV runs
If a bank account's identifiers fail validation (for example, an IBAN misread from a bank statement), BAV won't run until they're fixed. If BAV runs automatically, you'll receive bank-account-verification/could-not-run with the account's bankAccountId.
While the account's canEdit is true, correct its identifiers with Update a bank account. The account keeps its ID, and when BAV is enabled a check is enqueued with the corrected details, unless you've turned off BAV's automatic run.
Once BAV has been run or requested, the account can't be edited or deleted: create a new bank account with the correct identifiers instead. The original account stays on the case.

