itemCode), an error message is sent to the callback URL.{
"itemCode": "GIFTCARD_IVA_TAGLIO_100",
"giftcards": 5,
"callback": "https://webhook.site/..."
}{
"success": true,
"giftcards":
[
{
"barcode": "4443334961511",
"startValidity": "2022-06-10 00:00:00",
"endValidity": "2023-06-10 00:00:00"
},
{
"barcode": "4448332511072",
"startValidity": "2022-06-10 00:00:00",
"endValidity": "2023-06-10 00:00:00"
}
]
}{
"success": false,
"message": "itemCode not found"
}{
"success": true,
"giftcard":
{
"id": "SVILU_500_440_2000000001814",
"companyId": "XXXX",
"siteId": 500,
"branchCode": 1,
"entityCode": 440,
"cardBarcode": "2000000001814",
"issueDate": "2021-10-04 00:00:00",
"activationDate": "2021-10-04 00:00:00",
"expirationDate": "2021-11-04 00:00:00",
"flgActive": "Y",
"priceList": "1",
"priceListType": "V",
"decimalNumber": 2,
"currencySymbol": "€",
"currency": "EUR",
"originalAmount": 390,
"amount": 390,
"itemType": "FINANCIAL",
"itemSubtype": "GIFTCARD",
"itemCode": "GF440VP15_400_3",
"taxRate": 21,
"vatCode": 3,
"printerDepartmentCode": 1,
"flgNetworkUsage": "Y",
"flgPartiallyUsage": "Y",
"paymentTermCode": 201,
"flgAllowOfflineUsage": "N",
"taxation": ""
}
}{
"success": false,
"message": "barcode not found"
}{
"entityCode": 440,
"barcode": "0098260111383",
"amount": -50.0
}{
"success": true,
"id": "7571b744-8e2d-4dde-99d8-b60c0dff1aca"
}{
"success": false,
"message": "barcode not found"
}