Overall User Journey


Screen-by-Screen Breakdown

1. Onboarding (Profile Setup)

The driver enters Aarokya from NammaYatri for the first time. NammaYatri passes the driver’s identity via the SDK token flow. Screen fields:
  • Name (pre-filled from NammaYatri if available)
  • Date of Birth
  • Gender
  • Email
  • Mobile (pre-filled, read-only)
APIs called:
APIMethodPurpose
POST /user/profileCreateCreate user profile with onboarding details

2. Add Dependants

Driver adds family members who will be covered under the insurance plan. Can be skipped. Screen fields (per dependant):
  • Name
  • Date of Birth
  • Gender
  • Relationship (spouse, child, parent, etc.)
  • Add (+) button for more members
APIs called:
APIMethodPurpose
POST /user/dependantsCreateSave family members as dependants

3. Available Benefits

Shows the benefits the driver can avail — free doctor consultations, insurance plans, etc. Screen layout:
  • List/grid of benefit cards
  • Each card: title, short description, icon
  • Examples: “Free Doctor Consultations”, “Health Insurance”
APIs called:
APIMethodPurpose
GET /benefits/availableReadList benefits available to this driver

4. Benefit Detail (To Avail)

Detail page for a specific benefit (e.g., Insurance). Shows what the benefit covers and how to avail it. Screen layout:
  • Benefit name and description
  • Coverage details
  • Info icon with more details
  • “Avail” / “Enroll” CTA button
APIs called:
APIMethodPurpose
GET /benefitsReadList all benefits with full details

5. Insurance Enrollment

The main enrollment screen. Shows premium amount, lets the driver add/remove dependants from coverage, and proceeds to payment. Screen fields:
  • Premium amount (computed dynamically)
  • Dependant list with +/- toggle
  • “Setup Autopay” button
  • Proceeds to Hyper PG for payment
APIs called:
APIMethodPurpose
GET /user/dependantsReadFetch saved dependants for selection
POST /insurance/premium/computeComputeCalculate premium for self + selected dependants
POST /insurance/enrollCreateInitiate benefit enrollment

6. Payments Page (UPI / Mandate Setup)

Payment collection via Hyper PG. Supports UPI payment and mandate setup for recurring autopay. Screen layout:
  • UPI payment option
  • Mandate setup option
  • Payment app icons (GPay, PhonePe, Paytm)
  • Amount display
APIs called:
APIMethodPurpose
POST /mandate/createCreateCreate autopay mandate for recurring deductions

7. Success Screen

Confirmation after successful payment and mandate setup. Screen layout:
  • Success checkmark
  • “Payment Successful” message
  • Summary of enrollment
  • “Continue” button to go to wallet/home

8. Wallet Creation

Wallet setup screen. Collects any additional info needed for the health savings wallet (backed by Transcorp). APIs called:
APIMethodPurpose
POST /walletCreateCreate health savings wallet (Transcorp registration)

9. Wallet & Transactions (Home)

Main wallet view showing balance, recent transactions, and add money option. Screen layout:
  • Balance display (prominent)
  • Transaction history list
  • “Add Money” button
  • Each transaction: amount, status, date, description
APIs called:
APIMethodPurpose
GET /wallet/{id}/balanceReadFetch live balance from wallet provider
GET /wallet/{id}/transactions/history/{days}ReadFetch transaction history

10. Hospital Registration (Dispute Region)

Register at a network hospital for cashless treatment. APIs called:
APIMethodPurpose
POST /hospital/registerCreateRegister driver at a network hospital

11. Consultations

View consultation history and book new doctor consultations (free benefit). APIs called:
APIMethodPurpose
GET /consultations/historyReadFetch past consultation records

12. Policy Page

View active insurance policy details, coverage, and claims. Screen layout:
  • Policy number
  • Coverage amount
  • Start and expiry dates
  • Covered members
  • Claim history link
  • Policy document download
APIs called:
APIMethodPurpose
GET /insurance/policies/{id}ReadFetch policy details

Complete API Map by Screen

#ScreenAPIsStatus
1OnboardingPOST /user/profileExists
2Add DependantsPOST /user/dependantsNew
3Available BenefitsGET /benefits/availableNew
4Benefit DetailGET /benefitsNew
5Insurance EnrollmentGET /user/dependants, POST /insurance/premium/compute, POST /insurance/enrollNew
6PaymentsPOST /mandate/createNew
7Success(no API call)N/A
8Wallet CreationPOST /walletExists
9Wallet & TransactionsGET /wallet/{id}/balance, GET /wallet/{id}/transactions/history/{days}Exists
10Hospital RegistrationPOST /hospital/registerNew
11ConsultationsGET /consultations/historyNew
12Policy PageGET /insurance/policies/{id}Exists

Flow Connections