curl --location --request POST 'https://your-api-server.com' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"loyaltyOfferId": "68b43b9ab72957e8ff5a6699",
"billId": "bill-456",
"loyaltyProviderId": "68230e36eb2894dfc71ed6d7",
"deviceNumber": 1,
"benefitInputs": [
{
"inputCode": "13191293454"
}
],
"customerId": "8ea2591121e636086a4a9c0992-92228",
"metadata": "{}",
"currencyCode": "CZK",
"countryCode": "CZ",
"paidAt": "2025-08-31T12:10:02.240Z",
"usedBalances": [
{
"balanceId": "SPV123",
"usedNonControllableValue": 11,
"prepaidValue": null
}
],
"usedGeneralDiscounts": [],
"paidItems": [
{
"originalCheckItemId": "svickova_bill_item_id",
"product": {
"productId": "prod-123",
"name": "Svíčková 1",
"categories": []
},
"amount": 4,
"measure": "pcs",
"vatRate": 1,
"totalPriceWithVat": 500,
"appliedBenefits": [
{
"sourceType": "balance",
"appliedFromGeneralDiscountId": null,
"appliedFromBalanceId": "SPV123",
"absoluteTotalValue": 22,
"applicationType": "discount"
}
]
}
],
"paymentsByBalances": [],
"otherPaymentsValue": 100,
"totalWithVat": 200
}'