Skip to content

K7 Antivirus API

Overview

The K7 Antivirus API is a multi-step API that enables users to access product details and process payments for K7 antivirus products. The API includes two primary endpoints: the K7 Product Detail API for retrieving product information and the K7 Product Payment API for handling transactions.

1. K7 Product Detail API

This endpoint retrieves a list of available K7 antivirus products along with their details.

Request

  • Request URL: {{base_url}}/api/products/k7-antivirus/
  • Request Method: GET
  • Service Params:

{
    "token": "\ Token\ "
}

Response

The response returns a JSON object indicating the status and an array of product details.


{
    "status": true,
    "data": [
        {
            "idx": "NJfrJbEmsewrrEUE4rskhE",
            "name": "K7 Antivirus Premium 1PC-1Year",
            "value": "KAP 1PC-1Year",
            "amount": 1000.0
        },
        {
            "idx": "j8rQoSCnqN3jLvVBWqG6s7",
            "name": "K7 Antivirus Premium 3PC-1Year",
            "value": "KAP 3PC-1Year",
            "amount": 2000.0
        },
        {
            "idx": "uN89sY9KuGgv4ZCc2btxTM",
            "name": "K7 Total Security 1PC-1Year",
            "value": "KTS 1PC-1Year",
            "amount": 1500.0
        },
        {
            "idx": "hHd8YQNfhvtBKAmU64fBNF",
            "name": "K7 Total Security 1PC-2Year",
            "value": "KTS 1PC-2Year",
            "amount": 2500.0
        },
        {
            "idx": "DUjRTWf2o7MDYect9z9JfT",
            "name": "K7 Total Security 3PC-1Year",
            "value": "K7 Total Security 3PC-1Year",
            "amount": 3000.0
        },
        {
            "idx": "XJCSYM2hwgJsLiwpj3JtzX",
            "name": "K7 Total Security 1PC-3Year",
            "value": "KTS 1PC-3Year",
            "amount": 3000.0
        },
        {
            "idx": "kjyzc2ioAYyzn8Df4FVtGc",
            "name": "K7 Total Security 5PC-1Year",
            "value": "KTS 5PC-1Year",
            "amount": 5000.0
        },
        {
            "idx": "U5RLMAEt49jz68ZaeFJ3hU",
            "name": "K7 Ultimate Security 1PC-1Year",
            "value": "KUS 1PC-1Year",
            "amount": 2500.0
        },
        {
            "idx": "EMY25yWrtdC7cTDtuih5aY",
            "name": "K7 Ultimate Security 3PC-1Year",
            "value": "K7 Ultimate Security 3PC-1Year",
            "amount": 5000.0
        },
        {
            "idx": "S9rgyuRD3upbknVePoJcPP",
            "name": "K7 Ultimate Security 1PC-3Year",
            "value": "KUS 1PC-3Year",
            "amount": 5000.0
        },
        {
            "idx": "DQm3YvbKesFzmutm5ymm8M",
            "name": "K7 Ultimate Security 5Devices-1Year",
            "value": "KUS 5Devices-1Year",
            "amount": 8500.0
        },
        {
            "idx": "iZJ36Zk4yfMv7x2nVtXNsm",
            "name": "K7 Mobile Security 1Android Device-1Year",
            "value": "KMSA Device-1Year",
            "amount": 1000.0
        }
    ]
}

2. K7 Product Payment API

This endpoint processes the payment for the selected K7 antivirus product.

Request

  • Request URL: {{base_url}}/api/use/k7-antivirus/
  • Request Method: POST
  • Service Params:

{
    "value": "KAP 1PC-1Year",  // from detail API
    "amount": 1000,
    "reference": "\ unique identifier for each request\ ",
    "token": "\ token\ "
}

Response

The response will indicate the transaction status and provide the PIN number along with other transaction details.


{
    "status": true,
    "state": "Success",
    "message": "Your Pin number is 'PinKAP 1PC-1Year92'",
    "serial": "SerialKAP 1PC-1Year92",
    "pin": "AP 1PC-1Year01",
    "credits_consumed": 1000.0,
    "credits_available": 96496048.0450002,
    "id": 7908
}