Skip to main content
POST
Generate bank verification token

Authorizations

Authorization
string
header
required

The request must contain basic auth headers where username is API key and password is API secret.
In order for you to start using our API you will need an API key and API secret.
Both can be retrieved by contacting iDenfy's support or iDenfy's sales team.

Body

application/json
lifetime
integer
default:3600
write-only

The duration in seconds of bank verification token validity.

Required range: 0 <= x <= 2592000
country
enum<string> | null
Available options:
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 | null
Maximum string length: 32
access
object
clientId
string | null

A unique string identifying a client on your side.

Maximum string length: 100
externalRef
string | null

Any additional value chosen by you, given as externalRef.

Maximum string length: 40
successUrl
string<uri> | null

URL the user is redirected to after completing the bank verification.

Maximum string length: 2048
failUrl
string<uri> | null

URL the user is redirected to after a failed or cancelled bank verification.

Maximum string length: 2048

Response

201 - application/json
tokenString
string
required
read-only

Token string used for authentication.

expiration
string<date-time>
required
read-only

Date and time when this token will become expired.

isValid
boolean
required
read-only

Whether this token is still active and not yet expired.

country
enum<string> | null
Available options:
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 | null
Maximum string length: 32
access
object
clientId
string | null

A unique string identifying a client on your side.

Maximum string length: 100
externalRef
string | null

Any additional value chosen by you, given as externalRef.

Maximum string length: 40
successUrl
string<uri> | null

URL the user is redirected to after completing the bank verification.

Maximum string length: 2048
failUrl
string<uri> | null

URL the user is redirected to after a failed or cancelled bank verification.

Maximum string length: 2048