---
title: "(Deprecated) Initialize a Deutsche Post POSTIDENT Identification"
method: POST
path: "/v2/accounts/{accountid}/enrolment/init"
tags: ["Accounts | Admin"]
---

# (Deprecated) Initialize a Deutsche Post POSTIDENT Identification

`POST /v2/accounts/{accountid}/enrolment/init`

## Request

- Base URL: `https://ws.lemonway.fr/mb/env-name/prod/directkitrest`
- URL: `https://ws.lemonway.fr/mb/env-name/prod/directkitrest/v2/accounts/{accountid}/enrolment/init`
- Auth: none declared. Required headers: `Authorization`, `PSU-IP-Address`

## Path parameters

- `accountid` string, required

## Headers

- `Authorization` string, required
- `PSU-Accept-Language` string
- `PSU-IP-Address` string, required
- `PSU-User-Agent` string

## Request body

- EnrolmentInitInput
  - `Provider` 0, required: Identification provider<br/>0 = Deutsche Post POSTIDENT.<br/>
  - `successUrl` string: Forwarding URL to which in case of a successful identification should be forwarded
  - `declinedUrl` string: Forwarding URL to which in case of an unsuccessful identification should be forwarded
  - `couponRequestedUrl` string: Forwarding URL to forward to when the coupon has been downloaded
  - `reviewPendingUrl` string: Forwarding URL to forward to when the coupon has been downloaded
  - `incompleteUrl` string: Forwarding URL to which in case of incomplete identification should be forwarded

## Response `200`

OK

- EnrolmentInitOutput
  - `redirecturl` string: Redirect URL to Deutsche Post PostIdent
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string: Get the Error Message from PSP

## Other responses

- `401`: Unauthorized
- `500`: InternalServerError

---

[API](https://skmtc.dev/lemonway/apis/lemonway-directkit-api-2-0.md) - [All operations](https://skmtc.dev/lemonway/apis/lemonway-directkit-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/lemonway/apis/lemonway-directkit-api-2-0/revisions/82551a0a77b8?raw)
