BMO

BMO TPP EMT Customer Cancel Transfer Initiation API

Cancel Payment

Operations 1

POST /tpp/interac-etransfer/payment-execution/customer-payment-cancellation-request Cancellation of payment #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bmo-tpp-emtcustomercanceltransferinitiation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bmo-tpp-emtcustomercanceltransferinitiation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 4.3.0
  title: Instant Payments TPP EMT Customer Cancel Transfer Initiation API
  description: This swagger is inclusive of 6 operations such as EMTRecipientPaymentOptions, EMTCustomerCreditTransferInitiation, EMTGetTransaction, EMTCreditorPaymentActivationRequest, EMTGetRequestForPaymentTransaction and Cancellation.
  contact:
    name: Interac Open API
    email: AWS-EMTOS-API-Developers@bmo.com
  x-api-id: BMO-ENT-f03de36a-fb59-4757-af38-b4afb449a904
  x-bmo-api-type: general-api
  x-bmoservicedomain-name: Payment Initiation
  x-bmo-api-provider-id: 87679
  x-audience: company-external
  x-template-version: 1.0.0
  x-api-specification-compliant: true
  x-ibm-name: interacpaymentapi
  x-ibm-summary: ''
servers:
- url: https://open-api-sit.bmogc.net/open-banking2/commercial-sb
tags:
- name: TPP-EMTCustomerCancelTransferInitiation
  description: Cancel Payment
paths:
  /tpp/interac-etransfer/payment-execution/customer-payment-cancellation-request:
    parameters: []
    post:
      tags:
      - TPP-EMTCustomerCancelTransferInitiation
      summary: Cancellation of payment
      description: EMTCustomerCancelTransferInitiation Api which receives CAMT.055 ISO format as input and returns CAMT.029 ISO format as response.
      x-dataclassification-code: Confidential
      operationId: TPP-EMTCustomerCancelTransferInitiation
      parameters:
      - $ref: '#/components/parameters/x-fapi-financial-id'
      - $ref: '#/components/parameters/x-fapi-customer-last-logged-time'
      - $ref: '#/components/parameters/x-fapi-customer-ip-address'
      - $ref: '#/components/parameters/x-fapi-interaction-id'
      - $ref: '#/components/parameters/x-fapi-customer-user-agent'
      - $ref: '#/components/parameters/x-client-id'
      - $ref: '#/components/parameters/x-request-id'
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/x-app-cat-id'
      - $ref: '#/components/parameters/true-client-ip'
      - $ref: '#/components/parameters/x-crypto-key'
      - $ref: '#/components/parameters/x-api-key'
      requestBody:
        description: customerPaymentCancellationRequestV08 Request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cancelPaymentRequestBody'
        required: true
      responses:
        '200':
          $ref: '#/components/responses/cancelPaymentResponseBody'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '415':
          $ref: '#/components/responses/415'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
        '504':
          $ref: '#/components/responses/504'
      security:
      - OAuth:
        - bmo.tppinterac.payment-execution.create
        api-key-1: []
      x-amazon-apigateway-request-validator: params-only
      x-amazon-apigateway-integration:
        type: aws_proxy
        httpMethod: POST
        uri: cancelPaymentlambdaArnInvocation
        responses:
          default:
            statusCode: '200'
        passthroughBehavior: when_no_match
        contentHandling: CONVERT_TO_TEXT
      x-codegen-request-body-name: cancelPaymentRequestBody
