---
title: "Generate bank verification token"
method: POST
path: "/bank/tokens/"
tags: ["Bank"]
---

# Generate bank verification token

`POST /bank/tokens/`

## Request

- Base URL: `https://ivs.idenfy.com`
- URL: `https://ivs.idenfy.com/bank/tokens/`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/idenfy/apis/idenfy-ivs-core-api/docs/bank/tokens/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- BankTokenRequest
  - `lifetime` integer: The duration in seconds of bank verification token validity.
  - `country` 'AT' | 'BE' | 'BG' | 'HR' | 'CY' | 'DK' | 'EE' | 'FI' | 'FR' | 'DE' | 'GR' | 'HU' | 'IS' | 'IE' | 'IT' | 'LV' | 'LT' | 'LU' | 'MT' | 'NL' | 'NO' | 'PL' | 'PT' | 'RO' | 'SK' | 'SI' | 'ES' | 'SE'
  - `bank` string, nullable
  - `access` BankAccessRequest
    - `accounts` boolean
    - `balances` boolean
    - `transactions` boolean

## Response `201`

- BankToken
  - `tokenString` string, required: Token string used for authentication.
  - `expiration` string, date-time, required: Date and time when this token will become expired.
  - `isValid` boolean, required: Indicates whether this token is valid.
  - `country` 'AT' | 'BE' | 'BG' | 'HR' | 'CY' | 'DK' | 'EE' | 'FI' | 'FR' | 'DE' | 'GR' | 'HU' | 'IS' | 'IE' | 'IT' | 'LV' | 'LT' | 'LU' | 'MT' | 'NL' | 'NO' | 'PL' | 'PT' | 'RO' | 'SK' | 'SI' | 'ES' | 'SE'
  - `bank` string, nullable
  - `access` BankAccess
    - `accounts` boolean
    - `balances` boolean
    - `transactions` boolean

---

[API](https://skmtc.dev/idenfy/apis/idenfy-ivs-core-api.md) - [All operations](https://skmtc.dev/idenfy/apis/idenfy-ivs-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/idenfy/apis/idenfy-ivs-core-api/revisions/3540d9ee5506?raw)
