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"
}
'import requests
url = "https://api.fiscalbox.uz/payment/payme_confirm"
payload = {
"payment_id": "696e0246c9a128176d5934d8",
"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: '696e0246c9a128176d5934d8',
qr_code: 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
})
};
fetch('https://api.fiscalbox.uz/payment/payme_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/payme_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' => '696e0246c9a128176d5934d8',
'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/payme_confirm"
payload := strings.NewReader("{\n \"payment_id\": \"696e0246c9a128176d5934d8\",\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/payme_confirm")
.header("Content-Type", "application/json")
.body("{\n \"payment_id\": \"696e0246c9a128176d5934d8\",\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/payme_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\": \"696e0246c9a128176d5934d8\",\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": {
"id": 123,
"result": {
"receipt": {
"_id": "696e0246c9a128176d5934d8",
"create_time": 1768816711011,
"pay_time": 1768816711555
}
},
"error": null
},
"error": null,
"is_success": true
}{
"data": null,
"error": {
"code": 105,
"message": "{\"payme_id\":[\"This field may not be null.\"]}HTTP Exception 400 Bad Request",
"data": null
},
"is_success": false
}To'lovlar
Payme fiskalizatsiyasi
Payme to’lovlarini fiskalizatsiya qilish
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"
}
'import requests
url = "https://api.fiscalbox.uz/payment/payme_confirm"
payload = {
"payment_id": "696e0246c9a128176d5934d8",
"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: '696e0246c9a128176d5934d8',
qr_code: 'https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161'
})
};
fetch('https://api.fiscalbox.uz/payment/payme_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/payme_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' => '696e0246c9a128176d5934d8',
'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/payme_confirm"
payload := strings.NewReader("{\n \"payment_id\": \"696e0246c9a128176d5934d8\",\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/payme_confirm")
.header("Content-Type", "application/json")
.body("{\n \"payment_id\": \"696e0246c9a128176d5934d8\",\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/payme_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\": \"696e0246c9a128176d5934d8\",\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": {
"id": 123,
"result": {
"receipt": {
"_id": "696e0246c9a128176d5934d8",
"create_time": 1768816711011,
"pay_time": 1768816711555
}
},
"error": null
},
"error": null,
"is_success": true
}{
"data": null,
"error": {
"code": 105,
"message": "{\"payme_id\":[\"This field may not be null.\"]}HTTP Exception 400 Bad Request",
"data": null
},
"is_success": false
}Umumiy ko’rinish
Payme Fiscalization API avval boshlangan to’lovni yakunlash (fiskalizatsiya) uchun ishlatiladi initiated Payme payment. Bu endpoint to’lovni tasdiqlaydi va Soliq (OFD) tomonidan yaratilgan fiskal chekni biriktiradi by Soliq (OFD).So’rov maydonlari
| Maydon | Turi | Majburiy | Tavsif |
|---|---|---|---|
payment_id | string | ✅ | Unique payment identifier received from Payme payment |
qr_code | string | ✅ | URL of the fiscal receipt from Soliq (OFD) |
Javob maydonlari
✅ Muvaffaqiyatli javob
| Maydon | Turi | Tavsif |
|---|---|---|
data | object | Javob ma’lumoti |
data.id | integer | Internal fiscalization ID |
data.result.receipt._id | string | Receipt identifier |
data.result.receipt.create_time | integer | Receipt creation timestamp (ms) |
data.result.receipt.pay_time | integer | Payment timestamp (ms) |
data.error | string | null | Error description (null on success) |
error | null | Error object (always null on success) |
is_success | boolean | Always true |
🚫 Xatolik javobi
| Maydon | Turi | Tavsif |
|---|---|---|
data | null | No data returned |
error | object | Error details |
error.code | integer | Internal validation or processing error code |
error.message | string | O’qilishi oson xato xabari |
error.data | any | null | Additional error details |
is_success | boolean | Always false |
Tanasi
application/json
Unique order identifier received in the /payme/go response and provided by Payme.
Misol:
"696e0246c9a128176d5934d8"
Link to fiscalization transaction on Soliq
Misol:
"https://ofd.soliq.uz/check?t=UZ170703100597&r=2421&c=20230104121801&s=514343190161"
⌘I

