/v1/public/tenants/{organizationId}/places/{code}/ordersCreates a web order for a published place.
This documentation covers two things: Ordenlink's public web orders contract and how each organization can connect its own Square account to receive its own online payments.
Ordenlink exposes a public contract for place ordering and online checkout. The business publishes its menu, the customer creates the order from a visible place and, if the flow is prepaid, pays via an online checkout connected to the business's own account.
/v1/public/tenants/{organizationId}/places/{code}/ordersCreates a web order for a published place.
/v1/public/orders/{orderId}Queries the public status of a created order.
/v1/public/orders/{orderId}/payment-intentInitiates an online checkout for an order that requires immediate payment.
When a place requires immediate payment, the integrator must create the order, request the payment-intent for the online tender method and then query the public status until seeing payment confirmation in the business's connected account.
Create the public order with an Idempotency-Key. If the place works on prepay use paymentChoice pay_now; if the business allows later payment use pay_later.
If the order requires immediate payment, request /payment-intent with the online tender method that organization has enabled for payment in that place.
Use the URL or client secret returned by the provider to take the customer to the online checkout without exposing internal system logic.
After payment, query the public status endpoint and drive the interface with nextAction.
/v1/public/tenants/{organizationId}/places/{code}/orders/v1/public/orders/{orderId}/payment-intent/v1/public/orders/{orderId}curl -i \
-X POST "https://api.ordenlink.com/v1/public/tenants/org_123/places/mesa12/orders" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-order-20260424-0001" \
--data-raw '{
"items": [
{
"productId": "prod_123",
"quantity": 1
}
],
"customerNote": "No onion",
"paymentChoice": "pay_now",
"source": "web_menu"
}'curl -i \
-X POST "https://api.ordenlink.com/v1/public/orders/order_123/payment-intent" \
-H "Content-Type: application/json" \
-H "X-Order-Lookup-Token: public_lookup_token" \
--data-raw '{
"tenderMethod": "square_checkout"
}'curl -i \ -X GET "https://api.ordenlink.com/v1/public/orders/order_123" \ -H "X-Order-Lookup-Token: public_lookup_token"
Use Square Sandbox to validate the organization's OAuth connection, checkout initiation and payment confirmation before going to production.
When the sandbox flow is validated, the organization connects its real Square account to receive online payments in its own published places.
Recommendation: before announcing the channel as ready for customers, complete a real low-value test and verify that the payment settles in the business's own account and that the order changes to payment confirmed within Ordenlink.
This public surface is designed for ordering and checkout channels. The integrator controls its branded experience and Ordenlink receives the order in its operational flow.
Your site or landing page can create web orders and redirect the customer to an online checkout without depending on the POS.
Ordenlink can initiate the online checkout for a public order and then confirm payment before sending to kitchen.
Ecommerce, web apps or own channels can use the public API to create the order and query its status without touching private routes.
Square is presented here only as a connection for each organization's own account. Ordenlink does not use a central shared payment account across different businesses.
The public documentation shows only what's needed to integrate web ordering and online checkout. Internal platform configuration is outside this page.
Does not document internal credentials, secrets or private platform configuration.
Does not expose internal operation, kitchen or register fields within the public contract.
The open contract focuses on place ordering, public status and hosted online checkout.
Manual access tokens should not be entered in the Ordenlink UI to connect Square.
Open webhooks for third parties are not part of the public contract today.