Skip to content

Servis ma’lumotlarini olish ​

Ushbu metod xizmat bo‘yicha mijoz ma’lumotlarini qaytaradi.

Ba’zi xizmatlarda foydalanuvchining shu xizmatdagi account ma’lumotlarini qaytaradigan metod mavjud. Masalan, kommunal xizmatlar.

Metod balans, manzil, ism va account bo‘yicha boshqa zarur ma’lumotlarni qaytaradi.

Endpoint details

Method: POST
URL: BASE_URL/servicePayment/info/
Header:

http
Authorization: Bearer <ACCESS_TOKEN>

Request example

Fieldssample_dataTypeRequiredDescription
service_id9f877739-bc25-4f0f-a13f-ec485fd04250stringYesservicePayment/list/ orqali qaytgan Service ID
account{"soato": "26290", "region": "1", "customer_code": "1000000"}dictYesXizmat talab qiladigan field’lar
json
{
  "service_id": "9f877739-bc25-4f0f-a13f-ec485fd04250",
  "account": {
    "soato": "26290",
    "region": "1",
    "customer_code": "1000000"
  }
}

Response example

json
{
  "result": {
    "data": [
      {
        "name": "time",
        "value": "14.10.2024 14:53:48",
        "title": "time"
      },
      {
        "name": "fio",
        "value": "FIO - -",
        "title": "fio"
      },
      {
        "name": "address",
        "value": "Д******* Я******, 9***, 8",
        "title": "address"
      },
      {
        "name": "last_paid_date",
        "value": "2024-08-23",
        "title": "last_paid_date"
      },
      {
        "name": "pokcob",
        "value": "3431.28",
        "title": "bypass_indication"
      },
      {
        "name": "dateob",
        "value": "2024-10-08",
        "title": "bypass_date"
      },
      {
        "name": "last_paid",
        "value": "50000 UZS",
        "title": "last_paid"
      },
      {
        "name": "saldo",
        "value": "15105.15 UZS",
        "title": "balance"
      },
      {
        "name": "region",
        "value": "г. Ташкент",
        "title": "region"
      },
      {
        "name": "soato",
        "value": "26290 - Яшнабадский ЭСП",
        "title": "soato"
      },
      {
        "name": "customer_code",
        "value": "1000000",
        "title": "customer_code"
      }
    ]
  }
}