diff --git a/examples/doc-scan/src/main/resources/templates/success.html b/examples/doc-scan/src/main/resources/templates/success.html
index c232a5c8..cfc3a5a1 100644
--- a/examples/doc-scan/src/main/resources/templates/success.html
+++ b/examples/doc-scan/src/main/resources/templates/success.html
@@ -924,6 +924,37 @@
Import Token
+
+
+
+
+
+
+
+
+
+ Failure Reason:
+
+
+ Failure Type:
+ Document Type:
+ Document Country ISO Code:
+ Audit ID:
+ Details:
+
+
+
+
+
+
+
+
+
+
diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/IdentityProfileFailureResponse.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/IdentityProfileFailureResponse.java
index 55dbf4ce..8096cca4 100644
--- a/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/IdentityProfileFailureResponse.java
+++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/IdentityProfileFailureResponse.java
@@ -7,8 +7,15 @@ public class IdentityProfileFailureResponse {
@JsonProperty("reason_code")
private String reasonCode;
+ @JsonProperty("requirement_not_met_details")
+ private RequirementNotMetDetailsResponse requirementNotMetDetails;
+
public String getReasonCode() {
return reasonCode;
}
+ public RequirementNotMetDetailsResponse getRequirementNotMetDetails() {
+ return requirementNotMetDetails;
+ }
+
}
diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/RequirementNotMetDetailsResponse.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/RequirementNotMetDetailsResponse.java
new file mode 100644
index 00000000..5927ca04
--- /dev/null
+++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve/RequirementNotMetDetailsResponse.java
@@ -0,0 +1,42 @@
+package com.yoti.api.client.docs.session.retrieve;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class RequirementNotMetDetailsResponse {
+
+ @JsonProperty("failure_type")
+ private String failureType;
+
+ @JsonProperty("document_type")
+ private String documentType;
+
+ @JsonProperty("document_country_iso_code")
+ private String documentCountryIsoCode;
+
+ @JsonProperty("audit_id")
+ private String auditId;
+
+ @JsonProperty("details")
+ private String details;
+
+ public String getFailureType() {
+ return failureType;
+ }
+
+ public String getDocumentType() {
+ return documentType;
+ }
+
+ public String getDocumentCountryIsoCode() {
+ return documentCountryIsoCode;
+ }
+
+ public String getAuditId() {
+ return auditId;
+ }
+
+ public String getDetails() {
+ return details;
+ }
+
+}