Cash Register Hooks
Order number previously generated by the get_order_number endpoint.
ORD-2024-001234Integration username for authenticating the cash register request.
cashier01Integration password for authenticating the cash register request.
secretPre-order details on success, or an error response if validation fails.
Check for the presence of error_code to determine if the request succeeded.
Pre-order details on success, or an error response if validation fails.
Check for the presence of error_code to determine if the request succeeded.
Order number generated and cached, or an error if the pre-order state is invalid.
Check for the presence of error_code to determine if the request succeeded.
Order number generated and cached, or an error if the pre-order state is invalid.
Check for the presence of error_code to determine if the request succeeded.
Unique transaction identifier assigned by the cash register terminal.
TXN-20240615-001The order number associated with the active pre-order session.
ORD-2024-001234Integration username for authenticating the cash register request.
cashier01Integration password for authenticating the cash register request.
secretTotal amount to be paid. Must match the outstanding balance on the pre-order.
Used for validation unless promotions are provided, in which case
discounted_amount is used instead.
299.99Discounted total after promotions are applied. Required when promotions is provided.
Used for balance validation instead of amount.
249.99Identifier of the cash register terminal. Optional.
TERM-001Response for both successful and failed transactions.
Check the result field: "0" indicates success; any other value is an error code.
Response for both successful and failed transactions.
Check the result field: "0" indicates success; any other value is an error code.
Last updated
Was this helpful?

