## Endpoint 01: Get Services

### Request

```json
{
  "prd_id": "ST043"
}
```

### Response

```json
{
  "status": 1000,
  "message": "Success",
  "data": [
    {
      "id": "MPK574",
      "name": "Children's Vaccination 4 Months",
      "img": "https://img.litedev.com/images/kids-vaccination/vaccine-4m.png"
    },
    {
      "id": "MPK583",
      "name": "Children's Vaccination 5 Months",
      "img": "https://img.litedev.com/images/kids-vaccination/vaccine-5m.png"
    }
  ]
}
```

## Endpoint 02: Get Service Details

### Request

```json
{
  "id": "MPK574",
  "prd_id": "ST043"
}
```

### Response

```json
{
  "id": "MPK574",
  "name": "Children's Vaccination 4 Months",
  "img": "https://img.litedev.com/images/kids-vaccination/vaccine-4m.png",
  "desc": "ROTARIX ORAL SUSPENSION VACCINE, PREVENAR 13 PRE-FILLED SYRINGE VACCINE, HEXAXIM vaccine",
  "incs": [
    "Vaccination material, gloves, alcohol wipes, masks and sterilization for the medical team"
  ],
  "insts": [
    "You need to fast for 8 hours before a test. Do not eat or drink anything (other than water)."
  ]
}
```

## Endpoint 03: Get Providers and Slots

### Request

```json
{
  "date": "2025-11-26",
  "prd_id": "ST043",
  "gnd": "A",
  "lat": "24.7135517",
  "lng": "46.6752957",
  "services": ["MPK574"]
}
```

### 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": "Kids Vaccination",
      "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 }
      ],
      "tst_inst": [
        "You need to fast for 8 hours before a test. Do not eat or drink anything (other than water)."
      ],
      "test_details": [
        {
          "tsk_id": "MPK574",
          "tsk_nme": "Children's Vaccination 4 Months",
          "tsk_desc": "ROTARIX ORAL SUSPENSION VACCINE, PREVENAR 13 PRE-FILLED SYRINGE VACCINE, HEXAXIM vaccine",
          "inclusions": [
            "Vaccination material, gloves, alcohol wipes, masks and sterilization for the medical team"
          ]
        }
      ]
    }
  ],
  "date": "2025-11-26"
}
```

## Endpoint 04: Book Appointment

### Request

```json
{
  "eid": "HSP90",
  "gnd": "A",
  "date": "2025-09-29",
  "strt_tym": "14:00",
  "end_tym": "14:30",
  "services": ["MPK574"],
  "lat": "24.7135517",
  "lon": "46.6752957",
  "add": "PM7G+C4F, Al Olaya, Riyadh 12251, Saudi Arabia",
  "prd_id": "ST043"
}
```

### Response

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