New: our AI Agent is live — 140+ live registry connections, KYB without an integration. Try it →

Sample App: Corporate Account Opening (Kaycee Bank)

Kaycee Bank is a complete, clonable corporate account-opening web app that runs a full KYB journey against the Know Your Customer Public API, from company search through beneficial ownership and AML screening to an onboarding decision. It is the kind of account-opening flow a bank’s own developers would build, dressed in a fictitious “Kaycee Bank” demo brand. Read it, run it on day one, and adapt it.

What it demonstrates

Kaycee Bank shows how the individual API calls fit together into one end-to-end onboarding flow:

  • Company search against the live registries, so an applicant can pick their exact company.
  • Case creation from the chosen registry result.
  • Asynchronous processing, with polling to readiness and realistic per-jurisdiction latency.
  • Entity and ownership data, including the recursive beneficial-ownership org-chart across multiple levels.
  • AML screening of the entity and its associated individuals.
  • An onboarding decision (approve or reject) recorded against the case.
  • A downloadable KYB report for the audit file.

A built-in developer and debug view streams the raw API calls, so you can see exactly what each screen sends and receives.

How it maps to the API

Each step of the Kaycee Bank flow maps to one or more Public API calls. Read the full detail in the API Reference.

StepWhat Kaycee Bank doesAPI call
SearchFind the applicant’s company in the registryPOST /v2/Companies/search
CreateOpen a KYB case for the chosen companyPOST /v2/Companies
PollWait for the case to build, with backoffGET /v2/Companies/{caseCommonId}
ReadRead the verified entity data and statusGET /v2/Companies/{caseCommonId}
UBOWalk the recursive beneficial-ownership treeGET /v2/Companies/{caseCommonId}/org-chart
ScreenReview AML, sanctions, PEP, and adverse-media hitsGET /v2/Companies/{caseCommonId}/amlchecks
DecisionRecord the approve or reject outcomePATCH /v2/Companies/{caseCommonId}/status
ReportDownload the KYB report PDFGET /v2/Companies/{caseCommonId}/report

Screenshots

The Kaycee Bank account-opening company search screen

Account opening starts with a company search against the live registries.

A live registry search result in the sample app

The applicant picks their company from the registry result.

Verification running, with the built-in API debug stream

Verification runs while the built-in debug view streams the raw API calls.

The verified company detail and ownership view in the sample app

The verified entity, its ownership, and the screening result come together on the case detail.

Clone and run

Kaycee Bank is open source (MIT) and built with Next.js, with the full source on GitHub at github.com/knowyourcustomer-dev/kaycee. It runs against the free public sandbox at https://api.knowyourcustomer.dev with your issued sandbox credential: connect once, and the full journey runs on your own tenant, alongside the cases you create through the API and the Workspace.

git clone https://github.com/knowyourcustomer-dev/kaycee.git
cd kaycee
npm install
npm run dev
# Open http://localhost:3000

# Kaycee needs your sandbox credential (there is no anonymous demo tenant).
# Either paste your client_id and client_secret into the
# "Connect your sandbox" screen in the app, or copy the env file and set them:
cp .env.example .env
#   SANDBOX_BASE_URL=https://api.knowyourcustomer.dev
#   SANDBOX_CLIENT_ID=your-sandbox-client-id
#   SANDBOX_CLIENT_SECRET=your-sandbox-client-secret
#   SANDBOX_SCOPE=PublicApi

Do not have sandbox credentials yet? Request access: submit your details, sign the Sandbox Testing Agreement, and once our team approves your request we will email your credentials. The repository is public, so you can read the code before you request access.

See your cases and try the flows

  • Browse the cases you create in the operator console, a reduced developer copy of the KYC Workspace your internal compliance users would see.
  • Pick starter companies and identity scenarios from the test cases to exercise specific flows and edge cases.
  • Follow the step-by-step Quickstart to make the same calls by hand.

The sandbox and the sample app are for evaluation only. Sandbox output, including reports, is not for production compliance use.