KYC widget

POST /v1/kyc/widget/session with locale fr. The session lasts 15 minutes. On this origin the widget URL is /identity/kyc-widget.

Recipe

Embed the KYC widget and wait for kyc.updated.

  1. POST /v1/kyc/widget/session with locale "fr".
  2. Open the returned URL in a WebView or a redirect.
  3. A session older than 15 minutes is KYC_SESSION_EXPIRED.

Sandbox phone only. This form does not accept a document image.

React Native WebView

import { WebView } from "react-native-webview";

export function KycWebView() {
  return <WebView source={{ uri: "https://teddoh.io/identity/kyc-widget" }} />;
}

Android WebView

WebView webView = findViewById(R.id.kyc);
webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl("https://teddoh.io/identity/kyc-widget");

Session body uses locale: "fr". Widget URL is /identity/kyc-widget, not a tenant host.

KYC widget · Teddoh