Endpoint & purpose
POST /v1/create/subject. Create a PERSONAL or ENTERPRISE subject before checks are
initiated.
Create a Subject before initiating an identity check.
Create the Subject resource that represents the individual who will be the target of a check.
/v1/create/subject
Create the Subject resource that represents the individual who will be the target of a check.
| Field | Type | Presence | Description |
|---|---|---|---|
lang |
String | O | Response language |
mobile |
String | O | Mobile number |
email |
String | O | |
identity_document |
Object | O | Subject identity document |
external_id |
String | O | RP tracking identifier |
{
"email": "demo.user@example.invalid",
"mobile": "+84000000000",
"external_id": "demo-subject-001",
"identity_document": {
"type": "CITIZEN_CARD",
"value": "<CITIZEN_ID_SAMPLE>"
},
"lang": "en"
}
{
"status": 0,
"message": "SUCCESSFULLY",
"dtis_id": "<DTIS_TRANSACTION_ID>",
"subject_id": "<SUBJECT_ID>"
}
POST · /v1/create/subject
POST /v1/create/subject. Create a PERSONAL or ENTERPRISE subject before checks are
initiated.
Bearer . Do not replace this mechanism with
assumptions from legacy documentation.
{
"owner_type": "PERSONAL",
"personal_name": "<FULL_NAME>",
"email": "<EMAIL>",
"mobile": "<MOBILE>",
"identity_document": {
"type": "CITIZEN_CARD",
"value": "<DOCUMENT_NUMBER>"
}
}
{
"x-subject-id": "<SUBJECT_ID>",
"x-billcode-id": "<BILLCODE_ID>",
"status": 201
}