Перейти к основному содержанию
POST
/
payment
/
payme_confirm
Fiscalization Payme payment
curl --request POST \
  --url https://api.fiscalbox.uz/payment/payme_confirm \
  --header 'Content-Type: application/json' \
  --data '
{
  "payment_id": "696e0246c9a128176d5934d8",
  "qr_code": "https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
}
'
{
  "data": {
    "id": 123,
    "result": {
      "receipt": {
        "_id": "696e0246c9a128176d5934d8",
        "create_time": 1768816711011,
        "pay_time": 1768816711555
      }
    },
    "error": null
  },
  "error": null,
  "is_success": true
}

Documentation Index

Fetch the complete documentation index at: https://dev.fbox.uz/llms.txt

Use this file to discover all available pages before exploring further.

Обзор

Payme Fiscalization API используется для завершения (фискализации) ранее initiated Payme payment. Эндпоинт подтверждает платеж, прикрепляя фискальный чек, сгенерированный by Soliq (OFD).

Поля запроса

ПолеТипОбяз.Описание
payment_idstringUnique payment identifier received from Payme payment
qr_codestringURL of the fiscal receipt from Soliq (OFD)

Поля ответа

✅ Успешный ответ

ПолеТипОписание
dataobjectДанные ответа
data.idintegerInternal fiscalization ID
data.result.receipt._idstringReceipt identifier
data.result.receipt.create_timeintegerReceipt creation timestamp (ms)
data.result.receipt.pay_timeintegerPayment timestamp (ms)
data.errorstring | nullError description (null on success)
errornullError object (always null on success)
is_successbooleanAlways true

🚫 Ответ с ошибкой

ПолеТипОписание
datanullNo data returned
errorobjectError details
error.codeintegerInternal validation or processing error code
error.messagestringПонятное описание ошибки
error.dataany | nullAdditional error details
is_successbooleanAlways false

Тело

application/json
payment_id
string
обязательно

Unique order identifier received in the /payme/go response and provided by Payme.

Пример:

"696e0246c9a128176d5934d8"

qr_code
string
обязательно

Link to fiscalization transaction on Soliq

Пример:

"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"

Ответ

Fiscalization successful

data
object
error
object
is_success
boolean
Пример:

true