SlideShare a Scribd company logo
Document for P2B Integration
Mandatory Information required to start the integration Process:
Live Environment posting URL https://secure.paytm.in/P2B?JsonData=
Test Environment posting URL https://pguat.paytm.com/P2B?JsonData=
SN Field Name Field Type Length(Max) Description IsMandatory
1 BANK_ACC_NO N 1-30 Y
2 IFSC_CODE N 11 Y
3 ACC_TYPE A Y
4 MOBILE_NO AN 1-70 Y
5 SENDER_NAME AN 1-70 Y
6 AMOUNT N 1-20 -.00 Y
7 CURRENCY Char 3 Always” INR” Y
8 MID Char 1-20 Y
Y
9 ORDER_ID AlphaNumeric 20
10 REQUEST_TYPE Char 6 P2B_S2S always Y
11 CHANNEL Char 6 “WEB” always Y
12 REMARKS Char 30 Y
13 CHECKSUM AlphaNumeric Y
JSON Request Template
{
"BANK_ACC_NO": "06310120008264",
"IFSC_CODE": "KKBK0000958",
"ACC_TYPE": "10",
"MOBILE_NO": "8587830632",
"SENDER_NAME": "PRAVEEN",
"AMOUNT": "20",
"CURRENCY": "INR",
"MID": "klbGlV59135347348753",
"ORDER_ID": "ORDER488869808",
"REQUEST_TYPE": "P2B_S2S",
"CHANNEL": "WEB",
"REMARKS": "Txn",
"CHECKSUM":
"v04FL234ZASILOACkHpIJ3nUPFAqwzzdXjziK2SQR8rBCEK/wZKqrGLjkJDSA0r2GnwQHnzibwLEh3eOoPiZ
M3MOJ+u5XGoqSS3FoyiM29Y="
}
Checksum Parameter:
checksummap.put("BANK_ACC_NO", p2bInputTO.getBankAccntNum());
checksummap.put("IFSC_CODE",p2bInputTO.getIfscCode() );
checksummap.put("ACC_TYPE", p2bInputTO.getAccntType());
checksummap.put("MOBILE_NO",p2bInputTO.getMobNum() );
checksummap.put("SENDER_NAME", p2bInputTO.getSenderName());
checksummap.put("AMOUNT", p2bInputTO.getAmount());
checksummap.put("CURRENCY",p2bInputTO.getCurrency() );
checksummap.put("MID", p2bInputTO.getMid());
checksummap.put("ORDER_ID", p2bInputTO.getOrderId());
checksummap.put("REQUEST_TYPE", p2bInputTO.getRequestType());
checksummap.put("REMARKS", p2bInputTO.getRemarks());
Response
SN Field Name Field Type Length(Max) Description IsMandatory
1 PG_TXN_ID N 15 Y
2 BANK_TXN_ID N 15 Y
3 BANK_ACC_NO A 1-30 Y
4 MOBILE_NO AN 1-70 Y
6 AMOUNT N 1-20 -.00 Y
7 CURRENCY Char 3 Always” INR” Y
8 MID Char 1-20 Y
Y
9 ORDER_ID AlphaNumeric 20
10 REQUEST_TYPE Char 6 P2B_S2S always Y
11 TXN_STATUS Char 30 Y
12 RESPCODE N Y
13 TXN_MSG Char Y
12 CHECKSUM AlphaNumeric Y
Response:
{
"PG_TXN_ID": "20617",
"BANK_TXN_ID": "20617",
"BANK_ACC_NO": "06310120008264",
"MOBILE_NO": "8587830632",
"AMOUNT": "20",
"CURRENCY": "INR",
"MID": "klbGlV59135347348753",
"ORDER_ID": "ORDER488869808",
"REQUEST_TYPE": "P2B_S2S",
"TXN_STATUS": "FAILED",
"RESPCODE": "402",
"TXN_MSG": "Invalid Response From Bank",
"CHECKSUM":
"sJ9KGJ7POyu+COiWnE0K3ZqPdtNFc3mqMOWQ+PtPDBNHEMFevppBLNtObSmVqCLDAeo+uxyre/mnkN84xm
dUZl3nHoDcWnNPd4CMLV9+Fts="
}
Response Checksum Generation:
TreeMap<String,String> checksummap=new TreeMap<String, String>();
checksummap.put("PG_TXN_ID",p2bInputTO.getTxnId());
checksummap.put("BANK_TXN_ID",p2bInputTO.getTxnId());
checksummap.put("BANK_ACC_NO", p2bInputTO.getBankAccntNum());
checksummap.put("MOBILE_NO",p2bInputTO.getMobNum() );
checksummap.put("AMOUNT", p2bInputTO.getAmount());
checksummap.put("CURRENCY",p2bInputTO.getCurrency() );
checksummap.put("MID", p2bInputTO.getMid());
checksummap.put("ORDER_ID", p2bInputTO.getOrderId());
checksummap.put("REQUEST_TYPE", p2bInputTO.getRequestType());
checksummap.put("TXN_STATUS", p2bInputTO.getTxnstatus());
checksummap.put("RESPCODE", p2bInputTO.getRespcode());
checksummap.put("TXN_MSG", p2bInputTO.getRespMessage());

