application/problem+json
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"required": [
"type",
"title",
"status",
"code",
"detail",
"requestId"
],
"properties": {
"type": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"status": {
"type": "integer"
},
"code": {
"type": "string"
},
"detail": {
"type": "string"
},
"requestId": {
"type": "string"
},
"details": {
"description": "Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.",
"anyOf": [
{
"$ref": "#/components/schemas/AccountReadinessDetails",
"type": "object",
"additionalProperties": false,
"required": [
"ready",
"accountSetupUrl",
"missing"
],
"properties": {
"ready": {
"type": "boolean"
},
"accountSetupUrl": {
"type": "string",
"format": "uri"
},
"missing": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountReadinessRequirement",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"label",
"section",
"accountUrl"
],
"properties": {
"code": {
"type": "string"
},
"label": {
"type": "string"
},
"section": {
"type": "string",
"enum": [
"email",
"identity",
"legal_documents"
]
},
"accountUrl": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
{
"$ref": "#/components/schemas/LegalDocumentsRequiredDetails",
"type": "object",
"additionalProperties": false,
"required": [
"legalDocumentsUrl"
],
"properties": {
"legalDocumentsUrl": {
"type": "string",
"format": "uri",
"description": "Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation."
},
"ready": {
"type": "boolean"
},
"accountSetupUrl": {
"type": "string",
"format": "uri"
},
"missing": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountReadinessRequirement",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"label",
"section",
"accountUrl"
],
"properties": {
"code": {
"type": "string"
},
"label": {
"type": "string"
},
"section": {
"type": "string",
"enum": [
"email",
"identity",
"legal_documents"
]
},
"accountUrl": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
{}
]
}
}
}