openapi: 3.0.2
info:
#---------------------------------------------------
# Information to contact the API provider
#--------------------------------------------------- 
  title: Intraday Information Reporting
  description: "Intraday is an information reporting API that retrieves transaction activity, balance summaries, and transaction counts for one or multiple checking accounts. Intraday focuses on a single day's activity."
  contact:
    name: "KeyBank Developer Support"
    email: "developers@keybank.com"
  version: 1.2.8
  
servers: 
#---------------------------------------------------
# List of Environments for the API
#---------------------------------------------------
 - url: https://partner-api-qv.key.com
 - url: https://partner-api.key.com
 
paths:
#---------------------------------------------------
# List of API flows
#---------------------------------------------------
  /ddaReports/accounts/v1/healthCheck:
    get:
      tags: # Logical group based on functionality
        - HealthCheck 
      summary: Health check
      description: Verify you can connect to the API service. A bearer token is required.
      operationId: healthCheck
      security:
        - bearerAuth: []
      responses:
        '200':
          description: Successful response
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/healthResponse'
              example:
                 Status: Ok
                 Source: Roundtrip
                 Timestamp: '2022-09-15T04:49:03'
                 ClientIp: 156.77.111.28
                 X-Forwarded-For: '[156.77.111.28]'
  /ddaReports/accounts/v1/transactions/intraday/list:
    post:
      tags:
        - Intraday
      summary: Get a list of transactions for the current day
      description: Retrieve current-day transaction activity for one or multiple accounts. Transaction data can be recalled from the previous 24 months.
      operationId: intradaylist
      security:
        - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/getIntraDayTransactionsRequest'
            example:
              getIntraDayTransactionsRequest:
                accountNumber:
                - '123456789'
                date: '2022-04-11'
                startRowIndex: '1'
                endRowIndex: '1'
        required: true
      responses:
        200:
          description: Successful response
          headers:
              X-CorrelationId:
                schema:
                  type: string
                description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getIntraDayTransactionsResponse'
              example:
                getIntraDayTransactionsResponse:
                  responseHeader:
                    status: S
                    statusDescription: Successfully returned results for the requested range 1 to
                      10
                    retrivedRows: '1'
                    totalRows: '1'
                    dataLoadDate: '2022-07-05'
                  IntraDayTransactions:
                  - accountNumber: '123456789'
                    transactionEffectiveDate: 04/11/2022
                    transactionTypeId: RTP
                    addendaInformation:
                      WiresData:
                        creditArrangementTypeCode: NOSTRO
                        creditArrangementBankNumber: '0101'
                        creditArrangementBankBranch: US
                        creditArrangementCurrencyCode: USD
                        creditInvolvedPartyIdentifier: '22850641'
                        creditInvolvedPartyName: TEST COMPANY 3, LLC
                        creditArrangementCountryCode: CORP
                        creditInvolvedPartyTypeCode: US
                        debitArrangementTypeCode: DDA
                        debitArrangementBankNumber: '3290'
                        debitArrangementBankBranch: US
                        debitArrangementCurrencyCode: USD
                        debitInvolvedPartyIdentifier: '35008380'
                        debitInvolvedPartyName: TEST COMPANY 1, LLC
                        transactionBusinessStatusCode: Completed
                        sendingBankReferenceNumber: KTT96632162612772R
                        originatingInvolvedPartyName: TEST COMPANY 1, LLC
                        originatingArrangementNumber: '12345123'
                        originatingInvolvedPartyAddressLine1: 127 Public Sq, Cleveland
                        originatingInvolvedPartyAddressLine2: OH 44114
                        beneficiaryInvolvedPartyName: TEST COMPANY 3, LLC
                        beneficiaryArrangementNumber: '987654321'
                        beneficiaryInvolvedPartyAddressLine1: 250 Delaware Ave Ste
                        beneficiaryInvolvedPartyAddressLine2: Buffalo,NY 14202
                        intermediaryBankName: KeyBank National Association
                        intermediaryBankABANumber: '21300077'
                        intermediaryBICCode: KEYBUS33 XXX
                        intermediaryBankAddressLine1: 250 Delaware Ave Ste
                        intermediaryBankAddressLine2: Buffalo,NY 14202
                        originatingBankName: ORIGINATING BANK USA
                        originatingBankABANumber: '123001088'
                        originatingBankBICcode: ORIBICODE
                        originatingBankAddressLine1: 127 Public Sq
                        originatingBankAddressLine2: Cleveland, OH 44114
                        beneficiaryBankName: KeyBank National Association
                        beneficiaryBankABANumber: '21300077'
                        beneficiaryBankBICcode: KEYBUS33 XXX
                        beneficiaryBankAddressLine1: 250 Delaware Ave Ste
                        beneficiaryBankAddressLine2: Buffalo,NY 14202
                        sourceTransactionIdentifier: NOTPROVIDED
                        transactionSettledDate: 04/11/2022
                        federalReferenceNumber: 20220411MMFMP1D002353
                        incomingReferenceNumber: '2021092123304446'
                        transactionExecutedDate: 04/11/2022
                        transactionIdentifier: US22041123510763
                      OLDSData:
                        bankNumber: '0101'
                        transactionTypeId: '1085'
                        srcArrangementNumber: '123456789'
                        transactionEffDate: 25/10/2021
                        transactionAmount: '375'
                        transactionTypeCode: D
                        transactionSrcCode: ODS
                        transactionDescription: TRANSFER FROM CHECKING TO CHECKING
                      LockboxData:
                        lockboxNumber: '1234'
                        lockboxName: 'Keybank Lockbox #1'
                        lockboxGrpNumber: '1001'
                        lockboxGrpName: 'Keybank Group #1'
                        firstContactName: John Doe
                        firstContactStreetAddr: 127 Public Sq
                        firstContactCity: Cleveland
                        firstContactState: OH
                        firstContactPostalCode: '44114'
                        firstDepositTransitNumber: '12235'
                        customDataField1: XXX123
                      LockboxTransactionData:
                        DDAAccountNumber: '123456789'
                        processDate: 02/01/2022
                        lockboxGrpBankNumber: '1001'
                        lockboxNumber: '1234'
                        remittanceTransactionNumber: '28'
                        remittancePaidAmount: '36.9'
                        paidAmount: '250'
                        payerFinInstRoutingNum: '000008002'
                        payerArrangementNum: '27911525005'
                        checkSeqNumber: '27911525005'
                        floatAmountDay0: '0'
                        floatAmountDay1: '250'
                        floatAmountDay2: '0'
                      CPCSData:
                        sourceArrangementNumber: '1234567890'
                        regulationEDescription: 'KEYCAP '
                        transactionDescription2: E#3830Y
                        transactionEffectiveDate: '08/09/2021'
                        transactionActionCode: D
                        transactionAmount: '49985.07'
                        float1Amount: '49985'
                        creditOrDebitCode: C
                        traceID: C 003121080937346069
                      ACHTransactionData:
                        sourceArrangementNumber: '123456789'
                        transactionProcessedDate: 10/08/2021
                        transactionAmount: '2307.42'
                        transactionCreditDebitCode: C
                        derivedBAICode: '165'
                        transactionCode: '22'
                        description1: TEST MERCHANT DEPOSIT
                        description2: '896217706887'
                        description3: 42930550001626 8 CAR
                        description4: X IA TI
                        transactionPostingWindow: '0600'
                      RTPData:
                        creditArrangementTypeCode: NOSTRO
                        creditArrangementBankNumber: '0101'
                        creditArrangementBankBranch: US
                        creditArrangementCurrencyCode: USD
                        creditInvolvedPartyIdentifier: '999997'
                        creditInvolvedPartyName: TEST RTP Clearing Account
                        creditArrangementCountryCode: US
                        debitArrangementTypeCode: DDA
                        debitArrangementBankNumber: '0618'
                        debitArrangementBankBranch: US
                        debitArrangementCurrencyCode: USD
                        debitInvolvedPartyIdentifier: '12359355'
                        debitInvolvedPartyName: TEST COMPANY 2, LLC
                        transactionBusinessStatusCode: Completed
                        originatingInvolvedPartyName: TEST COMPANY 1, LLC
                        originatingArrangementNumber: '12345123'
                        originatingInvolvedPartyAddressLine1: 127 Public Sq, Cleveland
                        originatingInvolvedPartyAddressLine2: OH 44114
                        beneficiaryInvolvedPartyName: TEST COMPANY 3, LLC
                        beneficiaryArrangementNumber: '987654321'
                        sourceTransactionIdentifier: NOTPROVIDED
                        transactionSettledDate: '09/30/2021'
                        federalReferenceNumber: 20210930041001039T1BUSRT06428125521
                        transactionExecutedDate: '09/30/2021'
                        transactionIdentifier: US21093000082075
                        transactionAmount: '400'
        '400':
          description: Missing mandatory information
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Mandatory data not provided, please verify the data and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"        
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '401':
          description: Unauthorized request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:               
                ErrorMessage: "Received request is unauthorized, please provide valid credentials"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"    
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
                ServiceError: 
                  getIntraDayTransactionsResponse:
                    responseHeader:
                      status: F
                      statusDescription: "Error Message from Backend Servers for unauthorized access"
                    errorResponse:
                      businessFault:
                      - errorCode: ECA-W-001
                        errorDescription: "Error Message from Backend Servers for unauthorized access"
        '403':
          description: Forbidden request access
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Access to requested resource is forbidden"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '404':
          description: Resource not found
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested resource is not found, please verify the resource then resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '405':
          description: Invalid request method
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested method is not allowed, please verify the method and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '415':
          description: Invalid request type
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested media type is not allowed, please verify the media type and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"  
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '429':
          description: Request timeout
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Number requests threshold reached, please resubmit the request after sometime"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1" 
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '500':
          description: Unknown error
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Runtime error occurred in the service, please check with application support team before resubmitting the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
        '502':
          description: Bad gateway
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"     
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"   
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
                ServiceError: 
                  ConnectError : "Connectivity error occurred with the downstream service (Unexpected EOF at target), please check with application support team before resubmitting the request"
        '503':
          description: Unavailable service
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"     
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
                ServiceError: 
                  ConnectError : "Service is currently unavailable (NoActiveTargets), please check with application support before resubmitting the request."
        '504':
          description: Unable to process request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/list"
                ServiceError: 
                  ConnectError : "Request could not be processed on time (GatewayTimeout), please wait a moment and resubmit the request."
  /ddaReports/accounts/v1/transactions/intraday/summary:
    post:
      tags:
        - Intraday
      summary: Get an account summary report for the current day
      description: Retrieve a summary of current-day account activity for one or multiple accounts. Transaction data can be recalled from the previous 24 months.
      operationId: intradaysummary
      security:
        - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetIntraDaySummaryRequest'
            example:
              getIntraDaySummaryRequest:
                accountNumber:
                - '123456789'
                date: '2021-11-15'
        required: true
      responses:
        200:
          description: Successful response
          headers:
              X-CorrelationId:
                schema:
                  type: string
                description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetIntraDaySummaryResponse'
              example: 
                getIntraDaySummaryResponse:
                  responseHeader:
                    status: S
                    statusDescription: Successfully processed the request.
                    dataLoadDate: '2022-07-05'
                  DDAIntraDaySummary:
                  - earlyACHCredit: '5163394'
                    earlyACHCreditCount: '10'
                    lateACHCredit: '6137.55'
                    lateACHCreditCount: '1'
                    lockboxCredit: '0'
                    lockboxCreditCount: '0'
                    wireTransferCredit: '566308.64'
                    wireTransferCreditCount: '6'
                    depositsCredit: '0'
                    otherMiscCredit: '0'
                    otherMiscCreditCount: '0'
                    totalCredit: '5735840.19'
                    totalCreditCount: '17'
                    earlyACHDebit: '4602565.25'
                    earlyACHDebitCount: '2'
                    lateACHDebit: '0'
                    lateACHDebitCount: '0'
                    wireTransferDebit: '1420669.84'
                    wireTransferDebitCount: '2'
                    otherMiscDebit: '0'
                    otherMiscDebitCount: '0'
                    totalDebit: '6023235.09'
                    totalDebitCount: '4'
                    srcBankNum: '0101'
                    srcSysCode: DDA
        '400':
          description: Missing mandatory information
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Mandatory data not provided, please verify the data and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"        
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
                ServiceError:
                  getIntraDaySummaryResponse:
                    responseHeader:
                      status: F
                      statusDescription: Request Validation failed.
                    errorResponse:
                        businessFault:
                        - errorCode: ECA-W-001
                          errorDescription: Missing mandatory field(s) - accountNumber.
        '401':
          description: Unauthorized request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:               
                ErrorMessage: "Received request is unauthorized, please provide valid credentials"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"    
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
                ServiceError: 
                  getIntraDaySummaryResponse:
                    responseHeader:
                      status: F
                      statusDescription: "Error Message from Backend Servers for unauthorized access"
                    errorResponse:
                      businessFault:
                      - errorCode: ECA-W-001
                        errorDescription: "Error Message from Backend Servers for unauthorized access"
        '403':
          description: Forbidden request access
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Access to requested resource is forbidden"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
        '404':
          description: Resource not found
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested resource is not found, please verify the resource then resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
        '405':
          description: Invalid request method
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested method is not allowed, please verify the method and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
        '415':
          description: Invalid request type
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested media type is not allowed, please verify the media type and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"  
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
        '429':
          description: Request timeout
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Number requests threshold reached, please resubmit the request after sometime"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1" 
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
        '500':
          description: Unknown error
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Runtime error occurred in the service, please check with application support team before resubmitting the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
        '502':
          description: Bad gateway
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"        
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
                ServiceError: 
                  ConnectError : "Connectivity error occurred with the downstream service (Unexpected EOF at target), please check with application support team before resubmitting the request"
        '503':
          description: Unavailable service
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"     
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
                ServiceError: 
                  ConnectError : "Service is currently unavailable (NoActiveTargets), please check with application support before resubmitting the request."
        '504':
          description: Unable to process request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/intraday/summary"
                ServiceError: 
                  ConnectError : "Request could not be processed on time (GatewayTimeout), please wait a moment and resubmit the request."
  /ddaReports/accounts/v1/transactions/cda/summary:
    post:
      tags:
        - Intraday
      summary: Get a CDA summary report for the current day
      description: Retrieve a summary of current-day account activity for one or multiple Controlled Disbursement Accounts (CDA). Transaction data can be recalled from the previous 24 months.
      operationId: cdasummary
      security:
        - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetCDASummaryRequest'
            example: 
              getCDASummaryRequest:
                accountNumber:
                - '123456789'
                date: '2021-10-08'
        required: true
      responses:
        200:
          description: Successful response
          headers:
              X-CorrelationId:
                schema:
                  type: string
                description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCDASummaryResponse'
              example:
                getCDASummaryResponse:
                  responseHeader:
                    status: S
                    statusDescription: Successfully processed the request.
                    dataLoadDate: '2022-07-05'
                  CDASummary:
                  - summary:
                      sourceArrangementNumber: '123456789'
                      snapshotDate: 10/08/2021
                      sourceSystemOfRecordCode: CDA
                      currencyCode: USD
                      amount: '0'
                      amountTypeCode: '602'
                      FundTypeCode: Z
                      itemCount: '0'
                      processSequenceNumber: '1'
                      earlyACHCredit: '0'
                      earlyACHDebit: '3375.69'
                    CDATransactionDetails:
                      transactionDate: 10/08/2021
                      snapshotDate: 10/08/2021
                      originatingFinancialInstitutionReferenceNumber: '1'
                      transactionDescription: CHECK 0000144872
                      transactionTypeCode: '475'
                      fundTypeCode: Z
                      amount: '3995.4'
                      processSequenceNumber: '1'
                    ACHMemoPost:
                      sourceArrangementNumber: '123456789'
                      transactionProcessedDate: 10/08/2021
                      transactionAmount: '2307.42'
                      transactionCreditDebitCode: C
                      derivedBAICode: '165'
                      transactionCode: '22'
                      description1: TEST MERCHANT DEPOSIT
                      description2: '896217706887'
                      description3: 42930550001626 8 CAR
                      description4: X IA TI
                      transactionPostingWindow: '0600'
        '400':
          description: Missing mandatory information
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Mandatory data not provided, please verify the data and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"        
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
                ServiceError:
                  getCDASummaryResponse:
                    responseHeader:
                      status: F
                      statusDescription: Request Validation failed.
                      dataLoadDate: "2021-03-26"
                      retrivedRows: "1"
                      totalRows: "10"
                    errorResponse:
                      businessFault:
                      - errorCode: ECA-W-001
                        errorDescription: Missing mandatory field(s) - accountNumber.
        '401':
          description: Unauthorized request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:               
                ErrorMessage: "Received request is unauthorized, please provide valid credentials"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"    
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
                ServiceError: 
                  getCDASummaryResponse:
                    responseHeader:
                      status: F
                      statusDescription: "Error Message from Backend Servers for unauthorized access"
                      dataLoadDate: "2021-03-26"
                      retrivedRows: "1"
                      totalRows: "10"
                    errorResponse:
                      businessFault:
                      - errorCode: ECA-W-001
                        errorDescription: "Error Message from Backend Servers for unauthorized access"
        '403':
          description: Forbidden request access
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Access to requested resource is forbidden"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
        '404':
          description: Resource not found
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested resource is not found, please verify the resource then resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
        '405':
          description: Invalid request method
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested method is not allowed, please verify the method and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
        '415':
          description: Invalid request type
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested media type is not allowed, please verify the media type and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"  
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
        '429':
          description: Request timeout
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Number requests threshold reached, please resubmit the request after sometime"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1" 
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
        '500':
          description: Unknown error
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Runtime error occurred in the service, please check with application support team before resubmitting the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
        '502':
          description: Bad gateway
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"        
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
                ServiceError: 
                  ConnectError : "Connectivity error occurred with the downstream service (Unexpected EOF at target), please check with application support team before resubmitting the request"
        '503':
          description: Unavailable service
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"     
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
                ServiceError: 
                  ConnectError : "Service is currently unavailable (NoActiveTargets), please check with application support before resubmitting the request."
        '504':
          description: Unable to process request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/cda/summary"
                ServiceError: 
                  ConnectError : "Request could not be processed on time (GatewayTimeout), please wait a moment and resubmit the request."
  /ddaReports/accounts/v1/transactions/current/balances:
    post:
      tags:
        - Intraday
      summary: Get the current balance for one or more accounts
      description: Retrieve the current balance information, including both ledger and available balance, for one or more accounts. Transaction data can be recalled from the previous 24 months.
      operationId: currentbalances
      security:
        - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetCurrentBalancesRequest'
            example: 
              getCurrentBalancesRequest:
                accountNumber:
                - '123456789'
                date: '2021-11-15'
        required: true
      responses:
        '200':
          description: Successful response
          headers:
              X-CorrelationId:
                schema:
                  type: string
                description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCurrentBalancesResponse'
              example:
                getCurrentBalancesResponse:
                  responseHeader:
                    status: S
                    statusDescription: Successfully processed the request.
                  CurrentBalances:
                    - currentBalances:
                        holds: '0.00'
                        uncollectedFunds: '0.00'
                        currentLedger: '3267948.16'
                        currentAvailable: '3267948.16'
                        openingAvailable: '3267948.16'
        '400':
          description: Missing mandatory information
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Mandatory data not provided, please verify the data and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"        
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
                ServiceError:
                  getCurrentBalancesResponse:
                    responseHeader:
                      status: F
                      statusDescription: Request Validation failed.
                      dataLoadDate: "2021-03-26"
                      retrivedRows: "1"
                      totalRows: "10"
                    errorResponse:
                      businessFault:
                      - errorCode: ECA-W-001
                        errorDescription: Missing mandatory field(s) - accountNumber.
        '401':
          description: Unauthorized request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:               
                ErrorMessage: "Received request is unauthorized, please provide valid credentials"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"    
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
                ServiceError: 
                  getCurrentBalancesResponse:
                    responseHeader:
                      status: F
                      statusDescription: "Error Message from Backend Servers for unauthorized access"
                      dataLoadDate: "2021-03-26"
                      retrivedRows: "1"
                      totalRows: "10"
                    errorResponse:
                      businessFault:
                      - errorCode: ECA-W-001
                        errorDescription: "Error Message from Backend Servers for unauthorized access"
        '403':
          description: Forbidden request access
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Access to requested resource is forbidden"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"  
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
        '404':
          description: Resource not found
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested resource is not found, please verify the resource then resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
        '405':
          description: Invalid request method
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested method is not allowed, please verify the method and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"         
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
        '415':
          description: Invalid request type
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Requested media type is not allowed, please verify the media type and resubmit the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"  
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
        '429':
          description: Request timeout
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Number requests threshold reached, please resubmit the request after sometime"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1" 
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
        '500':
          description: Unknown error
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Runtime error occurred in the service, please check with application support team before resubmitting the request"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
        '502':
          description: Bad gateway
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"  
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"      
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
                ServiceError: 
                  ConnectError : "Connectivity error occurred with the downstream service (Unexpected EOF at target), please check with application support team before resubmitting the request"
        '503':
          description: Unavailable service
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"     
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
                ServiceError: 
                  ConnectError : "Service is currently unavailable (NoActiveTargets), please check with application support before resubmitting the request."
        '504':
          description: Unable to process request
          headers:
            X-CorrelationId:
              schema:
                type: string
              description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Exception'
              example:
                ErrorMessage: "Error received from backend"
                TransactionId:  "rrt-7709400285867417207-b-gce-27587-2383364-1"       
                X-CorrelationId: "929618f2-6163-bf73-51b0-6c54a8533c74"
                TransactionTime: "2021-06-11T16:31:34.041Z"
                Api-Url: "/ddaReports/accounts/v1/transactions/current/balances"
                ServiceError: 
                  ConnectError : "Request could not be processed on time (GatewayTimeout), please wait a moment and resubmit the request."
