Skip to main content

Thai DOPA Check

The Thai DOPA check compares provided credential data to data on record with the Thai Department of Provincial Administration (DOPA) records.

Supported Credentials

The following values can be uploaded as Prepared Data. Alternatively, they can be extracted by an upstream capability in a workflow.

  • To use the Thai DOPA check with data extracted from a Thai National ID Card use workflow key 10054.
  • To use Prepared Data with the Thai DOPA Check as a standalone capability use workflow key 10020.
Details
KeyTypeMandatoryDescription
id.idNumberstringyesThe Identification Number from the Thai National ID Card
id.secondaryIdNumberstringyesThe laser number on the back of the Thai National ID Card
id.typestringnoPossible values: ID_CARD
firstNamestringyesFirst name (must be in Thai)
lastNamestringyesLast name (must be in Thai)
dateOfBirthstringyesFormat: YYYY-MM-DD
address.countrystringyesCountry should be THA (ISO Alpha 3 Code for Thailand)

Example Prepared Data Body

{
"firstName": "วิสิทธิ์",
"lastName": "วงศ์พิพันธ์",
"dateOfBirth": "1959-03-27",
"address": {
"country": "THA"
},
"id": {
"idNumber": "3800400217161",
"secondaryIdNumber" : "JC3159691039",
"type": "ID_CARD",
"subType": "NATIONAL_ID"

}
}

Response

Response data is available for transactions that include the risk signal. For information on transaction data see Viewing or Retrieving Workflow Transactions.

Example Response

"govtIdVerification": [
{
"id": "ba86037a-1380-4cc4-b410-e609cc7035a9",
"credentials": [
{
"id": "16eab951-21bc-46f6-a1d9-e8ce1f25b33c",
"category": "DATA"
}
],
"decision": {
"type": "PASSED",
"details": {
"label": "OK"
}
},
"data": {
"firstNameMatch": "MATCH",
"lastNameMatch": "MATCH",
"nationalIdMatch": "MATCH",
"dobMatch": "MATCH",
"personalIdNumberMatch": "MATCH"
}
}
]

Decision Details Labels

Decision TypeLabelDescription
PASSEDOKThe provided data matched
REJECTEDDENYThe provided data did not match what was on record. See Data for additional information.
NOT_EXECUTEDPRECONDITIONS_NOT_FULFILLEDThe provided data was inadequate to process the transaction.
NOT_EXECUTEDTECHNICAL_ERRORThe service encountered an error and was unable to process the request.

Data

KeyPossible ValuesDescription
firstNameMatchMATCH, NOT_MATCHfirstName value matches the DOPA record.
lastNameMatchMATCH, NOT_MATCHlastName value matches the DOPA record.
dobMatchMATCH, NOT_MATCHDate of birth matches the DOPA record.
nationalIdMatchMATCH, NOT_MATCHidNumber matches the DOPA record.
personalIdNumberMatchMATCH, NOT_MATCHsecondaryIdNumber matches the DOPA personal ID number.