---
title: "Create or reuse a checkout session for a public checkout link"
method: POST
path: "/orders/guest/{reference_number}/checkout"
tags: ["Orders"]
---

# Create or reuse a checkout session for a public checkout link

`POST /orders/guest/{reference_number}/checkout`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/orders/guest/{reference_number}/checkout`
- Auth: HTTP bearer

Creates (or reuses an active) Stripe Checkout Session for a public checkout link using the order reference number.

## Path parameters

- `reference_number` string, required

## Request body

- object
  - `email` string
  - `posthog_distinct_id` string

## Response `200`

Checkout Session created successfully

- object
  - `client_secret` string, nullable, required
  - `payment_status` 'NOT_STARTED' | 'OPEN' | 'PROCESSING' | 'FAILED' | 'EXPIRED' | 'PAID', required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
