{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/indebted/json-schema/indebted-post-v13-d132-b186-b6-f4-f7-cb4646-a8-ee7-ca5235-allocate-account-payment-schema.json",
  "title": "PostV13D132B186B6F4F7CB4646A8Ee7Ca5235AllocateAccountPayment",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/indebted-openapi-generated.yml#/components/schemas/PostV13D132B186B6F4F7CB4646A8Ee7Ca5235AllocateAccountPayment",
  "type": "object",
  "properties": {
    "accountReference": {
      "type": "string",
      "description": "Reference identifying the account."
    },
    "currency": {
      "type": "string",
      "description": "Three‑letter ISO currency code."
    },
    "totalAmount": {
      "type": "integer",
      "description": "Lump‑sum payment amount in cents."
    },
    "providerName": {
      "type": "string",
      "description": "Name of the payment provider."
    },
    "trackingId": {
      "type": "string",
      "description": "Correlation handle supplied by the caller."
    },
    "paymentReference": {
      "type": "string",
      "description": "Reference for the payment."
    },
    "matchStrategy": {
      "type": "string",
      "description": "Allocation strategy; defaults to OLDEST_FIRST."
    }
  },
  "required": [
    "accountReference",
    "currency",
    "totalAmount",
    "providerName",
    "trackingId",
    "paymentReference"
  ]
}