components:
  schemas:
    AccountSchemeName1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalAccountIdentification1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    GenericFinancialIdentification1:
      additionalProperties: false
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeName:
          $ref: '#/components/schemas/FinancialIdentificationSchemeName1Choice'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      required:
      - identification
      type: object
    ISODateTime:
      type: string
    CashAccountType2Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalCashAccountType1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    SequenceType3Code:
      enum:
      - FRST
      - RCUR
      - FNAL
      - OOFF
      - RPRE
      type: string
    GenericPersonIdentification1:
      additionalProperties: false
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeName:
          $ref: '#/components/schemas/PersonIdentificationSchemeName1Choice'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      required:
      - identification
      type: object
    NumberOfCancellationsPerStatus1:
      additionalProperties: false
      required:
      - detailedNumberOfTransactions
      - detailedStatus
    TaxAmountType1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalTaxAmountType1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    ResolutionData1:
      additionalProperties: false
      properties:
        interbankSettlementAmount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        interbankSettlementDate:
          $ref: '#/components/schemas/ISODate'
        clearingChannel:
          $ref: '#/components/schemas/ClearingChannel2Code'
        charges:
          items:
            $ref: '#/components/schemas/Charges7'
          type: array
      type: object
    CashAccount38:
      additionalProperties: false
      properties:
        identification:
          $ref: '#/components/schemas/AccountIdentification4Choice'
        type:
          $ref: '#/components/schemas/CashAccountType2Choice'
        currency:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyCode'
        name:
          $ref: '#/components/schemas/Max70Text'
        proxy:
          $ref: '#/components/schemas/ProxyAccountIdentification1'
      required:
      - identification
      type: object
    Problem:
      type: object
      properties:
        type:
          type: string
          description: The problem type.
        title:
          type: string
          description: A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized);
        status:
          type: integer
          description: The HTTP status code generated by the origin server for this occurrence of the problem.
          format: int32
        detail:
          type: string
          description: A detailed message text human readable explanation specific to this occurrence of the problem.
        instance:
          type: string
          description: An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
    OtherContact1:
      additionalProperties: false
      properties:
        channelType:
          $ref: '#/components/schemas/Max4Text'
        identification:
          $ref: '#/components/schemas/Max128Text'
      required:
      - channelType
      type: object
    ReferredDocumentType3Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/DocumentType6Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    OriginalGroupHeader15:
      additionalProperties: false
      required:
      - originalMessageIdentification
      - originalMessageNameIdentification
      properties:
        groupCancellationIdentification:
          $ref: '#/components/schemas/Max35Text'
        case:
          $ref: '#/components/schemas/Case5'
        originalMessageIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalMessageNameIdentification:
          $ref: '#/components/schemas/Max35Text'
      type: object
    TaxRecord2:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/Max35Text'
        category:
          $ref: '#/components/schemas/Max35Text'
        categoryDetails:
          $ref: '#/components/schemas/Max35Text'
        period:
          $ref: '#/components/schemas/TaxPeriod2'
        taxAmount:
          $ref: '#/components/schemas/TaxAmount2'
      type: object
    ExternalServiceLevel1Code:
      minLength: 1
      maxLength: 4
      type: string
    Max140Text:
      description: Specifies a character string with a maximum length of 140 characters.
      minLength: 1
      maxLength: 140
      type: string
    CreditorReferenceType1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/DocumentType3Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    FinancialInstitutionIdentification18:
      additionalProperties: false
      properties:
        BICFI:
          $ref: '#/components/schemas/BICFIDec2014Identifier'
        clearingSystemMemberIdentification:
          $ref: '#/components/schemas/ClearingSystemMemberIdentification2'
        LEI:
          $ref: '#/components/schemas/LEIIdentifier'
        name:
          $ref: '#/components/schemas/Max140Text'
        postalAddress:
          $ref: '#/components/schemas/PostalAddress24'
        other:
          $ref: '#/components/schemas/GenericFinancialIdentification1'
      type: object
    DiscountAmountAndType1:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/DiscountAmountType1Choice'
        amount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
      required:
      - amount
      type: object
    Case5:
      required:
      - identification
      - creator
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        creator:
          $ref: '#/components/schemas/Party40Choice'
      additionalProperties: false
      type: object
    PaymentTransaction103:
      additionalProperties: false
      properties:
        cancellationStatusIdentification:
          $ref: '#/components/schemas/Max35Text'
        resolvedCase:
          $ref: '#/components/schemas/Case5'
        originalInstructionIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalEndToEndIdentification:
          $ref: '#/components/schemas/Max35Text'
        transactionCancellationStatus:
          $ref: '#/components/schemas/CancellationIndividualStatus1Code'
        cancellationStatusReasonInformation:
          items:
            $ref: '#/components/schemas/CancellationStatusReason4'
          type: array
        originalTransactionReference:
          $ref: '#/components/schemas/OriginalTransactionReference28Resp'
      type: object
    Max16Text:
      description: Specifies a character string with a maximum length of 16 characters.
      minLength: 1
      maxLength: 16
      type: string
    DateAndDateTime2Choice:
      oneOf:
      - required:
        - date
      - required:
        - dateTime
      properties:
        date:
          $ref: '#/components/schemas/ISODate'
        dateTime:
          $ref: '#/components/schemas/ISODateTime'
      additionalProperties: false
      type: object
    ExternalDiscountAmountType1Code:
      minLength: 1
      maxLength: 4
      type: string
    Max15NumericText:
      description: Specifies a numeric string with a maximum length of 15 digits.
      pattern: ^[0-9]{1,15}$
      type: string
    PaymentCancellationReason5:
      additionalProperties: false
      properties:
        originator:
          $ref: '#/components/schemas/PartyIdentification135'
        reason:
          $ref: '#/components/schemas/CancellationReason33Choice'
      type: object
    cancelPaymentRequestBody:
      type: object
      properties:
        SECURE:
          type: object
          properties:
            encrypted:
              type: boolean
            data:
              type: string
              $ref: '#/components/schemas/customerPaymentCancellationRequestV08'
    OriginalPaymentInstruction30:
      additionalProperties: false
      required:
      - originalPaymentInformationIdentification
      properties:
        originalPaymentInformationCancellationIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalPaymentInformationIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalGroupInformation:
          $ref: '#/components/schemas/OriginalGroupInformation29'
        cancellationStatusReasonInformation:
          items:
            $ref: '#/components/schemas/CancellationStatusReason4'
          type: array
        numberOfTransactionsPerCancellationStatus:
          items:
            $ref: '#/components/schemas/NumberOfCancellationsPerStatus1'
          type: array
        transactionInformationAndStatus:
          items:
            $ref: '#/components/schemas/PaymentTransaction103'
          type: array
      type: object
    OrganisationIdentificationSchemeName1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalOrganisationIdentification1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    PreferredContactMethod1Code:
      enum:
      - LETT
      - MAIL
      - PHON
      - FAXX
      - CELL
      type: string
    ProxyAccountType1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalProxyAccountType1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    RemittanceInformation16:
      additionalProperties: false
      properties:
        unstructured:
          items:
            $ref: '#/components/schemas/Max140Text'
          type: array
        structured:
          items:
            $ref: '#/components/schemas/StructuredRemittanceInformation16'
          type: array
      type: object
    CreditorReferenceType2:
      additionalProperties: false
      properties:
        codeOrProprietary:
          $ref: '#/components/schemas/CreditorReferenceType1Choice'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      required:
      - codeOrProprietary
      type: object
    Max350Text:
      description: Specifies a character string with a maximum length of 350 characters.
      minLength: 1
      maxLength: 350
      type: string
    ExternalLocalInstrument1Code:
      minLength: 1
      maxLength: 35
      type: string
    OriginalTransactionReference28Req:
      additionalProperties: false
      properties:
        amount:
          $ref: '#/components/schemas/AmountType4ChoiceCanc'
        paymentTypeInformation:
          $ref: '#/components/schemas/PaymentTypeInformation27'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod4Code'
        remittanceInformation:
          $ref: '#/components/schemas/RemittanceInformation16'
        ultimateDebtor:
          $ref: '#/components/schemas/Party40Choice'
        debtor:
          $ref: '#/components/schemas/Party40Choice'
        debtorAccount:
          $ref: '#/components/schemas/CashAccount38'
        debtorAgent:
          $ref: '#/components/schemas/BranchAndFinancialInstitutionIdentification6'
        creditorAgent:
          $ref: '#/components/schemas/BranchAndFinancialInstitutionIdentification6'
        creditor:
          $ref: '#/components/schemas/Party40Choice'
        creditorAccount:
          $ref: '#/components/schemas/CashAccount38'
        ultimateCreditor:
          $ref: '#/components/schemas/Party40Choice'
      type: object
    PaymentTransaction107:
      required:
      - originalGroupInformation
      properties:
        modificationStatusIdentification:
          $ref: '#/components/schemas/Max35Text'
        resolvedCase:
          $ref: '#/components/schemas/Case5'
        originalGroupInformation:
          $ref: '#/components/schemas/OriginalGroupInformation29'
        originalInstructionIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalEndToEndIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalTransactionReference:
          $ref: '#/components/schemas/OriginalTransactionReference28Resp'
      type: object
    CreditorReferenceInformation2:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/CreditorReferenceType2'
        reference:
          $ref: '#/components/schemas/Max35Text'
      type: object
    DatePeriod2:
      additionalProperties: false
      properties:
        fromDate:
          $ref: '#/components/schemas/ISODate'
        toDate:
          $ref: '#/components/schemas/ISODate'
      required:
      - fromDate
      - toDate
      type: object
    TaxRecordPeriod1Code:
      enum:
      - MM01
      - MM02
      - MM03
      - MM04
      - MM05
      - MM06
      - MM07
      - MM08
      - MM09
      - MM10
      - MM11
      - MM12
      - QTR1
      - QTR2
      - QTR3
      - QTR4
      - HLF1
      - HLF2
      type: string
    PersonIdentification13:
      additionalProperties: false
      properties:
        dateAndPlaceOfBirth:
          $ref: '#/components/schemas/DateAndPlaceOfBirth1'
        other:
          items:
            $ref: '#/components/schemas/GenericPersonIdentification1'
          type: array
      type: object
    Party40Choice:
      oneOf:
      - required:
        - party
      - required:
        - agent
      properties:
        party:
          $ref: '#/components/schemas/PartyIdentification135'
        agent:
          $ref: '#/components/schemas/BranchAndFinancialInstitutionIdentification6'
      type: object
    AmountType4ChoiceCanc:
      oneOf:
      - required:
        - instructedAmount
      - required:
        - equivalentAmount
      properties:
        instructedAmount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        equivalentAmount:
          $ref: '#/components/schemas/EquivalentAmount2Canc'
      additionalProperties: false
      type: object
    ExternalCategoryPurpose1Code:
      minLength: 1
      maxLength: 4
      type: string
    PaymentMethod4Code:
      enum:
      - CHK
      - TRF
      - DD
      - TRA
      type: string
    Priority2Code:
      enum:
      - HIGH
      - NORM
      type: string
    DocumentAdjustment1:
      additionalProperties: false
      properties:
        amount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        creditDebitIndicator:
          $ref: '#/components/schemas/CreditDebitCode'
        reason:
          $ref: '#/components/schemas/Max4Text'
        additionalInformation:
          $ref: '#/components/schemas/Max140Text'
      required:
      - amount
      type: object
    PostalAddress24:
      additionalProperties: false
      properties:
        addressType:
          $ref: '#/components/schemas/AddressType3Choice'
        department:
          $ref: '#/components/schemas/Max70Text'
        subDepartment:
          $ref: '#/components/schemas/Max70Text'
        streetName:
          $ref: '#/components/schemas/Max70Text'
        buildingNumber:
          $ref: '#/components/schemas/Max16Text'
        buildingName:
          $ref: '#/components/schemas/Max35Text'
        floor:
          $ref: '#/components/schemas/Max70Text'
        postBox:
          $ref: '#/components/schemas/Max16Text'
        room:
          $ref: '#/components/schemas/Max70Text'
        postCode:
          $ref: '#/components/schemas/Max16Text'
        townName:
          $ref: '#/components/schemas/Max35Text'
        townLocationName:
          $ref: '#/components/schemas/Max35Text'
        districtName:
          $ref: '#/components/schemas/Max35Text'
        countrySubDivision:
          $ref: '#/components/schemas/Max35Text'
        country:
          $ref: '#/components/schemas/CountryCode'
        addressLine:
          maxItems: 7
          items:
            $ref: '#/components/schemas/Max70Text'
          type: array
      type: object
    Max4Text:
      description: Specifies a character string with a maximum length of 4 characters.
      minLength: 1
      maxLength: 4
      type: string
    TaxAuthorisation1:
      additionalProperties: false
      properties:
        title:
          $ref: '#/components/schemas/Max35Text'
        name:
          $ref: '#/components/schemas/Max140Text'
      type: object
    Max70Text:
      description: Specifies a character string with a maximum length of 70characters.
      minLength: 1
      maxLength: 70
      type: string
    ExternalPersonIdentification1Code:
      minLength: 1
      maxLength: 4
      type: string
    ExternalClearingSystemIdentification1Code:
      minLength: 1
      maxLength: 5
      type: string
    ExternalCashAccountType1Code:
      minLength: 1
      maxLength: 4
      type: string
    OriginalGroupInformation29:
      additionalProperties: false
      properties:
        originalMessageIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalMessageNameIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalCreationDateTime:
          $ref: '#/components/schemas/ISODateTime'
      required:
      - originalMessageIdentification
      - originalMessageNameIdentification
      type: object
    CancellationStatusReason3Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalPaymentCancellationRejection1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    DocumentLineType1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalDocumentLineType1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    customerPaymentCancellationRequestV08:
      type: object
      required:
      - customerPaymentCancellationRequestV08
      properties:
        customerPaymentCancellationRequestV08:
          $ref: '#/components/schemas/CustomerPaymentCancellationRequestV08'
    GenericOrganisationIdentification1:
      additionalProperties: false
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeName:
          $ref: '#/components/schemas/OrganisationIdentificationSchemeName1Choice'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      required:
      - identification
      type: object
    BICFIDec2014Identifier:
      pattern: ^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$
      type: string
    ExternalGarnishmentType1Code:
      minLength: 1
      maxLength: 4
      type: string
    CountryCode:
      pattern: ^[A-Z]{2,2}$
      type: string
    ExternalAccountIdentification1Code:
      minLength: 1
      maxLength: 4
      type: string
    DiscountAmountType1Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalDiscountAmountType1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    CreditDebitCode:
      enum:
      - DBIT
      - CRDT
      type: string
    TaxInformation7:
      additionalProperties: false
      properties:
        creditor:
          $ref: '#/components/schemas/TaxParty1'
        debtor:
          $ref: '#/components/schemas/TaxParty2'
        ultimateDebtor:
          $ref: '#/components/schemas/TaxParty2'
        administrationZone:
          $ref: '#/components/schemas/Max35Text'
        referenceNumber:
          $ref: '#/components/schemas/Max140Text'
        method:
          $ref: '#/components/schemas/Max35Text'
        totalTaxableBaseAmount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        totalTaxAmount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        date:
          $ref: '#/components/schemas/ISODate'
        sequenceNumber:
          $ref: '#/components/schemas/Number'
        record:
          items:
            $ref: '#/components/schemas/TaxRecord2'
          type: array
      type: object
    ClearingSystemIdentification2Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalClearingSystemIdentification1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    Party38Choice:
      oneOf:
      - required:
        - organisationIdentification
      - required:
        - privateIdentification
      properties:
        organisationIdentification:
          $ref: '#/components/schemas/OrganisationIdentification29'
        privateIdentification:
          $ref: '#/components/schemas/PersonIdentification13'
      additionalProperties: false
      type: object
    CustomerPaymentCancellationRequestV08:
      additionalProperties: false
      properties:
        assignment:
          $ref: '#/components/schemas/CaseAssignment5'
        case:
          $ref: '#/components/schemas/Case5'
        controlData:
          $ref: '#/components/schemas/ControlData1'
        underlying:
          minItems: 1
          items:
            $ref: '#/components/schemas/UnderlyingTransaction24'
          type: array
      required:
      - assignment
      - underlying
      type: object
    Max34Text:
      description: Specifies a character string with a maximum length of 34 characters.
      minLength: 1
      maxLength: 34
      type: string
    OriginalPaymentInstruction34:
      additionalProperties: false
      properties:
        paymentCancellationIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalPaymentInformationIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalGroupInformation:
          $ref: '#/components/schemas/OriginalGroupInformation29'
        paymentInformationCancellation:
          $ref: '#/components/schemas/GroupCancellationIndicator'
        cancellationReasonInformation:
          items:
            $ref: '#/components/schemas/PaymentCancellationReason5'
          type: array
        transactionInformation:
          items:
            $ref: '#/components/schemas/PaymentTransaction109'
          type: array
      required:
      - originalPaymentInformationIdentification
      type: object
    resolutionOfInvestigationV09:
      type: object
      required:
      - resolutionOfInvestigationV09
      properties:
        resolutionOfInvestigationV09:
          $ref: '#/components/schemas/ResolutionOfInvestigationV09'
    PaymentTransaction109:
      additionalProperties: false
      properties:
        cancellationIdentification:
          $ref: '#/components/schemas/Max35Text'
        case:
          $ref: '#/components/schemas/Case5'
        originalInstructionIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalEndToEndIdentification:
          $ref: '#/components/schemas/Max35Text'
        originalInstructedAmount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        originalRequestedExecutionDate:
          $ref: '#/components/schemas/DateAndDateTime2Choice'
        cancellationReasonInformation:
          items:
            $ref: '#/components/schemas/PaymentCancellationReason5'
          type: array
        originalTransactionReference:
          $ref: '#/components/schemas/OriginalTransactionReference28Req'
        supplementaryData:
          items:
            $ref: '#/components/schemas/SupplementaryData1Canc'
          type: array
      type: object
    CaseAssignment5:
      additionalProperties: false
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        assigner:
          $ref: '#/components/schemas/Party40Choice'
        assignee:
          $ref: '#/components/schemas/Party40Choice'
        creationDateTime:
          $ref: '#/components/schemas/ISODateTime'
      required:
      - identification
      - assigner
      - assignee
      - creationDateTime
      type: object
    GarnishmentType1:
      additionalProperties: false
      properties:
        codeOrProprietary:
          $ref: '#/components/schemas/GarnishmentType1Choice'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      required:
      - codeOrProprietary
      type: object
    TrueFalseIndicator:
      type: boolean
    AnyBICDec2014Identifier:
      pattern: ^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$
      type: string
    ServiceLevel8Choice:
      oneOf:
      - required:
        - code
      - required:
        - proprietary
      properties:
        code:
          $ref: '#/components/schemas/ExternalServiceLevel1Code'
        proprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      type: object
    ExternalProxyAccountType1Code:
      minLength: 1
      maxLength: 4
      type: string
    AccountIdentification4Choice:
      oneOf:
      - required:
        - IBAN
      - required:
        - other
      properties:
        IBAN:
          $ref: '#/components/schemas/IBAN2007Identifier'
        other:
          $ref: '#/components/schemas/GenericAccountIdentification1'
      additionalProperties: false
      type: object
    StructuredRemittanceInformation16:
      additionalProperties: false
      properties:
        referredDocumentInformation:
          items:
            $ref: '#/components/schemas/ReferredDocumentInformation7'
          type: array
        referredDocumentAmount:
          $ref: '#/components/schemas/RemittanceAmount2'
        creditorReferenceInformation:
          $ref: '#/components/schemas/CreditorReferenceInformation2'
        invoicer:
          $ref: '#/components/schemas/PartyIdentification135'
        invoicee:
          $ref: '#/components/schemas/PartyIdentification135'
        taxRemittance:
          $ref: '#/components/schemas/TaxInformation7'
        garnishmentRemittance:
          $ref: '#/components/schemas/Garnishment3'
        additionalRemittanceInformation:
          maxItems: 3
          items:
            $ref: '#/components/schemas/Max140Text'
          type: array
      type: object
    ActiveOrHistoricCurrencyAndAmount:
      type: object
      properties:
        amount:
          $ref: '#/components/schemas/CurrencyAmountType'
        currency:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyCode'
    EquivalentAmount2Canc:
      additionalProperties: false
      properties:
        amount:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyAndAmount'
        currencyOfTransfer:
          $ref: '#/components/schemas/ActiveOrHistoricCurrencyCode'
      required:
      - amount
      - currencyOfTransfer
      type: object
    IBAN2007Identifier:
      pattern: ^[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}$
      type: string
    ResolutionOfInvestigationV09:
      additionalProperties: false
      properties:
        assignment:
          $ref: '#/components/schemas/CaseAssignment5'
        resolvedCase:
          $ref: '#/components/schemas/Case5'
        status:
          $ref: '#/components/schemas/InvestigationStatus5Choice'
        cancellationDetails:
          items:
            $ref: '#/components/schemas/UnderlyingTransaction22'
          type: ar

# --- truncated at 32 KB (70 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bmo/refs/heads/main/openapi/bmo-tpp-emtcustomercanceltransferinitiation-api-openapi.yml