Validate Merchant

POST https://lexholdingsgroup.com/merchant/api/validate

Send a POST request to the URL to validate a merchant secret key.

Request

Parameter Type Position # Description
secret String Body Required Your secret merchant key.

Response

HTTP/1.1 200 Success
{
    "status": "success",
    "response": "Valid merchant"
}
HTTP/1.1 400 Bad Request
{
    "status": "fail",
    "response": "Invalid parameter"
}
HTTP/1.1 401 Unauthorized
{
    "status": "fail",
    "response": "Invalid merchant"
}