For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
3 0 0 1

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": ""

}

world-check-oneapic#
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
811 4 0 1

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


1638194280185.png (106.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea