v41

latestOpenAPI 3.0.0UNLICENSEDraw.githubusercontent.com2026-07-0839165177.6 KB
Checkout Intents

Retrieve order

Retrieve the order associated with a checkout intent.

Returns the single order created when the checkout intent reached the completed state. 404 if the intent has not produced an order yet.

get/api/v1/checkout-intents/{id}/order

Path parameters

idstring required

The id of the checkout intent to look up

Response

The order

idstring required
checkoutIntentIdstring required

ID of the checkout intent that was responsible for creating this order.

createdAtstring required

Timestamp the order was persisted to Rye.

updatedAtstring required

Timestamp the order was last updated at

referenceIdstring

The referenceId you supplied on the checkout intent, echoed back so you can reconcile this order against your own records. Absent when none was supplied.

Example response

{
  "checkoutIntentId": "ci_aaa8af5c5aae4c0e8ef0172c26c65c13",
  "createdAt": "2026-03-25T00:00:00Z",
  "updatedAt": "2026-03-27T00:00:00Z",
  "referenceId": "order-1234"
}