Request Parameters

Sample Input Parameters:

<input type="hidden" name="param"
value="{"ClientID":"XXXXX",
"ClientSecret":"XXXXX",
"SessionID": "89e8e0b8590345488e8d77f410f733b7",
"ReturnURL":"https://yourdomain.com/getResponse",
"Key":"J0QJWXGYOuMaTdaGpqta6eeCWsK5VCYrzRbkhEJrcftRFpLIRuwguiKGVgNbprymhvqBtjl81Zp/7CobYaqqZ8i5GSrJx+sPMgX/tUEebhBAldomJ1fV6pMfmBriMEsS4Xr56uRupgubz/Y9tWeTSvgglu0kRv41ruPgl5ZqK/x2b+EBBnz6/8Dumw8YpIeTlR4Can41SoKpQ+MC6avsTsOgg1/klRzow5nbJNtN+m5C3oS8yziJM/zmOVVLQOVKRq9yhPRt0r+Aq5Cg617pgdcn+6W6jbJ2ka48o7EDq4+RHdLSe/TxssrONVRMf9jfHsJuEnKD5e724BH5Gg64YQ==",
"Data":"UhYG16WSqifbD3QiTMk0ht046HY8Dc0v7ngBs5gesFL3tyjCDJXok00AkcZa7GMkcgp1yO7e6CKikUIolLEiaOB/XRiqrVTQ8c+qxA/1taL/JuXnIt0w4yV7j1xZhOCkW98FgoWLXxBlrzxCAqXSEqMvXr1To7Ta3Z05hNSX08/iEdTVdSQgJjoPIyclgcS/vm8OgLbLtoEImwPpzI/7sw==",
"Hash":"c8BH1ZL0FXxglD4NhUr5jpR+WMGcGBhy1AozXb3b20cd2MptD26VXs7HP/qYFp6w/oy7G2brUMn98ylURQw436JMIgSthDmEVfbKR58GOSs="}" 
/>

Request Parameters:

Field Name

Description

Type

Max Length

Required [Yes/ No]

ClientID

Provide the client ID that was created during the application registration process

String

100

Yes

ClientSecret

Provide the client secret that was created during the application registration process

String

100

Yes

SessionID

Client application identifier for the current session if any

String

250

No

ReturnURL

The URL to redirect the user after handover control back to the calling website

String

200

Yes

Key

RSA encrypted data of randomly generated AES IV and AES KEY using CAMS public key

String

-

Yes

Data

Encrypted request data using AES algorithm

String

-

Yes

Hash

SHA 256 hash data of plain request data, further encrypted using AES algorithm

String

-

Yes

Sample Request:

{ "ClientID": "XXXXX", 
"ClientSecret": "XXXXX",
"SessionID": "89e8e0b8590345488e8d77f410f733b7", 
"ReturnURL": "https://yourdomain.com/getResponse", 
"Key": "J0QJWXGYOuMaTdaGpqta6eeCWsK5VCYrzRbkhEJrcftRFpLIRuwguiKGVgNbprymhvqBtjl81Zp/7CobYaqqZ8i5GSrJx+sPMgX/tUEebhBAldomJ1fV6pMfmBriMEsS4Xr56uRupgubz/Y9tWeTSvgglu0kRv41ruPgl5ZqK/x2b+EBBnz6/8Dumw8YpIeTlR4Can41SoKpQ+MC6avsTsOgg1/klRzow5nbJNtN+m5C3oS8yziJM/zmOVVLQOVKRq9yhPRt0r+Aq5Cg617pgdcn+6W6jbJ2ka48o7EDq4+RHdLSe/TxssrONVRMf9jfHsJuEnKD5e724BH5Gg64YQ==", 
"Data": "UhYG16WSqifbD3QiTMk0ht046HY8Dc0v7ngBs5gesFL3tyjCDJXok00AkcZa7GMkcgp1yO7e6CKikUIolLEiaOB/XRiqrVTQ8c+qxA/1taL/JuXnIt0w4yV7j1xZhOCkW98FgoWLXxBlrzxCAqXSEqMvXr1To7Ta3Z05hNSX08/iEdTVd SQgJjoPIyclgcS/vm8OgLbLtoEImwPpzI/7sw==", 
"Hash": "c8BH1ZL0FXxglD4NhUr5jpR+WMGcGBhy1AozXb3b20cd2MptD26VXs7HP/qYFp6w/oy7G2brUMn98ylURQw436JM IgSthDmEVfbKR58GOSs=" 
}

Plain Request Data:

#
Field Name
Description
Type
Max. Length
Mandatory (Yes/ No)

1

User ID

Provide the user ID that was created during the application registration process.

String

100

Yes

2

Password

Provide the password that was created during the application registration process.

String

100

Yes

3

IntermediaryID

Provide the Intermediary ID that was created during the application registration process.

String

3

Yes

4

PAN

User PAN.

String

10

Yes

5

Mobile

User Mobile Number.

String

10

No

6

Email

User Email ID.

String

150

No

7

DocumentType

Unique document type. Possible values are ADH, PAN, and DRV.

String

11

Yes

8

TranReqNo

Unique transaction request number of calling application and it should be unique for request.

String

100

Yes

Sample Request Data

{
 "UserID": "XXXXX",
 "Password": "XXXXX",
 "IntermediaryID": "H",
 "PAN": "ABCPD1234E",
 "Mobile": "",
 "Email": "",
 "DocumentType": "PAN",
 "TranReqNo": "20220317194752469_mUbzMhXCqc"
}

Last updated