Skip to main content
Sandbox payloads for the PH KYB Lite endpoint.
When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. Only businessIdentificationNumber selects the scenario. companyName and resultNotificationURL are still required, but any value works. Values must match exactly. createdAt is generated per request, and trustFlowId, trustValidationId and metadata are echoed back from your request and trust validation. See Sandbox introduction for the shared sandbox rules.

Webhook delivery

This endpoint is asynchronous, in sandbox as in live. The HTTP response only acknowledges the request, with verificationStatus set to IN_PROGRESS and data set to {"received": true}. The result is then sent as a POST to your resultNotificationURL, with type set to verification.ph_kyb_lite. In sandbox the webhook is sent straight after the HTTP response, instead of when AsiaVerify calls back. It also goes to your trust flow’s webhook URL, if one is set. Each sample below shows both the HTTP response and the webhook body.

Verified

In companyBasicInformation.data, companyId is the DTI business name registration number and businessOwner is the registered owner. verificationStatus is VERIFIED whenever the company is found, even if companyStatus is not REGISTERED.
Request
Response — HTTP 200
Webhook — sent to resultNotificationURL
Request
Response — HTTP 200
Webhook — sent to resultNotificationURL
The company was found, so verificationStatus is VERIFIED even though companyStatus is CANCELLED.

Rejected

Request
Response — HTTP 200
Webhook — sent to resultNotificationURL
Any businessIdentificationNumber that is not listed on this page returns this same response, so 9000099 is only an example. The HTTP response is still IN_PROGRESS; the rejection arrives in the webhook. A rejection is a completed verification, not an error.
Request
Response — HTTP 200
The registry could not be reached for this lookup, so the result is returned straight away and no webhook is sent. No credit is charged in live mode.

Validation failures

Validation runs before any fixture matching, so these behave identically in sandbox and live. They return HTTP 400, and message is the first validation error. companyName, businessIdentificationNumber and resultNotificationURL are all required.
Request
Response — HTTP 400
Request
Response — HTTP 404
trustValidationId must belong to your company. Create a trust validation first, then use its ID.

Source unavailable

Request
Response — HTTP 503
There is no data, verificationStatus or trustValidationId in this response. No webhook is sent. Treat it as a temporary failure and retry later. No credit is charged in live mode.

Account-level responses

Two further responses are not specific to this endpoint. A missing or invalid Authorization header returns HTTP 401, and an account without the ph_kyb_lite plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.