Orders

Create or reuse a checkout session for a public checkout link

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

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

Path parameters

reference_numberstring required

Request body

emailstring
posthog_distinct_idstring

Response

Checkout Session created successfully

client_secretstring nullable required
payment_status'NOT_STARTED' | 'OPEN' | 'PROCESSING' | 'FAILED' | 'EXPIRED' | 'PAID' required

Example response

{
  "payment_status": "OPEN"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.