{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/caliza/json-schema/caliza-mock-spei-deposit-request-schema.json",
  "title": "MockSpeiDepositRequest",
  "description": "Mock request to simulate an incoming SPEI deposit in the sandbox environment. Provide `transactionId` to settle an existing pending deposit (matched mode), or `clabe` and `amount` to simulate an unmatched deposit that auto-creates a transaction. The two modes are mutually exclusive.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/caliza-transaction-v1-sandbox-api-openapi.yml#/components/schemas/MockSpeiDepositRequest",
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "ID of an existing pending SPEI deposit to settle. Provide this or `clabe`, not both."
    },
    "clabe": {
      "type": "string",
      "description": "Destination CLABE for an unmatched deposit that auto-creates a transaction. Must be provided together with `amount`."
    },
    "amount": {
      "type": "number",
      "description": "Deposit amount in MXN. Required when `clabe` is provided."
    },
    "payerRfc": {
      "type": "string",
      "description": "Payer's RFC (tax ID). Unmatched mode only. Defaults to XAXX010101000."
    },
    "payerName": {
      "type": "string",
      "description": "Payer's name. Unmatched mode only. Defaults to SANDBOX PAYER."
    },
    "payerBank": {
      "type": "string",
      "description": "Payer's bank code. Unmatched mode only. Defaults to 40002."
    },
    "payerAccount": {
      "type": "string",
      "description": "Payer's account number. Unmatched mode only. Defaults to 000000000000000000."
    }
  }
}