Is it possible to perform Pasport-check via WC1 API?

when calling API to check the passport check I get an error msg

{"The remote server returned an error: (401) Unauthorized."}

{

"secondaryFields": [

{

"typeId": "SFCT_1",

"value": "MALE"

},

{

"typeId": "SFCT_2",

"dateTimeValue": "1985-07-01"

},

{

"typeId": "SFCT_3",

"value": "IRQ"

},

{

"typeId": "SFCT_8",

"value": "mustafa"

},

{

"typeId": "SFCT_9",

"value": "alridha"

},

{

"typeId": "SFCT_11",

"value": "IRQ"

},

{

"typeId": "SFCT_12",

"value": "IRQ"

},

{

"typeId": "SFCT_14",

"value": "PASSPORT"

},

{

"typeId": "SFCT_15",

"value": "A13559370"

},

{

"typeId": "SFCT_16",

"dateTimeValue": "2026-05-29"

}

],

"entityType": "INDIVIDUAL",

"customFields": [],

"groupId": "5jb72iaaccb41fmgj14jynwu9",

"providerTypes": [

"WATCHLIST",

"PASSPORT_CHECK"

],

"name": "mustafa",

"nameTransposition": false,

"caseid": ""

}

Best Answer

  • Hi @fadi.alsayyed

    Thanks for reaching out to us!

    We have verified your request payload and found out that your request is missing the required secondaryFields (below), once we have added these required secondaryFields we are getting the successful response.
    "typeId": "SFCT_10"
    "typeId": "SFCT_13"

    *Please find the sample request payload below*

    {

    "groupId": "{{group-id}}",

    "entityType": "INDIVIDUAL",

    "caseId": "",

    "providerTypes": [

    "WATCHLIST",

    "PASSPORT_CHECK"

    ],

    "name": "mustafa",

    "nameTransposition": false,

    "secondaryFields": [

    {

    "typeId": "SFCT_1",

    "value": "MALE"

    },

    {

    "typeId": "SFCT_2",

    "dateTimeValue": "1985-07-01"

    },

    {

    "typeId": "SFCT_3",

    "value": "IRQ"

    },

    {

    "typeId": "SFCT_8",

    "value": "mustafa"

    },

    {

    "typeId": "SFCT_9",

    "value": "alridha"

    },

    {

    "typeId": "SFCT_10",

    "value": "MALE"

    },

    {

    "typeId": "SFCT_11",

    "value": "IRQ"

    },

    {

    "typeId": "SFCT_12",

    "value": "IRQ"

    },

    {

    "typeId": "SFCT_13",

    "dateTimeValue": "1985-07-01"

    },

    {

    "typeId": "SFCT_14",

    "value": "PASSPORT"

    },

    {

    "typeId": "SFCT_15",

    "value": "A13559370"

    },

    {

    "typeId": "SFCT_16",

    "dateTimeValue": "2026-05-29"

    }

    ],

    "customFields": []

    }

    Kindly note that that the result will be available only in UI. Where would you check the passport check details on the UI? Please see the screenshot:
    1638194280185.png

Answers