Чеки
Get Receipt Print Blocks
Отримання чека блоками для друку з мобільного застосунку: текст лишається текстом, зображення, QR та штрихкоди приходять окремими блоками на своїх місцях.
QR та штрихкоди віддаються значенням, а не картинкою — малює їх застосунок. Невідомий type блока слід пропускати, а не падати: формат розширюватиметься.
get/api/v1/receipts/{receipt_id}/print-blocks
Request
- Base URL: https://api.checkbox.ua (the document declares no server; this is the origin it was published from)
- URL: https://api.checkbox.ua/api/v1/receipts/{receipt_id}/print-blocks
- Auth: none declared
Path parameters
Query parameters
is_second_copyboolean
Номер примірника для чеків валютообміну
widthinteger
Print area width in characters
organization_idstring uuid
Headers
X-Client-Namestring
Назва клієнту або сервісу що інтегрується з API, наприклад 'My Custom SDK'
X-Client-Versionstring
Номер версії клієнту що інтегрується з API, наприклад 'v1.2.5'
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.