Skip to content
shashank.singh
← All work

Government · National Pension Scheme

NPS

PFRDA-regulated pension account opening across Individual, Corporate and Vatsalya flows.

Context

The National Pension Scheme is the Government of India's retirement savings scheme, regulated by PFRDA. This platform lets people open an NPS account online or through a bank, and runs three registration flows: Individual, Corporate (through an employer) and Vatsalya (a parent opening an account for a minor). Each flow goes through KYC, OTP authentication and payment before the pension account number (PRAN) is issued.

Problem

Each flow has many steps, and a defect in validation, OTP or resuming a half-finished journey stops a real person from opening their pension account.

What I did

  • Took over and maintained the Go backend services for subscriber registration after knowledge transfer, while contributing to ongoing feature development.
  • Diagnosed and fixed defects across registration, KYC, OTP validation and resume-journey flows, improving the reliability of the onboarding funnel.
  • Traced issues across every step of the journey: KYC (CKYC, Aadhaar, DigiLocker), investment and nominee details, OTP authentication, payment and PRAN generation.
  • Kept resume-journey and duplicate-PRAN rules intact while fixing bugs, so users continue where they left off and one PAN can't open the same account twice.

Architecture

NPS architecture: Subscriber or bank to Go services, Go services to Individual, Go services to Corporate, Go services to Vatsalya, Individual to PRAN issued, Corporate to PRAN issued, Vatsalya to PRAN issuedSubscriber or bankOnline · via a bankGo servicesRegistration APIsIndividualAny citizenCorporateVia employerVatsalyaMinor accountsPRAN issuedKYC · OTP · payment
Simplified architecture. Green moving lines show the main flow; grey dashed lines are supporting paths.

Screenshots

NPS registration page with Individual selected, asking for customer type, mobile, email, PAN, name and date of birth
Individual flow: new or existing customer, PAN-based identification.
NPS registration page with Corporate selected, showing the CKYC, FATCA and PFRDA consent checkbox
Corporate flow: employer-linked accounts with CKYC and FATCA consent.
NPS registration page with Vatsalya selected for opening an account for a minor
Vatsalya flow: a parent or guardian opens an account for a minor.

Key decisions and trade-offs

Learn the journey before changing it

On a regulated platform, the safest fix comes from knowing the whole registration flow. Knowledge transfer came first, then targeted bug fixes.

Treat edge cases as first-class

Most real defects live in the edges: invalid input, expired OTPs, and users who leave mid-journey and come back. Those are the paths I focus on.

Stack

GoREST APIsKYC flowsOTP