post https://app1.compliancely.com/api/v1/watchlist/fatca/
Request and Response Object Structures.
{
"name": string,
"giin": string,
"webhook_urls": [string],
"country":string
}
{
"success_message": string,
"data": {
"id": integer,
"created_by_user":string,
"name": string,
"status": string,
"crawler_count": integer,
"created_at": string,
"updated_at": string,
"is_cleared": boolean,
"request_data": {
"score": string,
"country": string,
"name": string
}
},
"success": boolean
}
Sample Requests and Responses.
{
"name": "laden",
"giin": "",
"webhook_urls": [],
"country":""
}
{
"success_message": "Created new FATCA record",
"data": {
"id": 120,
"created_by_user": "compliancely",
"name": "laden",
"source": "fatca",
"status": "Pending",
"crawler_count": 0,
"created_at": "2023-09-19T06:20:45.485284Z",
"updated_at": "2023-09-19T06:20:45.485305Z",
"is_cleared": false,
"request_data": {
"name": "laden",
"giin": "",
"country": ""
}
},
"success": true
}
{
"errors": [
{
"name": [
"This field may not be blank."
]
}
],
"data": null,
"success": false
}
{
"detail": "Authentication credentials were not provided."
}
{
"errors": [
"Credit limit reached! For assistance, please contact the support"
],
"data": null,
"success": false
}
{
"detail": "Invalid token."
}