Перейти к основному содержанию
POST
/
payment
/
anor_confirm
Fiscalization Anor payment
curl --request POST \
  --url https://api.fiscalbox.uz/payment/anor_confirm \
  --header 'Content-Type: application/json' \
  --data '
{
  "transaction_id": "a12fc00f-5af5-65b8-adf8-74bff44680ee",
  "qr_code": "https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
}
'
{
  "data": {
    "message": "Fiscalization completed successfully",
    "error_code": 0,
    "payment_id": 123456,
    "transaction_id": "a12fc00f-5af5-65b8-adf8-74bff44680ee"
  },
  "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.

Обзор

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

Поля запроса

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

Поля ответа

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

ПолеТипОписание
dataobjectДанные ответа
data.messagestringПонятное описание ошибки by provider
data.error_codeintegererror_code provided by Provider
data.payment_idintegerUnique payment identifier received from Anor payment
data.transaction_idstring | nullUnique transaction identifier received from Anor payment
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
transaction_id
string
обязательно

Unique transaction identifier received from Anor payment

Пример:

"a12fc00f-5af5-65b8-adf8-74bff44680ee"

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

URL of the fiscal receipt from Soliq (OFD)

Пример:

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

Ответ

Fiscalization processed (success or error)

data
object
error
string | null
is_success
boolean
Пример:

true