Botswana National KYC Hub — Partner API (1.0.0)
For institutions' own systems (core banking, loan origination, SIM registration). Customers verify once in the Hub; under the consent they gave at onboarding, registered institutions retrieve the verified record. Customers see every retrieval in their app and can block an institution; a blocked institution receives unavailable and is never told why.
Authentication. Create a secret key in the portal (API & integration). Send it on every request: Authorization: Bearer hub_<env>_sk_.... Keys are shown once; keep them on your servers only, never in apps or browsers. Revoke a key in the portal if it may have leaked.
Idempotency. Send an Idempotency-Key header (e.g. a UUID) on POST requests. Retries with the same key within 24 hours return the original response and are not billed twice.
Limits. Requests per key per minute are limited (shown in the portal). Over the limit you receive 429 with Retry-After.
Billing. Each successful retrieve is billed. Lookups and invites are free.
Branches. Send branchCode (e.g. GC01, as set up in the portal under Branches) to say which branch a call is for. The call is then logged and billed to that branch, and the customer sees the branch name in their access history. Without it, the call counts for head office.
