{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gojinko-com/json-schema/gojinko-com-post-v1-checkout-response-schema.json",
  "title": "PostV1CheckoutResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gojinko-com-openapi-generated.yml#/components/schemas/PostV1CheckoutResponse",
  "type": "object",
  "properties": {
    "quote_id": {
      "type": "string",
      "description": "The quote this checkout priced."
    },
    "quoted_cart_id": {
      "type": "integer",
      "description": "Deprecated: use `quote_id` instead."
    },
    "accepted_payment_types": {
      "type": "array",
      "description": "List of payment types accepted."
    },
    "session_id": {
      "type": "string",
      "description": "Hosted payment page session."
    },
    "checkout_url": {
      "type": "string",
      "description": "URL where the traveler pays."
    },
    "status": {
      "type": "string",
      "description": "Checkout state."
    },
    "expires_at": {
      "type": "string",
      "description": "When the quote behind this checkout lapses."
    },
    "payment_stays_open": {
      "type": "boolean",
      "description": "Whether payment can be taken after expires_at."
    },
    "payment_type": {
      "type": "string",
      "description": "Which payment rail this trip is on."
    },
    "total_amount": {
      "type": "object",
      "description": "Deprecated total amount."
    },
    "total_amount_money": {
      "type": "object",
      "description": "Trip total the checkout is priced at."
    },
    "items": {
      "type": "array",
      "description": "Trip items."
    },
    "agent_spt_params": {
      "type": "object",
      "description": "Shared Payment Token parameters."
    }
  }
}