BBPS API SPECIFICATIONS
Version 13.0
Date: 05.11.2019
Abstract
This document contains information pertaining to different APIs used in BBPS and
some considerations which will be beneficial while designing the same.
1
Table of Contents
Document History ............................................................................................................................................................. 5
1
2
3
4
Bill Fetch Request & Response .................................................................................................................................. 6
1.1
Sample Fetch Request API: Customer BBPOU to BBPCU .................................................................................. 6
1.2
Sample Fetch Request API: BBPCU to Biller BBPOU.......................................................................................... 7
1.3
Sample Fetch Response API: Biller BBPOU to BBPCU ....................................................................................... 7
1.4
Sample Fetch Response API: BBPCU to Customer BBPOU ................................................................................ 8
1.5
Bill Fetch Request Tag Details ........................................................................................................................... 9
1.6
Bill Fetch Request XSD..................................................................................................................................... 10
1.7
Bill Fetch Response Tag Details ....................................................................................................................... 10
1.8
Bill Fetch Response XSD .................................................................................................................................. 11
Bill Payment Request & Response .......................................................................................................................... 12
2.1
Sample Payment Request API: Customer BBPOU to BBPCU........................................................................... 12
2.2
Sample Payment Request API: BBPCU to Biller BBPOU .................................................................................. 13
2.3
Sample Payment Response API: Biller BBPOU to BBPCU ................................................................................ 15
2.4
Sample Payment Response API: BBPCU to Customer BBPOU ........................................................................ 15
2.5
Sample Reversal Request API: BBPCU to Biller BBPOU ................................................................................... 15
2.6
Sample Reversal Response API: Biller BBPOU to BBPCU ................................................................................ 16
2.7
Sample Reversal Response API: BBPCU to Customer BBPOU ......................................................................... 16
2.8
Bill Payment Request Tag Details .................................................................................................................... 16
2.9
Bill Payment Request XSD ............................................................................................................................... 18
2.10
Bill Payment Response Tag Details.................................................................................................................. 19
2.11
Bill Payment Response XSD ............................................................................................................................. 20
Transaction Status Check (402) API Request & Response (for Pending Transactions) ........................................... 21
3.1
402 API Request: BBPCU to Biller BBPOU ....................................................................................................... 21
3.2
402 API Response: Biller BBPOU to BBPCU ..................................................................................................... 21
3.3
402 API Request Tag Details ............................................................................................................................ 21
3.4
402 API Request XSD ....................................................................................................................................... 22
3.5
402 API Response Tag Details ......................................................................................................................... 22
3.6
402 API Response XSD ..................................................................................................................................... 23
Bill Validation Request & Response ........................................................................................................................ 24
4.1
Sample Validation Request API: Customer BBPOU to BBPCU......................................................................... 24
4.2
Sample Validation Request API: BBPCU to Biller BBPOU ................................................................................ 24
4.3
Sample Validation Response API: Biller BBPOU to BBPCU .............................................................................. 24
4.4
Sample Validation Response API: BBPCU to Customer BBPOU ...................................................................... 25
BBPS API SPECIFICATIONS | Version 13.0
2
5
6
7
4.5
Bill Validation Request Tag Details .................................................................................................................. 25
4.6
Bill Validation Request XSD ............................................................................................................................. 26
4.7
Bill Validation Response Tag Details ............................................................................................................... 26
4.8
Bill Validation Response XSD ........................................................................................................................... 27
Diagnostic Request & Response .............................................................................................................................. 28
5.1
Sample Request API: BBPOU to BBPCU........................................................................................................... 28
5.2
Sample Response API: BBPCU to BBPOU ........................................................................................................ 28
5.3
Diagnostic Request Tag Details ....................................................................................................................... 28
5.4
Diagnostic Request XSD................................................................................................................................... 28
5.5
Diagnostic Response Tag Details ..................................................................................................................... 29
5.6
Diagnostic Response XSD ................................................................................................................................ 29
Transaction Status and Complaint Related API Request & Response..................................................................... 30
6.1
Sample Transaction Status (401) Request API – Using Mobile Number & Date Range: BBPOU to BBPCU .... 30
6.2
Sample Transaction Status (401) Response API – Using Mobile Number & Date Range: BBPCU to BBPOU .. 30
6.3
Sample Transaction Status (401) Request API – Using Transaction Ref ID: BBPOU to BBPCU ....................... 30
6.4
Sample Transaction Status (401) Response API – Using Transaction Ref ID: BBPCU to BBPOU ..................... 31
6.5
Sample Complaint Raise (501) Request API – Transaction Based: BBPOU to BBPCU ..................................... 31
6.6
Sample Complaint Raise (501) Response API – Transaction Based: BBPCU to BBPOU................................... 31
6.7
Sample Complaint Raise (501) Request API – Service Based against Agent: BBPOU to BBPCU ..................... 32
6.8
Sample Complaint Raise (501) Response API – Service Based against Agent: BBPCU to BBPOU ................... 32
6.9
Sample Complaint Raise (501) Request API – Service Based against Biller: BBPOU to BBPCU ...................... 32
6.10
Sample Complaint Raise (501) Response API – Service Based against Biller: BBPCU to BBPOU .................... 32
6.11
Sample Transaction Based Complaint Re-assignment (502) Request API: Customer BBPOU to BBPCU ........ 33
6.12
Sample Transaction Based Complaint Re-assignment (502) Response API: BBPCU to Customer BBPOU ..... 33
6.13
Sample Complaint Status (506) Request API: BBPOU to BBPCU ..................................................................... 33
6.14
Sample Complaint Status (506) Response API: BBPCU to BBPOU .................................................................. 33
6.15
Sample Complaint Closure (507) Request API: BBPOU to BBPCU................................................................... 34
6.16
Sample Complaint Closure (507) Response API: BBPCU to BBPOU ................................................................ 34
6.17
Transaction Status and Complaint Related API Request Tag Details .............................................................. 34
6.18
Transaction Status and Complaint Related API Request XSD ......................................................................... 35
6.19
Transaction Status and Complaint Related API Response Tag Details ............................................................ 36
6.20
Transaction Status and Complaint Related API Response XSD ....................................................................... 37
Biller MDM Fetch Request & Response .................................................................................................................. 39
7.1
Sample Request API: BBPOU to BBPCU........................................................................................................... 39
7.2
Sample Response API: BBPCU to BBPOU ........................................................................................................ 39
7.3
Biller MDM Fetch Request Tag Details ............................................................................................................ 45
BBPS API SPECIFICATIONS | Version 13.0
3
7.4
Biller MDM Fetch Request XSD ....................................................................................................................... 45
7.5
Biller MDM Fetch Response Tag Details ......................................................................................................... 46
7.6
Biller MDM Fetch Response XSD ..................................................................................................................... 49
8
Agent MDM Fetch Request & Response ................................................................................................................. 53
8.1
Sample Request API: BBPOU to BBPCU........................................................................................................... 53
8.2
Sample Response API: BBPCU to BBPOU ........................................................................................................ 53
8.3
Agent MDM Fetch Request Tag Details .......................................................................................................... 55
8.4
Agent MDM Fetch Request XSD ...................................................................................................................... 55
8.5
Agent MDM Fetch Response Tag Details ........................................................................................................ 56
8.6
Agent MDM Fetch Response XSD ................................................................................................................... 57
9
Acknowledgment .................................................................................................................................................... 59
9.1
Sample ACK for Fetch & Payment APIs ........................................................................................................... 59
9.2
Sample ACK for Other APIs.............................................................................................................................. 59
9.3
Acknowledgment Tag Details .......................................................................................................................... 59
9.4
Acknowledgment XSD ..................................................................................................................................... 59
10
10.1
BBPS Common ..................................................................................................................................................... 61
BBPS Common XSD.......................................................................................................................................... 61
11
Key Exchange / XML signing ................................................................................................................................ 66
12
URLs for Different API Messages ......................................................................................................................... 67
12.1
Request URL format (Customer BBPOU to BBPCU): ....................................................................................... 67
12.2
Request URL format (BBPCU to Biller BBPOU): ............................................................................................... 67
12.3
Response URL format (Biller BBPOU to BBPCU): ............................................................................................ 67
12.4
Response URL format (BBPCU to Customer BBPOU): ..................................................................................... 67
12.5
Request URL format (BBPOU to BBPCU): ........................................................................................................ 67
12.6
Response URL format (BBPCU to BBPOU):...................................................................................................... 68
13
Error Codes and Declines .................................................................................................................................... 69
13.1
BBPCU Declines ............................................................................................................................................... 69
13.2
Biller BBPOU Declines ..................................................................................................................................... 74
13.3
Customer BBPOU Declines .............................................................................................................................. 75
13.4
Forced Closure of Transactions by CU............................................................................................................. 76
14
Re-utilization of Fetch / Validation for Registered Customers ........................................................................... 78
14.1
Considerations for Customer OUs................................................................................................................... 78
14.2
Considerations for Biller OUs .......................................................................................................................... 79
15
CMS Response Scenarios..................................................................................................................................... 80
16
Biller Types in BBPS ............................................................................................................................................. 82
17
Amount Block Configuration in Bill Fetch & Bill Payment Messages .................................................................. 83
BBPS API SPECIFICATIONS | Version 13.0
4
18
Fee Configuration ................................................................................................................................................ 87
18.1
Interchange Fee............................................................................................................................................... 87
18.2
Interchange Fee Config ................................................................................................................................... 88
19
BBPS IDs............................................................................................................................................................... 90
19.1
ID Generation Stages....................................................................................................................................... 90
19.2
Generation Logic ............................................................................................................................................. 91
20
Payment Mode & Channel Details ...................................................................................................................... 92
20.1
Initiating Channel Vs Device Block Parameters............................................................................................... 92
20.2
Payment Mode Vs Payment Info Parameters ................................................................................................. 92
20.3
Initiating Channel Vs Payment Mode Combinations ...................................................................................... 93
21
Settlement File Transfer Mechanism .................................................................................................................. 94
22
Elements Description .......................................................................................................................................... 95
23
Appendix ........................................................................................................................................................... 133
23.1
List of Error Messages ................................................................................................................................... 133
23.2
File Naming Convention for Settlement Files ............................................................................................... 133
BBPS API SPECIFICATIONS | Version 13.0
5
Document History
Date
Version
29.12.2016
08.02.2018
11.0
12.0
Section
Number
-
05.11.2019
13.0
-
Description
Base version of API Specifications
Merging of API Request and Response pairs
Split of Bill Fetch and Bill Payment Request messages from Customer BBPOU
to BBPCU to Biller BBPOU
Split of Bill Fetch and Bill Payment Response messages from Biller BBPOU to
BBPCU to Customer BBPOU
Separate Reversal Request and Reversal Response sample messages
Addition of Bill Validation API
Addition of Complaint Re-assignment (502) and Complaint Closure (507) APIs
Split of CMS API into Transaction Status (401), Compliant Raise (501),
Complaint Re-assignment (502), Complaint Status (506) and Complaint
Closure (507) APIs
Modification of Biller MDM Fetch API
Addition of Agent MDM Fetch API
Addition of Error Codes and Declines section
Addition of CMS Response Scenarios section
Addition of Biller Types in BBPS section
Addition of Amount Block Configuration in Bill Fetch & Bill Payment
Messages section
Addition of Fee Configuration section
Addition of Settlement File Transfer Mechanism section
Modification of Payment Mode & Channel Details section
- Splitting of Mobile and Internet payment channels: Mobile (Pre-login),
Mobile Banking (Post-login), Internet (Pre-login), Internet Banking (Postlogin)
- Addition of 2 payment channels: Agent and Business Correspondent
- Addition of 2 payment mode: AEPS and Account Transfer
Modification of parameter definitions in Elements Description section
Addition of Appendix section
Addition of Transaction Status Check (402) API between BBPCU and Biller
BBPOU to check the status of Pending Transactions
Introduction of Fetch / Validation Re-utilization for Registered Customers
- Introduction of siTxn and origRefId attributes in Payment Request API
- Considerations for Customer and Biller BBPOUs
Modification of Biller MDM Fetch API
- Introduction of Either/OR configuration of Customer Parameters
- Passing default(possible) values against a Customer Parameter
Modification of BillerResponse block attributes presence in Fetch, Payment
and 402 API Responses.
Change in Transaction Reference Id length and generation logic
Change in Customer Mobile Number length
Addition of URLs for Different APIs section
Modification of BBPS Error Codes and Declines
- Introduction of Deemed Success and Pending Status
- Modification of Forced Closure of Transactions by CU
Modification of Biller Types in BBPS section
Modification of Fee Configuration section
Modification of Payment Mode & Channel Details section
- Addition of 2 payment modes: Bharat QR and USSD
Modification of parameter definitions in Elements Description section
BBPS API SPECIFICATIONS | Version 13.0
6
1 Bill Fetch Request & Response
1.1 Sample Fetch Request API: Customer BBPOU to BBPCU
BBPS API SPECIFICATIONS | Version 13.0
7
1.2 Sample Fetch Request API: BBPCU to Biller BBPOU
1.3 Sample Fetch Response API: Biller BBPOU to BBPCU
BBPS API SPECIFICATIONS | Version 13.0
8
1.4 Sample Fetch Response API: BBPCU to Customer BBPOU
BBPS API SPECIFICATIONS | Version 13.0
9
1.5 Bill Fetch Request Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
XML Element
xmlns
ver
ts
2.1.3
origInst
2.1.4
refId
3.1
3.2
3.2.1
3.2.2
4.1
name
value
4.1.1
ts
4.1.2
msgId
4.2
4.3
4.3.1
4.3.2
4.3.3
provider
type
value
5.1
5.1.1
5.2
5.2.1
5.2.2
6.1
6.1.1
6.2
6.3
6.3.1
6.3.2
7.1
7.2
7.2.1
7.3
mobile
name
value
Id
name
value
Id
name
value
Name of the reference field as configured for the Biller
Value of the reference field which uniquely identifies the customer
for the Biller
1..n
1..n
1.6 Bill Fetch Request XSD
BBPS Bill Request
1.7 Bill Fetch Response Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
XML Element
xmlns
Ver
ts
2.1.3
origInst
2.1.4
refId
3.1
3.1.1
approvalRefNum
3.1.2
responseCode
3.1.3
responseReason
3.1.4
complianceRespCd
3.1.5
complianceReason
Description
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at
each leg
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain, binding the
Fetch and Payment messages
Response details of the transaction
Internal reference number which may be used by the Biller
BBPOU for a transaction – default value "AB123456"
Carries the response code indicating success or failure of the
transaction
Description of the response code – possible values are
"Successful" or "Failure"
Carries the compliance code indicating the reason for a failed
transaction – not required for a successful transaction
Description of the compliance code – not required for a
successful transaction
Occurrence
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
0..1
0..1
BBPS API SPECIFICATIONS | Version 13.0
11
4.1
4.1.1
ts
4.1.2
msgId
5.1
5.2
5.3.1
5.3.2
name
value
6.1
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5
6.1.6
6.2
customerName
amount
dueDate
billDate
billNumber
billPeriod
6.2.1
6.2.2
7.1
name
value
7.2
7.2.1
7.2.2
name
value
5.3
Transaction information, passed throughout the system, visible
to all entities of the eco-system
Transaction initiation timestamp which will remain constant
throughout all legs of the request and response message
Unique identification assigned by the initiating BBPOU for
chaining a request and response message
Bill related details to identify a Customer
Customer bill fetch related details
1..1
Customer bill fetch related reference field tag
1..n
Name of the reference field as configured for the Biller
Value of the reference field which uniquely identifies the
Customer for the Biller
Response which is sent by the Biller for a successful transaction,
i.e., response code is ‘000’
Name of the Customer
Amount of the bill
Due date of the bill
Generation date of the bill
Unique identifier of the bill
Billing period of the bill
Biller response related tag indicating the various amount options
provided by the Biller
Name of the amount field assigned by the Biller
Value of the amount field
Additional information parameters provided by the Biller for a
successful transaction, i.e., response code is ‘000’
Tag indicating any additional information provided by the Biller
Name of the field assigned by the Biller
Value of the field
1..n
1..n
1..1
1..1
0..1
1..1
0..1
0..1*
1..1
0..1*
0..1*
0..1*
0..1*
0..n
1..n
1..n
0..1
1..n
1..n
1..n
*For Biller Categories Mobile Postpaid, Gas, Water, Landline Postpaid, DTH, Broadband Postpaid and Electricity all the attributes are MANDATORY, for
others only "amount" is MANDATORY.
1.8 Bill Fetch Response XSD
BBPS Bill Fetch Response
BBPS API SPECIFICATIONS | Version 13.0
12
2 Bill Payment Request & Response
2.1 Sample Payment Request API: Customer BBPOU to BBPCU
BBPS API SPECIFICATIONS | Version 13.0
13
10000
2.2 Sample Payment Request API: BBPCU to Biller BBPOU
BBPS API SPECIFICATIONS | Version 13.0
14
10000
BBPS API SPECIFICATIONS | Version 13.0
15
2.3 Sample Payment Response API: Biller BBPOU to BBPCU
2.4 Sample Payment Response API: BBPCU to Customer BBPOU
2.5 Sample Reversal Request API: BBPCU to Biller BBPOU
BBPS API SPECIFICATIONS | Version 13.0
16
2.6 Sample Reversal Response API: Biller BBPOU to BBPCU
2.7 Sample Reversal Response API: BBPCU to Customer BBPOU
2.8 Bill Payment Request Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
XML Element
xmlns
ver
ts
2.1.3
origInst
2.1.4
refId
3.1
3.2
3.2.1
3.2.2
4.1
name
value
Description
Occurrence
1..1
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at each
leg
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain, binding the
Fetch and Payment messages
Meta data primarily for analytics
Meta data primarily for analytics
Name of the tag which is defined
Value of the tag
Transaction information, passed throughout the system, visible to
1..1
1..1
1..1
1..1
1..1
1..1
0..1
1..n
1..n
1..n
1..1
BBPS API SPECIFICATIONS | Version 13.0
17
4.1.1
ts
4.1.2
msgId
4.1.3
4.1.4
type
txnReferenceId
4.2
4.3
4.3.1
4.3.2
4.3.3
provider
type
value
5.1
5.1.1
5.2
5.2.1
5.2.2
6.1
6.1.1
6.2
6.3
6.3.1
6.3.2
7.1
7.2
7.2.1
7.3
7.4.1
7.4.2
mobile
name
value
id
name
value
id
name
value
8.1
8.1.1
8.1.2
8.1.3
8.1.4
8.1.5
8.1.6
8.2
customerName
amount
dueDate
billDate
billNumber
billPeriod
8.2.1
8.2.2
9.1
name
value
9.2
9.2.1
9.2.2
name
value
7.4
all entities of the eco-system
Transaction initiation timestamp which will remain constant
throughout all legs of the transaction
Unique identification assigned by the initiating BBPOU for chaining
a request and response message
Type of the message (Forward or Reversal Type)
Transaction reference number used by the Customer for referring
to a Payment transaction
Risk evaluation associated with the transaction and the related
parties in the transaction
Risk score related to the transaction and the entities
Entity providing the risk score
Type of risk
Value of risk evaluation ranging from "000" (No Risk) to "100"
(Maximum Risk) with default score being "030"
Details of the Customer viewing / paying the bill
Customer mobile number
Customer related details
Name of the specific data requested from Customer
Value of the specific data requested from Customer
Agent related data
Unique identification code allocated to the Agent
Details of Device from which the transaction was initiated
Device Tag
Name of the device which is used for transaction initiation
Unique code or value assigned to the device
Biller ID and bill related details to identify a Customer
Biller related details
Unique identification code allocated to the Biller
Customer bill fetch related details
1..1
1..1
1..1
1..1
1..1
1..n
1..n
1..n
1..n
1..1
1..1
0..n
1..n
1..n
1..1
1..1
1..1
1..n
1..n
1..n
1..1
1..1
1..1
1..1
Customer bill fetch related reference field tag
1..n
Name of the reference field as configured for the Biller
Value of the reference field which uniquely identifies the customer
for the Biller
Biller response parameters sent by the Biller supporting fetch is
copied in the payment request "as-is" – not applicable for payment
only Billers
Name of the customer
Amount of the bill
Due date of the bill
Generation date of the bill
Unique identifier of the bill
Billing period of the bill
Biller response related tag indicating the various amount options
provided by the Biller
Name of the amount field assigned by the Biller
Value of the amount field
Additional information parameters sent by the Biller supporting
fetch is copied in the payment request "as-is" – not applicable for
payment only Billers
Tag indicating any additional information provided by the Biller
Name of the field assigned by the Biller
Value of the field
1..n
1..n
0..1
0..1*
1..1
0..1*
0..1*
0..1*
0..1*
0..n
1..n
1..n
0..1
1..n
1..n
1..n
BBPS API SPECIFICATIONS | Version 13.0
18
10.1
10.1.1
10.1.2
10.1.3
10.1.4
11.1
11.2
11.2.1
11.2.2
quickPay
splitPay
OFFUSPay
paymentMode
amount
custConvFee
11.2.3
COUcustConvFee
11.2.4
11.3
11.4
currency
11.4.1
11.4.2
12.1
name
value
12.2
name
value
12.2.1
12.2.2
Payment method opted by the Customer
Flag indicating if the payment is initiated without a fetch or not
Flag indicating if the bill is paid using two different payment modes
Flag indicating if it is an electronic ON-US or OFF-US transaction
The payment mode which is accepted from the Customer
Amount related details for the payment
Details of the bill payment amount made by the Customer
Actual amount paid by the Customer for the transaction
Customer convenience fee (CCF1) paid by the Customer BBPOU to
Biller BBPOU
Customer convenience fee (CCF2) paid by the Customer to
Customer BBPOU
Currency code of the transaction
Amount paid through the second payment mode
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
Amount paid by the customer indicating different amount option
combinations
Name of the amount field assigned by the Biller
Value of the amount field
Payment information of the instrument which is used for making
the bill payment (this block is not passed by BBPCU to Biller
BBPOU)
Payment instrument details which is used for the bill payment
transaction
Name of the parameter for the chosen payment instrument
Value of the parameter for the chosen payment instrument
0..n
1..1
1..1
0..1
1..n
1..n
1..1
1..n
1..n
1..n
*For Biller Categories Mobile Postpaid, Gas, Water, Landline Postpaid, DTH, Broadband Postpaid and Electricity all the attributes are MANDATORY, for
others only "amount" is MANDATORY.
2.9 Bill Payment Request XSD
BBPS Bill Payment Request
BBPS API SPECIFICATIONS | Version 13.0
19
2.10 Bill Payment Response Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
2.1.3
2.1.4
XML Element
xmlns
ver
ts
origInst
refId
3.1
3.1.1
approvalRefNum
3.1.2
responseCode
3.1.3
responseReason
3.1.4
complianceRespCd
3.1.5
complianceReason
4.1
4.1.1
ts
4.1.2
msgId
5.1
5.2
5.3.1
5.3.2
name
value
6.1
6.1.1
6.1.2
customerName
amount
6.1.3
6.1.4
6.1.5
6.1.6
6.1.7
dueDate
billDate
billNumber
billPeriod
custConvFee
5.3
Description
Occurrence
1..1
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at each leg
Code assigned to the BBPOU / BBPCU which forwards the transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain, binding the
Fetch and Payment messages
Response details of the transaction
Internal reference number which may be used by the Biller BBPOU for
a transaction – default value "AB123456"
Carries the response code indicating success or failure of the
transaction
Description of the response code – possible values are "Successful" or
"Failure"
Carries the compliance code indicating the reason for a failed
transaction – not required for a successful transaction
Description of the compliance code – not required for a successful
transaction
Transaction information, passed throughout the system, visible to all
entities of the eco-system
Transaction initiation timestamp which will remain constant
throughout all legs of the request and response message
Unique identification assigned by the initiating BBPOU for chaining a
request and response message
Bill related details to identify a Customer
Customer bill payment related details
1..1
1..1
1..1
1..1
1..1
1..1
Customer bill payment related reference field tag
1..n
Name of the reference field as configured for the Biller
Value of the reference field which uniquely identifies the Customer
for the Biller
Response which is sent by the Biller for a successful transaction, i.e.,
response code is ‘000’
Name of the Customer
Amount of the bill – should match with the "amount" attribute value
passed in the Payment request
Due date of the bill
Generation date of the bill
Unique identifier of the bill
Billing period of the bill
Customer convenience fee paid by the Customer BBPOU to Biller
BBPOU – should match with the CCF1 value in the Payment request
1..n
1..n
1..1
1..1
1..1
1..1
0..1
0..1
1..1
1..1
1..1
0..1
1..1
0..1
0..1*
1..1
0..1*
0..1*
0..1*
0..1*
0..1*
*For Biller Categories Mobile Postpaid, Gas, Water, Landline Postpaid, DTH, Broadband Postpaid and Electricity all the attributes are MANDATORY, for
others only "amount" is MANDATORY.
BBPS API SPECIFICATIONS | Version 13.0
20
2.11 Bill Payment Response XSD
BBPS Bill Fetch Response
BBPS API SPECIFICATIONS | Version 13.0
21
3 Transaction Status Check (402) API Request
& Response (for Pending Transactions)
3.1 402 API Request: BBPCU to Biller BBPOU
3.2 402 API Response: Biller BBPOU to BBPCU
3.3 402 API Request Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
XML Element
Xmlns
Ver
ts
2.1.3
2.1.4
origInst
refId
Description
Occurrence
1..1
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at each
leg
Code assigned to the BBPCU which forwards the transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
1..1
1..1
1..1
1..1
1..1
1..1
BBPS API SPECIFICATIONS | Version 13.0
22
3.1
3.1.1
3.1.2
4.1
4.1.1
ts
xchangeId
msgId
4.1.4
txnReferenceId
unchanged, throughout the entire end-to-end chain, binding the
Validation and Payment messages
Transaction information, passed throughout the system, visible to
all entities of the eco-system
Transmission date and time of the transaction
Identification of the type of the request – transaction status (402)
Information pertaining to transaction status request
Unique identification assigned by the initiating BBPOU for chaining
a request and response message
Transaction reference number used by the Customer for referring
to a Payment transaction
1..1
1..1
1..1
1..1
1..1
0..1
3.4 402 API Request XSD
402 API Request
3.5 402 API Response Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
2.1.3
2.1.4
XML Element
Xmlns
Ver
ts
origInst
refId
3.1
3.1.1
approvalRefNum
Description
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at each leg
Code assigned to the BBPOU / BBPCU which forwards the transaction
Unique identification assigned by the initiating BBPOU to unambiguously
identify the transaction which is passed on, unchanged, throughout the
entire end-to-end chain, binding the Fetch and Payment messages
Response details of the transaction
Internal reference number which may be used by the Biller BBPOU for a
Occurrence
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
BBPS API SPECIFICATIONS | Version 13.0
23
3.1.2
3.1.3
responseCode
responseReason
3.1.4
complianceRespCd
3.1.5
complianceReason
4.1
4.1.1
ts
4.1.2
msgId
4.1.3
5.1
5.2
5.3.1
5.3.2
xchangeId
Name
Value
6.1
6.1.1
6.1.2
customerName
amount
6.1.3
6.1.4
6.1.5
6.1.6
6.1.7
dueDate
billDate
billNumber
billPeriod
custConvFee
5.3
transaction – default value "AB123456"
Carries the response code indicating success or failure of the transaction
Description of the response code – possible values are "Successful" or
"Failure"
Carries the compliance code indicating the reason for a failed
transaction – not required for a successful transaction
Description of the compliance code – not required for a successful
transaction
Transaction information, passed throughout the system, visible to all
entities of the eco-system
Transaction initiation timestamp which will remain constant throughout
all legs of the request and response message
Unique identification assigned by the initiating BBPOU for chaining a
request and response message
Identification of the type of the response – transaction status (402)
Bill related details to identify a Customer
Customer bill payment related details
1..1
1..1
0..1
0..1
1..1
1..1
1..1
0..1
0..1
1..1
Customer bill payment related reference field tag
1..n
Name of the reference field as configured for the Biller
Value of the reference field which uniquely identifies the Customer for
the Biller
Response which is sent by the Biller for a successful transaction, i.e.,
response code is ‘000’
Name of the Customer
Amount of the bill – should match with the "amount" attribute value
passed in the Payment request
Due date of the bill
Generation date of the bill
Unique identifier of the bill
Billing period of the bill
Customer convenience fee paid by the Customer BBPOU to Biller BBPOU
– should match with the CCF1 value in the Payment request
1..n
1..n
0..1
0..1*
1..1
0..1*
0..1*
0..1*
0..1*
0..1*
*For Biller Categories Mobile Postpaid, Gas, Water, Landline Postpaid, DTH, Broadband Postpaid and Electricity all the attributes are MANDATORY, for others
only "amount" is MANDATORY.
3.6 402 API Response XSD
402 API Response
BBPS API SPECIFICATIONS | Version 13.0
24
4 Bill Validation Request & Response
4.1 Sample Validation Request API: Customer BBPOU to BBPCU
4.2 Sample Validation Request API: BBPCU to Biller BBPOU
4.3 Sample Validation Response API: Biller BBPOU to BBPCU
BBPS API SPECIFICATIONS | Version 13.0
25
4.4 Sample Validation Response API: BBPCU to Customer
BBPOU
4.5 Bill Validation Request Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
XML Element
Xmlns
Ver
ts
2.1.3
origInst
2.1.4
refId
3.1
3.1.1
4.1
4.2
4.2.1
4.3
Id
Id
name
value
4.4
4.4.1
4.4.2
Description
Occurrence
1..1
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at each
leg
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain, binding the
Validation and Payment messages
Agent related data
Unique identification code allocated to the Agent
Biller ID and bill related details to identify a Customer
Biller related details
Unique identification code allocated to the Biller
Customer bill validation related details
1..1
1..1
1..1
1..1
Customer bill validation related reference field tag
1..n
Name of the reference field as configured for the Biller
Value of the reference field which uniquely identifies the customer
for the Biller
1..n
1..n
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
BBPS API SPECIFICATIONS | Version 13.0
26
4.6 Bill Validation Request XSD
Bill Validation Request
4.7 Bill Validation Response Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
XML Element
xmlns
Ver
ts
2.1.3
origInst
2.1.4
refId
3.1
3.1.1
approvalRefNum
3.1.2
responseCode
3.1.3
responseReason
3.1.4
complianceRespCd
5.1.5
complianceReason
6.1
6.2
6.2.1
6.2.2
name
value
Description
Occurrence
1..1
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message which will be updated at each
leg
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain, binding the
Fetch and Payment messages
Response details of the transaction
Internal reference number which may be used by the Biller BBPOU
for a transaction – default value "AB123456"
Carries the response code indicating success or failure of the
transaction
Description of the response code – possible values are "Successful"
or "Failure"
Carries the compliance code indicating the reason for a failed
transaction – not required for a successful transaction
Description of the compliance code – not required for a successful
transaction
Validation response parameters sent by the Biller for a successful
transaction, i.e., response code is ‘000’
Additional Information related tag indicating the validation
identifier provided by the Biller
Name of the field assigned by the Biller
Value of the field
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
0..1
0..1
0..1
1..n
1..n
1..n
BBPS API SPECIFICATIONS | Version 13.0
27
4.8 Bill Validation Response XSD
Bill Validation Response
BBPS API SPECIFICATIONS | Version 13.0
28
5 Diagnostic Request & Response
5.1 Sample Request API: BBPOU to BBPCU
5.2 Sample Response API: BBPCU to BBPOU
HED030Head Timestamp gap between BBPCU and OU is more than acceptable tolerance.
5.3 Diagnostic Request Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
2.1.3
XML Element
xmlns
Ver
ts
origInst
2.1.4
refId
Description
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
Occurrence
1..1
1..1
1..1
1..1
1..1
1..1
1..1
5.4 Diagnostic Request XSD
BBPS Diagnostic Request
BBPS API SPECIFICATIONS | Version 13.0
29
5.5 Diagnostic Response Tag Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
2.1.3
XML Element
xmlns
ver
ts
origInst
2.1.4
refId
3.1
3.2
3.3
Description
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
Error messages in the API message
Error Code for API message
Occurrence
1..1
1..1
1..1
1..1
1..1
1..1
Error Reason for the API message
1..n
1..1
0..1
1..n
5.6 Diagnostic Response XSD
BBPS Diagnostic Response
BBPS API SPECIFICATIONS | Version 13.0
30
6 Transaction Status and Complaint Related
API Request & Response
6.1 Sample Transaction Status (401) Request API – Using
Mobile Number & Date Range: BBPOU to BBPCU
6.2 Sample Transaction Status (401) Response API – Using
Mobile Number & Date Range: BBPCU to BBPOU
6.3 Sample Transaction Status (401) Request API – Using
Transaction Ref ID: BBPOU to BBPCU
BBPS API SPECIFICATIONS | Version 13.0
31
6.4 Sample Transaction Status (401) Response API – Using
Transaction Ref ID: BBPCU to BBPOU
6.5 Sample Complaint Raise (501) Request API – Transaction
Based: BBPOU to BBPCU
6.6 Sample Complaint Raise (501) Response API – Transaction
Based: BBPCU to BBPOU
BBPS API SPECIFICATIONS | Version 13.0
32
6.7 Sample Complaint Raise (501) Request API – Service Based
against Agent: BBPOU to BBPCU
6.8 Sample Complaint Raise (501) Response API – Service
Based against Agent: BBPCU to BBPOU
6.9 Sample Complaint Raise (501) Request API – Service Based
against Biller: BBPOU to BBPCU
6.10 Sample Complaint Raise (501) Response API – Service
Based against Biller: BBPCU to BBPOU
BBPS API SPECIFICATIONS | Version 13.0
33
6.11 Sample Transaction Based Complaint Re-assignment (502)
Request API: Customer BBPOU to BBPCU
6.12 Sample Transaction Based Complaint Re-assignment (502)
Response API: BBPCU to Customer BBPOU
6.13 Sample Complaint Status (506) Request API: BBPOU to
BBPCU
6.14 Sample Complaint Status (506) Response API: BBPCU to
BBPOU
BBPS API SPECIFICATIONS | Version 13.0
34
6.15 Sample Complaint Closure (507) Request API: BBPOU to
BBPCU
6.16 Sample Complaint Closure (507) Response API: BBPCU to
BBPOU
6.17 Transaction Status and Complaint Related API Request Tag
Details
Index
1.1
1.1.1
2.1
2.1.1
2.1.2
2.1.3
XML Element
xmlns
ver
ts
origInst
2.1.4
refId
3.1
Description
Occurrence
1..1
API Name
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
Transaction information, passed throughout the system, visible to
1..1
1..1
1..1
1..1
1..1
1..1
1..1
BBPS API SPECIFICATIONS | Version 13.0
35
3.1.1
3.1.2
ts
xchangeId
4.1
4.1.1
msgId
4.1.2
4.1.3
complaintType
mobile
4.1.4
txnReferenceId
4.1.5
complaintId
4.1.6
4.1.7
4.1.8
disposition
servReason
description
4.1.9
4.1.10
participationType
agentId
4.1.11
billerId
5.1
5.1.1
5.1.2
fromDate
toDate
all entities of the eco-system
Transmission date and time of the transaction
Identification of the type of the request – transaction status (401),
complaint registration (501), complaint re-assignment (502),
complaint status (506) or complaint closure (507)
Information pertaining to transaction status and complaint related
requests
Unique identification assigned by the initiating BBPOU for chaining
a request and response message
Type of request – Transaction or Service based
Mobile number against which the transaction status is to be
searched
Transaction reference number used by the Customer for referring
to a Payment transaction
Complaint ID generated by BBPCU to check the complaint status,
re-assign or close a complaint subsequently
Pre-defined list of dispositions for transaction based complaints
Pre-defined list of dispositions for service based complaints
Free text to provide additional information pertaining to the
complaint
Entity type for the service based complaints (AGENT / BILLER)
Unique identifier (Agent ID in BBPS) allocated to the Agent for
service based complaints
Unique identifier (Biller ID in BBPS) allocated to the Biller for
service based complaints
Searching the transaction details on the basis of mobile number
and date range – optional tag which helps in filtering the search
process
Start date for transaction search
End date for transaction search
1..1
1..1
1..1
1..1
1..1
0..1
0..1
0..1
0..1
0..1
0..1
0..1
0..1
0..1
0..1
1..1
1..1
6.18 Transaction Status and Complaint Related API Request
XSD
BBPS API request
BBPS API SPECIFICATIONS | Version 13.0
36
6.19 Transaction Status and Complaint Related API Response
Tag Details
Index
1.1
XML Element
1.1.1
2.1
2.1.1
2.1.2
2.1.3
xmlns
Ver
ts
origInst
2.1.4
refId
3.1
3.1.1
3.1.2
ts
xchangeId
4.1
4.1.1
msgId
4.1.2
responseCode
4.1.3
responseReason
Description
Occurrence
API Name
1..1
API schema namespace
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
Transaction information, passed throughout the system, visible to
all entities of the eco-system
Transmission date and time of the transaction
Identification of the type of the request – transaction status (401),
complaint registration (501), complaint re-assignment (502),
complaint status (506) or complaint closure (507)
Information pertaining to transaction status and complaint related
responses
Unique identification assigned by the initiating BBPOU for chaining
a request and response message
1..1
1..1
1..1
1..1
1..1
Carries the response code indicating success or failure of the
transaction
Description of the response code
1..1
1..1
1..1
1..1
1..1
1..1
1..1
1..1
BBPS API SPECIFICATIONS | Version 13.0
37
4.1.4
complaintId
4.1.5
assigned
4.1.6
openComplaint
4.1.7
complaintStatus
4.1.8
remarks
4.2
4.3
Complaint ID generated by BBPCU to check the complaint status,
re-assign or close a complaint subsequently
BBPOU to which the complaint is assigned
0..1
Flag indicating if the transaction based complaint being raised is
currently open in the system or not – "Y" will show the details for
the complaint raised earlier
Complaint status of the transaction
0..1
Last updated additional information provided by the BBPOU
pertaining to the complaint and fetched in the complaint status
check (506) response
List of transactions against a particular search criteria
0..1
Record containing the details of a single transaction
1..n
0..1
0..1
0..1
4.3.1
txnReferenceId
Transaction reference number used by the Customer for referring
to a Payment transaction
1..1
4.3.2
amount
Bill payment amount
1..1
4.3.3
txnDate
Date of the transaction
1..1
4.3.4
agentId
Agent ID of the Agent involved in the transaction
1..1
4.3.5
billerId
Biller ID of the Biller involved in the transaction
1..1
4.3.6
txnStatus
Status of the transaction – successful or failure
1..1
4.4
Details of the customer for a successful transaction search (401)
response
0..1
4.4.1
mobile
Mobile number linked to the transaction(s)
1..1
6.20 Transaction Status and Complaint Related API Response
XSD
BBPS API response
BBPS API SPECIFICATIONS | Version 13.0
38
BBPS API SPECIFICATIONS | Version 13.0
39
7 Biller MDM Fetch Request & Response
7.1 Sample Request API: BBPOU to BBPCU
OBNSTNS00NAT01
7.2 Sample Response API: BBPCU to BBPOU
OBNSTNS00NAT01BBPS Biller 1Biller 1DTHOFFLINEBtruefalseGovernmentINDNOT_SUPPORTEDExactNOT_SUPPORTED2018-04-092099-12-31Internet Banking1500000000YesDebit Card1
BBPS API SPECIFICATIONS | Version 13.0
40
500000000YesCredit Card1500000000YesPrepaid Card1500000000YesIMPS1500000000YesCash49999001NoUPI1500000000YesWallet1500000000YesNEFT1500000000YesAEPS1500000000Yes
BBPS API SPECIFICATIONS | Version 13.0
41
Account Transfer1500000000YesINT1500000000YesINTB1500000000YesMOB1500000000YesMOBB1500000000YesPOS1500000000YesMPOS1500000000YesATM1500000000YesBNKBRNCH1
BBPS API SPECIFICATIONS | Version 13.0
42
500000000NoKIOSK1500000000YesAGT1500000000NoBSC1500000000NoCustParam1NUMERICtrue33^[1-9]{3}$123,234,345,456,567,678,789CustParam2ALPHANUMERICtrue120^[A-Za-z]{1,20}$Manoj Kumar,Manoj ChekuriCustParam3NUMERICtrue110CustParam4NUMERICtrue1
BBPS API SPECIFICATIONS | Version 13.0
43
8CustParam5ALPHANUMERICtrue115
CustParam1
CustParam2
CustParam3
CustParam4
CustParam5
BASE_BILL_AMOUNTEarly Payment AmountLate Payment AmountEarly Payment DateALPHANUMERICfalsePAYMENTAGT000PBFCCFfalse20180925PAYMENTBSC000
BBPS API SPECIFICATIONS | Version 13.0
44
PBFCCFfalse20180925PAYMENTBNKBRNCH000PBFCCFfalse20180925PAYMENT000EBFCCFtrue20180925PBFPhysical Biller FeeB2C99999999999999999912.5002018-09-25EBFElectronic Biller FeeB2C99999999999999999911.5002018-09-25CCFCustomer Convenience Fee
BBPS API SPECIFICATIONS | Version 13.0
45
C2B99999999999999999910.0002018-09-25ACTIVEIt takes 2 days to reflect the payment in your biller account.YesYes120
7.3 Biller MDM Fetch Request Tag Details
Index
1.1
XML Element
Description
Occurrence
API Name
1..1
1.1.1
Xmlns
API schema namespace
1..1
2.1
2.1.1
2.1.2
2.1.3
Ver
ts
origInst
1..1
1..1
1..1
1..1
2.1.4
refId
3.1
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
Tag for searching the Biller details associated or non-associated
with the BBPOU initiating the request
3.1.1
mybiller
Flag indicating request for the Biller details associated or nonassociated with the BBPOU initiating the request
1..1
4.1
Tag for searching the Biller details based on certain parameters
0..1
4.2
Biller ID for which the Biller details are requested
1..n
5.1
Tag for searching the Biller details based on time parameter
0..1
5.2
Request for Biller details for all the Billers updated in the system
after the time provided
1..1
1..1
0..1
7.4 Biller MDM Fetch Request XSD
BBPS API SPECIFICATIONS | Version 13.0
46
BBPS Biller Fetch Request
7.5 Biller MDM Fetch Response Tag Details
Index
1.1
XML Element
Description
Occurrence
API Name
1..1
1.1.1
Xmlns
API schema namespace
1..1
2.1
2.1.1
2.1.2
2.1.3
Ver
ts
origInst
1..1
1..1
1..1
1..1
2.1.4
refId
3.1
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
MDM details of the Biller
3.2
Identifier of the Biller
1..1
3.3
Name of the Biller
1..1
3.4
Alias name of the Biller
1..1
3.5
Biller category
1..1
Biller mode, i.e., Online, Offline A, Offline B
1..1
3.6
1..1
0..n
BBPS API SPECIFICATIONS | Version 13.0
47
3.7
Flag indicating if the Biller accepts adhoc payment
1..1
3.8
Flag indicating if the Biller is a parent Biller
1..1
3.9
Identifier of the parent Biller
0..1
3.10
Biller ownership, i.e., Government, PSU, Private
1..1
3.11
Coverage of the Biller, i.e., National, State/UT, City/District
1..1
3.12
Indicates if the Biller allows Bill Fetch or not – possible values are
MANDATORY, OPTIONAL, NOT_SUPPORTED
1..1
3.13
Indicates if the Biller allows Bill Validation or not – possible values
are MANDATORY, OPTIONAL, NOT_SUPPORTED
1..1
3.14
0..1
3.15
Indicates if the Biller (having Mandatory Bill Fetch) allows exact
payment or not – possible values are Exact, Exact and above, Exact
and below
Effective from date of the Biller
3.16
Effective to date of the Biller
1..1
3.17
Temporary deactivation start date of the Biller
1..1
3.18
Temporary deactivation end date of the Biller
1..1
3.19
Payment mode details of the Biller
1..n
Payment modes supported by the Biller
1..1
3.21
Maximum limit accepted by a Biller for a particular payment mode
0..1
3.22
Minimum limit accepted by a Biller for a particular payment mode
1..1
3.23
Flag indicating whether Pending Status is applicable for the
payment mode or not – Yes/No
0..1
Payment channel details of the Biller
1..n
Payment channels supported by the Biller
1..1
3.26
Maximum limit accepted by a Biller for a particular payment
channel
0..1
3.27
Minimum limit accepted by a Biller for a particular payment
channel
1..1
3.28
Flag indicating whether Pending Status is applicable for the
payment channel or not – Yes/No
0..1
Customer parameter details of the Biller
1..n
Customer parameter name
1..1
Customer parameter data type
1..1
3.20
3.24
3.25
3.29
3.30
3.31
1..1
BBPS API SPECIFICATIONS | Version 13.0
48
3.32
Flag indicating if the Customer parameter is optional
1..1
3.33
Minimum length of the Customer parameter
0..1
3.34
Maximum length of the Customer parameter
0..1
3.35
Regular expression (RegEx) is a string of characters representing
permissible values of the customer parameters for a biller.
0..1
3.36
Default (possible) values list against a Customer Parameter
0..1
3.37
Customer Parameter Groups with respect to the various
combinations supported
0..1
3.38
Customer Parameter Group
1..n
3.39
Name of the Parent/Sub-Group
1..1
3.40
Flag indicating the required number of tags from the group.
1..1
3.41
Customer parameter name
1..n
3.42
Biller Responses with respect to the various amount combinations
supported
Amount options supported by the Biller
1..1
Amount combination for a particular amount option
1..n
Additional information details provided by the Biller
0..n
Additional information parameter name
1..1
3.47
Additional information parameter data type
1..1
3.48
Flag indicating if the additional information parameter is optional
1..1
3.49
Interchange fee configuration details of the Biller
1..n
Message Type Indicator for the fee, i.e., fetch, payment, etc.
1..1
Response code associated with the fee
1..1
3.52
Payment mode associated with the fee
0..1
3.53
Payment channel associated with the fee
0..1
3.54
Fee codes for applicable interchange fee
1..n
3.43
3.44
3.45
3.46
3.50
3.51
1..n
BBPS API SPECIFICATIONS | Version 13.0
49
3.55
Flag indicating if it is a default fee or not
1..1
3.56
Effective from date for the fee
1..1
3.57
Effective to date for the fee
1..1
3.58
Interchange fee details of the Biller
1..n
3.59
Fee code associated with the Biller
1..1
Description of the corresponding fee code
1..1
Direction of fee movement, i.e., Customer BBPOU to Biller BBPOU
or vice-versa
1..1
3.62
Interchange fee details pertaining to range, type and validity
1..n
3.63
Maximum range for a particular fee configuration
1..1
Minimum range for a particular fee configuration
1..1
Percentage fee details
1..1
Flat fee details
1..1
Effective from date for the fee configuration
1..1
Effective to date for the fee configuration
1..1
3.69
Status of the Biller, i.e., active, deactivated, etc.
1..1
3.70
Additional information related to Billers
0..1
3.71
0..1
3.72
Flag indicating whether deemed success is applicable for the biller
or not – Yes/No
Flag indicating whether pending status is applicable for the biller
or not – Yes/No
Biller outer limit for providing the response in minutes. This will be
applicable only if "Support Pending Status" is Yes.
3.60
3.61
3.64
3.65
3.66
3.67
3.68
3.73
0..1
0..1
7.6 Biller MDM Fetch Response XSD
BBPS Biller Fetch Response
BBPS API SPECIFICATIONS | Version 13.0
50
BBPS API SPECIFICATIONS | Version 13.0
51
BBPS API SPECIFICATIONS | Version 13.0
52
BBPS API SPECIFICATIONS | Version 13.0
53
8 Agent MDM Fetch Request & Response
8.1 Sample Request API: BBPOU to BBPCU
OU21AB21MOB520528256
8.2 Sample Response API: BBPCU to BBPOU
OP01OP11AGT000000001AggregatorManoj ChekuriManojOP1122.2222,88.8888OP01 AGT9505987798FalseInternet_Banking200000001Debit_Card200000001Credit_Card200000001Prepaid_Card
BBPS API SPECIFICATIONS | Version 13.0
54
200000001IMPS200000001Cash49999001UPI200000001Wallet200000001NEFT200000001AEPS200000001Account_Transfer200000001Agent2000000012017-08-30ACTIVEPhysical Agent 1 agentRefId >
False400063
BBPS API SPECIFICATIONS | Version 13.0
55
MumbaiMAHARASHTRAHub mallIndia
8.3 Agent MDM Fetch Request Tag Details
Index
1.1
XML Element
Description
Occurrence
API Name
1..1
1.1.1
xmlns
API schema namespace
1..1
2.1
2.1.1
2.1.2
2.1.3
ver
ts
origInst
1..1
1..1
1..1
1..1
2.1.4
refId
3.1
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
Tag for searching the Agent details based on certain parameters
3.2
Agent ID for which the Agent details are requested
1..n
4.1
Tag for searching the Agent details based on time parameter
0..1
4.2
Request for Agent details for all the Agents updated in the system
after the time provided
1..1
1..1
0..1
8.4 Agent MDM Fetch Request XSD
Agent Fetch Request
BBPS API SPECIFICATIONS | Version 13.0
56
8.5 Agent MDM Fetch Response Tag Details
Index
1.1
XML Element
Description
Occurrence
API Name
1..1
1.1.1
xmlns
API schema namespace
1..1
2.1
2.1.1
2.1.2
2.1.3
ver
ts
origInst
1..1
1..1
1..1
1..1
2.1.4
refId
3.1
Header of the message
Version of the API
Creation timestamp of the message
Code assigned to the BBPOU / BBPCU which forwards the
transaction
Unique identification assigned by the initiating BBPOU to
unambiguously identify the transaction which is passed on,
unchanged, throughout the entire end-to-end chain
MDM details of the Agent
3.2
Identifier of the Agent
1..1
3.3
Business type of the Agent
1..1
Name of the Agent
1..1
Alias name of the Agent
1..1
Code of the Agent Institution associated with the Agent
1..1
Agent geo-location
1..1
Shop name of the Agent
1..1
Mobile number of the Agent
1..1
Flag indicating if the Agent represents an electronic or physical
channel
Payment mode details of the Agent
1..1
Payment modes supported by the Agent
1..1
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
1..1
0..n
1..n
3.13
Maximum limit accepted by an Agent for a particular payment
mode
0..1
3.14
Minimum limit accepted by an Agent for a particular payment
mode
1..1
3.15
Payment channel details of the Agent
1..1
Payment channels supported by the Agent
1..1
Maximum limit accepted by an Agent for a particular payment
channel
0..1
3.16
3.17
BBPS API SPECIFICATIONS | Version 13.0
57
3.18
Minimum limit accepted by an Agent for a particular payment
channel
1..1
3.19
1..1
3.20
3.21
Flag indicating if the Agent is configured through bulk upload
feature in BBPS Canvas (intranet portal).
ID used by a BBPOU / Agent Institution to internally identify an
Agent
PIN Code of the Agent
3.22
Registered city of the Agent
1..1
Registered state of the Agent
1..1
Registered address of the Agent
1..1
Registered country of the Agent
1..1
Effective from date of the Agent
1..1
Effective to date of the Agent
1..1
3.28
Temporary deactivation start date of the Agent
1..1
3.29
Temporary deactivation end date of the Agent
1..1
3.30
Status of the Agent, i.e., active, deactivated, etc.
1..1
3.23
3.24
3.25
3.26
3.27
1..1
1..1
8.6 Agent MDM Fetch Response XSD
Agent Fetch Response
BBPS API SPECIFICATIONS | Version 13.0
58
BBPS API SPECIFICATIONS | Version 13.0
59
9 Acknowledgment
9.1 Sample ACK for Fetch & Payment APIs
CPR001 CustomerParams mandatory
9.2 Sample ACK for Other APIs
CMR101Complaint Management - Exchange Id not supported
9.3 Acknowledgment Tag Details
Index
XML Element
Description
Occurrence
1.1
API Name
1..1
1.1.1
xmlns
API schema namespace
1..1
1.1.2
api
Name of the API for which acknowledgement is given out
1..1
1.1.3
refId
Reference ID corresponding to the initiating request or response
for which the acknowledgement is sent
1..1
1.1.4
msgId
0..1
1.1.5
RspCd
1.1.6
ts
Message ID corresponding to the initiating request or response for
which the acknowledgement is sent – only applicable for fetch and
payment APIs
Denotes success or failure in receiving the original request
message
Transmission date and time of the transaction
2.1
List of error(s) in the request or response message
0..n
2.2
Code of the error
1..1
2.3
Description of the error
1..1
1..1
1..1
9.4 Acknowledgment XSD
BBPS API SPECIFICATIONS | Version 13.0
60
BBPS API SPECIFICATIONS | Version 13.0
61
10 BBPS Common
10.1 BBPS Common XSD
BBPS API SPECIFICATIONS | Version 13.0
62
BBPS API SPECIFICATIONS | Version 13.0
63
BBPS API SPECIFICATIONS | Version 13.0
64
BBPS API SPECIFICATIONS | Version 13.0
65
BBPS API SPECIFICATIONS | Version 13.0
66
11 Key Exchange / XML signing
All messages exchanged in the BBPS eco-system should use XML signing for all message exchange except
acknowledgement.
A sample has been mentioned below:
kQYYeIFygZzHrwGxxfcah8YNO2QROfW7k85yeSK0YkE=VzOIbjYChpNmoCfq4GmY1w33Vnt2envQNBDUERfQLWXwe/pzNXK6cRQcZONUPi3SBmdu9Iyv8vTx
R+rPfNian+wEpuReOm23CuyasgtTGp+uf3QIyqhlCuZlR65ZfUhpFEraShYdRIOzfGFAiyGnG7Fl
Ilf4q/7mgCQjOw7/paAFiK0h5ERT909PeArLL4isA6KOkindYpTOkAyAGC3t2AJDVJP4SujHbRwx
BmcdPbfvMt6aY3n/u5pL/d6XlebWW2l6DhIGSTSBrwx+S2l9EvkRJvKZncNJDbWdUKy2mM0H4YSD
javG0rqE2u5CPftUWvHxiiwwqizyOEKMILMOyg==vCidzRWCs8Mukb1E/R1JGCgexwhiDfQDuO0tPHXgX+SDdBptkr+1ThjSBW2D+kH6ZLc22EAL9o/o
zBVIJgWwMw4b0LlsdK0dEYjZiFiwFY1AlO4kLB48J2PwZ5Ly2ADKP+CzpZ7YhPNUz7tGCqiKyM3E
IXWqvzS1Yb4+zYardGBtUkLAJDNDltSgyDe/Fb27viTTxsps2rTZ7VZCWRGyCON5F149EVXnVFUt
SD1oye1x1IxDcfYEc49OAa+BZiheGMpNpzkCR263CFbe0UnQbuQwz9eaoPuCn5tQBxFv5v4/Ho1W
zbTZBSSf2Ow1N6fqXzWLw444Ea5ftyNpDq+HUw==Aw==
BBPS API SPECIFICATIONS | Version 13.0
67
12 URLs for Different API Messages
12.1 Request URL format (Customer BBPOU to BBPCU):
Request Type
Service URL
Bill Fetch Request
/bbps/BillFetchRequest/1.0/urn:referenceId:{referenceId}
Bill Payment Request
/bbps/BillPaymentRequest/1.0/urn:referenceId:{referenceId}
Bill Validation Request
/bbps/BillValidationRequest/1.0/urn:referenceId:{referenceId}
12.2 Request URL format (BBPCU to Biller BBPOU):
Request Type
Service URL
Bill Fetch Request
/BillFetchRequest/1.0/urn:referenceId:{referenceId}
Bill Payment Request
/BillPaymentRequest/1.0/urn:referenceId:{referenceId}
Bill Validation Request
/BillValidationRequest/1.0/urn:referenceId:{referenceId}
Txn Status Request 402
/txnStatusRequest402/1.0/urn:referenceId:{referenceId}
12.3 Response URL format (Biller BBPOU to BBPCU):
Response Type
Service_url
Bill Fetch Response
/bbps/BillFetchResponse/1.0/urn:referenceId:
Bill Payment Response
/bbps/BillPaymentResponse/1.0/urn:referenceId:
Bill Validation Response
/bbps/BillValidationResponse/1.0/urn:referenceId:
Txn Status Response 402
/bbps/txnStatusResponse402/1.0/urn:referenceId:
12.4 Response URL format (BBPCU to Customer BBPOU):
Response Type
Service_url
Bill Fetch Response
/BillFetchResponse/1.0/urn:referenceId:
Bill Payment Response
/BillPaymentResponse/1.0/urn:referenceId:
Bill Validation Response
/BillValidationResponse/1.0/urn:referenceId:
12.5 Request URL format (BBPOU to BBPCU):
Request Type
Service URL
Diagnostic Request
/bbps/ReqHbt/1.0/urn:referenceId: {referenceId}
Complaint Request
/CMS/TxnStatusComplainRequest
Biller MDM
/bbps/BillerFetchRequest/1.0/urn:referenceId:{referenceId}
Agent MDM
/bbps/AgentFetchRequest/1.0/urn:referenceId:{referenceId}
BBPS API SPECIFICATIONS | Version 13.0
68
12.6 Response URL format (BBPCU to BBPOU):
Response Type
Service_url
Complaint Response
/TxnStatusComplainResponse
Biller MDM
/BillerFetchResponse/1.0/urn:referenceId:
Agent MDM
/AgentFetchResponse/1.0/urn:referenceId:
BBPS API SPECIFICATIONS | Version 13.0
69
13 Error Codes and Declines
The codes for the system can be configured as follows:
S. No.
1
2
3
4
5
6
Scenario
Forward Request / Response
Force Closed Transactions
Reversals
CU declines
BOU Declines
COU Declines
Response Code
Response Reason
000
100
101 – 199
001 – 099
200 – 299
300 – 399
Successful
Failure
Failure
Failure
Failure
Failure
For all the above response codes, there will be corresponding compliance response codes and compliance reasons.
Compliance response code will follow the following nomenclature.
Compliance Code
XXX111
Compliance Reason
Explanation
Description of the error
Where XXX are alpha characters and 111 are numeric characters
All the compliance codes and their reasons will be accessible through a table and any modification to the list will be
possible.
13.1 BBPCU Declines
Under BBPCU declines, there will be list of compliance codes and compliance reasons for each tag / attribute. Please
note that the following terms have been used interchangeably in the following table:
BBPCU and CU
Customer BBPOU and Customer OU / COU
Biller BBPOU and Biller OU / BOU
Leg
COU CU
CU BOU
Scenario
CU receives malformed
request from COU.
Fetch / Validation
CU declines COU request with a negative
ACK.
Payment
CU declines COU request with a negative
ACK.
CU unable to connect to
BOU even after multiple
retries.
No other response from CU is required as
all Error Codes are populated as part of
the Negative ACK from CU.
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
No other response from CU is required as
all Error Codes are populated as part of
the Negative ACK from CU.
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU006 and Compliance Reason will carry
"Connect Timeout at BOU".
Compliance Response Code will be
BOU006 and Compliance Reason will carry
"Connect Timeout at BOU".
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
TYPE: FORWARD TYPE RESPONSE
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU007 and Compliance Reason will carry
Compliance Response Code will be
BOU007 and Compliance Reason will carry
CU makes multiple retry
attempts without any
success in any of the
following cases:
No ACK by BOU
Delayed ACK by BOU
BBPS API SPECIFICATIONS | Version 13.0
70
(beyond timeout
period)
Positive ACK by BOU
but not reaching CU
"Read Timeout at BOU".
Any other generic reason
for request failure to
BOU, e.g., Connection
Reset, Connection
Refused, Bad Gateway,
Internal Server Error,
Null Pointer Exception,
etc.
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU008 and Compliance Reason will carry
"Unable to Connect to BOU".
Compliance Response Code will be
BOU008 and Compliance Reason will carry
"Unable to Connect to BOU".
BOU is temporarily down
(BOU is not sending
diagnostic request).
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
TYPE: FORWARD TYPE RESPONSE
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU001 and Compliance Reason will carry
"Send Failed to BOU".
Compliance Response Code will be
BOU001 and Compliance Reason will carry
"Send Failed to BOU".
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
TYPE: FORWARD TYPE RESPONSE
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU002 and Compliance Reason will carry
"".
Compliance Response Code will be
BOU002 and Compliance Reason will carry
"".
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
TYPE: FORWARD TYPE RESPONSE
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU003 and Compliance Reason will carry
"Timeout at BOU".
Compliance Response Code will be
BOU003 and Compliance Reason will carry
"Timeout at BOU".
CU forwards the request
to BOU but BOU declines
with a negative ACK.
Timeout for request sent
to BOU, i.e., Response
Timeout by BOU.
Pending Transaction
Timeout for request sent
to BOU, i.e., Response
Timeout by BOU.
"Read Timeout at BOU".
TYPE: FORWARD TYPE RESPONSE
NA
TYPE: FORWARD TYPE RESPONSE
CU initiates a Response Code 001 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
BOU009 and Compliance Reason will carry
"Pending Transaction Timeout at BOU".
BOU CU
BOU responds, but with
malformed response. CU
rejects the BOU
response with negative
ACK and allows BOU to
CU initiates a Response Code 002 and
Response Reason "Failure" decline to
COU.
Compliance Response Code will be
TYPE: FORWARD TYPE RESPONSE
Pending not applicable:
CU initiates a Response Code 002 and
Response Reason "Failure" decline to
COU.
BBPS API SPECIFICATIONS | Version 13.0
71
retry within the timeout
period. Yet, there is no
proper response from
BOU within this timeout
period.
BOU002 and Compliance Reason will carry
"".
Compliance Response Code will be
BOU002 and Compliance Reason will carry
"".
TYPE: FORWARD TYPE RESPONSE
Pending applicable:
CU COU
CU unable to connect to
COU even after multiple
retries.
CU makes multiple retry
attempts without any
success in any of the
following cases:
No ACK by COU
Delayed ACK by COU
(beyond timeout
period)
Positive ACK by COU
but not reaching CU
For a successful BOU -> CU response:
CU declines response given by BOU with a
negative ACK and initiate 402 API to BOU
to check the status of the transaction at
pre-defined interval till Biller Timeout
Period.
For a successful BOU -> CU response:
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU006 and Compliance Reason will carry
"Connect Timeout at COU".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU006 and Compliance Reason will carry
"Connect Timeout at COU".
For a failed BOU -> CU response:
For a failed BOU -> CU response:
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
Compliance Response Code will be
COU006 and Compliance Reason will carry
", Connect Timeout at COU".
Compliance Response Code will be
COU006 and Compliance Reason will carry
", Connect Timeout at COU".
For a successful BOU -> CU response:
TYPE: FORWARD TYPE RESPONSE
For a successful BOU -> CU response:
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU007 and Compliance Reason will carry
"Read Timeout at COU".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU007 and Compliance Reason will carry
"Read Timeout at COU".
For a failed BOU -> CU response:
For a failed BOU -> CU response:
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
BBPS API SPECIFICATIONS | Version 13.0
72
Any other generic reason
for response failure to
COU, e.g., Connection
Reset, Connection
Refused, Bad Gateway,
Internal Server Error,
Null Pointer Exception,
etc.
COU is temporarily down
(COU is not sending
diagnostic request).
CU forwards the
response to COU but
Compliance Response Code will be
COU007 and Compliance Reason will carry
", Read Timeout at COU".
Compliance Response Code will be
COU007 and Compliance Reason will carry
", Read Timeout at COU".
For a successful BOU -> CU response:
TYPE: FORWARD TYPE RESPONSE
For a successful BOU -> CU response:
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU008 and Compliance Reason will carry
"Unable to Connect to COU".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU008 and Compliance Reason will carry
"Unable to Connect to COU".
For a failed BOU -> CU response:
For a failed BOU -> CU response:
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
Compliance Response Code will be
COU008 and Compliance Reason will carry
", Unable to Connect to COU".
Compliance Response Code will be
COU008 and Compliance Reason will carry
", Unable to Connect to COU".
For a successful BOU -> CU response:
TYPE: FORWARD TYPE RESPONSE
For a successful BOU -> CU response:
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU001 and Compliance Reason will carry
"Send Failed to COU".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU001 and Compliance Reason will carry
"Send Failed to COU".
For a failed BOU -> CU response:
For a failed BOU -> CU response:
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
Compliance Response Code will be
COU001 and Compliance Reason will carry
", Send Failed to COU".
Compliance Response Code will be
COU001 and Compliance Reason will carry
", Send Failed to COU".
No other response from CU is required
towards COU. Do away with negative ACK
TYPE: FORWARD TYPE RESPONSE
No other response from CU is required
towards COU. Do away with negative ACK
BBPS API SPECIFICATIONS | Version 13.0
73
COU declines with a
negative ACK.
by COU.
by COU.
For a successful BOU -> CU response:
For a successful BOU -> CU response:
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
CU closes and records the transaction with
a Response Code 000 and Response
Reason "Successful".
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU002 and Compliance Reason will carry
all the Error Codes from Negative ACK.
As a distinguishing identifier from
successfully acknowledged responses,
Compliance Response Code will be
COU002 and Compliance Reason will carry
all the Error Codes from Negative ACK.
Note: COU can raise a complaint for the
respective transaction if required.
For a failed BOU -> CU response:
For a failed BOU -> CU response:
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
CU closes and records the transaction with
a Response Code 003 and Response
Reason "Failure".
Compliance Response Code will be
COU002 and Compliance Reason will carry
", ".
Compliance Response Code will be
COU002 and Compliance Reason will carry
", ".
TYPE: FORWARD TYPE RESPONSE
For the Billers, which does not support deemed success; the existing response codes and compliance codes will be
applicable (as mentioned below).
Leg
CU COU
Scenario
Send Failed for response
sent to COU.
Fetch / Validation
CU closes and records the transaction with
a Response Code 001 and Response
Reason “Failure”.
Compliance Response Code will be
COU001 and Compliance Reason will carry
“Send Failed to COU”.
CU forwards the
response to COU but
COU declines with a
negative ACK.
No other response from CU is required
towards COU. CU closes and records the
transaction with a Response Code 301 and
Response Reason “Failure”.
Compliance Response Code will be
COU002 and Compliance Reason will carry
"".
Payment
CU will initiate a Reversal request to BOU.
BOU will send a Reversal Response with
Response Code 103 and Response Reason
“Failure”. On its way back to COU, the CU
populates Compliance Response Code as
COU001 and Compliance Reason will carry
“Send Failed to COU”.
If COU is down at that moment, it will be
retried till the point it is successfully
delivered.
Type : REVERSAL TYPE RESPONSE
CU will initiate a Reversal request to BOU.
BOU will send a Reversal Response with
Response Code 103 and Response Reason
“Failure”. On its way back to COU, the CU
populates Compliance Response Code as
COU002 and Compliance Reason will carry
"".
If COU is down at that moment, it will be
retried till the point it is successfully
BBPS API SPECIFICATIONS | Version 13.0
74
delivered.
Type : REVERSAL TYPE RESPONSE
13.2 Biller BBPOU Declines
There are scenarios which can emerge when there are issues between BOU and the Biller. List of Compliance Codes
which has to be populated at the time of BOU business rejections are as follows:
Response Code
Compliance Code
Compliance Description
200
BFR001
Incorrect / invalid Customer account
200
BFR002
Invalid combination of Customer parameters
200
BFR003
No bill data available
200
BFR004
Payment received for the billing period - no bill due
200
BFR005
Customer account is blocked / closed
200
BFR006
Customer account is not activated
200
BFR007
Bill due date has expired - bill details are not available
200
BFR008
Unable to get bill details from Biller
200
BFR009
Scheduled downtime taken by biller for maintenance activity. Please try again later
200
BFR010
200
BFR011
Unscheduled downtime taken by biller for maintenance activity. Please try again
later
Incomplete details in Biller system - update Customer profile
200
BPR001
Incorrect / invalid Customer account
200
BPR002
Invalid combination of Customer parameters
200
BPR003
Customer account is blocked / closed
200
BPR004
Customer account is not activated
200
BPR005
Payment cannot be accepted at this time
200
BPR006
Payment request has been exceeded for the day
200
BPR007
Repeat payment request
200
BPR008
200
200
BPR009
BPR010
200
BVR001
Due date has been expired to pay this amount. Please re-fetch again to get the
current outstanding
Scheduled downtime taken by biller for maintenance activity. Please try again later
Unscheduled downtime taken by biller for maintenance activity. Please try again
later
Incorrect / invalid Customer account
200
BVR002
Invalid combination of Customer parameters
200
BVR003
Customer account is blocked / closed
200
BVR004
Customer account is not activated
200
BVR005
Invalid Amount
200
BVR006
Customer account deactivated - pay Rs. to activate account
200
BVR007
Incomplete details in Biller system - update Customer profile
200
BVR008
Customer account valid but no bill due
200
BVR009
Technical exception from biller
200
Future Purpose
Incorrect / Invalid Plan ID
200
Future Purpose
No recharge found for Plan ID and Customer account combination
BBPS API SPECIFICATIONS | Version 13.0
75
Some of the Biller BBPOU decline scenarios are as follows:
MTI
Fetch
Scenario
Incorrect / invalid
customer account
Expected Biller Response Parameters
Biller Response block not required
Expected Reason Block Codes
Response Code = 200
Response Reason = Failure
Compliance Response Code = BFR001
Compliance Reason = Incorrect / invalid
customer account
Fetch
Customer account is valid &
bill data is not available
Biller Response block not required
Response Code = 200
Response Reason = Failure
Compliance Response Code = BFR003
Response Code = No bill data available
Fetch
Customer account is
valid & no bill due
Biller Response block not required
Response Code = 200
Response Reason = Failure
Compliance Response Code = BFR004
Compliance Reason = Payment received
for the billing period - no bill due
Payment
Bill pay without fetch
Response Code = 000
Response Reason = Successful
Compliance Response Code =
Compliance Reason =
Payment
Customer account not
found
Customer Name = As Is (NA if
Customer Name in unavailable)
Amount =
Due Date = 0001-01-01
Bill Date = 0001-01-01
Bill Number = NA
Bill Period = NA
Customer Convenience Fee =
Biller Response block not required
Response Code = 200
Response Reason = Failure
Compliance Response Code = BPR001
Compliance Reason = Incorrect / invalid
customer account
13.3 Customer BBPOU Declines
There are scenarios which can emerge when there are issues between Customer BBPOU and its Frontend. Customer
BBPOU can decline certain transactions which then need to be appropriately captured.
List of Compliance Codes which has to be populated at the time of Customer BBPOU rejections are as follows:
Compliance Code
Compliance Description
BFS001
Front end channel unavailable
BFS002
Customer has initiated reversal
BFS003
Receipt not generated
BFS004
Unable to process transaction internally
BBPS API SPECIFICATIONS | Version 13.0
76
13.4 Forced Closure of Transactions by CU
Please refer to the diagram below for Payment leg of a transaction with Legs 1-4 constituting the Payment legs and
Legs 5-7 constituting the Reversal legs as per the existing BBPS payment process flow.
Figure 1: Payment and its subsequent Reversal
The Payment request initiated from Customer OU is processed successfully and a positive response is provided by
the Biller OU (Legs 1 – 3). For some reason (COU001 or COU002) when Leg 4 of the transaction fails, CU will generate
a Reversal Request and send it to the BOU (Leg 5). BOU then generates a Reversal Response to BOU (Leg 6) which is
ultimately forwarded to the COU (Leg 7).
All these “open” transactions (both FETCH and PAYMENT) without any assigned Response or Compliance Codes in
the transaction table even after a significant period of time. Such transactions need to be force closed by CU (moved
from transaction to reporting tables) after a certain interval (say, a configurable value of 4 hours) using the following
combination of Response and Compliance Codes.
S.
No.
1
2
3
4
5
6
7
Description
CU is not able to connect to the BOU for
forwarding the Reversal Request
BOU has not provided an ACK for the
Reversal Request
BOU has provided a negative ACK for the
Reversal Request
BOU has acknowledged the Reversal
Request, but has not sent or has sent a
malformed Reversal Response
CU is not able to connect to the COU for
forwarding the Reversal Response
COU has not provided an ACK for the
Reversal Response
COU has provided a negative ACK for the
Reversal Response
Response
Code
100
Response
Reason
Failure
Compliance
Code
BOU004
100
Failure
BOU004
100
Failure
BOU004
100
Failure
BOU005
100
Failure
COU003
100
Failure
COU003
100
Failure
COU003
Compliance Reason*
,
BOU Reversal Retry Failure
,
BOU Reversal Retry Failure
,
BOU Reversal Retry Failure
,
BOU Reversal Response Timeout
,
COU Reversal Retry Failure
,
COU Reversal Retry Failure
,
COU Reversal Retry Failure
For the Billers which does not support Deemed Success
The revised CU decline scenarios effectively eliminate the Reversal legs because of the manner in which a failure in
Leg 4 of the transaction is handled for the billers which support Deemed Success. Thus, some transactions remaining
incomplete in the transaction table (OLTP) if one of Legs 5, 6 or 7 fails will no longer be a possibility and will not
require any forced closure by CU.
However, there may be exceptional scenarios like some “open” transactions (both FETCH and PAYMENT) without
any assigned Response or Compliance Codes in the transaction table even after a significant period of time. Such
BBPS API SPECIFICATIONS | Version 13.0
77
transactions need to be force closed by CU (moved from transaction to reporting tables) after a certain interval (say,
a configurable value of 4 hours) using the following combination of Response and Compliance Codes.
S. No.
1
2
3
Description
Leg 2 (CU to BOU) failure
Leg 3 (BOU to CU) failure
Leg 4 (CU to COU) failure
Response Code
100
100
100
Response Reason
Failure
Failure
Failure
Compliance Code
BOU001
BOU003
COU001
Compliance Reason
Send Failed to BOU
Timeout at BOU
Send Failed to COU
For the Billers which support Deemed Success
For Leg 4 failure, system has to consider the response given by the BOU as the final status for the biller which
support deemed success even for force closure.
BBPS API SPECIFICATIONS | Version 13.0
78
14 Re-utilization of Fetch / Validation for
Registered Customers
In BBPS for billers supporting Fetch/Validation it may be noted that fetch/validation and payment transactions are
linked through Reference ID. Currently, if a Reference ID is consumed by COU for making a payment once, it cannot
use the same fetch/validation response to initiate another payment using the same Reference ID (unless it is a CU
rejected payment transaction where COUs are expected to re-initiate the payment using the same Reference ID).
Currently, for re-attempting a payment, in case of non CU rejected payment transactions, COUs are expected to refetch the bill (or re-validate the customer params) and then initiate a payment for the same.
Basis the market feedback, we are allowing the Fetch response to be re-utilized only for registered customers, till
payment is successfully posted within 2 days of first try of the Payment. However, if COUs intend to reuse the
Validation response for making multiple retries till payment is successful, the ageing period will be 24 hrs of
successful Validation. In order to reutilize the Fetch/Validation response for multiple payment retries, COUs will be
required to pass siTxn attribute value as ‘Yes’ in all the payment requests mandatorily.
S. No.
1
2
3
4
5
6
7
8
Activity
Bill Fetch Request
Bill Fetch Response
Bill Payment Request (1st Attempt)
Bill Payment Response
Bill Payment Request (2nd Attempt)
Can be done if previous attempt was
FAILED.
Bill Payment Response
Bill Payment Request (3rd Attempt)
Can be done if previous attempts are
FAILED.
Bill Payment Response (Successful)
Sender
Receiver
Reference ID
R1
Message
ID
M1
Transaction
ref ID
-
Original
Reference ID
-
COU
CU
CU
BOU
R1
M1
-
-
BOU
CU
R1
M1
-
-
CU
COU
R1
M1
-
-
COU
CU
R1
M2
T1
-
CU
BOU
R1
M2
T1
-
BOU
CU
R1
M2
T1
-
CU
COU
R1
M2
T1
-
COU
CU
R2
M3
T2
R1
CU
BOU
R2
M3
T2
R1
BOU
CU
R2
M3
T2
R1
CU
COU
R2
M3
T2
R1
COU
CU
R3
M4
T3
R1
CU
BOU
R3
M4
T3
R1
BOU
CU
R3
M4
T3
R1
CU
COU
R3
M4
T3
R1
14.1 Considerations for Customer OUs
1. Reutilization of Fetch / Validation functionality is only for registered customers.
2. This functionality can be used on Digital Channels Only and will not be available for Physical Channels.
3. CU will allow the payment retry attempt, only if the previous attempt was "FAILED". If the previous attempt
is "IN PROGRESS" or "SUCCESSFUL", system will reject the subsequent attempt.
BBPS API SPECIFICATIONS | Version 13.0
79
4. If COUs intend to use this feature, they need to pass siTxn value as 'Yes' in all the Payment requests.
5. For first payment request COUs will be required to pass only the ref ID along with siTxn tag value as 'Yes'. In
case the payment was failed in BBPS (not CU rejection), COUs can reutilize the fetch/validation response,
however, COUs will be required to pass OrigRefId (original Ref ID will be the ref ID of the first attempt) along
with unique reference ID for each subsequent payment request.
6. For re-utilization of Fetch, there will be an ageing period of 2 days for reattempting payment using the
original reference ID. Ageing period for reutilization of fetch will start from the day of first payment request
made and the ageing period is in days.
7. For re-utilization of Validation, the ageing period will be 24 hrs from the Successful Validation done.
8. If COUs are going to retry payment using the origRefId, in case of first or other subsequent payment
failure(s), COUs should not send any communication (SMS/Email) to customer regarding the fate of
transaction i.e. transaction reference Id. COUs should only provide the information/status of the last
legitimate retry. COUs can provide acknowledgement that the transaction is in progress.
9. Once successful payment has been done, COUs has to send the communication (SMS/Email) to customer
related to transaction (i.e. transaction reference Id, status, etc.), which can be used for Transaction Status
Check, Complaint Registration.
10. If there are multiple payment tries, only the last transaction ref ID will be used for Complaints registration
and Disputes.
11. Additional tag origRefId will appear in the RAW file(s). All the entities who have automated their
reconciliation process needs to take cognisance of the change and act appropriately.
14.2 Considerations for Biller OUs
1. Currently BOUs are considering the Ref ID to link the Fetch and Payment transactions. In case BOUs receives
the Payment transaction with tag siTxn as 'Yes' and resulted as failure, there may be subsequent Payment
attempts. So, they have to allow payment to be made for the biller till it is successful using the origRefId till
the ageing period and BOUs should establish the same linkage between Fetch Ref ID and origRefId.
2. Additional tag origRefId will appear in the RAW file(s). All the entities who have automated their
reconciliation process needs to take cognisance of the change and act appropriately.
BBPS API SPECIFICATIONS | Version 13.0
80
15 CMS Response Scenarios
The following tables highlight the different scenarios associated with CMS related APIs and their outcomes.
S.
No.
1
2
3
4
5
Scenario
Search transaction
- Transaction ID exists
- Mobile Number (with /
without date range) exists
Response Code and Reason
responseCode="000"
responseReason="SUCCESS"
txnStatus="SUCCESS/FAILURE
/REVERSAL/IN_PROG/REVERS
AL_IN_PROG"
Search transaction
responseCode="001"
- Valid Transaction ID format
responseReason="No
but transaction does not exist
Transaction found"
- Valid Mobile Number (with /
without date range) format
but transaction does not exist
Search transaction
- Invalid Transaction ID format