Receipt.CheckQRCodeUrl

Validates whether the URL read from a receipt's QR code matches the required format.

Input parameters

Name Data type Required Description
QRCodeURL String Required String containing the URL from the receipt's QR code

Request example

{
   "id": 1,
   "method": "Receipt.CheckQRcodeUrl",
   "params": { "QRCodeURL": "https://ofd.soliq.uz/check?t=UZ210108160541&r=20&c=20220531161950&s=345411154713" },
   "auth": "a2Fzc2E6a2FzMTIzNDU2",
   "jsonrpc": "2.0"
}

Output parameters

Name Data type Description
result Boolean true: the URL is valid; false: the URL is invalid

Response example

{
"id": 1,
"ok": true,
"result": true,
"jsonrpc": "2.0"
}