Professional Regulation Commission (PRC)

Professional Regulation Commission (PRC) Verification

This method helps you to verify a Philippine Professional Regulation Commission (PRC) registered professional against the legal source.

Request Notes

PRC verification has two search modes and they are mutually exclusive. Send exactly one of them:

  • License number mode: license_number and birth_date, both mandatory when you use this mode.
  • Name mode: first_name and last_name, both mandatory when you use this mode.
  • profession is mandatory in both modes.
  • Because the mode is your choice, profession is the only property marked as required in the request schema; the fields of the mode you send become mandatory for that request, and the fields of the other mode must be omitted.
  • license_number is 4 to 7 digits, numeric only. birth_date is in DD-MM-YYYY format.
  • Sending fields from both modes in a single request returns 400 with Verification using license number and name must be separated., while sending neither mode returns 400 with Provide either license_number with birth_date, or first_name with last_name.
  • reference_id is optional. When it is empty, a UUID is generated and returned in the response. It must be unique per service: reusing a reference_id returns Transaction already created for this reference_id.

Response Notes

status returns VERIFIED when the registered professional is found and REJECTED when it is not found. data is omitted when the status is REJECTED, and the fields inside data follow the search mode: the license number mode returns the full license record, while the name mode returns the identity fields only.

post/philippines/prc/verify

Request

  • Base URL
    https://api.verihubs.com
  • URL
    https://api.verihubs.com/philippines/prc/verify
  • Auth
    none declared. Required headers: App-ID, API-Key

Headers

App-IDstring required
API-Keystring required

Request body

professionstring required

Registered profession of the license holder as stated on the PRC record, for example Mechanical Engineer.

license_numberstring

PRC license number, 4 to 7 digits, numeric only. Mandatory when you verify by license number, together with birth_date, and must not be combined with first_name or last_name.

birth_datestring

Date of birth of the license holder in DD-MM-YYYY format. Mandatory when you verify by license number, together with license_number.

first_namestring

First name of the license holder. Mandatory when you verify by name, together with last_name, and must not be combined with license_number or birth_date.

last_namestring

Last name of the license holder. Mandatory when you verify by name, together with first_name.

reference_idstring

Use to indicate your company's transaction (must be unique). When empty, a UUID is generated.

Example request

{
  "profession": "Mechanical Engineer",
  "license_number": "XXXXXXX",
  "birth_date": "XX-XX-XXXX",
  "first_name": "Jordan",
  "last_name": "Santos",
  "reference_id": "REF123456789"
}

Response

Successful Response

idstring required

Verihubs ID, generated string that is unique for every transaction.

reference_idstring required

Reference id of the transaction, the same value you sent (or a generated UUID if it was empty).

messagestring required

Shows message of the response.

statusstring required

Verification status of the transaction. Returns VERIFIED or REJECTED; data is omitted when the status is REJECTED.

Example response

{
  "id": "09d9c29b-0946-44aa-9944-afaf6c05c58a",
  "reference_id": "REF123456789",
  "message": "Philippines PRC Verification success",
  "status": "VERIFIED",
  "data": {
    "profession": "Mechanical Engineer",
    "full_name": "JUAN DELA CRUZ",
    "first_name": "JUAN",
    "last_name": "DELA CRUZ",
    "birthdate": "XX-XX-XXXX",
    "registration_date": "XX-XX-XXXX",
    "license_number": "XXXXXXX",
    "picture": "https://storage.googleapis.com/image-storage/prc-photo.jpeg",
    "picture_validity": "XX-XX-XXXX",
    "is_valid": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.