DEV Community

Munisekhar Udavalapati
Munisekhar Udavalapati

Posted on

BBPS Bill Fetch API: A Complete Guide

Sample Request and Response Structures:

Bill Fetch Request: Describes XML-based structures sent by the customer (BBPOU) or intermediary (BBPCU) to fetch bill details.
Bill Fetch Response: Contains the bill details fetched from the biller or returned to the customer.
Key XML Tags and Attributes:

: Metadata such as API version, timestamp (ts), and unique identifiers (refId).
: Transaction information like timestamp (ts), message ID (msgId), and risk scores.
: Customer-related information such as mobile number, Aadhaar, PAN, and tags for additional attributes.
: Data about the agent initiating the transaction, including device information (e.g., IMEI, IP, MAC).
: Biller identification and customer reference parameters to uniquely identify a bill.
Tag Details:

Explanation of each XML element and attribute with their occurrence constraints, e.g., mandatory (1..1) or optional (0..n).
Sample XSD (XML Schema Definition):

Defines the structure and constraints of the BillFetchRequest message.
Analytics Tags:

Metadata for monitoring or logging purposes (e.g., FETCHREQUESTSTART, FETCHREQUESTEND).
Risk Scores:

Evaluates risk levels (TXNRISK) for the transaction from different providers.
Biller Response:

Includes bill details like customer name, due amount, due date, bill date, and breakdown of charges.

Top comments (0)