Risk Signal: 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.

Key

Type

Mandatory 

Description

id.idNumber

string

yes

The Identification Number from the Thai National ID Card

id.secondaryIdNumber

string

yes

The laser number on the back of the Thai National ID Card

id.type

string

no

ID_CARD

firstName

string

yes

First name (must be in Thai)

lastName

string

yes

Last name (must be in Thai)

dateOfBirth string yes YYYY-MM-DD.

address.country

string

yes

Country 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 Type

Label

Description

PASSED

OK

The provided data matched

REJECTED

DENY

The provided data did not match what was on record. See Data for additional information.

NOT_EXECUTED

PRECONDITIONS_NOT_FULFILLED

The provided data was inadequate to process the transaction.
NOT_EXECUTED TECHNICAL_ERROR  

Data

Key

Possible Values

Description

firstNameMatch

MATCH

NOT_MATCH

firstName value matches the DOPA record.

lastNameMatch

MATCH

NOT_MATCH

lastName value matches the DOPA record.

dobMatch

MATCH

NOT_MATCH

Date of birth matchesthe DOPA record.

nationalIdMatch

MATCH

NOT_MATCH

idNumber matches the DOPA record.

personalIdNumberMatch

MATCH

NOT_MATCH

secondaryIdNumber matches the DOPA personal ID number.