# 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:

<table data-header-hidden><thead><tr><th width="142"></th><th width="261"></th><th></th><th></th><th></th></tr></thead><tbody><tr><td>Field Name </td><td>Description </td><td>Type </td><td>Max Length </td><td>Required<br>[Yes/ No]</td></tr><tr><td>ClientID </td><td>Provide the client ID that was created during the application registration process </td><td>String </td><td>100</td><td>Yes </td></tr><tr><td>ClientSecret </td><td>Provide the client secret that was created during the application registration process </td><td>String </td><td>100</td><td>Yes </td></tr><tr><td>SessionID </td><td>Client application identifier for the current session if any </td><td>String </td><td>250</td><td>No </td></tr><tr><td>ReturnURL </td><td>The URL to redirect the user after handover control back to the calling website </td><td>String </td><td>200</td><td>Yes </td></tr><tr><td>Key </td><td>RSA encrypted data of randomly generated AES IV and AES KEY using CAMS public key </td><td>String </td><td>- </td><td>Yes </td></tr><tr><td>Data </td><td>Encrypted request data using AES algorithm </td><td>String </td><td>- </td><td>Yes </td></tr><tr><td>Hash </td><td>SHA 256 hash data of plain request data, further encrypted using AES algorithm </td><td>String </td><td>- </td><td>Yes </td></tr></tbody></table>

## 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:

<table><thead><tr><th width="78">#</th><th width="154">Field Name</th><th width="377">Description</th><th>Type</th><th>Max. Length</th><th>Mandatory (Yes/ No)</th></tr></thead><tbody><tr><td>1</td><td>User ID</td><td>Provide the user ID that was created during the application registration process.</td><td>String</td><td>100</td><td>Yes</td></tr><tr><td>2</td><td>Password</td><td>Provide the password that was created during the application registration process.</td><td>String</td><td>100</td><td>Yes</td></tr><tr><td>3</td><td>IntermediaryID</td><td>Provide the Intermediary ID that was created during the application registration process.</td><td>String</td><td>3</td><td>Yes</td></tr><tr><td>4</td><td>PAN</td><td>User PAN.</td><td>String</td><td>10</td><td>Yes</td></tr><tr><td>5</td><td>Mobile</td><td>User Mobile Number.</td><td>String</td><td>10</td><td>No</td></tr><tr><td>6</td><td>Email</td><td>User Email ID.</td><td>String</td><td>150</td><td>No</td></tr><tr><td>7</td><td>DocumentType</td><td>Unique document type. Possible values are ADH, PAN, and DRV.</td><td>String</td><td>11</td><td>Yes</td></tr><tr><td>8</td><td>TranReqNo</td><td>Unique transaction request number of calling application and it should be unique for request.</td><td>String</td><td>100</td><td>Yes</td></tr></tbody></table>

## Sample Request Data

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