{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bubblio-dev/json-schema/bubblio-dev-payment-summary-schema.json",
  "title": "PaymentSummary",
  "description": "The settled charge as receipts carry it — facts only, never a credential.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bubblio-dev-openapi.yaml#/components/schemas/PaymentSummary",
  "type": "object",
  "required": [
    "rail",
    "amount_cents",
    "currency",
    "ref"
  ],
  "properties": {
    "rail": {
      "type": "string"
    },
    "amount_cents": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "ref": {
      "type": "string",
      "description": "The provider reference (Stripe PaymentIntent / Checkout Session id)."
    }
  }
}