{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api13.arm20.com/v1/schemas/pos.prro_retry_check_payment.json","title":"pos.prro_retry_check_payment","description":"Перевіряє оплату чека перед повторною фіскалізацією.","type":"object","required":["request","response"],"additionalProperties":false,"properties":{"request":{"oneOf":[{"type":"object","required":["method","params"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_retry_check_payment"},"params":{"type":"object","additionalProperties":false,"properties":{"cnc":{"type":"string","maxLength":4096,"minLength":1,"title":"Номер пов’язаного чека","example":"Приклад","description":"Поле «Номер пов’язаного чека» відповідного документа або довідника ARM20. Передавайте значення так, як воно зберігається у Windows.","x-api13-group":"Додаткові"}},"required":["cnc"]},"id":{"type":["string","integer","null"]}}}]},"response":{"oneOf":[{"type":"object","required":["ok","data","request_id"],"additionalProperties":false,"properties":{"ok":{"const":true},"data":{"type":"object","required":["method","result","id"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_retry_check_payment"},"result":{"type":"object","required":["upstream","status","rows"],"additionalProperties":false,"properties":{"upstream":{"type":"object","required":["name","version","resource"],"additionalProperties":false,"properties":{"name":{"const":"UPMAPI"},"version":{"type":"string"},"resource":{"type":"string"}}},"status":{"type":"object","required":["code","operation","value"],"additionalProperties":false,"properties":{"code":{"const":"OK"},"operation":{"type":"string"},"value":{"type":"string"}}},"rows":{"type":"array","items":{"type":"object","required":["payment_type"],"additionalProperties":false,"properties":{"payment_type":{"type":"string","title":"Payment type","description":"Повернене значення «Payment type» відповідного запису, документа або підсумку ARM20.","example":"Приклад"}}}}}},"id":{"type":["string","integer","null"]}}},"request_id":{"type":"string"}}}]}},"x-api13-operation":{"description":"Перевіряє оплату чека перед повторною фіскалізацією.","scope":"pos.read","params":{"cnc":{"type":"string","max":4096,"required":true,"title":"Номер пов’язаного чека","description":"Поле «Номер пов’язаного чека» відповідного документа або довідника ARM20. Передавайте значення так, як воно зберігається у Windows.","group":"Додаткові","example":"Приклад"}},"result":{"mode":"rows","columns":["payment_type"],"field_specs":{"payment_type":{"title":"Payment type","description":"Повернене значення «Payment type» відповідного запису, документа або підсумку ARM20.","type":"string","example":"Приклад"}}},"mutating":false,"idempotency_required":false,"since":"0.4.0","stability":"stable","deprecated":false,"aliases":["pos","prro retry check payment","Перевіряє оплату чека перед повторною фіскалізацією.","Windows Каса"],"errors":[{"code":"INVALID_PARAMETER","http":422,"description":"Один із параметрів має неправильний тип, формат або значення.","retry":"Виправити запит; автоматично не повторювати."},{"code":"UPSTREAM_FAILURE","http":502,"description":"Сервер бізнес-операції недоступний або відхилив безпечний контракт.","retry":"Дозволений повтор із backoff."}],"related_methods":["pos.prro_fiscal_error_move_empty_order","pos.prro_fiscal_lookup","pos.prro_fiscal_order_tax_update","pos.prro_fiscal_restore_from_error"]}}