curl --request POST \
--url https://api.frankie.one/experimental/v2/organizations/{entityId}/documents/{documentId}/analyses/{analysisId}/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api_key>' \
--data '
{
"references": {},
"documentInformation": {
"type": "TRUST_DOCUMENT",
"trust": {
"name": {
"value": "<string>",
"referenceIds": [
"<string>"
]
},
"establishment": {
"date": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31",
"referenceIds": [
"<string>"
]
},
"country": {
"value": "<string>",
"referenceIds": [
"<string>"
]
},
"subdivision": {
"value": "<string>",
"referenceIds": [
"<string>"
]
}
},
"certification": {
"date": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31",
"referenceIds": [
"<string>"
]
}
},
"execution": {
"date": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31",
"referenceIds": [
"<string>"
]
}
},
"linkedIndividuals": {},
"linkedOrganizations": {},
"linkedUnknownEntities": {},
"settlors": [
{
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"referenceIds": [
"<string>"
]
}
],
"trustees": [
{
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"referenceIds": [
"<string>"
]
}
],
"type": {
"provided": "DISCRETIONARY",
"detected": "DISCRETIONARY"
},
"typeInformation": {
"type": "DISCRETIONARY",
"discretionary": {
"specifiedBeneficiaries": [
{
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"referenceIds": [
"<string>"
]
}
],
"generalBeneficiaries": [
{
"value": "<string>",
"referenceIds": [
"<string>"
]
}
],
"appointors": [
{
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"referenceIds": [
"<string>"
]
}
],
"protectors": [
{
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"referenceIds": [
"<string>"
]
}
]
}
}
}
}
}
'