PreviewImageRequest
Properties
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
imageData |
string (BASE64) | Image data. Use null remove the current image. | ||
fitOnReceipt |
boolean (boolean) | If set to true, the preview will be generated with the receipt with, so the user can see how the image will look on the paper or electronic receipt. | ||
format |
string (PRINT | ELECTRONIC | BOTH) |
Defines which previews should be generated. PRINT, ELECTRONIC, or BOTH. |