## Endpoint 01: Get Services

### API
`POST https://extct.litedev.com/v1/services`

### Request

```json
{
  "prd_id": "ST02"
}
```

### Response

```json
{
  "status": 1000,
  "message": "Success",
  "data": [
    {
      "id": "MTR67",
      "name": "Physiotherapist",
      "desc": "We offer a home physiotherapy service with specialized rehabilitation sessions to improve your health and well-being.",
      "img": "https://img.litedev.com/images/physio/jr-physiotherapist.svg"
    }
  ]
}
```

## Endpoint 02: Get Service Details

### API
`POST https://extct.litedev.com/v1/details`

### Request

```json
{
  "id": "MTR67",
  "prd_id": "ST02"
}
```

### Response

```json
{
  "status": 1000,
  "message": "Success",
  "data": {
    "id": "MTR67",
    "name": "Physiotherapist",
    "desc": "We offer a home physiotherapy service with specialized rehabilitation sessions to improve your health and well-being.",
    "img": "https://img.litedev.com/images/physio/jr-physiotherapist.svg"
  }
}
```

## Endpoint 03: Get Providers and Slots

### API
`POST https://extct.litedev.com/v1/browse`

### Required Headers

```json
{
  "Authorization": "<partner_token>",
  "Cmt": "<computed_signature>",
  "Content-Type": "application/json"
}
```

### Request

```json
{
  "date": "2026-05-01",
  "prd_id": "ST02",
  "lat": "24.7135517",
  "lng": "46.6752957",
  "services": ["MTR67"]
}
```

### Response

```json
{
  "status": 1000,
  "message": "",
  "data": [
    {
      "provider_id": "HSP90",
      "provider_name": "Sanar Care",
      "provider_img": "https://img.litedev.com/mis/5dca4718f9dca36dd84dd4e255ad6846.jfif",
      "service_type": "Home Visit",
      "usertype_nm": "Physiotherapist",
      "emp_id": "EMP462",
      "emp_nm": "Ajmal kp",
      "price": "100 SAR",
      "slots": [
        {
          "strt_tym": "13:30",
          "end_tym": "14:00",
          "slt_id": 122,
          "available": true
        },
        {
          "strt_tym": "14:00",
          "end_tym": "14:30",
          "slt_id": 123,
          "available": true
        }
      ]
    }
  ],
  "date": "2026-05-01"
}
```

## Endpoint 04: Book Appointment

### API
`POST https://extct.litedev.com/v1/book`

### Required Headers

```json
{
  "Authorization": "<partner_token>",
  "Cmt": "<computed_signature>",
  "Content-Type": "application/json"
}
```

### Request

```json
{
  "eid": "HSP90",
  "date": "2026-05-01",
  "strt_tym": "14:00",
  "end_tym": "14:30",
  "services": ["MTR67"],
  "lat": "24.7135517",
  "lon": "46.6752957",
  "add": "PM7G+C4F, Al Olaya, Riyadh 12251, Saudi Arabia",
  "prd_id": "ST02",
  "emp_id": "EMP462"
}
```

### Response

```json
{
  "status": 1000,
  "message": "success",
  "data": {
    "booking_id": "uHEuRxfQYB",
    "payment_url": "https://pcpayment.litedev.com/?pid=uHEuRxfQYB&sc=medgulf&card=true&applepay=true"
  }
}
```
