Orders

Generate a hosted checkout link for an order

Generate a signed, short-lived URL that drops a customer into the site's hosted checkout flow with this order pre-loaded. Used when an operator builds an order on the customer's behalf — for example a concierge booking by phone — and wants to hand the final payment step over to the customer via email or SMS.

The link is valid for 15 minutes from issue. Each call mints a fresh URL; older links continue to work until their own expiry.

Returns 400 Bad Request if the order is in a state that no longer accepts updates (settled, cancelled, etc.).

post/shop/orders/{orderId}/checkout-link

Response

A short-lived hosted-checkout URL for the order.

urlstring uri required

The signed checkout URL. Valid for 15 minutes from issue. Share with the customer via email or SMS to hand off the payment step.

Example response

{
  "url": "https://example.trybe.app/checkout/hydrate?..."
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.