Create QR code

Use this call to create a new QR code. After this call you should add the link to the QR code image on your website.


    "merchant_token": "3c01abeb-b031-4fea-9f2d-c55c283cd78e",
    "attributes": {
        "identity": true,
        "name": true,
        "gender": true,
        "address": true,
        "date_of_birth": true,
        "18y_or_older": true,
        "email_address": true,
        "telephone_number": true
    "entrance_code": "string",
    "merchant_return_url": "string",
    "language": "nl",
    "use_case": "00",
    "expiration": "2022-01-01 00:00:00",
    "size": 200,
    "format": "png"


merchant_tokenA GUID string that is unique and private to you as a merchant. Do not share this key, keep it safe. Example 3c01abeb-b031-4fea-9f2d-c55c283cd78e.
entrance_codeThis is a token that will allow you to rejoin the user to his session when he returns. It can be a maximum of 40 characters and should only contain the characters a-z, A-z and 0-9. It should only be valid once and needs to be random enough (best use a cryptographically secure random generator), to avoid the possibility of replay attacks.
merchant_return_urlThe place where the issuing bank should redirect the user to at the end of the flow. The bank will append two query parameters to this url when returning the user to you, trxid and ec. The latter will contain the value of entrance_code, trxid is the transaction_id that you will receive in this request.
use_caseUsed to be able to differentiate between security measures. Supported values are:
00: Max scans: ∞, Max expiration: 1 month
01: Max scans: 4, Max expiration: 15 minutes
expirationThe date and time (in UTC) at which the iDIN QR code expires and can no longer be used to initiate iDIN transactions. Example: 2022-01-01 00:00:00.

Optional parameters

attributes » identityRetrieve a uniquely identifying token with the bank for this consumer that is consistent across multiple sessions.
attributes » nameRetrieve the name information associated with this consumer.
attributes » genderRetrieve the gender of this consumer.
attributes » addressRetrieve address information associated with this consumer.
attributes » date_of_birthRetrieve the birth date of the user.
attributes » 18y_or_olderRetrieve if this user is known to be 18 years or older
attributes » email_addressRetrieve the email address associated with this consumer.
attributes » telephone_numberRetrieve the telephone number associated with this consumer.
attributes » languageThe 2 character language code in which to return the results. Can be either nl or en for Dutch or English. This is a preferred language, not all banks support all languages.
sizeThe size of the QR code in pixels. Defaults to 300.
formatThe format of the QR code. Currently only png is supported.


    "qr_id": "2cce6c05-057b-4d0e-be78-ca57eba3ff46",
    "qr_url": ""


qr_idA public ID for this QR code,
qr_urlThe URL of the QR code image.