Call this after the diner completes payment and is redirected back.
This endpoint does three things in sequence:
Returns the full order object on success, or 422 with specific errors
if the cart is invalid or payment hasn’t completed yet.
If the order was already created (e.g. duplicate call), returns the existing order.
After success, the session automatically gets a new empty cart.
Merchant storefront identifier. Provided during onboarding.
Diner session identifier. Created by GET /channel and returned in the X-Session-Id response header.
Order created successfully
Unix timestamp
Unix timestamp
Unix timestamp
Unix timestamp