{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-refund-money-in-create-input-schema.json",
  "title": "RefundMoneyInCreateInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-refunds-api-openapi.yml#/components/schemas/RefundMoneyInCreateInput",
  "required": [
    "linkedP2pIds"
  ],
  "type": "object",
  "properties": {
    "linkedP2pIds": {
      "description": "P2P transactions linked to Money-In refund.",
      "type": "array",
      "items": {
        "format": "int64",
        "type": "integer"
      }
    },
    "transactionDateTime": {
      "description": "Transaction DateTime (UTC Unix timestamp)",
      "pattern": "^-?\\d{1,12}$",
      "type": "string"
    },
    "amountToRefund": {
      "format": "int32",
      "description": "Refund Amount. If empty, the total amount of the payment will be refunded.",
      "pattern": "^-?[0-9]{1,13}(.[0-9]{2}){0,1}$",
      "type": "integer"
    },
    "comment": {
      "description": "Comment on the refund. \n**Explain the reason for the refunded amount** \n**Note:** In the API Response displayed before the comment will appear the refund transaction id. Example: comment\": \"Refund 2763789 Items not wanted\"",
      "maxLength": 140,
      "minLength": 0,
      "type": "string"
    }
  }
}