UIStreams

Recipes
๐Ÿถ
Create a simple Flask (Python) app that generates UIStream session URLs
Open Recipe
๐Ÿš‚
Create a simple Express.js (Node.js) app that generates UIStream session URLs
Open Recipe
โ˜•
Create a simple Spring Boot (Java) app that generates UIStream session URLs
Open Recipe
๐Ÿ›ค๏ธ
Create a simple Ruby on Rails (Ruby) app that generates UIStream session URLs
Open Recipe
๐ŸŽฏ
Create a simple ASP.NET Core (C#) app that generates UIStream session URLs
Open Recipe
๐ŸŽต
Create a simple Symfony (PHP) app that generates UIStream session URLs
Open Recipe
๐ŸŽ๏ธ
Create a simple FastAPI (Python) app that generates UIStream session URLs
Open Recipe
๐Ÿ
Create a simple Django (Python) app that generates UIStream session URLs
Open Recipe
๐ŸŽจ
Create a simple Laravel (PHP) app that generates UIStream session URLs
Open Recipe
๐Ÿธ
Create a simple Gin (Go) app that generates UIStream session URLs
Open Recipe

API Endpoints

๐Ÿ‘

Override Orchestrator Decision

You can use the force_aadhaar and the force_mobile optional boolean keys in the request body to force the end-user to a specific flow and ignore the orchestrator's decision.

๐Ÿ‘

Multi-lingual Support

UIStreams now supports UIs in 12 Indian Languages. Just pass the language key in the request contract with any one of the following supported language codes:

  • Hindi: hi
  • Marathi: mr
  • Tamil: ta
  • Gujarati: gu
  • Punjabi: pa
  • Malayalam: ml
  • Oriya: or
  • Kannada: kn
  • Bengali: bn
  • Telugu: te
  • Assamese: as
  • Urdu: ur

๐Ÿ“˜

pan_optional Key in the DIGILOCKER UIStreams

The DIGILOCKER / DIGILOCKER_AADHAAR_PAN UIStream has an optional boolean key named pan_optional. This is enabled by default and allows the user to pass through as long as atleast Aadhaar is present.

Hence, by default, whenever users deny PAN consent or do not have a PAN in their DigiLocker account, they are allowed to pass through the flow unless the pan_optional key is passed inside the additional_data object as false.

The Atomic UIStream API is a single RESTful API based on HTTP requests and JSON responses. All requests work on HTTPS.

The API expects a JSON request body and responds with a JSON response body. All responses maintain a strict and consistent structure.

Endpoint: https://<DECENTRO_HOST>/v2/kyc/workflows/uistream

EnvironmentHost
Stagingin.staging.decentro.tech
Productionin.decentro.tech

Please note that the API Reference has been set to use only the staging host. Hence, only staging client credentials will work on API Reference pages to test out the APIs

Language
Click Try It! to start a request and see the response here!