{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/origin-energy/main/json-schema/origin-energy-ad-hoc-response-schema.json",
  "title": "AdHocResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/origin-energy-accounts-api-openapi.yml#/components/schemas/AdHocResponse",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "title": "The monetary amount in cents"
    },
    "payment_date": {
      "type": "string",
      "format": "date",
      "title": "Date of the payment"
    },
    "reference": {
      "type": "string",
      "title": "Reference of the payment"
    },
    "surcharge_amount": {
      "type": "integer",
      "title": "Extra fee passed on to customers to recover the cost of accepting card payments."
    }
  },
  "required": [
    "amount",
    "payment_date",
    "reference"
  ]
}