Retrieve the receipt for a completed checkout

Call this after the shopper finishes paying on the hosted checkout page, using the signed reference and signature you were handed back, to render a receipt: order number, line items, and totals.

Headers

x-entriastringRequired
Identifies which store this request is for. Required on every store-scoped route. It is not authentication and not a secret — it grants no privileges and is safe to send from a browser. You receive the value once your Entria backend has been created and configured. Missing header returns 400; an unknown store returns 404.

Query parameters

refstringRequired
The cart identifier from the signed reference you were given after checkout.
sigstringRequired

The signature issued alongside ref; both must be presented together to prove the request is legitimate.

Response

The finished order, ready to render as a receipt: order number, line items, and totals.

statusenum
Allowed values:
ordermap from strings to anyOptional
paymentobjectOptional

Errors

401
Unauthorized Error