Skip to main content
Sandbox payloads for the MYS KYB Comprehensive 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. Values are case-sensitive and 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.

Verified

Every sample below returns the same fields. Only the number of items in each list, and the values, change. Use them to check that your integration loops over shareholders, majorPerson, industry and otherCompanyAddresses instead of expecting a fixed count. Shareholders that are companies and shareholders that are people are both listed under shareholders.data.individual. Use entityType (COMPANY or INDIVIDUAL) to tell them apart. verificationStatus is VERIFIED whenever the company is found, even if companyStatus is not EXISTING.
Request
Response — HTTP 200
Request
Response — HTTP 200
Request
Response — HTTP 200
Request
Response — HTTP 200

Rejected

Request
Response — HTTP 200
Any businessIdentificationNumber that is not listed on this page takes this no-match fallback, so 999999999999 is only an example. A rejection is a completed verification, not an error.
Request
Response — HTTP 200

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.
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. 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 malaysia_kyb_comprehensive plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.