This document provides information for integrating a payment processing service. It includes the live and test URLs, required fields for requests and responses, sample JSON templates, and instructions for generating checksum values for validation. Mandatory fields include bank account number, IFSC code, mobile number, sender name, amount, currency, merchant ID, order ID, and checksum. Responses return fields like transaction IDs, status, response code, and message.
1 of 4
Download to read offline
More Related Content
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