More Related Content

Similar to P2 b api

mDevCamp 2016 - Zingly, or how to design multi-banking app
mDevCamp 2016 - Zingly, or how to design multi-banking appmDevCamp 2016 - Zingly, or how to design multi-banking app
mDevCamp 2016 - Zingly, or how to design multi-banking app
Petr Dvorak
 
Samsung pay: tokenized numbers flaws and issues
Samsung pay: tokenized numbers flaws and issuesSamsung pay: tokenized numbers flaws and issues
Samsung pay: tokenized numbers flaws and issues
Priyanka Aash
 
Payments On Rails
Payments On RailsPayments On Rails
Payments On Rails
E-xact Transactions
 
Elixir & apis - presentation at ElixirConf 2016
Elixir & apis - presentation at ElixirConf 2016Elixir & apis - presentation at ElixirConf 2016
Elixir & apis - presentation at ElixirConf 2016
Victoria Wagman
 
Guidelines for using Ericsson's exposed charging APIs
Guidelines for using Ericsson's exposed charging APIsGuidelines for using Ericsson's exposed charging APIs
Guidelines for using Ericsson's exposed charging APIs
Alan Quayle
 
The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016
Robert Nyman
 
Mắt kính chính hãng trả góp 0%
Mắt kính chính hãng trả góp 0%Mắt kính chính hãng trả góp 0%
Mắt kính chính hãng trả góp 0%
Phcng991605
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
Robert Nyman
 
Integration of payment gateways using Paypal account
Integration of payment gateways using Paypal account Integration of payment gateways using Paypal account
Integration of payment gateways using Paypal account
Phenom People
 
Interledger Application/ Setup Protocols
Interledger Application/ Setup ProtocolsInterledger Application/ Setup Protocols
Interledger Application/ Setup Protocols
Interledger
 
From Node.js noob to not so noob
From Node.js noob to not so noobFrom Node.js noob to not so noob
From Node.js noob to not so noob
reybango
 
NationJS: Node Noob to not so Noob
NationJS: Node Noob to not so Noob NationJS: Node Noob to not so Noob
NationJS: Node Noob to not so Noob
reybango
 
Cca venue worldintegrationmanual
Cca venue worldintegrationmanualCca venue worldintegrationmanual
Cca venue worldintegrationmanual
Raghavendra chary
 
Online Bus Reservation
Online Bus ReservationOnline Bus Reservation
Online Bus Reservation
Astha Patel
 
The dark side of the app - Todi Appy Days 2015
The dark side of the app - Todi Appy Days 2015The dark side of the app - Todi Appy Days 2015
The dark side of the app - Todi Appy Days 2015
Todi Appy Days
 
The dark side of the app
The dark side of the appThe dark side of the app
The dark side of the app
Simone Di Maulo
 
Steps india technologies .com
Steps india technologies .comSteps india technologies .com
Steps india technologies .com
steps-india-technologies
 

Similar to P2 b api (20)

