SetQrCodeUrl
[POST] .../v1/pos/doccheque/setqrcodeurl
Adds fiscal URL to a cheque. Use this method to save the fiscal QR code URL on a POS cheque after payment fiscalization has completed. The request requires uuid and qrcode_url, updates the cheque locked by uuid and returns row_affected on success. The persistent layer checks the current request user and requires the cheque to be in Paying status; missing fields, invalid cheque state, lookup failures and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| qrcode_url | String | Required | Fiscal URL. |
| uuid | String | Required | Cheque UUID. |
Request Example
{
"qrcode_url": "string",
"uuid": "00000000-0000-0000-0000-000000000000"
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"ids": [
null
],
"row_affected": 1
}
}