Cash Basket Transfer
The basket transfer transaction is carried out using the referenceCode value you assigned when creating your basket.
In this profile, Ödeal requests the basket details from the partner's basket address via a GET request.
Beforehand, the basket URL you created must be defined on the Ödeal side.
How It Works
The application is triggered when a request is sent by the partner to the following URL:
https://basket.ode.al/{referenceCode}Following this, Ödeal sends a request to the basketUrl address you provided, using the relevant referenceCode, in order to retrieve the basket details.
Basket Detail Format
The basket detail you return for the relevant referenceCode must be in the following format:
{
"referenceCode": "", // The referenceCode value you sent to basket.ode.al is placed here.
"receiptInfo": {
"Table No": "",
"Order No": ""
},
"employeeInfo": {
"employeeReferenceCode": "",
"name": "",
"surname": "",
"identityNumber": "",
"gsmNumber": "",
"mailAddress": null
},
"customerInfo": {
"type": "INDIVIDUAL",
"title": null,
"name": "",
"surname": "",
"identityNumber": "",
"taxNumber": null,
"taxOffice": null,
"gsmNumber": "",
"email": "",
"city": "",
"town": "",
"address": "",
"referenceCode": ""
},
"products": [
{
"referenceCode": "",
"name": "",
"quantity": 2,
"unitCode": "C62",
"price": {
"grossPrice": 32,
"vatRatio": 10,
"sctRatio": 0
}
},
{
"referenceCode": "",
"name": "",
"quantity": 1,
"unitCode": "",
"price": {
"grossPrice": 36,
"vatRatio": 10,
"sctRatio": 0
}
}
],
"basketPrice": {
"grossPrice": 100
},
"paymentOptions": [
{
"type": "CASH",
"amount": 100
}
]
}Important
When handling the request, you must return a response in the format above, using the referenceCode parameter received at your basketUrl address.

