Home / Projects / BBPS Bill Payment Platform

Fintech · case study

BBPS Bill Payment Platform

A Bharat Bill Payment System (BBPS) integration with a dual payment rail: internal Payout/Connected Banking or external Gateway. Cypress + JavaScript UI automation, Postman API testing.

  • Cypress
  • JavaScript
  • Postman
  • Jenkins / GitHub Actions
  • JIRA
  • Git
  • GitHub

Architecture at a glance

Animated overview · click to enlarge · @ghanendra

The system

BBPS (Bharat Bill Payment System) is a standardized bill payment ecosystem. A platform that integrates with BBPS lets end users pay bills from any registered biller (electricity, water, gas, DTH, telecom, etc.) through one consistent interface, instead of visiting each biller's own portal.

If you're new to fintech QA, HR, or any non-technical role, think of it as a universal bill-pay counter. The platform doesn't own the billers' data. It fetches live bill amounts from each biller in real time, so a core testing challenge is that the platform is only as reliable as the biller integrations behind it, several of which the team doesn't control.

Core Flow

  1. Bill Categories — the user selects a category (electricity, water, gas, DTH, etc.)
  2. Bill Fetch — the platform calls the biller to retrieve the current outstanding amount
  3. Bill Payment — the user pays the fetched amount
  4. Transaction Status — the payment is tracked to a definitive success/failure state
  5. Settlement — funds settle between the platform and the biller
  6. Reports — payment history and reconciliation reporting

Who typically interacts with it?

Role What they do
End User Selects a bill category, fetches a bill, pays it, checks status
Biller The utility/service provider whose bill is being fetched and paid
Platform Admin/Ops Manages biller onboarding, monitors settlement, reviews failed-fetch/failed-payment trends

My role

QA Engineer / SDET responsible for the BBPS module, owning manual and automated test coverage across bill fetch accuracy, payment processing, and settlement reconciliation.

  • Owned QA strategy for the bill category → fetch → payment → status → settlement journey
  • Designed and executed automation covering bill fetch accuracy and payment status transitions
  • Performed API testing validating bill-fetch responses, payment payloads, and status callbacks against biller-side behavior
  • Focused test design on biller-integration failure modes — a category of defect largely outside the platform's own code, but still the platform's responsibility to handle gracefully
  • Logged, triaged, and tracked defects through their full lifecycle

Timeline: [Add Duration]


Types of testing

  • Functional Testing — bill category selection, bill fetch, payment initiation
  • Regression Testing — full fetch-to-settlement suite run before every release
  • API Testing — bill fetch responses, payment payloads, status callbacks
  • Negative Testing — biller timeout during fetch, stale bill amount at payment time, invalid biller reference
  • Reconciliation Testing — settlement totals vs. payment totals
  • Performance Testing — bill-fetch load and spike testing around biller due-date traffic clustering, validated with k6 (see docs/tech-and-skills.md section 5)
  • Smoke & Sanity Testing — post-deployment health checks

How it works

timeout/error

Merchant has active Payout/Connected Banking service

No active internal rail

📋 Bill Categories
user selects: electricity, water, gas, DTH, etc.

🔍 Bill Fetch
live call to biller for current outstanding amount

❌ Clear error shown — no stale amount charged

⚙️ Payment Rail Resolved

✅ Internal Payout/Connected Banking Rail
→ Lower service charge

🌐 External Payment Gateway
PhonePe PG / Razorpay PG / Cashfree PG
→ Standard gateway fee

💳 Bill Payment
user pays the fetched amount

📶 Transaction Status
tracked to a definitive success/failure state

🏦 Settlement
funds settle between platform and biller

📑 Reports
payment history, fee breakdown by rail, & reconciliation

Hover a step to highlight it · arrows show the direction of the flow

Key testing principle: the amount charged at payment time must always match the amount fetched. If any time passes between fetch and payment, the platform must either re-validate the amount or clearly flag it as potentially stale — never silently charge an outdated figure. Also verify the correct payment rail (internal vs. external PG) is selected and the correct corresponding fee is applied — see docs/business-overview.md section 3 for the full rationale and docs/architecture-and-flow.md for the full set of sequence diagrams, including exactly how a stale-amount charge and a wrong-rail routing defect actually happen under the hood.

Admin Functions

  • Biller onboarding & category management
  • Settlement monitoring
  • Failed-fetch / failed-payment trend review
  • Reports

Automation approach

Automation is built with Cypress + JavaScript, covering the fetch-to-payment journey, backed by Postman API coverage and k6 for bill-fetch load/spike testing (see docs/tech-and-skills.md section 5).

Priority Automated Scenarios

  1. Bill category selection
  2. Bill fetch (valid biller reference)
  3. Bill fetch failure handling (simulated biller timeout)
  4. Bill payment against a freshly fetched amount
  5. Transaction status polling
  6. Settlement reconciliation check
  7. Bill-fetch load/spike testing around biller due-date clustering (k6)

See automation/ for the framework README and a sample spec file using dummy data.


Results

  • Designed a bill-fetch-to-settlement regression suite treating biller integration failure modes (timeout, stale amount, invalid reference) as first-class test scenarios
  • Validated transaction status accuracy across success, failure, and ambiguous/pending states
  • Verified settlement reconciliation between platform-recorded payments and biller-side records
  • Logged and tracked defects across bill-fetch accuracy and status-transition edge cases

Regression checklist

  • Bill Categories
  • Bill Fetch (valid / invalid biller reference)
  • Bill Fetch failure handling (timeout, error response)
  • Bill Payment
  • Stale-amount protection (fetch vs. payment-time amount)
  • Transaction Status
  • Settlement
  • Reports
  • UI Consistency (status representation, formatting, terminology, accessibility)

Full checklist with edge cases available in regression-checklist.md.


Tech stack

Category Tools
UI Automation Cypress, JavaScript
API Testing & Automation Postman
Performance Testing k6 (bill-fetch load/spike testing around biller due-date clustering)
CI/CD Jenkins / GitHub Actions
Bug Tracking & Traceability JIRA, RTM (Requirement Traceability Matrix — see sample-rtm.md)
Version Control Git, GitHub

Full detail on why each tool was chosen, a skill → proof map, and the performance testing approach in depth: docs/tech-and-skills.md.


This case study uses sample data only: no real client names, production data or confidential information. Source and full documentation: bbps-bill-payment-platform on GitHub.