Payment Status

GET https://lexholdingsgroup.com/status/{id}

Send a GET request to the URL to determine the status of an order.

Request

Parameter Type Position # Description
id String Body Required Original ID of the order.

Response

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