Schemas

ConsentsValidateRequestBody

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "msisdn": "+123456789",
  "application": "youtube",
  "scopes": [
    "SimSwap",
    "NumberVerification",
    "SIMCardChange"
  ],
  "purpose": "FraudPreventionAndDetection"
}
Name Type Required Description
msisdn string false A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with ‘+’.
application string false application to validate the consent.
scopes [string] false capabilities to be consumed
purpose string false purpose for which the capability is to be consumed

ConsentsValidateResponse

1
2
3
{
  "isValid": true
}
Name Type Required Description
isValid boolean true none

ErrorInfo

1
2
3
4
5
{
  "status": 0,
  "code": "string",
  "message": "string"
}
Name Type Required Description
status integer true HTTP response status code
code string true Code given to this error
message string true Detailed error description