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"
}
'import requests
url = "https://api.fiscalbox.uz/payment/anor_confirm"
payload = {
"transaction_id": "a12fc00f-5af5-65b8-adf8-74bff44680ee",
"qr_code": "https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
transaction_id: 'a12fc00f-5af5-65b8-adf8-74bff44680ee',
qr_code: 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
})
};
fetch('https://api.fiscalbox.uz/payment/anor_confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fiscalbox.uz/payment/anor_confirm",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'transaction_id' => 'a12fc00f-5af5-65b8-adf8-74bff44680ee',
'qr_code' => 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fiscalbox.uz/payment/anor_confirm"
payload := strings.NewReader("{\n \"transaction_id\": \"a12fc00f-5af5-65b8-adf8-74bff44680ee\",\n \"qr_code\": \"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fiscalbox.uz/payment/anor_confirm")
.header("Content-Type", "application/json")
.body("{\n \"transaction_id\": \"a12fc00f-5af5-65b8-adf8-74bff44680ee\",\n \"qr_code\": \"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fiscalbox.uz/payment/anor_confirm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"transaction_id\": \"a12fc00f-5af5-65b8-adf8-74bff44680ee\",\n \"qr_code\": \"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"message": "Fiscalization completed successfully",
"error_code": 0,
"payment_id": 123456,
"transaction_id": "a12fc00f-5af5-65b8-adf8-74bff44680ee"
},
"error": null,
"is_success": true
}Платежи
Фискализация Anor
Фискализация платежей Anor
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"
}
'import requests
url = "https://api.fiscalbox.uz/payment/anor_confirm"
payload = {
"transaction_id": "a12fc00f-5af5-65b8-adf8-74bff44680ee",
"qr_code": "https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
transaction_id: 'a12fc00f-5af5-65b8-adf8-74bff44680ee',
qr_code: 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
})
};
fetch('https://api.fiscalbox.uz/payment/anor_confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fiscalbox.uz/payment/anor_confirm",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'transaction_id' => 'a12fc00f-5af5-65b8-adf8-74bff44680ee',
'qr_code' => 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fiscalbox.uz/payment/anor_confirm"
payload := strings.NewReader("{\n \"transaction_id\": \"a12fc00f-5af5-65b8-adf8-74bff44680ee\",\n \"qr_code\": \"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fiscalbox.uz/payment/anor_confirm")
.header("Content-Type", "application/json")
.body("{\n \"transaction_id\": \"a12fc00f-5af5-65b8-adf8-74bff44680ee\",\n \"qr_code\": \"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fiscalbox.uz/payment/anor_confirm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"transaction_id\": \"a12fc00f-5af5-65b8-adf8-74bff44680ee\",\n \"qr_code\": \"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"message": "Fiscalization completed successfully",
"error_code": 0,
"payment_id": 123456,
"transaction_id": "a12fc00f-5af5-65b8-adf8-74bff44680ee"
},
"error": null,
"is_success": true
}Обзор
Anor Fiscalization API используется для завершения (фискализации) ранее initiated Anor payment. Эндпоинт подтверждает платеж, прикрепляя фискальный чек, сгенерированный by Soliq (OFD).Поля запроса
| Поле | Тип | Обяз. | Описание |
|---|---|---|---|
transaction_id | string | ✅ | Unique transaction (payment) identifier received from Anor payment |
qr_code | string | ✅ | URL of the fiscal receipt from Soliq (OFD) |
Поля ответа
✅ Успешный ответ
| Поле | Тип | Описание |
|---|---|---|
data | object | Данные ответа |
data.message | string | Понятное описание ошибки by provider |
data.error_code | integer | error_code provided by Provider |
data.payment_id | integer | Unique payment identifier received from Anor payment |
data.transaction_id | string | null | Unique transaction identifier received from Anor payment |
error | null | Error object (always null on success) |
is_success | boolean | Always true |
🚫 Ответ с ошибкой
| Поле | Тип | Описание |
|---|---|---|
data | null | No data returned |
error | object | Error details |
error.code | integer | Internal validation or processing error code |
error.message | string | Понятное описание ошибки |
error.data | any | null | Additional error details |
is_success | boolean | Always false |
Тело
application/json
⌘I

