Upload
others
View
16
Download
0
Embed Size (px)
Citation preview
Electronics & Information Technology Department
API Integration for Cashless Haryana Consolidation Portal
Government of Haryana
SeMT Development Team
January 23, 2018
Version 1.1 Published on: Jan 2018
E&IT Department, Govt. of Haryana Page 2
Article I. Contents Section 1.01 Introduction ........................................................................................................................... 3
Section 1.02 API Integration ....................................................................................................................... 5
Section 1.03 API Integration Sample .......................................................................................................... 6
Section 1.04 Transaction Sources ............................................................................................................... 7
Section 1.05 Source Description Codes for Banks ...................................................................................... 8
Section 1.06 Transaction Type Codes for Banks ......................................................................................... 9
Section 1.07 Transaction Subtype Codes for Banks ................................................................................... 9
Section 1.08 Source Description Codes for Wallets ................................................................................. 10
Section 1.09 Transaction Type Codes for Wallets .................................................................................... 10
Section 1.10 Transaction Subtype Codes for Wallets ............................................................................... 11
Section 1.11 Source Description Codes for DBT ....................................................................................... 12
Section 1.12 Transaction Type Codes for DBT .......................................................................................... 12
Section 1.13 Transaction Subtype Codes for DBT .................................................................................... 12
Section 1.14 Source Description Codes for Mobile / Telecom Banking ................................................... 13
Section 1.15 Transaction Types Codes for Mobile / Telecom Banking .................................................... 13
Section 1.16 Transaction Subtype Codes for Mobile / Telecom Banking ................................................ 13
Section 1.17 Source Description Codes for UPI Apps ............................................................................... 14
Section 1.18 Transaction Type Codes for UPI Apps .................................................................................. 14
Section 1.19 Transaction Subtype Codes for UPI Apps ............................................................................ 14
Section 1.20 Source Description Codes for Aadhaar Enabled Payment System (AEPS) .......................... 15
Section 1.21 Transaction Type Codes for Aadhaar Enabled Payment System (AEPS) ............................. 15
Section 1.22 Transaction Subtype Codes for AEPS ................................................................................... 18
Section 1.23 Source Description Codes for e-GRAS ................................................................................. 19
Section 1.24 Transaction Type Codes for e-GRAS .................................................................................... 19
Section 1.25 Transaction Subtype Codes for e-GRAS ............................................................................... 19
E&IT Department, Govt. of Haryana Page 3
Cashless Haryana Consolidation (CHC) Portal
Section 1.01 Introduction Digital India, an ambitious initiative launched by the Government in 2015, fundamentally seeks to
ensure that government services are made available seamlessly to citizens, in electronic form, by
improving online infrastructure and increasing internet connectivity. We have seen small but
significant steps being taken by the government, towards digital empowerment of the people. With
the launch of the Digital India programme in 2015, the government of India has set forth its vision
to transform India into a digitally empowered society.
Vision of Less-Cash Haryana
With a vision to convert the state into a digitally empowered society and knowledge economy and
to improve the quality of service delivery, Govt. of Haryana is offering e-Governance services
which exhibit following three key tenets i.e. cashless, paperless and faceless. The endeavour is to
provide to a beneficiary the option of electronic/ digital payment modes, no physical paper at any
level for rendering of service and ensuring that beneficiary is not required to come in contact with
government personnel, unless it’s a legal requirement In the recent past, Haryana has taken various
landmark initiatives for improving access to digital infrastructure, increased digital delivery of
services and empowerment of the citizens.
As part of promoting cashless transactions and converting Haryana into less-cash society, various
modes of digital payments are available.
Share Cashless Transaction Detail with Cashless Haryana Consolidation (CHC) Portal
Figure 1 “Faceless, Paperless, Cashless” is one of professed role of Digital Haryana.
E&IT Department, Govt. of Haryana Page 4
Life Cycle of Cashless Haryana Consolidation Portal
E&IT Department, Govt. of Haryana Page 5
Section 1.02 API Integration
Required Format: JSON
URL: http://164.100.137.225:8000/api/Transaction/Post Parameters Description:
S No Parameter Name Data Type Parameter Description
1 username String Shared Username with department
2 password String Shared Password with department
3 TranctionId String Leave it Blank
4 source String 4 Digit numeric code (For Ref: See below Table)
5 source_description String 4 Digit numeric code (For Ref: See below Table)
6 type String 4 Digit numeric code (For Ref: See below Table)
7 subtype String 4 Digit numeric code (For Ref: See below Table)
8 transactioncount String Such as: 1000
9 amount String Such as: 150000
10 startdate String 01-01-2018 (Format Required: MM-DD-YYYY)
11 enddate String 01-10-2018 (Format Required: MM-DD-YYYY)
E&IT Department, Govt. of Haryana Page 6
Section 1.03 API Integration Sample Sample:
E&IT Department, Govt. of Haryana Page 7
Section 1.04 Transaction Sources
Code Transaction Source 0001 Bank 0002 Wallets 0003 DBT 0004 Mobile/Telecom Banking 0005 UPI Apps 0006 Aadhaar Enabled Payment System (AEPS) 0007 e-GRAS
E&IT Department, Govt. of Haryana Page 8
Section 1.05 Source Description Codes for Banks
ID Transaction Source Description Main Source ID 0001 Allahabad Bank 0001 0002 Andhra Bank 0001 0003 Bank of Baroda 0001 0004 Bank of India 0001 0005 Bank of Maharashtra 0001 0006 Canara Bank 0001 0007 Central Bank of India 0001 0008 Corporation Bank 0001 0009 Dena Bank 0001 0010 Indian Bank 0001 0011 Indian Overseas Bank 0001 0012 IDBI Bank 0001 0013 Oriental Bank of Commerce 0001 0014 Punjab and Sind Bank 0001 0015 Punjab National Bank 0001 0016 State Bank of India 0001 0017 Syndicate Bank 0001 0018 UCO Bank 0001 0019 Union Bank of India 0001 0020 United Bank of India 0001 0021 Vijaya Bank 0001 0022 Axis Bank 0001 0023 Bandhan Bank 0001 0024 Catholic Syrian Bank 0001 0025 City Union Bank 0001 0026 Cosmos Bank 0001 0027 DCB Bank 0001 0028 Dhanlaxmi Bank 0001 0029 Federal Bank 0001 0030 HDFC Bank 0001 0031 ICICI Bank 0001 0032 IDFC Bank 0001 0033 IndusInd Bank 0001 0034 Jammu and Kashmir Bank 0001 0035 Karnataka Bank 0001 0036 Karur Vysya Bank 0001 0037 Kotak Mahindra Bank 0001 0038 Lakshmi Vilas Bank 0001 0039 RBL Bank 0001 0040 South Indian Bank 0001 0041 Lord Krishna Bank 0001 0042 Tamilnad Mercantile Bank 0001 0043 YES Bank 0001 0044 Sarva Haryana Gramin Bank 0001 0082 Other 0001
0109 Nainital Bank 0001
E&IT Department, Govt. of Haryana Page 9
Section 1.06 Transaction Type Codes for Banks
TransId Transaction Type Main Source ID 0001 NEFT 0001 0002 RTGS 0001 0003 Cheque 0001 0004 Demand Draft 0001 0005 Credit Card 0001 0006 Debit Card 0001 0009 Unstructured Supplementary Service Data(USSD) 0001 0010 Gift Card 0001 0011 Other 0001 0017 AePS (Fin & Non Fin) 0001 0018 IMPS (IBS, MBS, Branches & Others) 0001 0019 USSD & UPI, BHIM APP 0001 0020 IBS & MBS (other than IMPS,NEFT,RTGS) 0001 0021 Other ECS (BC) 0001 0022 Trans Through e-wallets 0001 0023 Debit & Credit Card Transaction 0001 0024 RTGS & NEFT 0001
Section 1.07 Transaction Subtype Codes for Banks
Code SubType TransID 0001 Other 0001 0002 Other 0002 0003 Other 0003 0004 Other 0004 0005 Other 0005 0006 Other 0006 0009 Other 0009 0010 Other 0010 0017 Other 0017 0018 Other 0018 0019 Other 0019 0020 Other 0020 0021 Other 0021 0022 Other 0022 0023 RECHARGE 0022
E&IT Department, Govt. of Haryana Page 10
Section 1.08 Source Description Codes for Wallets
ID Transaction Source Description Main Source ID 0045 PayTM 0002 0046 Mobikwik 0002 0047 FreeCharge 0002 0048 State Bank Buddy 0002 0049 HDFC PayZapp 0002 0050 ICICI Pockets 0002 0051 LIME 0002 0052 PhonePe 0002 0053 Ola Money 0002 0054 Airtel Money 0002 0055 Citi MasterPass 0002 0056 Citrus Pay 0002 0057 Ezetap 0002 0058 JioMoney 0002 0059 JusPay 0002 0060 MomoeXpress 0002 0061 MoneyOnMobile 0002 0062 Mswipe 0002 0063 Oxigen 0002 0064 PayMate 0002 0065 PayUmoney 0002 0066 PayPal 0002 0067 Payoneer 0002 0068 Transferwise 0002 0069 Skrill 0002 0070 PayZa 0002 0083 Other 0002
0110 Vodafone M-Pesa 0002
0111 Airtel Payments Bank 0002
Section 1.09 Transaction Type Codes for Wallets
TransId Transaction Type Main Source ID 0007 E-Wallets 0002 0008 Mobile Wallets 0002 0012 Other 0002 0173 Electricity 0002 0174 Mobile Recharges 0002 0175 Movie Tickets 0002 0176 DTH 0002 0177 Broadband 0002 0178 Municipal Payment 0002 0179 Flights 0002 0180 Trains 0002 0181 Bus 0002 0182 Hotels 0002 0183 E-Commerce 0002 0184 Money Transfer 0002
E&IT Department, Govt. of Haryana Page 11
0185 Entertainment 0002 0186 Money Transfer- Vodafone 0002 0187 Prepaid Recharge 0002 0188 Bill Payment 0002 0189 Utility Payments 0002 0190 Merchant Payment 0002 0191 Activation Fees 0002
Section 1.10 Transaction Subtype Codes for Wallets
Code SubType TransID 0007 Other 0007 0008 Other 0008 0024 Assisted P2B 0186
0025 Assisted P2B - IMPS 0186
0026 Assisted P2P 0186
0027 Assisted P2U 0186
0028 Assisted Utility 0189
0029 Assisted Vodafone Postpaid Bill Payment 0188
0030 Assisted Vodafone Prepaid Recharge 0187
0031 BC IMPS 0186
0032 Cash Out - Registered 0186
0033 DTH 0187
0034 Merchant Payment - Pay Now 0190
0035 Online Payment 0190
0036 P2B 0186
0037 P2B-IMPS 0186
0038 P2P 0186
0039 P2U 0186
0040 Prepaid Mobile Recharge 0187
0041 Utility Payments 0189
0042 Vodafone Postpaid Bill Payment 0188
0043 Vodafone Prepaid Recharge 0187
0044 IP Collected 0191
E&IT Department, Govt. of Haryana Page 12
Section 1.11 Source Description Codes for DBT
Code Transaction Source Description Main Source ID
0084 Other 0003
0088 Agriculture and Farmers Welfare 0003
0089 Animal Husbandry & Dairying 0003
0090 Development & Panchayats 0003
0091 Elementary Education 0003
0092 Employment 0003
0093 Fisheries 0003
0094 Health and Family Welfare 0003
0095 Higher Education 0003
0096 Horticulture Department 0003
0097 Skill Development & Industrial Training 0003
0098 National Health Mission 0003
0099 Rural Development 0003
0100 Science & Technology 0003
0101 Secondary Education 0003
0102 Social Justice & Empowerment 0003
0103 Sports & Youth Affair 0003
0104 Technical Education 0003
0105 Welfare of SC & BC 0003
0106 Women & Child Development 0003
0107 Food Civil Supplies &Consumer Affairs 0003
Section 1.12 Transaction Type Codes for DBT
TransId Transaction Type Main Source ID 0013 Other 0003
Section 1.13 Transaction Subtype Codes for DBT
Code Sub Type of Transaction 0000 Other
E&IT Department, Govt. of Haryana Page 13
Section 1.14 Source Description Codes for Mobile / Telecom Banking
ID Transaction Source Description Main Source ID 0085 Other 0004
Section 1.15 Transaction Types Codes for Mobile / Telecom Banking
TransId Transaction Type Main Source ID 0014 Other 0004
Section 1.16 Transaction Subtype Codes for Mobile / Telecom Banking
Code Sub Type of Transaction 0000 Other
E&IT Department, Govt. of Haryana Page 14
Section 1.17 Source Description Codes for UPI Apps
ID Transaction Source Description Main Source ID 72 ICICI Pocket UPI App 0005 73 Axis Pay UPI App 0005 74 Union Bank UPI App 0005 75 PNB UPI App 0005 76 PhonePe UPI App 0005 77 TranZapp UPI App 0005 78 SBI Pay UPI App 0005 86 Other 0005
Section 1.18 Transaction Type Codes for UPI Apps
TransId Transaction Type Main Source ID 15 Other 0005
Section 1.19 Transaction Subtype Codes for UPI Apps
Code Sub Type of Transaction 0000 Other
E&IT Department, Govt. of Haryana Page 15
Section 1.20 Source Description Codes for Aadhaar Enabled Payment System (AEPS)
ID Transaction Source Description Main Source ID 0079 Aadhar to Aadhar fund transfer 0006 0080 Cash withdrawal 0006 0081 Cash deposit 0006 0087 Other 0006 0108 CSC 0006
Section 1.21 Transaction Type Codes for Aadhaar Enabled Payment System (AEPS)
Code Transaction Type
0016 Other
0045 eDistrict Services
0046 PAN Card Services
0047 Online Bill Payment
0048 Aadhaar eKYC PVC Print
0049 Aadhaar Demographic Update
0050 Online Admission Form
0051 Vodafone Mobile Top Up
0052 Idea Recharge
0053 Renewal Premium
0054 Airtel Mobile Top Up
0055 Labour Services
0056 Jeevan Pramaan
0057 EPFO Aadhaar Seeding
0058 Government Department Receipt Payment
0059 Passport Services
0060 Dish TV
0061 Docomo Recharge
0062 Registration Certificate
0063 Course Registration
0064 Sarkari Pariksha
0065 Tata Sky
0066 Motor Third Party
0067 Railway Ticket Booking
0068 Airtel DTH
0069 Videocon D2h Recharge
0070 Swachh Bharat
E&IT Department, Govt. of Haryana Page 16
0071 RAP Registration
0072 Reliance GSM Recharge
0073 Internet Recharge
0074 Flight Tickets
0075 CSC Telemedicine
0076 Pradhan Mantri Awas Yojana
0077 National Pension Scheme (NPS)
0078 PVC Card and Biometric Device
0079 Motor Comprehensive
0080 BBPS Mobile Postpaid
0082 CSC Insurance Khata
0083 Telemedicine Jiva Ayurveda
0084 BBPS DTH
0085 BBPS Generic
0086 Basic Computer Course
0087 Health Homeo 999
0088 Aircel Recharge
0089 FASTAG Service
0090 Haryana Land Record Forms
0091 Application Form Submission
0092 Biometric Devices (UIDAI RD Service Compliant)
0093 Pradhan Mantri Fasal Bima Yojana
0094 CSC Skill Centre
0095 Online Application Form
0096 Basic Banking Course
0097 Tally Software Registration
0098 BBPS Landline Postpaid
0099 Consumer Grievance Registration
0100 NIELIT Courses
0101 Birth and Death Application
0102 IRCTC Registration
0103 Uninor Mobile Top Up
0104 Allopathic Consultation
0105 Meter and Other Complaints (UHBVN)
0106 Health Services
0107 Personal Accidental
0108 Income Tax Filing
0109 Reliance Jio
0110 Health Homeo 199
0111 Patanjali Ayurveda
0112 Application Form for Card Print
E&IT Department, Govt. of Haryana Page 17
0113 Basic English Learning
0114 Printing Service
0115 Online Store
0116 Swachh Sankalp se Swachh Siddhi
0117 Tally Certification with Flash Content
0118 Reliance CDMA Recharge
0119 GST & TDS Return, DSC, LLP Registration
0120 Haryana Police Services
0121 FASTAG Topup
0122 FASTAG Purchase
0123 CAD Registration
0124 Online Registration for Unemployed
0125 FASTAG Issuance
0126 Online Registration for English Speaking Course
0127 Ujala - EESL
0128 Medicine
0129 Life Insurance
0130 Tally Self Learning Manual
0131 Sun TV
0132 Course on GST
0133 SSDG Haryana
0134 Certificate Printing
0135 Super 30 Books
0136 Tally Kaushal Praman Patra
0137 Telemedicine
0138 eLegal Consultancy
0139 OYO Rooms
0140 Life Certificate (LIC)
0141 Veterinary Doctor Consultation
0142 Haryana Municipality e-Services
0143 Cattle and Live Stock
0144 Forest Services
0145 Bus Ticket Booking
0146 IIT/JEE/BITSAT/NEET Preparation
0147 Diagnostic Services
0148 BBPS Electricity
0149 Advanced English Learning
0150 Swavalamban Contribution
0151 New Connection (DHBVN)
0152 New Connection (UHBVN)
0153 MP State Services
E&IT Department, Govt. of Haryana Page 18
0154 Videocon D2h New Connection
0155 Do It Yourself LED Kit
0156 Know Your TDS
0157 Fire and Allied Perils
0158 BBPS Gas
0159 NIELIT Facilitation Centre
0160 Property Tax Filing
0161 Water Supply/ Sewer Connection
0162 BBPS Broadband Postpaid
0163 Super Speciality Consultation
0164 Health Insurance
0165 Rashtrapati Bhavan Museum Ticket
0166 Tele-Law
0167 SBIePay Maharashtra Transport
0168 Pin Pad Device Payment Service
0169 Purvanchal Vidyut Vitaran Nigam Ltd - PUVVNL
0170 Complete Health Care
0171 Farmer Package Policy
0172 Fee Payment
Section 1.22 Transaction Subtype Codes for AEPS
Code Sub Type of Transaction 0000 Other
E&IT Department, Govt. of Haryana Page 19
Section 1.23 Source Description Codes for e-GRAS
Code Transaction Type Main Source ID 0112 SBI Aggregator 0007 0113 PNB Aggregator 0007 0114 IDBI Aggregator 0007
Section 1.24 Transaction Type Codes for e-GRAS
Code Transaction Type Main Source ID 0192 Other 0007
Section 1.25 Transaction Subtype Codes for e-GRAS
Code Sub Type of Transaction 0000 Other