mDevCamp 2016 - Zingly, or how to design multi-banking app
mDevCamp 2016 - Zingly, or how to design multi-banking appmDevCamp 2016 - Zingly, or how to design multi-banking app
mDevCamp 2016 - Zingly, or how to design multi-banking app
 
TripThru_API_Doc_v1
TripThru_API_Doc_v1TripThru_API_Doc_v1
TripThru_API_Doc_v1
 
Samsung pay: tokenized numbers flaws and issues
Samsung pay: tokenized numbers flaws and issuesSamsung pay: tokenized numbers flaws and issues
Samsung pay: tokenized numbers flaws and issues
 
Payments On Rails
Payments On RailsPayments On Rails
Payments On Rails
 
Elixir & apis - presentation at ElixirConf 2016
Elixir & apis - presentation at ElixirConf 2016Elixir & apis - presentation at ElixirConf 2016
Elixir & apis - presentation at ElixirConf 2016
 
Guidelines for using Ericsson's exposed charging APIs
Guidelines for using Ericsson's exposed charging APIsGuidelines for using Ericsson's exposed charging APIs
Guidelines for using Ericsson's exposed charging APIs
 
The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016The Future of Progressive Web Apps - View Source conference, Berlin 2016
The Future of Progressive Web Apps - View Source conference, Berlin 2016
 
Mắt kính chính hãng trả góp 0%
Mắt kính chính hãng trả góp 0%Mắt kính chính hãng trả góp 0%
Mắt kính chính hãng trả góp 0%
 
The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016The Future of the Web - Cold Front conference 2016
The Future of the Web - Cold Front conference 2016
 
Integration of payment gateways using Paypal account
Integration of payment gateways using Paypal account Integration of payment gateways using Paypal account
Integration of payment gateways using Paypal account
 
Interledger Application/ Setup Protocols
Interledger Application/ Setup ProtocolsInterledger Application/ Setup Protocols
Interledger Application/ Setup Protocols
 
From Node.js noob to not so noob
From Node.js noob to not so noobFrom Node.js noob to not so noob
From Node.js noob to not so noob
 
NationJS: Node Noob to not so Noob
NationJS: Node Noob to not so Noob NationJS: Node Noob to not so Noob
NationJS: Node Noob to not so Noob
 
Cca venue worldintegrationmanual
Cca venue worldintegrationmanualCca venue worldintegrationmanual
Cca venue worldintegrationmanual
 
Online Bus Reservation
Online Bus ReservationOnline Bus Reservation
Online Bus Reservation
 
The dark side of the app - Todi Appy Days 2015
The dark side of the app - Todi Appy Days 2015The dark side of the app - Todi Appy Days 2015
The dark side of the app - Todi Appy Days 2015
 
The dark side of the app
The dark side of the appThe dark side of the app
The dark side of the app
 
Anex....,,,.
Anex....,,,.Anex....,,,.
Anex....,,,.
 
Anex....,,,.
Anex....,,,.Anex....,,,.
Anex....,,,.
 
Steps india technologies .com
Steps india technologies .comSteps india technologies .com
Steps india technologies .com
 

Recently uploaded

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 

Recently uploaded (20)

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 

