Properties
| Name | Type | Description |
|---|---|---|
| logo | string | The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px. |
| promptBeforePrinting | boolean | Indicates whether a screen appears asking if you want to print the shopper receipt. |
| qrCodeData | string | Data to print on the receipt as a QR code. This can include static text and the following variables: - `${merchantreference}`: the merchant reference of the transaction. - `${pspreference}`: the PSP r |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ReceiptOptions",
"title": "ReceiptOptions",
"properties": {
"logo": {
"description": "The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px.",
"maxLength": 350000,
"type": "string"
},
"promptBeforePrinting": {
"description": "Indicates whether a screen appears asking if you want to print the shopper receipt.",
"type": "boolean"
},
"qrCodeData": {
"description": "Data to print on the receipt as a QR code. This can include static text and the following variables:\n\n- `${merchantreference}`: the merchant reference of the transaction.\n- `${pspreference}`: the PSP reference of the transaction.\n\n For example, **http://www.example.com/order/${pspreference}/${merchantreference}**.",
"type": "string"
}
},
"type": "object"
}