Creates a new transaction record.
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.
Session ID associated with the transaction.
Payment processor data for the transaction.
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/transactions
- Official APIhttps://api.finalpos.com/v1/api/transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.finalpos.com/_mock/openapi/v1/api/transactions \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"externalId": "ext_txn_123",
"paymentMethod": "credit_card",
"amount": "100.00",
"currency": "USD",
"type": "sale",
"notes": "Customer paid in full",
"employee": "507f1f77bcf86cd799439011",
"balance": "0.00",
"sessionId": "507f1f77bcf86cd799439012",
"paymentData": {
"processor": "stripe",
"processorTransactionId": "pi_123",
"device": "terminal_001"
},
"orderId": "507f1f77bcf86cd799439013",
"refundId": "507f1f77bcf86cd799439014",
"outletId": "507f1f77bcf86cd799439015",
"receiptId": "RCP-2025-001"
}'The transaction has been successfully created.
Timestamp when the Transactions was created.
Timestamp when the Transactions was last updated.
Payment processor data for the transaction.
{ "id": "o1p2q3r4s5t6u7v8w9x0y1z2", "createdAt": "2025-12-07T19:31:48.436+00:00", "updatedAt": "2025-12-07T19:35:48.436+00:00", "companyId": "o1p2q3r4s5t6u7v8w9x0y1z2", "externalId": "ext_txn_123", "paymentMethod": "credit_card", "amount": "100.00", "currency": "USD", "type": "sale", "notes": "Customer paid in full", "employee": "507f1f77bcf86cd799439011", "balance": "0.00", "sessionId": "507f1f77bcf86cd799439012", "paymentData": { "processor": "stripe", "processorTransactionId": "pi_123", "device": "terminal_001" }, "orderId": "507f1f77bcf86cd799439013", "refundId": "507f1f77bcf86cd799439014", "outletId": "507f1f77bcf86cd799439015", "receiptId": "RCP-2025-001" }
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/transactions/{id}
- Official APIhttps://api.finalpos.com/v1/api/transactions/{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/transactions/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'The transaction has been successfully retrieved.
Timestamp when the Transactions was created.
Timestamp when the Transactions was last updated.
Payment processor data for the transaction.
{ "id": "o1p2q3r4s5t6u7v8w9x0y1z2", "createdAt": "2025-12-07T19:31:48.436+00:00", "updatedAt": "2025-12-07T19:35:48.436+00:00", "companyId": "o1p2q3r4s5t6u7v8w9x0y1z2", "externalId": "ext_txn_123", "paymentMethod": "credit_card", "amount": "100.00", "currency": "USD", "type": "sale", "notes": "Customer paid in full", "employee": "507f1f77bcf86cd799439011", "balance": "0.00", "sessionId": "507f1f77bcf86cd799439012", "paymentData": { "processor": "stripe", "processorTransactionId": "pi_123", "device": "terminal_001" }, "orderId": "507f1f77bcf86cd799439013", "refundId": "507f1f77bcf86cd799439014", "outletId": "507f1f77bcf86cd799439015", "receiptId": "RCP-2025-001" }
Payment processor data for the transaction.
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/transactions/{id}
- Official APIhttps://api.finalpos.com/v1/api/transactions/{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/transactions/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"externalId": "ext_txn_123",
"paymentMethod": "credit_card",
"amount": "100.00",
"currency": "USD",
"type": "sale",
"notes": "Customer paid in full",
"employee": "507f1f77bcf86cd799439011",
"balance": "0.00",
"sessionId": "507f1f77bcf86cd799439012",
"paymentData": {
"processor": "stripe",
"processorTransactionId": "pi_123",
"device": "terminal_001"
},
"orderId": "507f1f77bcf86cd799439013",
"refundId": "507f1f77bcf86cd799439014",
"outletId": "507f1f77bcf86cd799439015",
"receiptId": "RCP-2025-001"
}'The transaction has been successfully updated.
Timestamp when the Transactions was created.
Timestamp when the Transactions was last updated.
Payment processor data for the transaction.
{ "id": "o1p2q3r4s5t6u7v8w9x0y1z2", "createdAt": "2025-12-07T19:31:48.436+00:00", "updatedAt": "2025-12-07T19:35:48.436+00:00", "companyId": "o1p2q3r4s5t6u7v8w9x0y1z2", "externalId": "ext_txn_123", "paymentMethod": "credit_card", "amount": "100.00", "currency": "USD", "type": "sale", "notes": "Customer paid in full", "employee": "507f1f77bcf86cd799439011", "balance": "0.00", "sessionId": "507f1f77bcf86cd799439012", "paymentData": { "processor": "stripe", "processorTransactionId": "pi_123", "device": "terminal_001" }, "orderId": "507f1f77bcf86cd799439013", "refundId": "507f1f77bcf86cd799439014", "outletId": "507f1f77bcf86cd799439015", "receiptId": "RCP-2025-001" }
- Mock serverhttps://docs.finalpos.com/_mock/openapi/v1/api/transactions/{id}
- Official APIhttps://api.finalpos.com/v1/api/transactions/{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/transactions/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE'{ "statusCode": 200, "message": "Resource with Id 123 deleted successfully" }