| Field | Description | Type | Mandatory |
|---|---|---|---|
| cardsRecords | Array of card records | Array of objects | ā |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| cardBarcode | Barcode of the customer card | Text | ā |
| receiptDate | The discount will be calculated up to the provided date (format YYYY-MM-DD) | Date | ā |
{
"success": true,
"discountObjects": [
{
"discount": 15,
"discountType": "P"
}
]
}