Validate
Endpoint: POST /validate/{billId}/customer
Description: Validates customer details for a specific bill ID before making a payment.
Authentication: Basic Auth (Username, Password)
Path Parameters:
billId (required): The ID of the bill (e.g., 1099).
Request Body (JSON):
{
"inputs": [
{
"value": "2",
"key": "merchantFK"
},
{
"value": "1",
"key": "accountType"
},
{
"value": "1234567",
"key": "customerId"
},
{
"value": "dot",
"key": "customerName"
},
{
"value": "100",
"key": "amount"
}
],
"billId": "1099",
"customerAccountNo": "1700415109",
"channel_ref": "122433"
}Sample Implementation
Response:
200 OK: Returns a JSON object with validation results.
Last updated