ConsentsResponse201 Data Type

Body of the JSON response for a successful consent request.

Properties
name data type description
consentStatus ConsentStatus
consentId string
scaMethods array of AuthenticationObject
chosenScaMethod AuthenticationObject
challengeData ChallengeData
_links map of HrefType
psuMessage string

Example

{
  "consentStatus" : "REJECTED",
  "consentId" : "...",
  "scaMethods" : [ {
    "authenticationType" : "SMS_OTP",
    "authenticationVersion" : "...",
    "authenticationMethodId" : "...",
    "name" : "...",
    "explanation" : "..."
  }, {
    "authenticationType" : "PUSH_OTP",
    "authenticationVersion" : "...",
    "authenticationMethodId" : "...",
    "name" : "...",
    "explanation" : "..."
  } ],
  "chosenScaMethod" : {
    "authenticationType" : "PUSH_OTP",
    "authenticationVersion" : "...",
    "authenticationMethodId" : "...",
    "name" : "...",
    "explanation" : "..."
  },
  "challengeData" : {
    "image" : "...",
    "data" : [ "...", "..." ],
    "imageLink" : "...",
    "otpMaxLength" : 12345,
    "otpFormat" : "characters",
    "additionalInformation" : "..."
  },
  "_links" : {
    "property1" : {
      "href" : "..."
    },
    "property2" : {
      "href" : "..."
    }
  },
  "psuMessage" : "..."
}