Requirements
- API key pair
- Webhook setup
- Bank verification credits
Bank Verification API Integration
Creating a Bank Verification Session
Generate a token withPOST /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.
- Request
- Response
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=LVS8YgSTTVuXAHiur10yCabIAWLizUlXWebhook Response
Bank verification results are delivered as aBANK_VERIFICATION webhook notification, in two stages:
final: false: sent as soon as the end-user finishes, fails or cancels at the bank.statusisPROCESSING,FAILEDorCANCELLED. OnFAILEDandCANCELLED,idisnulland no second webhook follows.final: true: sent once the account data is collected.statusisCOMPLETED, and only this webhook carriesaccountsandriskLevel.
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
Setaccess.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:
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 withGET /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 withDELETE /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 withGET /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.