Skip to content
1 minute readFixedAgent-ready

UCP checkout sessions last 24 hours and can be retried safely

Checkout sessions carry expires_at and last 24 hours by default. Creating one again with the same idempotency key returns the same session.

The API reference for creating a UCP checkout session, describing sessions that last 24 hours and the Idempotent-Replayed answer to a repeat create.
  • Send the same idempotency key and body to get the existing session back. A different body is a conflict; a creation still in progress says when to retry.
  • A line without a price is priced from a matching catalog item. A line with no known price leaves the session incomplete.
  • An expired session cannot be updated.

Sessions do not complete a purchase: payment completion is not available yet.