{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-money-in-sdd-init-input-schema.json",
  "title": "MoneyInSddInitInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-moneyins-direct-debits-api-openapi.yml#/components/schemas/MoneyInSddInitInput",
  "required": [
    "sddMandateId",
    "accountId"
  ],
  "type": "object",
  "properties": {
    "sddMandateId": {
      "format": "int64",
      "description": "Mandate ID",
      "type": "integer"
    },
    "collectionDate": {
      "description": "Debit date of the bank account, must be later than the default date.\nLeave empty in order to use the default date: current date + 1 working days before 10:30 AM or current date + 2 working days after.",
      "pattern": "^[12]\\d{3}\\/(0[1-9]|1[0-2])\\/(0[1-9]|[12]\\d|3[01])$",
      "type": "string"
    },
    "reference": {
      "description": "Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details",
      "maxLength": 50,
      "minLength": 0,
      "type": "string"
    },
    "accountId": {
      "description": "Payment Account ID to Credit",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "totalAmount": {
      "format": "int32",
      "description": "Amount to Debit\nAmounts are given as integer numbers in cents",
      "type": "integer"
    },
    "commissionAmount": {
      "format": "int32",
      "description": "Your Fee\nAmounts are given as integer numbers in cents",
      "type": "integer"
    },
    "comment": {
      "description": "Comment Regarding the Transaction",
      "maxLength": 140,
      "minLength": 0,
      "type": "string"
    },
    "autoCommission": {
      "description": "If true:\n1. [amountCom] will be ignored and will be replaced with Lemonway's fee  \n2. You will not receive any fee",
      "type": "boolean"
    }
  }
}