Skip to content

Check Pan Pinfl Match

Karta egasining PINFL ma’lumoti yuborilgan PINFL bilan mos kelishini tekshiradi.
Agar mos kelsa true, PINFL noto‘g‘ri bo‘lsa false qaytaradi.

Endpoint Details

Method: POST
URL: BASE_URL/merchant/userCard/checkPinflMatch/
Header:

http
Authorization: Bearer <ACCESS_TOKEN>

Request Body

FieldTypeRequiredDescription
cardIdstringYesPaylov cardId
pinflstringYesFoydalanuvchi PINFL ma’lumoti

Example

json
{
  "cardId": "9630bd63-2149-4831-88a4-d1857309c88e",
  "pinfl": "52612000000009"
}

Success response

json
{
  "result": {
    "match": true
  }
}

match qiymati mos kelsa true, aks holda false bo‘ladi.

Error response

json
{
  "error": {
    "code": "permission_denied",
    "message": "permission_denied"
  }
}