{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fis/main/json-schema/fis-push-bank-transfers-response-dto-schema.json",
  "title": "PushBankTransfersResponseDto",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fis-bank-api-openapi.yml#/components/schemas/PushBankTransfersResponseDto",
  "type": "object",
  "properties": {
    "pushCommunicationId": {
      "type": "string",
      "readOnly": true
    },
    "requestedOn": {
      "type": "string",
      "readOnly": true,
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "success",
        "failed",
        "pending"
      ]
    },
    "businessName": {
      "type": "string",
      "readOnly": true
    },
    "serviceName": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "quickbooks",
        "xero",
        "freshbooks",
        "quickbooksDesktop",
        "sageIntacct",
        "sageBusinessCloud",
        "oracleNetsuite",
        "dynamicsBusinessCentral",
        "dynamics365Finance",
        "wave",
        "zohoBooks",
        "myob"
      ]
    },
    "data": {
      "readOnly": true,
      "allOf": [
        {
          "$ref": "#/$defs/PushBankTransfers"
        }
      ]
    }
  },
  "required": [
    "pushCommunicationId",
    "requestedOn",
    "status",
    "businessName",
    "serviceName",
    "data"
  ],
  "$defs": {
    "PushBankTransfers": {
      "type": "object",
      "properties": {
        "currencyRate": {
          "type": "number"
        },
        "totalAmount": {
          "type": "number",
          "format": "float"
        },
        "date": {
          "type": "string",
          "format": "date"
        },
        "memo": {
          "type": "string",
          "maxLength": 4000
        },
        "fromAccountRef": {
          "type": "string"
        },
        "toAccountRef": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        }
      },
      "required": [
        "totalAmount",
        "fromAccountRef",
        "toAccountRef"
      ]
    }
  }
}