Creates a new session record.
- Create a new session
Final POS API (1.2.4)
Welcome to the Final POS Public API—your playground for crafting the checkout and kiosk flows you want. Create your API keys in Manage (Settings > API Keys) and send them as x-api-key on every request. Customer endpoints use dynamic DTO generation so they adapt to your custom tables in real time, while the rest of the controllers follow a stable, static contract for predictable integrations.
Closing amounts by payment method.
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/session
- Official APIhttps://api.finalpos.com/v1/api/session
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.finalpos.com/_mock/openapi/v1/api/session \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"stationId": "507f1f77bcf86cd799439011",
"sessionNumber": "S-2025-001",
"openedBy": "John Doe",
"closedBy": "Jane Smith",
"openTime": "2025-01-29T09:00:00.000Z",
"closeTime": "2025-01-29T17:00:00.000Z",
"openingAmount": "200.00",
"closingAmount": "2500.00",
"closingReportData": "{}",
"notes": [
"Opened on time",
"Register balanced"
],
"closingAmounts": {
"cash": "500.00",
"card": "1500.00",
"oliverPay": "200.00"
},
"closingNote": "All transactions verified",
"openingNote": "Starting new shift"
}'The session has been successfully created.
Timestamp when the Session was created.
Timestamp when the Session was last updated.
Closing amounts by payment method.
{ "id": "o1p2q3r4s5t6u7v8w9x0y1z2", "createdAt": "2025-12-07T19:31:48.436+00:00", "updatedAt": "2025-12-07T19:35:48.436+00:00", "companyId": "o1p2q3r4s5t6u7v8w9x0y1z2", "stationId": "507f1f77bcf86cd799439011", "sessionNumber": "S-2025-001", "openedBy": "John Doe", "closedBy": "Jane Smith", "openTime": "2025-01-29T09:00:00.000Z", "closeTime": "2025-01-29T17:00:00.000Z", "openingAmount": "200.00", "closingAmount": "2500.00", "closingReportData": "{}", "notes": [ "Opened on time", "Register balanced" ], "closingAmounts": { "cash": "500.00", "card": "1500.00", "oliverPay": "200.00" }, "closingNote": "All transactions verified", "openingNote": "Starting new shift" }
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/session/{id}
- Official APIhttps://api.finalpos.com/v1/api/session/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.finalpos.com/_mock/openapi/v1/api/session/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'The session has been successfully retrieved.
Timestamp when the Session was created.
Timestamp when the Session was last updated.
Closing amounts by payment method.
{ "id": "o1p2q3r4s5t6u7v8w9x0y1z2", "createdAt": "2025-12-07T19:31:48.436+00:00", "updatedAt": "2025-12-07T19:35:48.436+00:00", "companyId": "o1p2q3r4s5t6u7v8w9x0y1z2", "stationId": "507f1f77bcf86cd799439011", "sessionNumber": "S-2025-001", "openedBy": "John Doe", "closedBy": "Jane Smith", "openTime": "2025-01-29T09:00:00.000Z", "closeTime": "2025-01-29T17:00:00.000Z", "openingAmount": "200.00", "closingAmount": "2500.00", "closingReportData": "{}", "notes": [ "Opened on time", "Register balanced" ], "closingAmounts": { "cash": "500.00", "card": "1500.00", "oliverPay": "200.00" }, "closingNote": "All transactions verified", "openingNote": "Starting new shift" }
Closing amounts by payment method.
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/session/{id}
- Official APIhttps://api.finalpos.com/v1/api/session/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.finalpos.com/_mock/openapi/v1/api/session/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"stationId": "507f1f77bcf86cd799439011",
"sessionNumber": "S-2025-001",
"openedBy": "John Doe",
"closedBy": "Jane Smith",
"openTime": "2025-01-29T09:00:00.000Z",
"closeTime": "2025-01-29T17:00:00.000Z",
"openingAmount": "200.00",
"closingAmount": "2500.00",
"closingReportData": "{}",
"notes": [
"Opened on time",
"Register balanced"
],
"closingAmounts": {
"cash": "500.00",
"card": "1500.00",
"oliverPay": "200.00"
},
"closingNote": "All transactions verified",
"openingNote": "Starting new shift"
}'The session has been successfully updated.
Timestamp when the Session was created.
Timestamp when the Session was last updated.
Closing amounts by payment method.
{ "id": "o1p2q3r4s5t6u7v8w9x0y1z2", "createdAt": "2025-12-07T19:31:48.436+00:00", "updatedAt": "2025-12-07T19:35:48.436+00:00", "companyId": "o1p2q3r4s5t6u7v8w9x0y1z2", "stationId": "507f1f77bcf86cd799439011", "sessionNumber": "S-2025-001", "openedBy": "John Doe", "closedBy": "Jane Smith", "openTime": "2025-01-29T09:00:00.000Z", "closeTime": "2025-01-29T17:00:00.000Z", "openingAmount": "200.00", "closingAmount": "2500.00", "closingReportData": "{}", "notes": [ "Opened on time", "Register balanced" ], "closingAmounts": { "cash": "500.00", "card": "1500.00", "oliverPay": "200.00" }, "closingNote": "All transactions verified", "openingNote": "Starting new shift" }
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/session/{id}
- Official APIhttps://api.finalpos.com/v1/api/session/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.finalpos.com/_mock/openapi/v1/api/session/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'{ "statusCode": 200, "message": "Resource with Id 123 deleted successfully" }