Verification
Request Verification
Request a Verification object.
This endpoint requires consent and the identity information to verify. Place idType, idSubType, and idNumber in additionalData.ids. The Sandbox field dateOfBirth maps to additionalData.dob, and gender maps to additionalData.gender.
Supported Sandbox ID Types
| ID Type | Available Test Fields |
|---|---|
| tin_ph | fullName, firstName, middleName, lastName, suffix, idNumber, gender, dateOfBirth |
| pagibig_ph | fullName, idNumber |
| prclicense_ph | fullName, idSubType, idNumber, dateOfBirth |
| nbi_ph | fullName, idNumber |
Sandbox Test Values
| ID Type | Parameter | Value |
|---|---|---|
| tin_ph | idType | tin_ph |
| tin_ph | fullName | George Cimafranca Palomero Jr. |
| tin_ph | firstName | George |
| tin_ph | middleName | Cimafranca |
| tin_ph | lastName | Palomero |
| tin_ph | suffix | Jr. |
| tin_ph | idNumber | 123456789 |
| tin_ph | gender | Male |
| tin_ph | dateOfBirth | 1970-08-24 |
| pagibig_ph | idType | pagibig_ph |
| pagibig_ph | fullName | George Cimafranca Palomero Jr. |
| pagibig_ph | idNumber | 123456789012 |
| prclicense_ph | idType | prclicense_ph |
| prclicense_ph | fullName | George Cimafranca Palomero Jr. |
| prclicense_ph | idSubType | CRIMINOLOGIST |
| prclicense_ph | idNumber | 0123456 |
| prclicense_ph | dateOfBirth | 1970-08-24 |
| nbi_ph | idType | nbi_ph |
| nbi_ph | fullName | George Cimafranca Palomero Jr. |
| nbi_ph | idNumber | ABC123DEF4-56GHI789J |
Use one Sandbox record per Verification request. For inputs outside these test values, the Sandbox may not return a matched verification result.
post/alpha/verifications
Request body
Example request
{
"firstName": "George",
"middleName": "Cimafranca",
"lastName": "Palomero",
"suffix": "Jr.",
"fullName": "George Cimafranca Palomero Jr.",
"additionalData": {
"email": "john.doe@smile.com",
"dob": "2000-01-21",
"gender": "Male",
"address": "123 Main St, Anytown, CA 12345",
"employer": "Google",
"ids": [
{
"idType": "tin_ph",
"idSubType": "CRIMINOLOGIST",
"idNumber": "123456789"
}
]
},
"consent": {
"type": "Terms and Conditions",
"version": "1.0.0",
"consentedAt": "2021-04-14T09:30:24Z",
"consentedWith": "I agree to the terms and conditions"
}
}Response
OK
Example response
{
"code": "OK",
"message": "Success",
"requestId": "5b79399a-6852-4234-bb0e-ad472648282d",
"data": {
"createdAt": "2021-04-14T09:30:24Z",
"updatedAt": "2021-04-14T09:30:24Z",
"requestMeta": {
"firstName": "George",
"middleName": "Cimafranca",
"lastName": "Palomero",
"suffix": "Jr.",
"fullName": "George Cimafranca Palomero Jr.",
"additionalData": {
"email": "john.doe@smile.com",
"dob": "2000-01-21",
"gender": "Male",
"address": "123 Main St, Anytown, CA 12345",
"employer": "Google",
"ids": [
{
"idType": "tin_ph",
"idSubType": "CRIMINOLOGIST",
"idNumber": "123456789"
}
]
},
"consent": {
"type": "Terms and Conditions",
"version": "1.0.0",
"consentedAt": "2021-04-14T09:30:24Z",
"consentedWith": "I agree to the terms and conditions"
}
}
}
}