username:passwordAuthorization: Basic *****************{
"identifierType": "1",
"identifierValue": "1234567891011"
}curl --location --request POST '/rest/transactionWebService/getLastTransaction' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"identifierType": "1",
"identifierValue": "1234567891011"
}'{
"responseCode": "000",
"infos": "Request successfully processed\nserver.instance.name=API-DOG preprod serveur 1 instance 1\n",
"nbItems": 1,
"ReceiptResponse": {
"currency": 1,
"transactionDate": "27/09/2025 16:30:00",
"transactionId": "A167",
"allTaxesIncludedAmount": -37.56,
"preTaxAmount": -34.58,
"cashdeskIpAddress": "127.0.0.1",
"cashdeskNumber": "2",
"discountAmount": 2.0,
"receiptNumber": "MON-TICKET-270925-1",
"EntityResponse": {
"entityIdentifier": "666666"
}
},
"TransactionItemResponse": [
{
"label": "MON ITEM DE TEST",
"mainReference": "PREMIER_ITEM_DE_TEST",
"quantity": 1.0,
"ean": "111111",
"storeReference": "12",
"universReference": "345"
}
]
}