P2 b api

  • 1. Document for P2B Integration Mandatory Information required to start the integration Process: Live Environment posting URL https://secure.paytm.in/P2B?JsonData= Test Environment posting URL https://pguat.paytm.com/P2B?JsonData= SN Field Name Field Type Length(Max) Description IsMandatory 1 BANK_ACC_NO N 1-30 Y 2 IFSC_CODE N 11 Y 3 ACC_TYPE A Y 4 MOBILE_NO AN 1-70 Y 5 SENDER_NAME AN 1-70 Y 6 AMOUNT N 1-20 -.00 Y 7 CURRENCY Char 3 Always” INR” Y 8 MID Char 1-20 Y Y 9 ORDER_ID AlphaNumeric 20 10 REQUEST_TYPE Char 6 P2B_S2S always Y 11 CHANNEL Char 6 “WEB” always Y 12 REMARKS Char 30 Y 13 CHECKSUM AlphaNumeric Y JSON Request Template { "BANK_ACC_NO": "06310120008264", "IFSC_CODE": "KKBK0000958", "ACC_TYPE": "10", "MOBILE_NO": "8587830632", "SENDER_NAME": "PRAVEEN", "AMOUNT": "20", "CURRENCY": "INR", "MID": "klbGlV59135347348753", "ORDER_ID": "ORDER488869808", "REQUEST_TYPE": "P2B_S2S", "CHANNEL": "WEB", "REMARKS": "Txn",
  • 2. "CHECKSUM": "v04FL234ZASILOACkHpIJ3nUPFAqwzzdXjziK2SQR8rBCEK/wZKqrGLjkJDSA0r2GnwQHnzibwLEh3eOoPiZ M3MOJ+u5XGoqSS3FoyiM29Y=" } Checksum Parameter: checksummap.put("BANK_ACC_NO", p2bInputTO.getBankAccntNum()); checksummap.put("IFSC_CODE",p2bInputTO.getIfscCode() ); checksummap.put("ACC_TYPE", p2bInputTO.getAccntType()); checksummap.put("MOBILE_NO",p2bInputTO.getMobNum() ); checksummap.put("SENDER_NAME", p2bInputTO.getSenderName()); checksummap.put("AMOUNT", p2bInputTO.getAmount()); checksummap.put("CURRENCY",p2bInputTO.getCurrency() ); checksummap.put("MID", p2bInputTO.getMid()); checksummap.put("ORDER_ID", p2bInputTO.getOrderId()); checksummap.put("REQUEST_TYPE", p2bInputTO.getRequestType()); checksummap.put("REMARKS", p2bInputTO.getRemarks()); Response SN Field Name Field Type Length(Max) Description IsMandatory 1 PG_TXN_ID N 15 Y 2 BANK_TXN_ID N 15 Y 3 BANK_ACC_NO A 1-30 Y 4 MOBILE_NO AN 1-70 Y 6 AMOUNT N 1-20 -.00 Y 7 CURRENCY Char 3 Always” INR” Y 8 MID Char 1-20 Y Y 9 ORDER_ID AlphaNumeric 20 10 REQUEST_TYPE Char 6 P2B_S2S always Y 11 TXN_STATUS Char 30 Y 12 RESPCODE N Y 13 TXN_MSG Char Y 12 CHECKSUM AlphaNumeric Y
  • 3. Response: { "PG_TXN_ID": "20617", "BANK_TXN_ID": "20617", "BANK_ACC_NO": "06310120008264", "MOBILE_NO": "8587830632", "AMOUNT": "20", "CURRENCY": "INR", "MID": "klbGlV59135347348753", "ORDER_ID": "ORDER488869808", "REQUEST_TYPE": "P2B_S2S", "TXN_STATUS": "FAILED", "RESPCODE": "402", "TXN_MSG": "Invalid Response From Bank", "CHECKSUM": "sJ9KGJ7POyu+COiWnE0K3ZqPdtNFc3mqMOWQ+PtPDBNHEMFevppBLNtObSmVqCLDAeo+uxyre/mnkN84xm dUZl3nHoDcWnNPd4CMLV9+Fts=" } Response Checksum Generation: TreeMap<String,String> checksummap=new TreeMap<String, String>(); checksummap.put("PG_TXN_ID",p2bInputTO.getTxnId());
  • 4. checksummap.put("BANK_TXN_ID",p2bInputTO.getTxnId()); checksummap.put("BANK_ACC_NO", p2bInputTO.getBankAccntNum()); checksummap.put("MOBILE_NO",p2bInputTO.getMobNum() ); checksummap.put("AMOUNT", p2bInputTO.getAmount()); checksummap.put("CURRENCY",p2bInputTO.getCurrency() ); checksummap.put("MID", p2bInputTO.getMid()); checksummap.put("ORDER_ID", p2bInputTO.getOrderId()); checksummap.put("REQUEST_TYPE", p2bInputTO.getRequestType()); checksummap.put("TXN_STATUS", p2bInputTO.getTxnstatus()); checksummap.put("RESPCODE", p2bInputTO.getRespcode()); checksummap.put("TXN_MSG", p2bInputTO.getRespMessage());