Headers
Header Parameters
| Parameters | Max Length | Data types | Mandatory/Optional | Parameter Description |
| requestTimestamp | 13 | String | Mandatory | Epoch timestamp in milliseconds |
| transactionid | 20 | String | Mandatory | Unique Transaction ID |
| merchantId | 15 | String | Mandatory | Merchant identifier |
| orderId | 20 | String | Mandatory | Order Reference ID |
| clientId | 64 | String | Mandatory | Client authentication key |
| hmacSecret | 64 | String | Mandatory | HMAC Signature key |
| Content-Type | - | String | Mandatory | Must be application/json |
Request Body Parameters
| Parameters | Max Length | Data types | Mandatory/Optional/conditional | Parameter Description with samples |
| apiOperation | 10 | String | Mandatory | Must be PURCHASE |
| pTxnId | 20 | String | Mandatory | Original payment transaction ID.E.g.-111110009323 |
| amount | - | Object | Optional | Amount to refund(partial/full).E.g.-100 |
Sample Request Body
Response Body Parameters
| Parameters | Data Type | Parameter description |
| processingDateTime | String | Date and time of operation |
| apiOperation | String | Confirms operation("void") |
| status | String | Transaction status |
| merchantId | String | Merchant identifier |
| pTxnId | String | Original transaction ID voided |
| rrn | String | New RRN for voided record |
| stan | String | New STAN for voided record |
Sample Response Body