Skip to main content
Requirements
  • API key pair
  • Webhook setup
  • Bank verification credits

Bank Verification API Integration

Creating a Bank Verification Session

Generate a token with POST /bank/tokens/. Every field is optional: successUrl and failUrl let you control where the end-user lands based on the result. If you leave them out, the end-user sees iDenfy’s default result screen, as before.
For full request and response schemas for session creation, see the API Reference tab.
Creating a redirection linkAppend the generated tokenString to the URL https://bank-verification.ui.idenfy.com/?token= to provide to the end-user.Example: https://bank-verification.ui.idenfy.com/?token=LVS8YgSTTVuXAHiur10yCabIAWLizUlX

Webhook Response

Bank verification results are delivered as a BANK_VERIFICATION webhook notification, in two stages:
  1. final: false: sent as soon as the end-user finishes, fails or cancels at the bank. status is PROCESSING, FAILED or CANCELLED. On FAILED and CANCELLED, id is null and no second webhook follows.
  2. final: true: sent once the account data is collected. status is COMPLETED, and only this webhook carries accounts and riskLevel.
Both stages return the clientId and externalRef you set when creating the token, so you can match the webhook to your end-user.
The account object carries more fields than shown here: account identifiers, servicer, postal address, credit limit and identification hashes. For the full webhook schema, see Bank Verification webhook in the API Reference tab.

Financial Insights

Set access.financialInsights to true when you only need a summary of the end-user’s finances, for example for affordability or responsible-gambling checks. The final webhook and GET /bank/verifications/{id}/ then carry a financialInsights object:
The accounts and transactions are read to build the insights even when accounts or transactions is false, but in that case they are not stored. When financialInsights is the only access you request, the final webhook has accounts: null and riskLevel: "NOT_CHECKED", because the risk level is only calculated when transactions is true. financialInsights is only set on the final webhook. It is null when it was not requested, when no transactions were fetched, or for verifications made before the feature existed.
access.financialInsights applies to standalone bank verification tokens. For the bank step inside a KYC verification, Financial Insights is controlled by the Financial insights partner setting under KYC → Additional fraud prevention, which needs bank verification switched on and is off by default.

Retrieving a Bank Verification

Fetch a completed bank verification at any time with GET /bank/verifications/{id}/. Use the id from the final webhook. The response has the same shape as the final webhook payload, with accounts, riskLevel, financialInsights, clientId and externalRef, but without final and status.
For full request and response schemas, see the API Reference tab.

Deleting a Bank Verification

Delete a bank verification with DELETE /bank/verifications/{id}/, for example when it was created by mistake, was a test, or the end-user asks for their data to be erased. The verification and all its data (accounts, transactions and files) are removed immediately, with no archived or intermediate state. The bank verification token is deleted with it. A successful request returns 204 No Content. An ID that doesn’t exist, was already deleted or belongs to another partner returns 404. Deletion is permanent, and no webhook is sent for it.
For full request and response schemas, see the API Reference tab.

Listing Account Transactions

Retrieve transaction history for a verified bank account with GET /bank/verifications/{verificationId}/accounts/{accountId}/transactions/. Results are paginated with the page and perPage query parameters. Each transaction includes the amount, booking and value dates, creditor and debtor details, credit/debit indicator, transaction status, remittance information and the balance after the transaction.
For full request and response schemas, see the API Reference tab.

Next Steps

API Reference

Full bank verification API endpoint reference.

Dashboard Guide

Step-by-step guide for bank verification in the dashboard.