Ürünler


Tüm Ürünler

Bu endpoint ile sahip olduğunuz bütün ürünleri listeleyebilirsiniz.

Endpoint

GET https://api.ni.net.tr/v2/services

Params

Herhangi bir parametre göndermenize gerek yoktur.

Response

{
  "status": true,
  "message": "Service list",
  "error": null,
  "data": [
    {
      "id": 00001,
      "product": "SSD VDS II",
      "recurring_amount": "23.50$",
      "first_amount": "16.45$",
      "cycle": "1",
      "next_due_date": "2024-09-16 17:53:26",
      "status": "Pending"
    },
    {
      "id": 00002,
      "product": "Başlangıç",
      "recurring_amount": "1.59$",
      "first_amount": "1.59$",
      "cycle": "1",
      "next_due_date": "2024-09-16 17:53:26",
      "status": "Pending"
    },
    {
      "id": 00003,
      "product": "SSD VDS I",
      "recurring_amount": "17.50$",
      "first_amount": "12.25$",
      "cycle": "1",
      "next_due_date": "2024-10-16 19:11:55",
      "status": "Active"
    }
  ]
}

Ürün Detayları

Yukarıdaki sorguda aldığımız ürün id'lerini kullanarak tek bir ürün için arama yapabilirsiniz.

Endpoint

GET https://api.ni.net.tr/v2/services/00001

Params

Services kısmından sonra sahip olduğunuz ürünün id numarasını yazmanız gerekmektedir.

Response

{
  "status": true,
  "message": "Service detail",
  "error": null,
  "data": {
      "id": 00001,
      "product": "SSD VDS II",
      "recurring_amount": "23.50$",
      "first_amount": "16.45$",
      "cycle": "1",
      "next_due_date": "2024-09-16 17:53:26",
      "status": "Pending"
    }
}