Cashfree BBPS COU — Bill Payments (Bharat Bill Payment System)

Integrate Cashfree BBPS COU APIs to fetch and pay utility bills across billers.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/dasara-varun/orange --skill cashfree-bbps-cou-bill-payments-bharat-bill-payment-system-dasara-varun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Cashfree BBPS COU — Bill Payments (Bharat Bill Payment System)
Source: https://github.com/dasara-varun/orange/tree/main/.cursor/cashfree-skills/bbps-cou
Command: npx skills add https://github.com/dasara-varun/orange --skill cashfree-bbps-cou-bill-payments-bharat-bill-payment-system-dasara-varun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Integrating with India's Bharat Bill Payment System through Cashfree's BBPS COU API involves an asynchronous two-phase protocol, biller-specific flow rules, and strict request schemas that are easy to get wrong. This Skill guides the full bill fetch, payment, polling, and dispute-ticket lifecycle so merchants acting as Agent Institutions can implement bill payments correctly. ## Core Features & Use Cases - End-to-End Bill Payment Flow: Covers biller discovery, bill fetch, Cashfree PG order creation with the bbps block, bill payment initiation, and status polling with exponential backoff. - Flow Determination Logic: Explains FETCH_AND_PAY, VALIDATE_AND_PAY, and DIRECT_PAY flows derived from fetch_requirement and support_bill_validation biller config. - Dispute & Wallet Operations: Documents ticket raising with D11–D32 disposition codes, ticket status polling, and agent wallet balance/ledger reconciliation. - Use Case: A fintech app wants to let customers pay electricity bills. Use this Skill to fetch the bill from UPCL, create a linked Cashfree PG order, initiate the BBPS payment, and poll until SUCCESS. ## Quick Start Ask the assistant to walk through fetching and paying an electricity bill for a given biller ID using the Cashfree BBPS COU sandbox environment.

Frequently Asked Questions about Cashfree BBPS COU — Bill Payments (Bharat Bill Payment System)

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pay a bill using the Cashfree BBPS COU API?▼

Fetch the bill via POST /v1/billers/request/bill-fetch, poll the response endpoint with the ref_id, create a Cashfree PG order with the bbps block, then initiate payment via /v1/billers/request/bill-payment and poll until status is SUCCESS or FAILED.

How does the BBPS bill fetch and payment polling work?▼

Bill fetch and payment are asynchronous: the initiate call returns HTTP 202 with a ref_id or transaction_ref_id, and you poll the corresponding response endpoint at 5s, 15s, 30s, 1 min, then 3 min intervals until a terminal status is reached.

What is the difference between FETCH_AND_PAY, VALIDATE_AND_PAY, and DIRECT_PAY billers?▼

The flow is determined by the biller's fetch_requirement and support_bill_validation config. FETCH_AND_PAY returns full bill details, VALIDATE_AND_PAY validates identity without returning bill data, and DIRECT_PAY billers skip bill fetch entirely and go straight to payment.

Why does my BBPS bill payment request fail validation?▼

Common causes include missing required fields like bill_fetch_ref_id, biller id, or payment_information tags, using "INR" instead of numeric currency code "356", or omitting the quick_pay, split_pay, and off_us_pay flags in payment_method.

How do I raise a complaint or dispute for a BBPS transaction?▼

Call POST /v1/billers/request/ticket with the transaction_ref_id, a disposition code from D11 to D32, and customer details. Then poll /v1/billers/response/ticket-status with the returned ref_id until the ticket is resolved.

When should I not use the BBPS COU API?▼

Do not use it to collect payments into the merchant's own account — use Cashfree PG or auto-collect instead — or to pay vendors and beneficiaries, which is handled by Cashfree Payouts. BBPS COU is only for paying bills on behalf of customers.