QR Request:
Headers
Request Body Parameters
Parameters | Description | Min Length | Max Length | Data type | Mandatory/Optional |
payeeVPA | Payee's VPA of Merchant for Payment Collection (e.g- 63705423781902@nsdl ) | 1 | 100 | String | Mandatory |
paymentMode | Payment Mode (e.g., QR) | 1 | 10 | String | Mandatory |
txnAmount | Transaction amount for which transaction is initiated Min: 1 Max: 100000.00 | 1 | 10 | String | Mandatory |
channelId | Channel Identifier Web: “WEBUSER” Android: “Android” | 1 | 10 | String | Mandatory |
txnNote | Transaction Note | 1 | 50 | String | Mandatory |
clientRefId | Unique client reference needs to be generated by partner/Merchant for each transaction | 10 | 19 | String | Mandatory |
merchantType | Type of Merchant Default Value: AGGREGATE | 1 | 10 | String | Mandatory |
expiryTime | Time in Minutes Min Time: 1 Max Time: 30 | 1 | 2 | String | Mandatory |
mobilenumber | Mobile Number of Customer | 10 | 10 | String | Mandatory |
Sample Request Body
Encrypted Sample Request Body
Response Body Parameters
Parameters | Description | Min Length | Max Length | Data type |
amount | Transaction amount for which the transaction is initiated | 1 | 10 | Integer |
clientRefId | Unique client reference ID needs to be generated by partner/Merchant for each new transaction | 10 | 19 | String |
intentData | UPI Intent URL (null for QR) | NA | Na | string |
payeeVPA | Payee's VPA of Merchant for Payment Collection | 1 | 100 | String |
payerVPA | Payer’s UPI ID | 1 | 100 | String |
paymentState | State of the Payment | 1 | 10 | String |
qrData | Base64 Encoded QR Data, which needs to be converted into a QR to collect payment | NA | Na | String |
status | Status of Transaction Initiation | 1 | 10 | String |
statusCode | Status Code | 1 | 3 | String |
statusDesc | Status Description | 1 | 50 | String |
txnId | Generated Transaction ID | 18 | 58 | string |
Sample Response Body
SUCCESS:
SUCCESS(Encrypted):
FAILED:
Amount is missing:
Client Reference ID is missing:
Note:
Any missing or invalid mandatory field will generate a Failed response.
Status Codes
Status | Status Code | Description |
INITIATED | 0 | Qr generated successfully |
FAILED | -1 | QR generation failed due to invalid request |
INTENT Request:
Headers
Request Body Parameters
Parameters | Description | Min Length | Max Length | Data type | Mandatory/Optional |
payeeVPA | Payee's VPA of Merchant for Payment Collection (e.g- 63705423781902@nsdl ) | 1 | 100 | String | Mandatory |
paymentMode | Payment Mode (INTENT) | 1 | 10 | String | Mandatory |
txnAmount | Transaction amount for which transaction is initiated Min: 1 Max: 100000.00 | 1 | 10 | String | Mandatory |
channelId | Channel Identifier Web: “WEBUSER” Android: “Android” | 1 | 10 | String | Mandatory |
txnNote | Transaction Note | 1 | 50 | String | Mandatory |
clientRefId | Unique client reference needs to be generated by partner/Merchant for each transaction | 10 | 19 | String | Mandatory |
merchantType | Type of Merchant Default Value: AGGREGATE | 1 | 10 | String | Mandatory |
expiryTime | Time in Minutes Min Time: 1 Max Time: 30 | 1 | 2 | String | Mandatory |
mobilenumber | Mobile Number of Customer | 10 | 10 | String | Mandatory |
Sample Request Body
Encrypted Sample Request Body
Response Body Parameters
Parameters | Description | Min Length | Max Length | Data type |
amount | Transaction amount for which the transaction is initiated | 1 | 10 | Integer |
clientRefId | Unique client reference ID needs to be generated by partner/Merchant for each new transaction | 10 | 19 | String |
intentData | UPI Intent URL (null for QR) | NA | Na | string |
payeeVPA | Payee's VPA of Merchant for Payment Collection | 1 | 100 | String |
payerVPA | Payer’s UPI ID | 1 | 100 | String |
paymentState | State of the Payment | 1 | 10 | String |
qrData | Base64 Encoded QR Data, which needs to be converted into a QR to collect payment | NA | Na | String |
status | Status of Transaction Initiation | 1 | 10 | String |
statusCode | Status Code | 1 | 3 | String |
statusDesc | Status Description | 1 | 50 | String |
txnId | Generated Transaction ID | 18 | 58 | string |
Sample Response Body
SUCCESS:
SUCCESS(Encrypted):
FAILED:
Amount is blank:
Client Reference ID is blank:
Note:
Any missing or invalid mandatory field will generate a Failed response.
Status Codes
Status | Status Code | Description |
INITIATED | 0 | Qr generated successfully |
FAILED | -1 | QR generation failed due to invalid request |