REQUEST_TYPE
String(50)
Mandatory
|
This parameter is used to identify the transaction flow. Its value for different flows is mentioned below:
- 'ADD_MONEY' for the add money request.
|
|
|
MID
String(20)
Mandatory
|
This is a unique identifier provided to every merchant by Paytm. MID is part of your account credentials and is different on staging and production environment. Your staging MID is available here & production MID will be available once your activation is complete. |
|
|
ORDER_ID
String(50)
Mandatory
|
Unique reference ID for an Order request which is generated by merchant and sent in the transaction request payload. Duplicate order request is rejected by Paytm. It's alphanumeric and special character allowed are “@” “-” “_” “. |
” “.”. |
|
CUST_ID
String(64)
Mandatory
|
This parameter is the unique reference ID for every customer and is generated by the merchant. The allowed special characters for this parameter are @, ! ,_ ,$, . |
|
|
TXN_AMOUNT
String(10)
Mandatory
|
This is the “Transaction Amount” that is to be charged the customer’s credit card /debit card /bank account / Paytm Wallet. Should contain digits up to two decimal points. The only special character allowed is (“.”) . Please ensure that the amount is in the same currency as defined for the Merchant ID being used. |
|
|
CHANNEL_ID
String(3)
Mandatory
|
Channel through which API call is initiated. For websites, the value to be passed should be "WEB" and for Mobile websites/App, the value to be passed should be "WAP"
This parameter is used to control the theme of the payment page. Based on the channel passed, Paytm will render the layout suitable for that specific platform. |
|
|
INDUSTRY_TYPE_ID
String(20)
Mandatory
|
Industry type should pass here. This will be provided by Paytm. Ex: “Retail” |
|
|
WEBSITE
String(30)
Mandatory
|
WEBSITE Name should be passed here. This will be provided by Paytm |
|
|
CHECKSUMHASH
String(108)
Optional
|
Signature encryption for validation. It's value to be sent should be the checksum string created by using Paytm checksum library available here. The checksum is used to ensure data is not tempered when a request is posted in APIs. In the case of checksum mismatch due to data tempering Paytm will reject the request. |
|
|
SSO_TOKEN
String(36)
Mandatory
|
This is a unique token linked with the user's Paytm wallet and is provided in the response while linking user's Paytm wallet. |
|
|
CALLBACK_URL
String(255) Mandatory
|
On completion of the transaction, Paytm payment gateway will send the response on this URL. This can be a dynamic response URL provided by the merchant. Sample URL to be sent by the merchant is "https://merchant.com/callback/" |
|
|