{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-money-in-cheque-init-input-schema.json",
  "title": "MoneyInChequeInitInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-moneyins-cheque-api-openapi.yml#/components/schemas/MoneyInChequeInitInput",
  "required": [
    "accountId"
  ],
  "type": "object",
  "properties": {
    "transferId": {
      "description": "Leave Empty",
      "maxLength": 8,
      "minLength": 0,
      "type": "string"
    },
    "partner": {
      "description": "Leave empty",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "chequeType": {
      "format": "int32",
      "description": "Cheque payment (by default) or Pagaré:<br/>15 = Cheque payment.<br/>23 = Pagaré.<br/>",
      "enum": [
        15,
        23
      ],
      "type": "integer"
    },
    "ChequeNumber": {
      "description": "The seven-digit number at the bottom left-hand corner of the cheque.",
      "maxLength": 7,
      "minLength": 0,
      "type": "string"
    },
    "BankIdentifier": {
      "description": "Zone Interbancaire (ZIB). The twelve-digit number used to identify the cheque holder’s bank.",
      "maxLength": 12,
      "minLength": 0,
      "type": "string"
    },
    "InternalIdentifier": {
      "description": "Zone Interne (ZIN). The twelve-digit number used to identify the cheque holder’s account.",
      "maxLength": 12,
      "minLength": 0,
      "type": "string"
    },
    "RLMC": {
      "format": "int32",
      "description": "La Clé de Recomposition de la Ligne Magnétique du Chèque. These 2 numbers help identify a potential counterfeit cheque. (only France)",
      "type": "integer"
    },
    "CheckFnci": {
      "description": "Fichier National des Chèques Irréguliers de la Banque de France. This FNCI check allows to make a verification on the cheque information. (only France) Please contact our support for this feature.",
      "type": "boolean"
    },
    "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"
    }
  }
}