Outils pour utilisateurs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:guide_callbacks [2025/08/05 09:26] – [FINAL CALLBACK] adminen:guide_callbacks [2025/09/23 15:51] (Version actuelle) – [CALLBACK ENDPOINTS] admin
Ligne 1: Ligne 1:
-~~NOTOC~~ +[[:guide_callbacks|Français]] | [[:en:guide_callbacks|English]]
-[[:fr:guide_callbacks|Français]] | [[:en:guide_callbacks|English]]+
 ---- ----
 ====== INTRODUCTION TO CALLBACKS ====== ====== INTRODUCTION TO CALLBACKS ======
Ligne 64: Ligne 63:
 ^ ‘enrollment_step’ > ‘name’ ^ Document(s)        ^ Control / Note                                           ^ ^ ‘enrollment_step’ > ‘name’ ^ Document(s)        ^ Control / Note                                           ^
 | id_document                | Identity document  | The ID document has been successfully received and read  | | id_document                | Identity document  | The ID document has been successfully received and read  |
-id_document_mandat        | ID (from KBIS)     | The mandate ID was successfully received and read         |+id_document_mandate       | ID (from KBIS)     | The mandate ID was successfully received and read         |
 | fake_photo_id             | ID document        | The photo on the ID document is valid                     | | fake_photo_id             | ID document        | The photo on the ID document is valid                     |
 | phone_detection           | ID document        | Presentation attack detection was successfully completed  | | phone_detection           | ID document        | Presentation attack detection was successfully completed  |
Ligne 132: Ligne 131:
 ====== CALLBACK ENDPOINTS ====== ====== CALLBACK ENDPOINTS ======
  
-In the body of the user file creation step:+In the body when creating a user file:
  
-```json+<code json>
 "callback_endpoints": [ "callback_endpoints": [
   {   {
Ligne 143: Ligne 142:
     "headers": [     "headers": [
       {       {
-        "name": "Authorization: Bearer abc123"+        "name": "Authorization", value"Bearer abc123"
       }       }
     ]     ]
   }   }
 ] ]
 +</code>
 +
 +----
 +
 +=== 📝 Field Details ===
 +
 +  * **''url''**: the POST endpoint address to be called when an event is triggered.  
 +  * **''on''**: list of statuses for which this callback will be executed.  
 +  * **''headers''**: list of custom headers to include in the request (e.g., authentication, trace, etc.).
 +
 +----
 +
 +=== 🎯 List of Possible Statuses in ''on'' ===
 +
 +  * **''F''** – Failed  
 +  * **''C''** – Canceled  
 +  * **''E''** – End (OK or KO)  
 +  * **''I''** – Intermediate  
 +  * **''UP''** – Mie User Processing  
 +  * **''SP''** – Mie Sys Processing  
 +
 +----
 +
 +=== 💬 Comment ===
 +
 +  * You can define multiple endpoints by adding them to the **''callback_endpoints''** list.  
 +  * Each callback will only be triggered for the statuses specified in **''on''**.
  

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

Plus d’informations