{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/iasig-md/json-schema/iasig-md-post-v1-confirm-order-request-schema.json",
  "title": "PostV1ConfirmOrderRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/iasig-md-openapi-generated.yml#/components/schemas/PostV1ConfirmOrderRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Order ID"
    },
    "payment": {
      "type": "object",
      "description": "Payment details"
    },
    "payment.receipt_id": {
      "type": "string",
      "description": "Receipt ID, shown on customer's receipt e.g. RRN"
    },
    "payment.transaction_id": {
      "type": "string",
      "description": "Transaction ID"
    },
    "payment.paid_at": {
      "type": "number",
      "description": "Payment date, unix timestamp (milliseconds)"
    },
    "payment.amount": {
      "type": "number",
      "description": "Amount"
    },
    "payment.currency": {
      "type": "string",
      "description": "Currency code (default \"MDL\")"
    },
    "payment.pos_id": {
      "type": "string",
      "description": "POS ID"
    }
  },
  "required": [
    "id",
    "payment",
    "payment.receipt_id",
    "payment.transaction_id",
    "payment.paid_at",
    "payment.amount"
  ]
}