OrderSurcharge is a JSON Structure definition published by SpotOn, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/spoton/refs/heads/main/json-structure/restaurant-pos-export-order-surcharge-structure.json",
"name": "OrderSurcharge",
"description": "A surcharge applied to an order check or payment.",
"type": "object",
"properties": {
"surchargeId": {
"type": "string",
"description": "Surcharge identifier."
},
"surchargeName": {
"type": "string",
"description": "Surcharge name at the time of application."
},
"createdAt": {
"type": "datetime",
"description": "RFC 3339 timestamp when the surcharge was applied."
},
"amount": {
"type": "string",
"description": "Surcharge amount in US dollars, as a decimal string."
},
"taxesAmount": {
"type": "string",
"description": "Applied tax amount, as a decimal string."
},
"taxes": {
"type": "array",
"description": "Tax details.",
"items": {
"type": "object",
"description": "A tax applied to an order line, modifier, or surcharge.",
"properties": {
"taxId": {
"type": "string",
"description": "Tax identifier. Empty for splick.it orders."
},
"taxName": {
"type": "string",
"description": "Tax name at the time of application."
},
"percentage": {
"type": "string",
"description": "Tax percentage as a decimal string, for example \"6.5\"."
},
"amount": {
"type": "string",
"description": "Tax amount in US dollars, as a decimal string."
}
}
}
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.