components:
#---------------------------------------------------
# Data Definitions
#---------------------------------------------------
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
  schemas:
    healthResponse:
      type: object
      title: healthResponse
      properties:
        Status:
          type: string
          description: Status of the health check response.
        Source:
          type: string
          description: Origin of the system response can be 'Gateway' or 'Roundtrip'. Roundtrip returns a response from the farthest system involved.
        Timestamp:
          type: string
          description: Date (YYYY-MM-DD) and time (HH:MM:SS) of response from the API service.
        ClientIp:
          type: string
          description: Client IP address the gateway receives from the request.
        X-Forwarded-For:
          type: string
          description: Sequence of IP addresses for systems between the client and the gateway.
    Exception:
      type: object
      description: Contains information about errors related to the request.
      title: ExceptionSchema
      properties:
        ErrorMessage: 
          type: string
          description: A human-readable message that describes the type or source of the error.
          example: "Requested resource is not found, please verify the resource then resubmit the request."
        X-CorrelationId:
          type: string
          description: A unique identifier generated for each transaction that remains with the transaction through the chain of API operations. 
          example: "2ebd5c24-0e8d-5a70-0e91-ffd2727c1aab"
        TransactionId:
          type: string
          description: A unique transaction ID returned with the response, useful for traceability.
          example: "rrt-7354978519411102852-c-gce-30597-7590748-1"
        TransactionTime: 
          type: string
          description: Date (YYYY-MM-DD) and time (HH:MM:SS) the error occurred.
          example: "2021-06-30T18:55:10.337Z"
        Api-Url:
          type: string
          description: The API URL path of the call that generated the response.
        ServiceError:
          type: object
          title: ServiceError
          description: Detailed service-level error details, if available.
          oneOf:
            - $ref: '#/components/schemas/ExceptionIntraDayList'
            - $ref: '#/components/schemas/ExceptionIntraDaySummary'
            - $ref: '#/components/schemas/ExceptionCDASummary'
            - $ref: '#/components/schemas/ExceptionCurrentBalance'
            - $ref: '#/components/schemas/connectError'
    connectError:
      type: object
      properties:
        ConnectError:
          type: string
          description: API connectivity error information, if available.
    ExceptionIntraDayList:
      $ref: '#/components/schemas/GetIntraDayTransactionsResponseException'
    ExceptionIntraDaySummary:
      $ref: '#/components/schemas/GetIntraDaySummaryResponseException'
    ExceptionCDASummary:
      $ref: '#/components/schemas/GetCDASummaryResponseException'
    ExceptionCurrentBalance:
      $ref: '#/components/schemas/GetCurrentBalancesResponseException'
    WiresData:
      type: object
      description: Contains all associated current day wire transaction details. Applicable only if the Intraday transaction type is Wire.
      properties:
        creditArrangementTypeCode:
          type: string
          description: Credit account type code
          example: ""
        creditArrangementBankNumber:
          type: string
          description: Bank number holding the credit account.
          example: ""
        creditArrangementBankBranch:
          type: string
          description: Bank branch holding the credit account.
          example: ""
        creditArrangementCurrencyCode:
          type: string
          description: Transaction currency code of the credit account.
          example: ""
        creditInvolvedPartyIdentifier:
          type: string
          description: Customer number associated with the credit account.
          example: ""
        creditInvolvedPartyName:
          type: string
          description: Customer name associated with the credit account.
          example: ""
        creditArrangementCountryCode:
          type: string
          description: Country of the credit account.
          example: ""
        creditInvolvedPartyTypeCode:
          type: string
          description: Customer type associated with the credit account.
          example: ""
        debitArrangementTypeCode:
          type: string
          description: Debit account type code
          example: ""
        debitArrangementBankNumber:
          type: string
          description: Bank number holding the debit account.
          example: ""
        debitArrangementBankBranch:
          type: string
          description: Bank branch holding the debit account.
          example: ""
        debitArrangementCurrencyCode:
          type: string
          description: Transaction currency code of the debit account.
          example: ""
        debitInvolvedPartyIdentifier:
          type: string
          description: Customer number associated with the debit account.
          example: ""
        debitInvolvedPartyName:
          type: string
          description: Customer name associated with the debit account.
          example: ""
        transactionBusinessStatusCode:
          type: string
          description: Transaction business status code
          example: ""
        sendingBankReferenceNumber:
          type: string
          description: Reference number attached to a wire, issued by the sending bank.
          example: ""
        originatingInvolvedPartyName:
          type: string
          description: Name of the wire transaction originator.
          example: ""
        originatingArrangementNumber:
          type: string
          description: Account number of the wire transaction originator.
          example: ""
        originatingInvolvedPartyAddressLine1:
          type: string
          description: Address line 1 of the wire transaction originator.
          example: ""
        originatingInvolvedPartyAddressLine2:
          type: string
          description: Address line 2 of the wire transaction originator.
          example: ""
        beneficiaryInvolvedPartyName:
          type: string
          description: Beneficiary of the wire payment.
          example: ""
        beneficiaryArrangementNumber:
          type: string
          description: Account number of the beneficiary.
          example: ""
        beneficiaryInvolvedPartyAddressLine1:
          type: string
          description: Address line 1 of the beneficiary.
          example: ""
        beneficiaryInvolvedPartyAddressLine2:
          type: string
          description: Address line 2 of the beneficiary.
          example: ""
        intermediaryBankName:
          type: string
          description: Name of the intermediary bank.
          example: ""
        intermediaryBankABANumber:
          type: string
          description: ABA number of the intermediary bank.
          example: ""
        intermediaryBICCode:
          type: string
          description: BIC number of the intermediary bank.
          example: ""
        intermediaryBankAddressLine1:
          type: string
          description: Address line 1 of the intermediary bank.
          example: ""
        intermediaryBankAddressLine2:
          type: string
          description: Address line 2 of the intermediary bank.
          example: ""
        originatingBankName:
          type: string
          description: Name of the wire originating bank.
          example: ""
        originatingBankABANumber:
          type: string
          description: ABA number of the wire originating bank.
          example: ""
        originatingBankBICcode:
          type: string
          description: BIC number of the wire originating bank.
          example: ""
        originatingBankAddressLine1:
          type: string
          description: Address line 1 of the wire originating bank.
          example: ""
        originatingBankAddressLine2:
          type: string
          description: Address line 2 of the wire originating bank.
          example: ""
        beneficiaryBankName:
          type: string
          description: Name of the beneficiary bank.
          example: ""
        beneficiaryBankABANumber:
          type: string
          description: ABA number of the beneficiary bank.
          example: ""
        beneficiaryBankBICcode:
          type: string
          description: BIC number of the beneficiary bank.
          example: ""
        beneficiaryBankAddressLine1:
          type: string
          description: Address line 1 of the beneficiary bank.
          example: ""
        beneficiaryBankAddressLine2:
          type: string
          description: Address line 2 of the beneficiary bank.
          example: ""
        sourceTransactionIdentifier:
          type: string
          description: End-to-end ID to uniquely identify a transaction in source systems.
          example: ""
        transactionSettledDate:
          type: string
          format: date
          description: "Date the transaction is settled. Format: MM-DD-YYYY"
          example: ""
        federalReferenceNumber:
          type: string
          description: Federal reference number
          example: ""
        incomingReferenceNumber:
          type: string
          description: The incoming reference number, which is provided by the sending bank.
          example: ""
        currencyExchangeRate:
          type: string
          description: Exchange rate
          example: ""
        transactionExecutedDate:
          type: string
          format: date
          description: "Date the transaction is executed. Format: MM-DD-YYYY"
          example: ""
        bankToBankMemo:
          type: string
          description: Free-form text transmitted between the banks.
          example: ""
        transactionIdentifier:
          type: string
          description: Transaction identifier
          example: ""
        transactionAmount:
          type: string
          description: The amount of the wire transaction.
          example: '400'
    getIntraDayTransactionsResponse:
      type: object
      description: Contains the response payload for the transaction list request.
      properties: 
        getIntraDayTransactionsResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
              $ref: '#/components/schemas/responseHeaders'
            IntraDayTransactions:
              type: array
              items:
                $ref: '#/components/schemas/IntraDayTransactions'
    responseHeaders:
      required:
      - status
      - statusDescription
      type: object
      description: Provides status information of the processed request.
      properties:
        status:
          type: string
          description: Indicates whether the result was successfully retrieved.
          example: S
        statusDescription:
          type: string
          description: Description of the status.
          example: Successfully fetched the records from Sourcing Layer.
        dataLoadDate:
          type: string
          description: "Indicates the date that the requested data was loaded. Format: YYYY-MM-DD"
          example: "2021-03-26"
        retrivedRows:
          type: string
          description: Total number of transactions retrieved.
          example: "1"
        totalRows:
          type: string
          description: Total number of transactions matching the requested criteria.
          example: "10"
    GetIntraDayTransactionsResponseException:
      type: object
      description: Detailed error information as generated by the list of transactions endpoint.
      properties: 
        getIntraDayTransactionsResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
              required:
                - status
                - statusDescription
              properties:
                status:
                  type: string
                  description: Indicates whether the result was successfully retrieved.
                  example: S
                statusDescription:
                  type: string
                  description: Description of the status.
                  example: Successfully fetched the records from Sourcing Layer.
                dataLoadDate:
                  type: string
                  description: "Indicates the date that the requested data was loaded. Format: YYYY-MM-DD"
                  example: "2021-03-26"
                retrivedRows:
                  type: string
                  description: Total number of transactions retrieved.
                  example: "1"
                totalRows:
                  type: string
                  description: Total number of transactions matching the requested criteria.
                  example: "10"
              type: object
            errorResponse:
              $ref: '#/components/schemas/ErrorResponse'
    LockboxTransactionData:
      type: object
      description: Contains all associated current day lockbox transaction details. Applicable only if the Intraday transaction type is Lockbox.
      properties:
        DDAAccountNumber:
          type: string
          description: DDA account number associated with lockbox.
        processDate:
          type: string
          format: date
          description: "Date the transaction was processed. Format: YYYY-MM-DD"
        lockboxGrpBankNumber:
          type: string
          description: Not a KeyBank bank number. Used by lockbox application to group lockboxes.
        lockboxNumber:
          type: string
          description: Lockbox number
        remittanceTransactionNumber:
          type: string
          description: Transaction number
        remittancePaidAmount:
          type: string
          description: Remittance applied amount
        paidAmount:
          type: string
          description: Amount being paid by the payment record.
        payerFinInstRoutingNum:
          type: string
          description: Routing and transit number field from payment. This is the routing number of the payer account.
        payerArrangementNum:
          type: string
          description: Account number field from payment
        checkSeqNumber:
          type: string
          description: Check number from payment
        floatAmountDay0:
          type: string
          description: Lockbox float - amount available day 0
        floatAmountDay1:
          type: string
          description: Lockbox float - amount available day 1
        floatAmountDay2:
          type: string
          description: Lockbox float - amount available day 2
    GetCurrentBalancesRequest: 
      type: object
      description: Contains the request payload.
      properties:
        getCurrentBalancesRequest:
          type: object
          required:
            - accountNumber
            - date 
          properties:
            accountNumber:
                type: array
                description: Use a bank account number to get its historical transaction activity. Retrieving multiple accounts with a single request may impact performance, depending on the volume of transaction activity.
                items:
                  type: string
                  example: "123456789"
            date:
                type: string
                description: "Date for which the current balances are to be retrieved. Transaction data can be recalled from the previous 24 months. Format: YYYY-MM-DD"
                format: date
                example: "2022-01-14"
    CurrentBalances:
      type: object
      description: Contains the current balance information.
      properties:
        holds:
          type: string
          description: Amount that is on hold
          example: "0.00"
        uncollectedFunds:
          type: string
          description: Uncollected funds amount
          example: "0.00"
        currentLedger:
          type: string
          description: Current ledger balance
          example: "3267948.16"
        currentAvailable:
          type: string
          description: Current available balance
          example: "3267948.16"
        openingAvailable:
          type: string
          description: Opening available balance
          example: "3267948.16"
    IntraDayTransactions:
      type: object
      description: Contains the list of transactions for the current day.
      properties:
        accountNumber:
          type: string
          description: Account number associated with the transaction.
          example: "123456789"
        transactionEffectiveDate:
          type: string
          description: "Effective date of the transaction. Format: YYYY-MM-DD"
          example: ""
          format: date
        transactionTypeId:
          type: string
          description: Transaction type identifier
          example: ""
        addendaInformation:
          $ref: '#/components/schemas/AddendaInformation'
    GetCurrentBalancesResponse:
      type: object
      description: Contains the response payload for the current balance request.
      properties:
        getCurrentBalancesResponse: 
          type: object
          properties:
            responseHeader:
             $ref: '#/components/schemas/responseHeaders'
            CurrentBalances:
              type: array
              items:
                $ref: '#/components/schemas/GetCurrentBalancesResult'
    GetCurrentBalancesResponseException: 
      type: object
      description: Detailed error information as generated by the current balance retrieval endpoint.
      properties: 
        getCurrentBalancesResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
              required:
                - status
                - statusDescription
              properties:
                status:
                  type: string
                  description: Indicates whether the result was successfully retrieved.
                  example: S
                statusDescription:
                  type: string
                  description: Description of the status.
                  example: Successfully fetched the records from Sourcing Layer.
                dataLoadDate:
                  type: string
                  description: "Indicates the date that the requested data was loaded. Format: YYYY-MM-DD"
                  example: "2021-03-26"
                retrivedRows:
                  type: string
                  description: Total number of transactions retrieved.
                  example: "1"
                totalRows:
                  type: string
                  description: Total number of transactions matching the requested criteria.
                  example: "10"
              type: object
            errorResponse:
              $ref: '#/components/schemas/ErrorResponse'
    LockboxData:
      type: object
      description: Contains all associated lockbox information. Applicable only if the Intraday transaction type is Lockbox.
      properties:
        lockboxNumber:
          type: string
          description: Lockbox number
          example: "1234"
        lockboxName:
          type: string
          description: Lockbox name
          example: "East Coast Payments"
        lockboxGrpNumber:
          type: string
          description: Lockbox grouping number
          example: "23234325353"
        lockboxGrpName:
          type: string
          description: Lockbox grouping name
          example: ""
        firstContactName:
          type: string
          description: First contact name defined in lockbox contacts
          example: "General Manager"
        firstContactStreetAddr:
          type: string
          description: Street address for named contact
          example: "Valid address"
        firstContactCity:
          type: string
          description: City for named contact
          example: "Valid City"
        firstContactState:
          type: string
          format: date
          description: State for named contact
          example: "Valid State"
        firstContactPostalCode:
          type: string
          description: Zip code for named contact
          example: "Valid zip code"
        firstDepositTransitNumber:
          type: string
          description: Transit number for named contact
          example: "12235"
        customDataField1:
          type: string
          description: Custom data field
          example: ""
    ErrorResponse:
      type: object
      description: Detailed error information generated by the chain of services involved either as a business fault or system fault.
      properties:
        businessFault:
          type: array
          items:
            $ref: '#/components/schemas/BusinessFault'
        systemFault:
          type: array
          items:
            $ref: '#/components/schemas/SystemFault'
    GetIntraDaySummaryResponse: 
      type: object
      description: Contains the response payload for the account summary report request.
      properties:
        getIntraDaySummaryResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
             $ref: '#/components/schemas/responseHeaders'
            DDAIntraDaySummary:
              type: array
              items:
                $ref: '#/components/schemas/GetIntraDaySummaryResult'
    GetIntraDaySummaryResponseException: 
      type: object
      description: Detailed error information as generated by the account summary report endpoint.
      properties:
        getIntraDaySummaryResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
              required:
                - status
                - statusDescription
              properties:
                status:
                  type: string
                  description: Indicates whether the result was successfully retrieved.
                  example: S
                statusDescription:
                  type: string
                  description: Description of the status
                  example: Successfully fetched the records from Sourcing Layer.
                dataLoadDate:
                  type: string
                  description: "Indicates the date that the requested data was loaded. Format: YYYY-MM-DD"
                  example: "2021-03-26"
              type: object
            errorResponse:
              $ref: '#/components/schemas/ErrorResponse'
    RTPData:
      type: object
      description: Contains all associated current day real-time payment (RTP) details. Applicable only if the Intraday transaction type is RTP.
      properties:
        creditArrangementTypeCode:
          type: string
          description: Credit account type code
          example: ""
        creditArrangementBankNumber:
          type: string
          description: Bank number holding the credit account.
          example: ""
        creditArrangementBankBranch:
          type: string
          description: Bank branch holding the credit account.
          example: ""
        creditArrangementCurrencyCode:
          type: string
          description: Transaction currency code of the credit account.
          example: ""
        creditInvolvedPartyIdentifier:
          type: string
          description: Customer number associated with the credit account.
          example: ""
        creditInvolvedPartyName:
          type: string
          description: Customer name associated with the credit account.
          example: ""
        creditArrangementCountryCode:
          type: string
          description: Country of the credit account.
          example: ""
        creditInvolvedPartyTypeCode:
          type: string
          description: Customer type associated with the credit account.
          example: ""
        debitArrangementTypeCode:
          type: string
          description: Debit account type code
          example: ""
        debitArrangementBankNumber:
          type: string
          description: Bank number holding the debit account.
          example: ""
        debitArrangementBankBranch:
          type: string
          description: Bank branch holding the debit account.
          example: ""
        debitArrangementCurrencyCode:
          type: string
          description: Transaction currency code of the debit account.
          example: ""
        debitInvolvedPartyIdentifier:
          type: string
          description: Customer number associated with the debit account.
          example: ""
        debitInvolvedPartyName:
          type: string
          description: Customer name associated with the debit account.
          example: ""
        transactionBusinessStatusCode:
          type: string
          description: Transaction business status code
          example: ""
        sendingBankReferenceNumber:
          type: string
          description: Reference number attached to a wire, issued by the sending bank.
          example: ""
        originatingInvolvedPartyName:
          type: string
          description: Name of the wire transaction originator.
          example: ""
        originatingArrangementNumber:
          type: string
          description: Account number of the wire transaction originator.
          example: ""
        originatingInvolvedPartyAddressLine1:
          type: string
          description: Address line 1 of the wire transaction originator.
          example: ""
        originatingInvolvedPartyAddressLine2:
          type: string
          description: Address line 2 of the wire transaction originator.
          example: ""
        beneficiaryInvolvedPartyName:
          type: string
          description: Beneficiary of the wire payment.
          example: ""
        beneficiaryArrangementNumber:
          type: string
          description: Account number of the beneficiary.
          example: ""
        beneficiaryInvolvedPartyAddressLine1:
          type: string
          description: Address line 1 of the beneficiary.
          example: ""
        beneficiaryInvolvedPartyAddressLine2:
          type: string
          description: Address line 2 of the beneficiary.
          example: ""
        intermediaryBankName:
          type: string
          description: Name of the intermediary bank.
          example: ""
        intermediaryBankABANumber:
          type: string
          description: ABA number of the intermediary bank.
          example: ""
        intermediaryBICCode:
          type: string
          description: BIC number of the intermediary bank.
          example: ""
        intermediaryBankAddressLine1:
          type: string
          description: Address line 1 of the intermediary bank.
          example: ""
        intermediaryBankAddressLine2:
          type: string
          description: Address line 2 of the intermediary bank.
          example: ""
        originatingBankName:
          type: string
          description: Name of the wire originating bank.
          example: ""
        originatingBankABANumber:
          type: string
          description: ABA number of the wire originating bank.
          example: ""
        originatingBankBICcode:
          type: string
          description: BIC number of the wire originating bank.
          example: ""
        originatingBankAddressLine1:
          type: string
          description: Address line 1 of the wire originating bank.
          example: ""
        originatingBankAddressLine2:
          type: string
          description: Address line 2 of the wire originating bank.
          example: ""
        beneficiaryBankName:
          type: string
          description: Name of the beneficiary bank.
          example: ""
        beneficiaryBankABANumber:
          type: string
          description: ABA number of the beneficiary bank.
          example: ""
        beneficiaryBankBICcode:
          type: string
          description: BIC number of the beneficiary bank.
          example: ""
        beneficiaryBankAddressLine1:
          type: string
          description: Address line 1 of the beneficiary bank.
          example: ""
        beneficiaryBankAddressLine2:
          type: string
          description: Address line 2 of the beneficiary bank.
          example: ""
        sourceTransactionIdentifier:
          type: string
          description: End-to-end ID to uniquely identify a transaction in source systems.
          example: ""
        transactionSettledDate:
          type: string
          format: date
          description: "Date the transaction is settled. Format: MM-DD-YYYY"
          example: ""
        federalReferenceNumber:
          type: string
          description: Federal reference number
          example: ""
        incomingReferenceNumber:
          type: string
          description: The incoming reference number, which is provided by the sending bank.
          example: ""
        currencyExchangeRate:
          type: string
          description: Exchange rate
          example: ""
        transactionExecutedDate:
          type: string
          format: date
          description: "Date the transaction is executed. Format: MM-DD-YYYY"
          example: ""
        bankToBankMemo:
          type: string
          description: Free-form text transmitted between the banks.
          example: ""
        transactionIdentifier:
          type: string
          description: Transaction identifier
          example: ""
        transactionAmount:
          type: string
          description: The amount of the RTP transaction.
          example: '400'
    GetCurrentBalancesResult:
      type: object
      properties:
        currentBalances:
          $ref: '#/components/schemas/CurrentBalances'
    BusinessFault:
      type: object
      description: Indicates business fault error details.
      properties:
        errorCode:
          type: string
          description: Business error code
        errorDescription:
          type: string
          description: A human-readable message that describes the type or source of the business error.
    GetCDASummaryRequest: 
      type: object
      description: Contains the request payload.
      properties:
        getCDASummaryRequest:
          required:
          - accountNumber
          - date
          type: object
          properties:
            accountNumber:
                type: array
                description: Use a bank account number to get its historical transaction activity. Retrieving multiple accounts with a single request may impact performance, depending on the volume of transaction activity.
                items:
                  type: string
                  example: "123456789"
            date:
                type: string
                description: "Date for which the transaction summaries are to be retrieved. Transaction data can be recalled from the previous 24 months. Format: YYYY-MM-DD"
                format: date
                example: "2022-01-14"
    OLDSData:
      type: object
      description: Contains all associated current day Online Deposit System (OLDS) transaction details. Applicable only if the Intraday transaction type is OLDS.
      properties:
        bankNumber:
          type: string
          description: Bank number associated with the account number.
          example: "101"
        transactionTypeId:
          type: string
          description: 'Four-digit transaction type identifier.'
          example: "1031"
        srcArrangementNumber:
          type: string
          description: Can be any account number, DDA, loan account, credit card, or savings.
          example: ""
        transactionEffDate:
          type: string
          format: date
          description: "Effective date of the transaction. Format: YYYY-MM-DD"
          example: ""
        transactionAmount:
          type: string
          description: Transaction amount
          example: "582417.79"
        transactionTypeCode:
          type: string
          description: "Code that indicates if the transaction is a credit or a debit. Valid values: C (credit), D (debit)"
          example: "D"
        reversalFlag:
          type: string
          description: Denotes if the transaction is a reversal transaction of an earlier transaction.
          example: "N"
        transactionSrcCode:
          type: string
          description: Identifies the source of the transaction.
          example: "ACH"
        transactionDescription:
          type: string
          description: Brief description of the transaction.
          example: ""
        traceId:
          type: string
          description: Source transaction identifier
          example: ""
        transactionCodeBAI2:
          type: string
          description: BAI2 transaction code
          example: "699"
    getIntraDayTransactionsRequest: 
      type: object
      description: Contains the request payload.
      properties:
        getIntraDayTransactionsRequest:
            required:
            - accountNumber
            - date
            type: object
            properties:
              accountNumber:
                type: array
                description: Use a bank account number to get its historical transaction activity. Retrieving multiple accounts with a single request may impact performance, depending on the volume of transaction activity.
                items:
                  type: string
                  example: "123456789"
              date:
                type: string
                description: "Date for which the list of transactions is to be retrieved. Transaction data can be recalled from the previous 24 months. Format: YYYY-MM-DD"
                format: date
                example: "2022-01-14"
              startRowIndex:
                type: string
                description: Pagination parameter that indicates the starting count available for the records. If this parameter is not provided, value will default to 1.
                example: "1"
              endRowIndex:
                type: string
                description: Pagination parameter that indicates the last count available for the records. If this parameter is not provided, value will default to 1000. The request can't exceed more than 1000 records from the startRowIndex.
                example: "1000"
    Summary:
      type: object
      description: Contains the CDA account summary.
      properties:
        sourceArrangementNumber:
          type: string
          description: Account number
          example: "123456789"
        snapshotDate:
          type: string
          format: date
          description: "Date that requested data was loaded. Format: MM-DD-YYYY"
          example: "10/08/2021"
        sourceSystemOfRecordCode:
          type: string
          description: This field is for internal purposes only.
          example: "CDA"
        currencyCode:
          type: string
          description: "Currency code of the transaction. Default value: USD"
          example: "USD"
        amount:
          type: string
          description: Transaction amount
          example: "0.00"
        amountTypeCode:
          type: string
          description: "Code associated with the transaction amount. Valid values: 580 (Total Controlled Disbursing Debits), 584 (Total Disbursing Checks Paid Later Amount), 602 (Total Adjustments), 585 (Required Funding Amount)"
          example: "602"
        FundTypeCode:
          type: string
          description: Code associated with the fund type.
          example: "Z"
        itemCount:
          type: string
          description: Total number of transactions
          example: "0"
        processSequenceNumber:
          type: string
          description: Sequence number of the transaction. 
          example: "1"
        earlyACHCredit:
          type: string
          description: "Total credit amount as of the  6:00 a.m. EST posting window."
          example: "0"
        earlyACHDebit:
          type: string
          description: Total debit amount as of 0600 posting window.
          example: "3375.69"
    CPCSData:
      type: object
      description: Contains all associated current day Check Processing Control System (CPCS) transaction details. Applicable only if the Intraday transaction type is CPCS.
      properties:
        transactionPostedDate:
          type: string
          format: date
          description: "Date the transaction posted. Format: MM-DD-YYYY"
        sourceArrangementNumber:
          type: string
          description: Account number
        transactionDescriptionPart1:
          type: string
          description: Description of transaction, part 1
        transactionDescriptionPart2:
          type: string
          description: Description of transaction, part 2
        transactionDescriptionPart3:
          type: string
          description: Description of transaction, part 3
        regulationEDescription:
          type: string
          description: Regulation E description
        transactionDescription2:
          type: string
          description: Description of transaction
        transactionEffectiveDate:
          type: string
          format: date
          description: "Effective date of the transaction. Format: YYYY-MM-DD"
        transactionActionCode:
          type: string
          description: Transaction action identifier
        transactionAmount:
          type: string
          description: Transaction amount
        cashAmount:
          type: string
          description: Cash part of transaction amount
        checkIdentificationNumber:
          type: string
          description: Can contain serial number of item or store number for identification purposes.
        float0Amount:
          type: string
          description: Float 0 amount
        float1Amount:
          type: string
          description: Float 1 amount
        float2Amount:
          type: string
          description: Float 2 amount
        float3Amount:
          type: string
          description: Float 3 amount
        float4Amount:
          type: string
          description: Float 4 amount
        float5Amount:
          type: string
          description: Float 5 amount
        float6Amount:
          type: string
          description: Float 6 amount
        float7Amount:
          type: string
          description: Float 7 amount
        priorDateFlag:
          type: string
          description: If the transaction date is prior to the current business date then this is set to "P".
        creditOrDebitCode:
          type: string
          description: "Code that indicates if the transaction is a credit or a debit. Valid values: C (credit), D (debit)"
        traceID:
          type: string
          description: Source transaction identifier
    SystemFault:
      type: object
      description: Indicates system fault error details.
      properties:
        errorCode:
          type: string
          description: System error code
        errorDescription:
          type: string
          description: A human-readable message that describes the type or source of the system error.
    GetCDASummaryResult:
      type: object
      description: Contains the response payload with a summary, transaction details, and the ACH memo post information.
      properties:
        summary:
          $ref: '#/components/schemas/Summary'
        CDATransactionDetails:
          $ref: '#/components/schemas/CDATransactionDetails'
        ACHMemoPost:
          $ref: '#/components/schemas/ACHMemoPost'
    GetCDASummaryResponse:
      type: object
      description: Contains the response payload for the CDA summary report request.
      properties:
        getCDASummaryResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
             $ref: '#/components/schemas/responseHeaders'
            CDASummary:
              type: array
              items:
                $ref: '#/components/schemas/GetCDASummaryResult' 
    GetCDASummaryResponseException:
      type: object
      description: Detailed error information as generated by the CDA summary report endpoint.
      properties:
        getCDASummaryResponse:
          required:
          - responseHeader
          type: object
          properties:
            responseHeader:
              required:
                - status
                - statusDescription
              properties:
                status:
                  type: string
                  description: Indicates whether the result was successfully retrieved.
                  example: S
                statusDescription:
                  type: string
                  description: Description of the status.
                  example: Successfully fetched the records from Sourcing Layer.
                dataLoadDate:
                  type: string
                  description: "Indicates the date that the requested data was loaded. Format: YYYY-MM-DD"
                  example: "2021-03-26"
                retrivedRows:
                  type: string
                  description: Total number of transactions retrieved.
                  example: "1"
                totalRows:
                  type: string
                  description: Total number of transactions matching the requested criteria.
                  example: "10"
              type: object
            errorResponse:
              $ref: '#/components/schemas/ErrorResponse'
    AddendaInformation:
      type: object
      description: Contains addenda information by transaction type.
      properties:
        WiresData:
          $ref: '#/components/schemas/WiresData'
        OLDSData:
          $ref: '#/components/schemas/OLDSData'
        LockboxData:
          $ref: '#/components/schemas/LockboxData'
        LockboxTransactionData:
          $ref: '#/components/schemas/LockboxTransactionData'
        CPCSData:
          $ref: '#/components/schemas/CPCSData'
        ACHTransactionData:
          $ref: '#/components/schemas/ACHTransactionData'
        RTPData:
          $ref: '#/components/schemas/RTPData'
    ACHTransactionData:
      type: object
      description: Contains all associated current day ACH transaction details. Applicable only if the Intraday transaction type is ACH.
      properties:
        sourceArrangementNumber:
          type: string
          description: Account number
        transactionProcessedDate:
          type: string
          format: date
          description: "Date the transaction was processed. Format: YYYY-MM-DD"
        transactionAmount:
          type: string
          description: Transaction amount
        transactionCreditDebitCode:
          type: string
          description: "Code that indicates if the transaction is a credit or a debit. Valid values: C (credit), D (debit)"
        derivedBAICode:
          type: string
          description: BAI2 transaction code
        transactionCode:
          type: string
          description: Two-digit code identifying the account type at the receiving financial institution.
        description1:
          type: string
          description: Brief description of the transaction.
        description2:
          type: string
          description: Brief description of the transaction.
        description3:
          type: string
          description: Brief description of the transaction.
        description4:
          type: string
          description: Brief description of the transaction.
        transactionPostingWindow:
          type: string
          description: Posting window of the transaction. 
    GetIntraDaySummaryRequest: 
      type: object
      description: Contains the request payload
      properties:
        getIntraDaySummaryRequest:
          type: object
          required:
          - accountNumber
          - date
          properties:
              accountNumber:
                type: array
                description: Use a bank account number to get its historical transaction activity. Retrieving multiple accounts with a single request may impact performance, depending on the volume of transaction activity.
                items:
                  type: string
                  example: "123456789"
              date:
                type: string
                description: "Date for which the transaction summaries are to be retrieved. Transaction data can be recalled from the previous 24 months. Format: YYYY-MM-DD" 
                format: date
                example: "2022-01-14"
    GetIntraDaySummaryResult:
      type: object
      properties:
        earlyACHCredit:
          type: string
          description: Total credit amount as of 0600 posting window.
        earlyACHCreditCount:
          type: string
          description: Total number of ACH credit transactions as of 0600 posting window.
        lateACHCredit:
          type: string
          description: Total credit amount from posting windows other than 0600.
        lateACHCreditCount:
          type: string
          description: Total number of ACH credit transactions from posting windows other than 0600.
        lockboxCredit:
          type: string
          description: Total credit amount of lockbox transactions.
        lockboxCreditCount:
          type: string
          description: Total number of lockbox credit transactions.
        wireTransferCredit:
          type: string
          description: Total credit amount of wire transfer transactions.
        wireTransferCreditCount:
          type: string
          description: Total number of wire transfer credit transactions.
        depositsCredit:
          type: string
          description: Total credit amount through deposits.
        otherMiscCredit:
          type: string
          description: Other miscellaneous credit amounts.
        otherMiscCreditCount:
          type: string
          description: Total number of miscellaneous credit transactions.
        totalCredit:
          type: string
          description: Total credit amount from memo post, lockbox, wires, OLDS, and CPCS transactions.
        totalCreditCount:
          type: string
          description: Total number of credits from memo post, lockbox, wires, OLDS, and CPCS transactions.
        earlyACHDebit:
          type: string
          description: Total debit amount as of 0600 posting window.
        earlyACHDebitCount:
          type: string
          description: Total number of ACH debit transactions as of 0600 posting window.
        lateACHDebit:
          type: string
          description: Total debit amount from posting windows other than 0600.
        lateACHDebitCount:
          type: string
          description: Total number of ACH debit transactions from posting windows other than 0600.
        wireTransferDebit:
          type: string
          description: Total debit amount of wire transfer transactions.
        wireTransferDebitCount:
          type: string
          description: Total number of wire transfer debit transactions.
        otherMiscDebit:
          type: string
          description: Other miscellaneous debit amounts.
        otherMiscDebitCount:
          type: string
          description: Total number of miscellaneous debit transactions.
        totalDebit:
          type: string
          description: Total debit amount from memo post, lockbox, wires, OLDS, and CPCS transactions.
        totalDebitCount:
          type: string
          description: Total number of debits from memo post, lockbox, wires, OLDS, and CPCS transactions.
        srcBankNum:
          type: string
          description: Source bank number
        srcSysCode:
          type: string
          description: Source system code
        currentBalances:
          $ref: '#/components/schemas/GetCurrentBalancesResult'
    CDATransactionDetails:
      type: object
      description: Contains the details for CDA transactions. 
      properties:
        transactionDate:
          type: string
          format: date
          description: "Date the transaction posted. Format: MM-DD-YYYY"
        snapshotDate:
          type: string
          format: date
          description: "Date that requested data was loaded. Format: MM-DD-YYYY"
        originatingFinancialInstitutionReferenceNumber:
          type: string
          description: Reference number of the originating financial institution.
        currencyCode:
          type: string
          description: "Currency code of the transaction. Default value: USD"
        transactionDescription:
          type: string
          description: Brief description of the transaction.
        transactionTypeCode:
          type: string
          description: The banking processor code for a particular transaction type.
        fundTypeCode:
          type: string
          description: Code associated with the fund type.
        amount:
          type: string
          description: Transaction amount
        customerReferenceNumber:
          type: string
          description: Reference number attached to the customer.
        processSequenceNumber:
          type: string
          description: Sequence number of the transaction. 
    ACHMemoPost:
      type: object
      description: Contains the details for an ACH transaction.
      properties:
        sourceArrangementNumber:
          type: string
          description: Account number
        transactionProcessedDate:
          type: string
          format: date
          description: "Date the transaction was processed. Format: YYYY-MM-DD"
        transactionAmount:
          type: string
          description: Transaction amount
        transactionCreditDebitCode:
          type: string
          description: "Code that indicates if the transaction is a credit (C) or a debit (D). Valid values: C, D"
        derivedBAICode:
          type: string
          description: The three-digit BAI2 code identifies the activity or balance being reported.
        transactionCode:
          type: string
          description: Two-digit code identifying the account type at the receiving financial institution.
        description1:
          type: string
          description: Brief description of the transaction.
        description2:
          type: string
          description: Brief description of the transaction.
        description3:
          type: string
          description: Brief description of the transaction.
        description4:
          type: string
          description: Brief description of the transaction.
        transactionPostingWindow:
          type: string
          description: Posting window of the transaction.
