Receipts
Get receipt by ID
Retrieve a single receipt by its identifier.
GET
/
receipts
/
{id}
Get receipt by ID
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/receipts/{id} \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/receipts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/receipts/{id}"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"id": 123,
"venue_id": 123,
"cid": "<string>",
"user_id": 123,
"terminal_id": 123,
"source": "<string>",
"customer_id": 123,
"sale_type_id": 123,
"guests": 123,
"status": 123,
"lock": true,
"total": 123,
"subtotal": 123,
"payment_methods": [
{
"id": 123,
"name": "<string>",
"amount": 123
}
],
"fiscal_id": "<string>",
"discount_type": 123,
"discount_value": 123,
"service_charge": 123,
"delivery_fee": 123,
"order_status": "<string>",
"order_number": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"closed_at": "<string>",
"deleted_at": "<string>"
},
"message": "<string>",
"time": 123,
"timestamp": "<string>",
"unix": 123
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Was this page helpful?
⌘I
Get receipt by ID
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/receipts/{id} \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/receipts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/receipts/{id}"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"id": 123,
"venue_id": 123,
"cid": "<string>",
"user_id": 123,
"terminal_id": 123,
"source": "<string>",
"customer_id": 123,
"sale_type_id": 123,
"guests": 123,
"status": 123,
"lock": true,
"total": 123,
"subtotal": 123,
"payment_methods": [
{
"id": 123,
"name": "<string>",
"amount": 123
}
],
"fiscal_id": "<string>",
"discount_type": 123,
"discount_value": 123,
"service_charge": 123,
"delivery_fee": 123,
"order_status": "<string>",
"order_number": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"closed_at": "<string>",
"deleted_at": "<string>"
},
"message": "<string>",
"time": 123,
"timestamp": "<string>",
"unix": 123
}{
"error": "<string>",
"message": "<string>",
"details": {}
}