Skip to content
On this page

Sandbox Context ​

Use the values and rules on this page when testing against the sandbox environment. All sandbox endpoints use the base URL https://api-test.streamline.laboremus.ug.


TIN Verification ​

→ TIN Verification API

TIN numbers must be exactly 10 numeric digits. The last digit controls the outcome.

Last digitOutcome
0Failed — invalid
1 – 9Success — valid

Test values ​

TINExpected result
1234567891Success
1234567890Failure

National ID Verification ​

→ National ID Verification API

The format of the NIN determines the country. The NIN must also appear in the sandbox whitelist — anything outside the whitelist returns error 320 ("Person not found").

Uganda NIN ​

Format: CM######XX#### or CF######XX#### — 14 alphanumeric characters.

PrefixMeaning
CMMale
CFFemale

Whitelisted Uganda NINs ​

Use any NIN from the sandbox whitelist. Values outside the list return error 320.

Uganda Card Number ​

Exactly 9 digits, e.g. 123456789.

Kenya NIN ​

Format: 9–10 digits only, e.g. 29708460.

INFO

Any NIN string outside the supported formats or whitelist returns: 320 — Person not found


Phone Number Verification ​

→ Phone Number Verification API

Phone numbers must be in one of two formats:

FormatExampleLength
256XXXXXXXXX25678912345612 digits
07XXXXXXXX078912345610 digits

The last digit controls the outcome:

Last digitOutcome
0Failed — invalid
1 – 9Success — valid

Network assignment by prefix ​

PrefixNetwork
25678, 25679, 25677, 25676MTN
25675, 25670, 25674Airtel

Test values ​

Phone numberExpected resultNetwork
256789123456SuccessMTN
256789123450FailureMTN

MTN Data Match

For MTN requests that include a nationalIdNumber, any NIN string is accepted — no whitelist applies.


ID Document Validation ​

→ ID Document Validation API

Outcome is driven by whether the front and back photos are identical.

ConditionOutcome
Front and back have the same filename AND same file sizeDeclined — 7–8 document check failures + imageManipulated fraud flag
Front and back are different files (different name or size), or no back photo providedSuccess — returns a Ugandan NATIONAL_ID result for "WAMALA SAMUEL"

How to test ​

  • Success: Upload two different image files (different filename or different file size) as front and back.
  • Failure: Use the exact same file for both front and back.

AML / PEP Screening ​

→ AML/PEP Screening API

Outcome is driven by keywords in the surname and givenName fields.

Name containsHitsType
Laden (e.g. Bin Laden)7SANCTION
Khalili1SANCTION
Among or Anita1PEP
Anything else0Clean — no hits

The option field accepts AML, PEP, or Both. Sending Both (the default) always checks both lists.

Test values ​

surnamegivenNameoptionExpected hitsType
LadenBinBoth7SANCTION
Khalili(any)Both1SANCTION
(any)AmongBoth1PEP
(any)AnitaBoth1PEP
SmithJohnBoth0Clean

MTN Customer Data Match ​

→ MTN Customer Data Match API

There are no special format rules for this service in sandbox. The scoring logic is based on which fields you include or omit in the request.

Field included in requestScore returned
Any field you provide (surName, givenName, nationalIdNumber, country, phoneNumber, streetAddress)100
Fields omitted: emailAddress, streetAddress, city, postCode-1

Send any valid phone number (256 prefix format). All submitted fields return a score of 100; any omitted optional fields return -1.

Tech Served Right