SelfService

Given an initial setup with specific usecases the “SelfService” gives the opportunity to easily integrate with CrefoTrust without the need to develop a webhook.

Introduction

The Verifier can integrate with CrefoTrust via a simple URL. The Verifier is responsible for setting the correct query params.

https://self-service.crefotrust.de?useCase=some_use_case_fr&crefoId=2011234567&

Returns the user in the success case to the success url defined in the use case. CrefoTrust appends the crefoId query parameter to the success URL. The active language will be appended to the success URL as well.

e.g.:

https://success.url.com?crefoId=2011234567&lang=de

UseCases

This is an example.

{
    "offeredIdMethods" : [
        "itm_videoident",
        "nect_autoident"
    ],
    "acceptedIdMethods" : [
        "itm_videoident",
        "nect_autoident"
    ],
    "active" : true,
    "name" : "some_use_case_fr",
    "lang": "fr",
    "requiredCredentials" : {
        "person" : [
            "name",
            "address",
            "nationality",
            "birthdate"
        ],
        "org" : [
            "legalName",
            "legalForm",
            "crefoId",
            "address"
        ],
        "authorizedRepresentative" : true,
        "companyAgent" : true
    },
    "redirect" : {
        "success" : "https://success.url.com",
        "failure" : "https://failure.url.com",
        "origin" : "https://url.com"
    },
    "createdAt" : "2024-03-20T08:27:49.648+0000",
    "updatedAt" : "2024-03-20T08:27:49.648+0000"
}