Skip to content

Service Payment tranzaksiyasini to‘lash ​

Ushbu metod tranzaksiya muvaffaqiyatli bajarilsa transactionId qaytaradi.

Endpoint details ​

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

http
Authorization: Bearer <ACCESS_TOKEN>

Request Fields

Fieldsample_dataTypeRequiredDescription
transactionIdb6135bb4-ef3c-4ab1-a5aa-db174a9bdc26stringYes/servicePayment/create/ metodi qaytargan transactionId
cardId9f877739-2149-4831-88a4-d1857309c77cstringYesPaylov tizimida yaratilgan cardId
userId007stringNouserId (merchant tomonidan berilgan ID)
otp123456stringNocreate metodida yuborilgan OTP’ni tekshirish uchun ishlatiladi. Agar create metodida cardId yuborilgan bo‘lsa, bu maydon majburiy bo‘ladi

Request example

json
{
  "transactionId": "b6135bb4-ef3c-4ab1-a5aa-db174a9bdc26",
  "cardId": "9f877739-2149-4831-88a4-d1857309c77c",
  "userId": "007"
}

Response example

json
{
  "result": {
    "transactionId": "b6135bb4-ef3c-4ab1-a5aa-db174a9bdc26",
    "cardId": "9f877739-2149-4831-88a4-d1857309c77c",
    "payedAt": "2024-10-14 15:07:23",
    "paymentRef": "023581615065",
    "eposMerchant": "90510020873",
    "eposTerminal": "92902804"
  }
}