PTC - Request |
curl --location 'https://pgp-qa14.paytm.in/theia/api/v1/processTransaction?mid=deco1222807154519922&orderId=testF59938991109' \
--header 'Content-Type: application/json' \
--header 'Postman-Token: d28ea9b3-6e06-4ea1-a6d0-4ec9d4d29f9e,b923f255-af5b-4339-9a3a-10634a42e302' \
--header 'cache-control: no-cache,no-cache' \
--header 'Cookie: JSESSIONID=40AC47B9FFDBCE8F965BB1EB667B32DD' \
--data '{
"head": {
"version": "v1",
"requestTimestamp": 1551766556536,
"channelId": "WAP",
"txnToken": "5c1648d69b15494ba7f121b50b6b69b21718375811393"
},
"body": {
"mid": "deco1222807154519922",
"orderId": "testF59938991109",
"paymentMode": "CREDIT_CARD",
"cardInfo": "|4405230017706470|318|082027",
"authMode": "otp",
"channelCode": "",
"saveForFuture": "1",
"paymentFlow": "NONE",
"payerAccount": "",
"mpin": "",
"planId": "",
"encCardInfo": "",
"PROMO_CAMP_ID": "",
"cardTokenRequired": "",
"aggMid": "",
"account_number": "",
"storeInstrument": "1",
"eci":"05",
"acsAuthenticationToken":"AAIBCANhdAAAAABmNWFmdVAWI3A=",
"dsReferenceNumber":"e8ecd90e-692b-4a3c-8ef1-75b708cb15b3",
"acsTransactionId":"7bd21335-0020-4d2b-95b9-ba552ad11d7e",
"secureVersion3D":"2.2.0"
}
}' |
PTC Response |
{
"head": {
"responseTimestamp": "1718375840682",
"version": "v1"
},
"body": {
"resultInfo": {
"resultStatus": "S",
"resultCode": "0000",
"resultMsg": "Success",
"retry": false
},
"txnInfo": {
"BANKNAME": "IDFC FIRST Bank",
"BANKTXNID": "7183758298556787305957",
"CURRENCY": "INR",
"GATEWAYNAME": "HDFCPAY",
"MID": "deco1222807154519922",
"ORDERID": "testF59938991109",
"PAYMENTMODE": "CC",
"RESPCODE": "01",
"RESPMSG": "Txn Success",
"STATUS": "TXN_SUCCESS",
"TXNAMOUNT": "1.00",
"TXNDATE": "2024-06-14 20:07:08.0",
"TXNID": "20240614011760000008466829721016564"
},
"callBackUrl": "https://automation-pg-ext.paytm.in/mockbank/MerchantSite/bankResponse",
"riskContent": {
"eventLinkId": "grhx51b882df6f43492bb7cf50d1d5616df0"
}
}
} |