> ## Documentation Index
> Fetch the complete documentation index at: https://www.cashfree.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Use Cashfree 1-Click Onboarding to simplify user onboarding and consent management across web, Android, and iOS apps with a single integration.

Cashfree’s 1-Click Onboarding enables businesses to simplify user onboarding and consent management by integrating with Web, Android, or iOS applications.

The SDK removes the need for fragmented forms, multiple integrations, and complex compliance processes. With a mobile number and explicit user consent, it retrieves verified personal details, address information, financial data, and more, enabling form pre-filling and reducing drop-offs by up to 40%.

It uses alternative data sources and minimises manual input to support a seamless user experience. This approach helps improve conversion rates, maintain compliance, and reduce time to go live.

The solution is fully compliant with the Digital Personal Data Protection Act (DPDPA) and manages user consent securely and transparently.

## Key benefits

The following are the key reasons to choose Cashfree:

* **Improve conversions by over 30%**: Reduce manual entry and friction by pre-filling forms with verified user data from over 15 sources, including PAN, masked Aadhaar, address, credit score, and more.

* **Ensure 100% DPDPA compliance**: Stay compliant with India’s data protection laws using OTP-based, explicit consent built into the flow.

* **Accelerate integration**: Go live in less time with SDK, requiring only a few lines of code.

* **Optimise user experience**: Replace long, multi-screen forms with a single intuitive flow—reducing onboarding time by up to 80% with just a mobile number.

## Use cases

The following are key use cases for 1-Click Onboarding:

| Business type       | Use case                                                                                    |
| ------------------- | ------------------------------------------------------------------------------------------- |
| Fintech and lending | Auto fetch fields like PAN, date of birth, gender, and address to accelerate KYC processing |
| Banking             | Reduce manual form entry by pre-filling key details for seamless eKYC                       |
| Insurance           | Pre-fill proposal and policy forms with verified data to fast-track onboarding              |

## 1-click onboarding workflow

<Steps>
  <Step title="Integrate the SDK">
    Choose and integrate one of the following SDKs into your application:

    * [**Web SDK**](/api-reference/vrs/v2/1-click-onboarding/1-click-onboarding-sdk#web) – Embed the onboarding flow into your website.
    * [**Mobile SDK (Android and iOS)**](/api-reference/vrs/v2/1-click-onboarding/1-click-onboarding-sdk#android-native) – Embed the onboarding flow into your Android or iOS application.

    For implementation details, see the [Integration section](/api-reference/vrs/v2/1-click-onboarding/1-click-onboarding-sdk).
  </Step>

  <Step title="Create a brand-customised template">
    Configure a brand-customised onboarding template in the [**Merchant Dashboard**](https://merchant.cashfree.com/auth/login).

    To set up your template, follow the instructions in the [Creating Template](/secure-id/1-click-onboarding/creating-template).
  </Step>

  <Step title="Initiate onboarding">
    Collect the user’s mobile number and trigger the 1-Click Onboarding flow using the API or SDK.
  </Step>

  <Step title="Verify data availability">
    Use the [**Data Availability API**](/api-reference/vrs/v2/1-click-onboarding/data-availability) to check if user data is available for the given mobile number.

    This step is mandatory. Based on availability, either display Cashfree’s consent screen or continue with the regular onboarding flow.
  </Step>

  <Step title="Initiate OAuth">
    Call the [**Initiate OAuth API**](/api-reference/vrs/v2/1-click-onboarding/initiate-oauth) with the mobile number to obtain a `session_id` required to open the SDK.
  </Step>

  <Step title="Collect user consent">
    Launch the SDK using the `session_id`.

    The SDK will present an OTP-based consent screen for the user to approve data access.

    Once consent is granted, the SDK returns an `auth_code` via callback.
  </Step>

  <Step title="Generate an access token">
    Use the [**OAuth Access Token Generation API**](/api-reference/vrs/v2/1-click-onboarding/oauth-access-token-generation) to exchange the `auth_code` for an access token.

    The access token is valid for one hour.
  </Step>

  <Step title="Retrieve user details">
    Use the access token with the [**Fetch User Details API**](/api-reference/vrs/v2/1-click-onboarding/fetch-user-details-from-access-token) to retrieve verified user data, including:

    * Personal details
    * Address
    * PAN
    * And more
  </Step>

  <Step title="Pre-fill and complete onboarding">
    Auto populate onboarding forms with the retrieved data and complete the process in seconds.
  </Step>
</Steps>

Refer to the image below for a sample workflow:

<img height="200" src="https://mintcdn.com/cashfreepayments-d00050e9/Hvlwro-hVj4Ie92q/static/api-reference/secure-id/1-click-onboarding.jpg?fit=max&auto=format&n=Hvlwro-hVj4Ie92q&q=85&s=acfc10347dcb8525ea7fb655942edcdf" data-path="static/api-reference/secure-id/1-click-onboarding.jpg" />

## End user flow

The following steps outline the user experience during the 1-Click Onboarding process:

1. Enter mobile number and select **Proceed**.
2. Review and accept the terms and conditions to continue.
3. Enter the OTP received on your mobile number to complete verification.
4. Review the requested data and select **Submit** to share the details with the merchant.

<img src="https://mintcdn.com/cashfreepayments-d00050e9/n-suTZf6s1RFRhjM/static/images/1-click.png?fit=max&auto=format&n=n-suTZf6s1RFRhjM&q=85&s=7723024787eb45094d68b4ffcd2c5168" alt="" width="3672" height="1624" data-path="static/images/1-click.png" />

<div class="hidden" data-table-of-contents="bottom">
  <p class="mt-4 font-medium flex items-center gap-2 related-docs-heading">
    <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="w-4 h-4">
      <path d="M3 4h7a2 2 0 0 1 2 2v13a2 2 0 0 0-2-2H3z" />

      <path d="M21 4h-7a2 2 0 0 0-2 2v13a2 2 0 0 1 2-2h7z" />
    </svg>

    <span>Related topics</span>
  </p>

  <ul>
    <li><a href="/docs/api-reference/vrs/v2/1-click-onboarding/1-click-onboarding-sdk">1-Click Onboarding SDK</a></li>
    <li><a href="/docs/api-reference/vrs/v2/1-click-onboarding/initiate-oauth">Initiate OAuth API</a></li>
    <li><a href="/docs/api-reference/vrs/v2/1-click-onboarding/fetch-user-details-from-access-token">Fetch User Details API</a></li>
    <li><a href="/docs/secure-id/1-click-onboarding/creating-template">Creating Template</a></li>
  </ul>
</div>
