Nilinde
Nilinde Hub API

Verification

One verification. Returned by every verification API, by `GET /v1/verifications/{id}`, and in webhooks.
id
​string · required

Unique id; use it to fetch the verification again.

api
​string · required

The verification API that was called, e.g. identity.national-id.

status
​string · enum · required

COMPLETED includes "not found" answers; FAILED means the source failed and the charge was refunded.

Enum values:
PENDING
COMPLETED
FAILED
environment
​string · enum · required

TEST for test keys (sandbox data), LIVE for live keys.

Enum values:
LIVE
TEST
​object | null · required

The answer, specific to each API (see its examples). Always has found: false when the source holds no record.

error
​object | null · required

Set when status is FAILED.

cost
​string · required

Amount charged in KES, as a decimal string. "0" for test keys and failed verifications.

createdAt
​string · date-time · required
latencyMs
​integer | null

Time the source took to answer, in milliseconds.

completedAt
​string | null · date-time

VerificationPage

​Verification[] · required
nextCursor
​string | null · required

Pass as cursor for the next page; null on the last page.

VerificationSummary

from
​string · date-time
to
​string · date-time
environment
​string · enum
Enum values:
LIVE
TEST
calls
​integer

All verifications in the period.

completed
​integer
successRate
​number | null

Completed share of finished verifications, from 0 to 1.

totalCost
​string

Total charged in KES.

​object[]

Wallet

id
​string
organizationId
​string
balance
​string

Available balance, as a decimal string.

currency
​string
createdAt
​string · date-time
updatedAt
​string · date-time

Quota

period
​string

The calendar month, YYYY-MM.

calls
​integer

Verifications made this month.

quota
​integer | null

Your bundle's monthly limit; null when unlimited.

Error

statusCode
​integer · required
message
​string · required
code
​string

Stable machine-readable code, when there is one.

retryable
​boolean

502 only: whether retrying later can succeed.

requestId
​string

502 only: the failed verification's id.

​object[]

400 only: one entry per invalid field.