Any charge applied to a check for something other than menu item. Typical examples include gratuity and delivery fees.
| amount | number <double> Amount in USD to be applied for |
| amountType | string The type of service charge. |
Array of objects (TaxRate) A reference to the taxes applied to the service charge, if the service charge is taxable. | |
object (ServiceChargeCriteria) Describes thresholds for when a service charge should be applied to a check. | |
| destination | string Final recipient of the funds from this service charge.
|
| entityType required | string The type of object this is. |
| externalId | string External identifier string, prefixed by the naming authority. |
| gratuity | boolean True if the service charge is a gratuity and is assigned to the owner of the check. |
| guid required | string The GUID maintained by the Toast POS. |
| name | string The name of this service charge. |
| percent | number <double> Percent fee to be applied for |
| serviceChargeCalculation | string Defines whether or not the service charge is applied before (PRE) or after (POST) discounts. This field is null for non-percent service charges. |
| taxable | boolean True if tax should be applied to the service charge. |
| taxInclusive | boolean Supports future functionality. |
| taxProrated | boolean Supports future functionality. |
{- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "name": "string",
- "amountType": "FIXED",
- "amount": 0,
- "percent": 0,
- "criteria": {
- "minCheckAmount": 0,
- "delivery": true,
- "maxCheckAmount": 0,
- "minDeliveryDistance": 0,
- "takeout": true,
- "dineIn": true
}, - "gratuity": true,
- "taxable": true,
- "applicableTaxes": [
- {
- "guid": "string",
- "entityType": "string",
- "name": "string",
- "isDefault": true,
- "rate": 0,
- "type": "PERCENT",
- "roundingType": "HALF_UP",
- "taxTable": [
- {
- "start": 0,
- "end": 0,
- "tax": 0,
- "pattern": true
}
], - "conditionalTaxRates": [
- {
- "condition": "string",
- "rate": 0
}
]
}
], - "serviceChargeCalculation": "PRE_DISCOUNT",
- "destination": "RESTAURANT",
- "taxInclusive": true,
- "taxProrated": true
}