Fiscalization Uzum payment
curl --request POST \
--url https://fbox.ngrok.io/payment/uzum_confirm \
--header 'Content-Type: application/json' \
--data '
{
"payment_id": "bb75f609-6d97-4b45-9ed3-80e5fcd19ef1",
"qr_code": "https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
}
'import requests
url = "https://fbox.ngrok.io/payment/uzum_confirm"
payload = {
"payment_id": "bb75f609-6d97-4b45-9ed3-80e5fcd19ef1",
"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({
payment_id: 'bb75f609-6d97-4b45-9ed3-80e5fcd19ef1',
qr_code: 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
})
};
fetch('https://fbox.ngrok.io/payment/uzum_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://fbox.ngrok.io/payment/uzum_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([
'payment_id' => 'bb75f609-6d97-4b45-9ed3-80e5fcd19ef1',
'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://fbox.ngrok.io/payment/uzum_confirm"
payload := strings.NewReader("{\n \"payment_id\": \"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1\",\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://fbox.ngrok.io/payment/uzum_confirm")
.header("Content-Type", "application/json")
.body("{\n \"payment_id\": \"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1\",\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://fbox.ngrok.io/payment/uzum_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 \"payment_id\": \"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1\",\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": {
"payment_id": "bb75f609-6d97-4b45-9ed3-80e5fcd19ef1",
"payment_status": "SUCCESS",
"error_code": "0",
"error_message": null,
"client_phone_number": "998712565009"
},
"error": null,
"is_success": true
}{
"data": null,
"error": {
"code": 7,
"message": "{\"payment_id\":[\"This field may not be blank.\"]}",
"data": null
},
"is_success": false
}Payment
Uzum Fiscalization
Fiscalize Uzum FastPay payments
POST
/
payment
/
uzum_confirm
Fiscalization Uzum payment
curl --request POST \
--url https://fbox.ngrok.io/payment/uzum_confirm \
--header 'Content-Type: application/json' \
--data '
{
"payment_id": "bb75f609-6d97-4b45-9ed3-80e5fcd19ef1",
"qr_code": "https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
}
'import requests
url = "https://fbox.ngrok.io/payment/uzum_confirm"
payload = {
"payment_id": "bb75f609-6d97-4b45-9ed3-80e5fcd19ef1",
"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({
payment_id: 'bb75f609-6d97-4b45-9ed3-80e5fcd19ef1',
qr_code: 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
})
};
fetch('https://fbox.ngrok.io/payment/uzum_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://fbox.ngrok.io/payment/uzum_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([
'payment_id' => 'bb75f609-6d97-4b45-9ed3-80e5fcd19ef1',
'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://fbox.ngrok.io/payment/uzum_confirm"
payload := strings.NewReader("{\n \"payment_id\": \"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1\",\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://fbox.ngrok.io/payment/uzum_confirm")
.header("Content-Type", "application/json")
.body("{\n \"payment_id\": \"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1\",\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://fbox.ngrok.io/payment/uzum_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 \"payment_id\": \"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1\",\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": {
"payment_id": "bb75f609-6d97-4b45-9ed3-80e5fcd19ef1",
"payment_status": "SUCCESS",
"error_code": "0",
"error_message": null,
"client_phone_number": "998712565009"
},
"error": null,
"is_success": true
}{
"data": null,
"error": {
"code": 7,
"message": "{\"payment_id\":[\"This field may not be blank.\"]}",
"data": null
},
"is_success": false
}Overview
The Uzum Fiscalization API is used to complete (fiscalize) a previously initiated Uzum FastPay payment. This endpoint confirms the payment by attaching a fiscal receipt generated by Soliq (OFD).Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
payment_id | string | ✅ | Unique payment identifier received from Uzum FastPay payment |
qr_code | string | ✅ | URL of the fiscal receipt from Soliq (OFD) |
Response Fields
✅ Success Response
| Field | Type | Description |
|---|---|---|
data | object | Response payload |
data.payment_id | string | Payment identifier |
data.payment_status | string | Fiscalization status (SUCCESS, FAILED, etc.) |
data.error_code | string | Provider error code (0 on success) |
data.error_message | string | null | Error description (null on success) |
data.client_phone_number | string | Client phone number |
error | null | Error object (always null on success) |
is_success | boolean | Always true |
🚫 Error Response
Note: Even if there is a validation error, the server returns HTTP status 200.
| Field | Type | Description |
|---|---|---|
data | null | No data returned |
error | object | Error details |
error.code | integer | Internal validation or processing error code |
error.message | string | Human-readable error message |
error.data | any | null | Additional error details |
is_success | boolean | Always false |
Body
application/json
Unique order identifier received in the /uzum/api/apelsin-pay/merchant/v2/payment response and provided by Uzum.
Example:
"bb75f609-6d97-4b45-9ed3-80e5fcd19ef1"
Link to fiscalization transaction on Soliq
Example:
"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
⌘I

