SpotOn · Schema
OrderPayment
A payment recorded against an order check.
RestaurantPoint-of-SalePaymentsOnline OrderingReservationsReporting
Properties
| Name | Type | Description |
|---|---|---|
| paymentOptionId | string | Payment method identifier. |
| paymentName | string | Payment method name at the time of application. |
| createdAt | string | RFC 3339 timestamp when the payment was applied. |
| amount | string | Payment amount in US dollars, as a decimal string. |
| surcharges | array | Payment-level surcharges. |
| surchargesAmount | integer | Total surcharge amount. |
| tipAmount | string | Tip amount in US dollars, as a decimal string. |
| tipDeductionAmount | string | Processing fee deduction from the tip, as a decimal string. |
| tipAppliedToEmployeeId | string | Identifier of the employee the tip was applied to. |
| employeeId | string | Identifier of the employee who processed the payment. |
| employeeName | string | Name of the employee who processed the payment. |
| cardType | string | The card type used for the payment. |
| cardNumber | string | Last four digits of the card, formatted as "...XXXX". |
| cardholderName | string | Cardholder name. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OrderPayment",
"description": "A payment recorded against an order check.",
"$id": "https://raw.githubusercontent.com/api-evangelist/spoton/refs/heads/main/json-schema/restaurant-pos-export-order-payment-schema.json",
"type": "object",
"properties": {
"paymentOptionId": {
"type": "string",
"description": "Payment method identifier."
},
"paymentName": {
"type": "string",
"description": "Payment method name at the time of application."
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 timestamp when the payment was applied."
},
"amount": {
"type": "string",
"description": "Payment amount in US dollars, as a decimal string."
},
"surcharges": {
"type": "array",
"description": "Payment-level surcharges.",
"items": {
"type": "object",
"description": "A surcharge applied to an order check or payment.",
"properties": {
"surchargeId": {
"type": "string",
"description": "Surcharge identifier."
},
"surchargeName": {
"type": "string",
"description": "Surcharge name at the time of application."
},
"createdAt": {
"type": "string",
"format": "date-time",
"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": {
"$ref": "#/components/schemas/OrderTax"
}
}
}
}
},
"surchargesAmount": {
"type": "integer",
"format": "int64",
"description": "Total surcharge amount."
},
"tipAmount": {
"type": "string",
"description": "Tip amount in US dollars, as a decimal string."
},
"tipDeductionAmount": {
"type": "string",
"description": "Processing fee deduction from the tip, as a decimal string."
},
"tipAppliedToEmployeeId": {
"type": "string",
"description": "Identifier of the employee the tip was applied to."
},
"employeeId": {
"type": "string",
"description": "Identifier of the employee who processed the payment."
},
"employeeName": {
"type": "string",
"description": "Name of the employee who processed the payment."
},
"cardType": {
"type": "string",
"description": "The card type used for the payment.",
"enum": [
"Unknown",
"Amex",
"Discover",
"Manual CC",
"Mastercard",
"Visa"
]
},
"cardNumber": {
"type": "string",
"description": "Last four digits of the card, formatted as \"...XXXX\"."
},
"cardholderName": {
"type": "string",
"description": "Cardholder name."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/restaurant-pos-export-order-payment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
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.
A second provider on the same verified email joins the account you already have.