ID Verification -Philippines

This product is mainly used for SSS, UMID and TIN card verification in the Philippines. It is an asynchronous interface, so this document contains two parts: the POST call API and the GET call API.

POST call

API Method

Base URL

API

URLRequest MethodsContent-TypeOutput FormatCharacter Set
api-base-url?partner_code=xxx&partner_key=xxxPOSTapplication/jsonJSONUTF-8
Authentication
ParameterTypeDescriptionRequired/OptionalNotes
partner_codeStringPartner CodeRequiredAssigned by TD
partner_keyStringPartner KeyRequiredAssigned by TD

Request

ParameterTypeDescriptionRequired/OptionalNotes
id_numberStringID typeRequiredID number
id_typeStringID numberRequiredEnumeration: SSS, UMID, TIN
phone_numberStringPhone numberRequiredPhone number, 11 digits, start with 0
nameStringNameRequired
countryStringCountryRequired2-letter country code according to ISO 3166
Support: PH(Philippines)

Request Example

{
          "country":  "PH",
          "phone_number":  "0217656789",
          "id_type":  "TIN",
          "id_number":  "380486089000",
          "name":  "Joe"
}

Response Parameter

ParameterTypeDescriptionRequired/OptionalNotes
codeIntegerAPI status codeRequired
messageStringStatus InformationRequiredReturns ‘success’ when the API call is successful;Specific abnormal reasons will be provided when the API is abnormal
sequence_idStringUnique response codeRequiredA unique ID used to track each request
task_idStringTask IDRequiredUsed to query results

Response Example

{
          "code":  200,
          "message":  "success",
          "sequence_id":  "1648777165770866F82AC7F326307055",
          "task_id": "74f4c926-250c-43ca-9c53-453e87ceacd1"
}

API Status Code

Code MessageDescriptionCharged
200successSuccessYES
301Service not purchasedService not purchasedNO
302Service has been suspendTraffic blockedNO
303Not enough balanceTraffic insufficientNO
304Service expiredService expiredNO
305Daily maximum volume reachedDaily maximum volume reachedNO
600Service Temporarily UnavailableService reached limitNO
11350Internal errorInternal errorNO
11301{parameter} empty{parameter} emptyNO
11304The country partner located is not openThe country partner located is not openNO
11340{parameter} error{parameter} errorNO

GET call

API Method

Base URL

API

URLRequest MethodsContent-TypeOutput FormatCharacter Set
api-base-url?partner_code=xxx&partner_key=xxxPOSTapplication/jsonJSONUTF-8
Authentication
ParameterTypeDescriptionRequired/OptionalNotes
partner_codeStringPartner CodeRequiredAssigned by TD
partner_keyStringPartner KeyRequiredAssigned by TD

Request

ParameterTypeRequired/OptionalNotes
task_idStringRequiredThe task_id returned by the first call

Response Parameter

ParameterTypeDescriptionRequired/OptionalNotes
codeIntegerAPI status codeRequired
messageStringStatus InformationRequiredSpecific abnormal reasons will be provided when the API is abnormal
sequence_idStringUnique response codeRequiredA unique ID used to track each request
task_idStringTask IDRequiredUsed to query results
resultObjectVerification resultRequired
statusStringVerification statusRequiredEnumeration values:id_found;id_not_found
is_validBooleanWhetherConditionally requiredOnly returns when ID type is UMID and SSS

Response Example

{
          "code":  200,
          "message":  "success",
          "sequence_id":  "1648777165770866F82AC7F326307055",
          "task_id": "74f4c926-250c-43ca-9c53-453e87ceacd1",
          "result":  {
                    "is_valid":  true,
                    "status":  "id_found"
          }
}

API Status Code

Code MessageDescription
200successSuccess
11340{parameter} error{parameter} error
12001Query in processQuerying results
12002Process errorProcess error
12003Process timoutProcess timout