openapi: 3.0.0
info:
  version: 3.0.1
  title: Polish API
  description: >-
    Wersja dokumentacji: **2.4.1**


    Specyfikacja interfejsu umożliwiającego bankom oraz TPP (Third Party
    Providers) wymianę danych dotyczących rachunków płatniczych oraz
    inicjalizację płatności. Relizacja przez bankowość korporacyjną -
    CA24Biznes.
     Zmiany w stosunku do PLAPI 3.0:
     * usługa **register** nie jest obsługiwana.
     * usługa **authorizeExt** nie jest obsługiwana.
     * usługa **getTransactionsPending** nie jest obsługiwana.
     * usługa **getMultiplePayments** nie jest obsługiwana
     * zmiany w wymagalnościach pól oznaczone w komentarzach do poszczególnych usług / pól
 
     Aktualizacja do wersji 3.0.1: 
     * wprowadzenie opcjonalnych pól endToEndId i purpose
     * rozszerzenie SenderPIS, RecipientPIS oraz SenderRecipient o opcjonalne pola NameAddressStructured, 
     identifiers, utimateSender, ultimateRecipient, ultimateParty i zmiana NameAddress na opcjonalny.

     *Interface specification for services provided by third parties based on access to payment accounts. Prepared by the Polish Bank Association and its affiliates. CORPO version - CA24Biznes realization.*
     *Changes against PLAPI 3.0:*
     * ***register** service is unsupported.*
     * ***authorizeExt** service is unsupported.*
     * ***getTransactionsPending** service is unsupported.*
     * ***getMultiplePayments** service is unsupported*
     * *changes in mandatory/optional fields*

     Update to version 3.0.1:
     * added optional fields endToEndId i purpose
     * expanded SenderPIS, RecipientPIS and SenderRecipient with optional fields NameAddressStructured, 
     identifiers, ultimateSender, ultimateRecipient, ultimateParty and change of NameAddress to optional.
tags:
  - name: AS
    description: Usługi autoryzacyjne / *Authorization Service*
  - name: AIS
    description: Usługi dostępu do informacji o rachunku / *Account Information Service*
  - name: PIS
    description: Usługi inicjowania płatności / *Payment Initiation Services*
  - name: CAF
    description: Usługi potwierdzania dostępności na rachunku płatniczym płatnika kwoty
      niezbędnej do wykonania transakcji płatniczej / *Confirmation of the
      Availability of Funds*
paths:
  /v3_0.1/auth/v3_0.1/authorize:
    x-swagger-router-controller: as
    post:
      summary: Żądanie kodu autoryzacyjnego OAuth2 [Requests OAuth2 authorization code]
      description: >-
        Usługa zapisuje żądanie autoryzacji zgód klienta i generuje jednorazowy kod żądania autoryzacji. Rozpoczyna przepływ autoryzacyjny typu "redirect".
        / *Requests OAuth2 authorization code.*
         Zmiany ww stosunku do polishAPI w wersji 3.0 / *Changes against polishAPI 3.0:*

         REQUEST:
         * scope_details.privilegeList
      operationId: authorize
      parameters:
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/AuthorizeRequest"
        description: Data for OAuth2 Authorization Code Request
        required: true
      tags:
        - AS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AuthorizeResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /v3_0.1/auth/v3_0.1/token:
    x-swagger-router-controller: as
    post:
      summary: Zażądaj tokenu dostępowego [ Request OAuth2 access token value ]
      description: Usługa generuje nowy token dostępowy (access_token) / *Requests OAuth2 access token value.*
      operationId: token
      parameters:
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TokenRequest"
        description: Data for OAuth2 Access Token Request
        required: true
      tags:
        - AS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TokenResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
  /v3_0.1/accounts/v3_0.1/deleteConsent:
    x-swagger-router-controller: ais
    post:
      summary: Usuń zgodę (odwołaj autoryzację operacji) [ Remove consent ]
      description: >-
        Usługa służy do usunięcia zgody klienta z bazy zgód  / *Removes a user's consent*
      operationId: deleteConsent
      parameters:
        - $ref: '#/components/parameters/acceptEncodingParam'
        - $ref: '#/components/parameters/acceptLanguageParam'
        - $ref: '#/components/parameters/acceptCharsetParam'
        - $ref: '#/components/parameters/xjwsSignatureParam'
        - $ref: '#/components/parameters/xRequestIdParam'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteConsentRequest'
        description: Data for delete Consent Request
        required: true
      tags:
        - AIS
      responses:
        '204':
          description: Success
          headers:
            Content-Encoding:
              description: 'Gzip, deflate'
              schema:
                type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '406':
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v3_0.1/accounts/v3_0.1/getAccounts:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o rachunkach klienta [ Get information about all
        user's payment account ]
      description: >-
        Usługa służy do pobrania informacji o rachunkach klienta, dla których
        została udzielona zgoda dostępowa / *Get information about all user's
        payment account.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * pageId     [M]
         * perPage    [M]

         RESPONSE:
         * accountType.code  [M]
         * accountType.description [M]
      operationId: getAccounts
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/AccountsRequest"
        description: Data for Accounts Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AccountsResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais-accounts
  /v3_0.1/accounts/v3_0.1/getAccount:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz szczegółowe informacje o rachunku klienta [Get detailed
        information about user payment account]
      description: >-
        Usługa służy do pobrania informacji o wskazanym rachunku klienta / *Get
        detailed information about user payment account.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*
         RESPONSE:
         * accountType.code  [M]
         * accountType.description [M]
         * bookingBalance [O]
         * auxData [M] - określone zostały klucze dla dodatkowych przekazywanych wartości / additional info, some of it mandatory in response
      operationId: getAccount
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/AccountInfoRequest"
        description: Data for Account Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AccountResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getTransactionsDone:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o zaksiegowanych transakcjach na rachunku klienta [
        Get list of user's done transactions ]
      description: >-
        Usługa służy do pobrania informacji o transakcjach ZAKSIĘGOWANYCH na
        wskazanym rachunku płatniczym klienta / *Get information about DONE
        transactions on user's account.* Zmiany wymagalności pól w stosunku do
        polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional)
        against polishAPI 3.0:*
         REQUEST:
         * auxData - określone zostały klucze dla dodatkowych przekazywanych wartości / additional input values
      operationId: getTransactionsDone
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TransactionsDoneInfoRequest"
        description: Data for Transactions Done Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TransactionsDoneInfoResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getTransactionsPending:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o oczekujących transackcjach na rachunku klienta [
        Get list of user's pending transactions ]
      description: Usługa służy do pobrania informacji o transakcjach OCZEKUJĄCYCH na
        wskazanym rachunku płatniczym klienta / *Get information about PENDING
        transactions on user's account.*
      operationId: getTransactionsPending
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TransactionInfoRequest"
        description: Data for Transactions Pending Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TransactionPendingInfoResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getTransactionsRejected:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o odrzuconych transackcjach na rachunku klienta [ Get
        list of user's rejected transactions ]
      description: Usługa służy do pobrania informacji o transakcjach ODRZUCONYCH na
        wskazanym rachunku płatniczym klienta / *Get information about REJECTED
        transactions on user's account.*
      operationId: getTransactionsRejected
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TransactionInfoRequest"
        description: Data for Transactions Rejected Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TransactionRejectedInfoResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getTransactionsCancelled:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o odwołanych transackcjach na rachunku klienta [ Get
        list of user's cancelled transactions ]
      description: Usługa służy do pobrania informacji o transakcjach ODWOŁANYCH na
        wskazanym rachunku płatniczym klienta / *Get information about CANCELLED
        transactions on user's account.*
      operationId: getTransactionsCancelled
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TransactionInfoRequest"
        description: Data for Transactions Cancelled Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TransactionsCancelledInfoResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getTransactionsScheduled:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o zaplanowanych transackcjach na rachunku klienta [
        Get list of user's scheduled transactions ]
      description: Usługa służy do pobrania informacji o transakcjach ZAPLANOWANYCH na
        wskazanym rachunku płatniczym klienta / *Get information about SCHEDULED
        transactions on user's account.*
      operationId: getTransactionsScheduled
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TransactionInfoRequest"
        description: Data for Transactions Scheduled Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TransactionsScheduledInfoResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getHolds:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz informacje o blokadach na rachunku klienta [ Get list of user's
        hold opeartions ]
      description: >-
        Usługa służy do pobrania informacji o BLOKADACH kartowych na wskazanym
        rachunku płatniczym klienta / *Get information about HOLDS on user's
        account.* Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0
        / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * auxData - określone zostały klucze dla dodatkowych przekazywanych wartości / additional input values
      operationId: getHolds
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/HoldRequest"
        description: Data for hold Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/HoldInfoResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/accounts/v3_0.1/getTransactionDetail:
    x-swagger-router-controller: ais
    post:
      summary: Pobierz szczegółowe informacje o wskazanej transackcji na rachunku
        klienta [ Get details of user's transaction ]
      description: >-
        Usługa służy do pobrania informacji o szczegółach wskazanej transakcji
        na rachunku płatniczym klienta / *Get detailed information about a
        transaction on user's account.*
        Zmiany wymagalności pól w stosunku do
        polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional)
        against polishAPI 3.0:*

         RESPONSE:
         * auxData - określone zostały klucze dla dodatkowych zwracanych wartości / additional output values
      operationId: getTransactionDetail
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TransactionDetailRequest"
        description: Data for transation detail Request
        required: true
      tags:
        - AIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/TransactionDetailResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - ais
  /v3_0.1/payments/v3_0.1/domestic:
    x-swagger-router-controller: pis
    post:
      summary: Inicjalizuj przelew krajowy [ Initiate a domestic transfer ]
      description: >-
        Usługa służy do inicjalizacji pojedynczego przelewu krajowego /
        *Initiate a single domestic transfer.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * deliveryMode     [O]   pole jest nieużywane / field not used
         * system - zawężone wartości enum / number of enum values reduced
         * executionMode - zmieniono wartości sterujące / enum values changed
         * auxData - określone zostały klucze dla dodatkowych przekazywanych wartości / additional input values

         RESPONSE:
         * detailedStatus   [O]
      operationId: domestic
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/DomesticRequest"
        description: Data for domestic transfer
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AddPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/EEA:
    x-swagger-router-controller: pis
    post:
      summary: Inicjalizuj przelew zagraniczny SEPA [ Initiate a SEPA foreign transfer ]
      description: >-
        Usługa służy do inicjalizacji pojedynczego przelewu zagranicznego
        korzystając z systemu SEPA / *Initiate a single SEPA foreign transfer .*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * deliveryMode - zmienione wartości enum / enum values changed
         * system - zawężone i zmienione wartości enum / number of enum values reduced and changed
         * executionMode - pole jest nieużywane / field not used
         * auxData - określone zostały klucze dla dodatkowych przekazywanych wartości / additional input values

         RESPONSE - jak dla domestic / as in domestic:
         * detailedStatus   [O]
      operationId: EEA
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/EEARequest"
        description: Data for SEPA foreign transfer
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AddPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/nonEEA:
    x-swagger-router-controller: pis
    post:
      summary: Inicjalizuj przelew zagraniczny SWIFT [ Initiate a SWIFT foreign
        transfer ]
      description: >-
        Usługa służy do inicjalizacji pojedynczego przelewu zagranicznego
        korzystając z systemu SWIFT / *Initiate a single SWIFT foreign transfer.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * executionMode - mienione wartości enum / enum values changed
         * auxData - określone zostały klucze dla dodatkowych przekazywanych wartości / additional input values

         RESPONSE - jak dla domestic / as in domestic:
         * detailedStatus   [O]
      operationId: nonEEA
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/NonEEARequest"
        description: Data for non SEPA foreign transfer
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AddPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/tax:
    x-swagger-router-controller: pis
    post:
      summary: Inicjalizuj przelew podatkowy [ Initiate a tax transfer ]
      description: >-
        Usługa służy do inicjalizacji pojedynczego przelewu do Urzędu
        Podatkowego lub Izby Celnej / *Initiate a single tax domestic transfer.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * deliveryMode     [O]   pole jest nieużywane / field not used
         * executionMode - pole jest nieużywane / field not used
         * auxData - określone zostały klucze dla dodatkowych przekazywanych wartości / additional input values

         RESPONSE - jak dla domestic / as in domestic:
         * detailedStatus  [O]
      operationId: tax
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/TaxRequest"
        description: Data for tax transfer
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/AddPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/bundle:
    x-swagger-router-controller: pis
    post:
      summary: Inicjalizuj paczkę przelewów danego typu [ Initiate many transfers as
        bundle ]
      description: >-
        Usługa służy do inicjalizacji paczki przelewów jendego typu / *Initiate
        many transfers of one specific type as a bundle.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * zmiany odpowiednie dla danego typu przelewu / changes adequate to transfer type

         RESPONSE:
         * bundleId              [M]
         * bundleStatus          [M]
         * bundleDetailedStatus  [M]
         * payments[]            [M]
      operationId: bundle
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/BundleRequest"
        description: Data for bundle of transfers
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BundleResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/recurring:
    x-swagger-router-controller: pis
    post:
      summary: Inicjalizuj przelew cykliczny [ Initiate a recurring transfer ]
      description: >-
        Usługa służy do inicjalizacji przelewu cyklicznego jendego typu /
        *Initiate a recurring transfer of one specific type.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * zmiany odpowiednie dla danego typu przelewu / changes adequate to transfer type

         RESPONSE:
         * zmiany w wymagalności pól / changes in mandatory of fields
         * recurrence - sekcja niezwracana / section not in response
      operationId: recurring
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/RecurringRequest"
        description: Data for recurring payment definition
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/RecurringResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/getPayment:
    x-swagger-router-controller: pis
    post:
      summary: Pobierz status płatności [ Get the status of payment ]
      description: >-
        Usługa służy do pobrania statusu płatnośći / *Get information about the
        status of payment.*
         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * paymentId  [M]

         RESPONSE:
         * detailedStatus  [O]
         * executionMode   [O]
      operationId: getPayment
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/GetPaymentRequest"
        description: Payment ID
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/getBundle:
    x-swagger-router-controller: pis
    post:
      summary: Pobierz status płatności [ Get the status of bundle of payments ]
      description: >-
        Usługa zwraca status paczki płatności jako całości oraz statusy
        przelewów wchodzących w skład paczki  / *Get information about the
        status of payments bundle.*
        Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * bundleId  [M]
      operationId: getBundle
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/GetBundleRequest"
        description: Bundle ID
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetBundleResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/getRecurringPayment:
    x-swagger-router-controller: pis
    post:
      summary: Pobierz statuy płatności cyklicznej [ Get recurring payment status ]
      description: >-
        Usługa zwraca informacje o statusie płatności cyklicznej / *Get
        information about the status of a recurring payment*

        Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*

         REQUEST:
         * recurringPaymentId  [M]
      operationId: getRecurringPayment
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/GetRecurringPaymentRequest"
        description: Recurring payment identification
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GetRecurringPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/cancelPayments:
    x-swagger-router-controller: pis
    post:
      summary: Odwołaj przelew lub paczkę przelewów [ Cancel a future dated payment or
        bundle of payments ]
      description: Usługa umożliwia odwołanie przelewu lub paczki przelewów. Dotyczy
        przelewów z datą przyszłą  / *Cancelation of future dated payment or
        bundle of payments*
      operationId: cancelPayments
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CancelPaymentsRequest"
        description: Payments to be cancelled - identification data
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success. Operation pefrormed but some of transactions could not be
            cancelled.
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CancelPaymentsResponse"
        "204":
          description: Success. Operation pefrormed with no exceptions.
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/payments/v3_0.1/cancelRecurringPayment:
    x-swagger-router-controller: pis
    post:
      summary: Odwołaj przelew cykliczny [ Cancel a recurring payment ]
      description: Usługa umożliwia odwołanie przelewu cyklicznego / *Cancelation of a
        recurring payment*
      operationId: cancelRecurringPayment
      parameters:
        - $ref: "#/components/parameters/authorizationParam"
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CancelRecurringPaymentRequest"
        description: Recurring payment to be cancelled - identification data
        required: true
      tags:
        - PIS
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CancelRecurringPaymentResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - xs2a_auth_aspsp:
            - pis
  /v3_0.1/confirmation/v3_0.1/getConfirmationOfFunds:
    x-swagger-router-controller: caf
    post:
      summary: Zapytaj o dostępność środków na koncie [ Get confirmation of the
        availability of funds ]
      description: Usługa umożliwia odpytanie o dostępność środków na koncie koniecznych do
        wykonania transakcji. / *Confirming the availability on the payers
        account of the amount necessary to execute the payment transaction, as
        defined in Art. 65 PSD2.*
      operationId: getConfirmationOfFunds
      parameters:
        - $ref: "#/components/parameters/acceptEncodingParam"
        - $ref: "#/components/parameters/acceptLanguageParam"
        - $ref: "#/components/parameters/acceptCharsetParam"
        - $ref: "#/components/parameters/xjwsSignatureParam"
        - $ref: "#/components/parameters/xRequestIdParam"
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ConfirmationOfFundsRequest"
        description: Object with amount to check
        required: true
      tags:
        - CAF
      responses:
        "200":
          description: Success
          headers:
            Content-Encoding:
              description: Gzip, deflate
              schema:
                type: string
            X-JWS-SIGNATURE:
              description: Detached JWS signature of the body of the response
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ConfirmationOfFundsResponse"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "405":
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "406":
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "415":
          description: Unsupported Media Type
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          description: Request limit for the requested service exceeded
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "501":
          description: Not Implemented
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
servers:
  - url: https://xs2a.credit-agricole.pl/CaPolishAPI/prod/corporate
components:
  parameters:
    authorizationParam:
      name: Authorization
      in: header
      required: true
      description: The value of the Authorization header should consist of 'type' +
        'credentials', where for the approach using the 'type' token should be
        'Bearer'.
      schema:
        type: string
    acceptEncodingParam:
      name: Accept-Encoding
      in: header
      required: true
      description: Gzip, deflate
      schema:
        type: string
        enum:
          - gzip
          - deflate
    acceptLanguageParam:
      name: Accept-Language
      in: header
      required: true
      description: Prefered language of response
      schema:
        type: string
    acceptCharsetParam:
      name: Accept-Charset
      in: header
      required: true
      description: UTF-8
      schema:
        type: string
        enum:
          - utf-8
    xjwsSignatureParam:
      name: X-JWS-SIGNATURE
      in: header
      required: true
      description: Detached JWS signature of the body of the payload
      schema:
        type: string
    xRequestIdParam:
      name: X-REQUEST-ID
      in: header
      required: true
      description: Identyfikator żądania w formacie UUID (Wariant 1, Wersja 1), zgodnym ze
        standardem RFC 4122, nadawany przez TPP. Wartość musi być zgodna z
        parametrem requestId przekazywanym w ciele każdego żądania. / Request
        identifier using UUID format (Variant 1, Version 1), described in RFC
        4122 standard, set by TPP. Value of this header must be the same as for
        the requestId param passed inside request payload.
      schema:
        type: string
  securitySchemes:
    xs2a_auth_aspsp:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://xs2a.credit-agricole.pl/CaPolishAPI/prod/corporate/v3_0.1_1/auth/v3_0.1/authorize
          tokenUrl: https://xs2a.credit-agricole.pl/CaPolishAPI/prod/corporate/v3_0.1_1/auth/v3_0.1/token
          scopes:
            ais-accounts: Permission to retrieve the list of accounts through Account
              Information Service
            ais: Permission to execute methods of Account Information Service in
              context of particular account
            pis: Permission to initiate payments and check their statuses through
              Payment Initiation Service
  schemas:
    AuthorizeRequest:
      description: Klasa zapytania o uzyskanie kodu autoryzacyjnego zgodnego z OAuth2
      type: object
      required:
        - requestHeader
        - response_type
        - client_id
        - redirect_uri
        - scope
        - scope_details
        - state
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderWithoutTokenAS"
        response_type:
          type: string
          description: "Typ odpowiedzi. Wartość stała: code"
        client_id:
          type: string
          description: Identyfikator TPP
        redirect_uri:
          type: string
          description: Adres usługi TPP, na które zostanie wykonane przekierowanie po
            uwierzytelnieniu klienta ASPSP
        scope:
          type: string
          description: Typy zgód o które prosi TPP. Lista identyfikatorów zgodna ze
            specyfikacją standardu Polish API.
        scope_details:
          $ref: "#/components/schemas/ScopeDetailsInput"
        state:
          type: string
          description: Losowa, unikalna w ramach TPP wartość – zabezpieczenie przed atakiem
            Cross-Site Request Forgery
      xml:
        name: AuthorizeRequest
    AuthorizeResponse:
      description: Klasa odpowiedzi na zapytanie TPP o autoryzację PSU do wykonania usługi
        interfejsu XS2A
      required:
        - responseHeader
        - aspspRedirectUri
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        aspspRedirectUri:
          type: string
          description: Adres po stronie ASPSP, na który TPP powinien dokonać przekierowania
            przeglądarki PSU w celu jego uwierzytelnienia
      xml:
        name: AuthorizeResponse
    EatCodeRequest:
      description: Klasa zapytania o uzyskanie kodu autoryzacyjnego zgodnego z OAuth2 na
        podstawie przekazanego kodu jednorazowego, wygenerowanego w EAT
      type: object
      required:
        - requestHeader
        - requestId
        - response_type
        - eatCode
        - client_id
        - callbackURL
        - apiKey
        - scope
        - scope_details
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderWithoutTokenCallbackAS"
        response_type:
          type: string
          description: "Typ odpowiedzi. Wartość stała: code"
        eatCode:
          type: string
          description: Jednorazowy kod autoryzacyjny wygenerowany przez EAT
        eatType:
          $ref: "#/components/schemas/DictionaryItem"
        client_id:
          type: string
          description: Identyfikator TPP
        scope:
          type: string
          description: Typy zgód o które prosi TPP. Lista identyfikatorów zgodna ze
            specyfikacją standardu Polish API.
        scope_details:
          $ref: "#/components/schemas/ScopeDetailsInput"
        state:
          type: string
          description: Losowa, unikalna w ramach TPP wartość – zabezpieczenie przed atakiem
            Cross-Site Request Forgery
      xml:
        name: EatCodeRequest
    TokenRequest:
      description: Klasa zapytania o uzyskanie tokena dostępowego zgodnego z OAuth2
      type: object
      required:
        - grant_type
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderWithoutTokenAS"
        grant_type:
          type: string
          description: "Typ zastosowanej autoryzacji. Jedna z wartości: authorization_code,
            refresh_token, exchange_token (rozszerzenie standardu OAuth2)"
        Code:
          type: string
          description: Kod autoryzacji uzyskany podczas żądania do usługi /authorize
            OAuth2. Wymagany dla grant_type=authorization_code.
        redirect_uri:
          type: string
          description: Adres usługi TPP, na które zostanie wykonane przekierowanie po
            wygenerowaniu tokena dostępowego przez ASPSP. Wymagany dla
            grant_type=authorization_code.
        client_id:
          type: string
          description: Identyfikator TPP. Wymagany dla grant_type=authorization_code.
        refresh_token:
          type: string
          description: Wartość tokena, który służy do uzyskania nowego tokena dostępowego
            dla tego samego zakresu zgód (scope, scope_details) - w przypadku
            gdy pierwotny token utraci swoją ważność, lub dla zawężonego zakresu
            zgód. Wymagany dla grant_type=refresh_token.
        exchange_token:
          type: string
          description: Wartość tokena, który służy do uzyskania nowego tokena dostępowego
            dla innego zakresu zgód (scope, scope_details). Wartością tego
            parametru powinien być token dostępowy ważnej sesji komuikacyjnej z
            interfejsem XS2A. Wymagany dla grant_type=exchange_token.
        scope:
          type: string
          description: Typy zgód o które prosi TPP. Lista identyfikatorów zgodna ze
            specyfikacją standardu Polish API. Wymagany dla
            grant_type=exchange_token.
        scope_details:
          $ref: "#/components/schemas/ScopeDetailsInput"
        is_user_session:
          type: boolean
          description: Określa czy dana sesja jest związana z interakcją z PSU – wartości
            true/false. Rozszerzenie standardu OAuth2.
        user_ip:
          type: string
          description: IP przeglądarki użytkownika (informacja na potrzeby fraud
            detection). Rozszerzenie standardu OAuth2. Wymagany dla
            is_user_session = true.
        user_agent:
          type: string
          description: Informacja dotycząca wersji przeglądarki użytkownika (informacja na
            potrzeby fraud detection). Rozszerzenie standardu OAuth2. Wymagany
            dla is_user_session = true.
      xml:
        name: TokenRequest
    TokenResponse:
      description: Klasa odpowiedzi na zapytanie TPP o wygenerowanie tokena dostępowego
      required:
        - responseHeader
        - access_token
        - token_type
        - expires_in
        - scope_details
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        access_token:
          type: string
          description: Wartość wygenerowanego tokena dostępowego
        token_type:
          type: string
          description: Typ tokena dostępowego. Dozwolona wartość to Bearer.
        expires_in:
          type: string
          description: Czas ważności tokena dostępowego, po którym zostanie on
            unieważniony. Wartość wyrażona w sekundach, od momentu wygenerowania
            odpowiedzi.
        refresh_token:
          type: string
          description: Wartość wygenerowanego tokena służącego do uzyskania nowego tokena
            dostępowego bez konieczności ponownej autoryzacji
        scope:
          type: string
          description: Typy zgód które uzyskał TPP. Lista identyfikatorów zgodna ze
            specyfikacją standardu Polish API.
        scope_details:
          $ref: "#/components/schemas/ScopeDetailsOutput"
    DeleteConsentRequest:
      description: >-
        Uwaga:
          - dodano obowiązkowy header


        /


        Attention:
          - a required header is added


        Klasa zapytania o usunięcie zgody na dostęp do AIS
      type: object
      required:
        - requestHeader
        - consentId
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderWithoutToken"
        consentId:
          type: string
          description: Identyfikator zgody / Consent ID
      xml:
        name: DeleteConsentRequest
    AccountsRequest:
      description: >-
        Uwaga:
          - pole typeOfPsuRelation nie jest obsługiwane

          /

        Attention:
          - typeOfPsuRelation field is not supported
          
        Klasa zapytania o rachunki.  / *Accounts Request Class.*

         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*
         * pageId     [M]
         * perPage    [M]
      type: object
      required:
        - requestHeader
        - pageId
        - perPage
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderAISCallback"
        typeOfPsuRelation:
          type: string
          description: "Używane w celu filtrowania - typ relacji PSU do rachunku / Used for filtering the results - type of relation between PSU and an Account"
          enum:
            - Owner #description: "Właściciel lub współwłaściciel rachunku / Account Owner or Co-Owner"
            - Borrower #description: "Kredytobiorca lub współkredytobiorca, dotyczy produktów kredytowych / Borrower or Co-Borrower regarding credit products"
            - Guarantor #description: "Żyrant lub Gwarant, dotyczy produktów kredytowych / Guarantor or Facilitator or Endorser regarding credit products"
            - ProxyOwner #description: "Pełnomocnik na rachunku / Account Proxy Owner"
            - Beneficiary #description: "Uposażony do środków na rachunku / Beneficiary of funds on the account"
            - Trustee #description: "Pełnomocnik ustawowy lub powiernik / Account Trustee or holder"
        pageId:
          type: string
          description: "Używane w celu stronicowania danych: identyfikator strony, która ma
            zostać zwrócona w odpowiedzi. / *Used for paging the results.
            Identifier of the page to be returned in the response.*"
        perPage:
          type: integer
          format: int32
          minimum: 1
          description: "Używane w celu stronicowania danych: wielkość strony danych / Page
            size (paging info)"
      xml:
        name: AccountsRequest
    AccountResponse:
      description: Klasa odpowiedzi na zapytania o konto PSU / PSU's Account Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        account:
          $ref: "#/components/schemas/AccountInfo"
    AccountsResponse:
      description: Klasa odpowiedzi na zapytania o wiele kont PSU / PSU's Multiple Accounts
        Response Class
      required:
        - responseHeader
        #- accounts - according to analysis it can be empty so it cannot be required
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        accounts:
          type: array
          items:
            $ref: "#/components/schemas/AccountBaseInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
    AccountBaseInfo:
      description: >-
        Uwaga: pole psuRelations nie jest obsługiwane / psuRelations field is not supported
        
                Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*
                * psuRelations          [O]
        
        Klasa informacji o koncie / Account Information Class
      type: object
      required:
        - accountNumber
        - accountTypeName
        - accountType
      properties:
        accountNumber:
          type: string
          maxLength: 34
          description: Numer rachunku IBAN / IBAN Current accountNumber; IBAN Credit card
            account numer
        accountTypeName:
          type: string
          maxLength: 32
          description: Nazwa typu rachunku (definiowana przez ASPSP) / Account's type name (defined by ASPSP). Label from language resources in default language of the user.
        accountType:
          $ref: "#/components/schemas/AccountDictionaryItem"
        psuRelations:
          type: array
          items:
            $ref: "#/components/schemas/AccountPsuRelation"
          minItems: 0
          description: Informacje na temat relacji PSU do rachunku / Description of relations between PSU and an Account
      xml:
        name: AccountBaseInfo
    AccountInfo:
      description: Klasa informacji o koncie / Account Information Class
      type: object
      required:
        - accountNumber
        - nameAddress
        - availableBalance
        - accountType
        - accountHolderType
        - currency
        - psuRelations
        - auxData
      properties:
        accountNumber:
          type: string
          maxLength: 34
          description: Numer rachunku IBAN / IBAN Current accountNumber; IBAN Credit card
            account numer
        nameAddress:
          $ref: "#/components/schemas/NameAddress"
        accountType:
          $ref: "#/components/schemas/AccountDictionaryItem"
        accountTypeName:
          type: string
          maxLength: 32
          description: Nazwa typu rachunku (definiowana przez ASPSP) / Account's type name
            (defined by ASPSP)
        accountHolderType:
          type: string
          enum:
            - CORPORATION
          description: "Rodzaj posiadacza rachunku: osoba fizyczna lub osoba prawna /
            Account holder type: individual person or corporation"
        accountNameClient:
          type: string
          maxLength: 32
          description: Nazwa konta ustawiona przez klienta / Account name set by the client
            (alias)
        currency:
          type: string
          maxLength: 3
          description: Waluta rachunku / Currency of the account
        availableBalance:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Dostępne środki - po wykonaniu transakcji / For current acount -
            Available balance in the currency of the account. For Credit card -
            Credit available amount
        bookingBalance:
          type: string
          pattern: ^-?(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Saldo księgowe rachunku - po wykonaniu transakcji / For current
            account - booking balance in the currency of the account. For credit
            card account - NO VALUE
        bank:
          $ref: "#/components/schemas/BankAccountInfo"
        psuRelations:
          type: array
          items:
            $ref: "#/components/schemas/AccountPsuRelation"
          minItems: 1
          description: Informacje na temat relacji PSU do rachunku / Description of relations between PSU and an Account
        vatAccountNrb:
          type: string
          description: "Numer rachunku VAT / VAT account number"
        linkedAccountNumber:
          type: array
          items:
            type: string
          description: "Lista numerów rachunkuów powiązanych z rachunkiem VAT / Account numbers list related to VAT account"
        auxData:
          $ref: "#/components/schemas/AccountAuxData"
      xml:
        name: AccountInfo
    AccountPsuRelation:
      description: "Klasa opisująca relację PSU do rachunku płatniczego / Class describing relation between PSU and an Account"
      type: object
      required:
        - typeOfRelation
      properties:
        typeOfRelation:
          type: string
          description: "Typ relacji PSU do rachunku / Type of relation between PSU and an Account"
          enum:
            - Owner #description: "Właściciel lub współwłaściciel rachunku / Account Owner or Co-Owner"
            - Borrower #description: "Kredytobiorca lub współkredytobiorca, dotyczy produktów kredytowych / Borrower or Co-Borrower regarding credit products"
            - Guarantor #description: "Żyrant lub Gwarant, dotyczy produktów kredytowych / Guarantor or Facilitator or Endorser regarding credit products"
            - ProxyOwner #description: "Pełnomocnik na rachunku / Account Proxy Owner"
            - Beneficiary #description: "Uposażony do środków na rachunku / Beneficiary of funds on the account"
            - Trustee #description: "Pełnomocnik ustawowy lub powiernik / Account Trustee or holder"
        typeOfProxy:
          type: string
          description: "Typ pełnomocnictwa PSU do rachunku płatniczego. Wymagane gdy typ relacji to Pełnomocnik na rachunku. / Type of proxy. Required for ProxyOwner being a type of PSU relation."
          enum:
            - General #description: "Pełnomocnictwo ogólne / General proxy"
            - Special #description: "Pełnomocnictwo szczególne / Special proxy"
            - Administrator #description: "Pełnomocnictwo do zarządzania uprawnieniami do rachunku na rzecz innych osób / Proxy used for administration of account privileges in behalf of others"
            - User #description: "Pełnomocnictwo do wydawania dyspozycji w stosunku do rachunku / Proxy for issuing disposition for an account"
        stake:
          type: integer
          format: int32
          minimum: 0
          maximum: 100
          description: "Wartość całkowita, wyrażona w procentach, określająca udział PSU w środkach na rachunku lub jego odpowiedzialności w przypadku produktów kredytowych. Dotyczy relacji Owner, Borrower, Guarantor. Opcjonalne. / Integer percentage value defining a participation of PSU in liabilities (in case of credit products) or in ownership of funds on the account. Applicable for the following types of PSU relations: Owner, Borrower, Guarantor. Optional." 
      xml:
        name: AccountPsuRelation
    AccountInfoRequest:
      description: Klasa zapytania o pojedynczy rachunek / Account Information Request Class
      type: object
      required:
        - requestHeader
        - accountNumber
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderAIS"
        accountNumber:
          type: string
          description: Numer rachunku w formacie IBAN / Account number in IBAN format
      xml:
        name: AccountInfoRequest
    ItemInfoRequestBase:
      description: Bazowa klasa dla zapytań o elementy takie jak transakcja i blokada /
        Element (transaction or hold) Information Request Base Class
      type: object
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderAISCallback"
        accountNumber:
          type: string
          description: Numer rachunku w formacie IBAN / Account number in IBAN format
        itemIdFrom:
          type: string
          maxLength: 128
          description: >-
            Uwaga:
              - pole nieobsługiwane / field not used

            Element filtru: elementy od podanego identyfikatora (transakcji lub
            blokady) / Filter element - id of transaction or hold to start from
        transactionDateFrom:
          type: string
          format: date
          maxLength: 10
          description: "Element filtru: data transakcji od, YYYY-MM-DD / Filter element"
        transactionDateTo:
          type: string
          format: date
          maxLength: 10
          description: "Element filtru: data transakcji do, YYYY-MM-DD / Filter element"
        bookingDateFrom:
          type: string
          format: date
          maxLength: 10
          description: "Element filtru: data księgowania od, YYYY-MM-DD. Ignorowane w
            przypadku pobierania listy blokad. / Filter element. Ignored during
            list of holds retrieval."
        bookingDateTo:
          type: string
          format: date
          maxLength: 10
          description: "Element filtru: data księgowania do, YYYY-MM-DD. Ignorowane w
            przypadku pobierania listy blokad. / Filter element. Ignored during
            list of holds retrieval."
        minAmount:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: "Element filtru: kwota od / Filter element"
        maxAmount:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: "Element filtru: kwota do / Filter element"
        pageId:
          type: string
          description: "Używane w celu stronicowania danych: identyfikator strony, która ma
            zostać zwrócona w odpowiedzi / Used for paging the results.
            Identifier of the page to be returned in the response."
        perPage:
          type: integer
          format: int32
          minimum: 1
          description: "Używane w celu stronicowania danych: wielkość strony danych / Page
            size (paging info)"
      xml:
        name: ItemInfoRequestBase
    TransactionInfoRequest:
      description: Klasa zapytania o transakcje / Transaction Information Request Class
      allOf:
        - $ref: "#/components/schemas/ItemInfoRequestBase"
        - type: object
          required:
            - requestHeader
            - accountNumber
          properties:
            type:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: >-
                Uwaga:
                  - pole nieobsługiwane dla transakcji Rejected, Cancelled, Scheduled  / field not used

                Element filtru: transakcji / Filter element
      xml:
        name: ItemInfoRequestBase
    TransactionsDoneInfoRequest:
      description: Klasa zapytania o transakcje ZAKSIĘGOWANE / Transaction DONE Information
        Request Class
      allOf:
        - $ref: "#/components/schemas/ItemInfoRequestBase"
        - type: object
          required:
            - requestHeader
            - accountNumber
          properties:
            type:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: "Element filtru: transakcji / Filter element"
            auxData:
              $ref: "#/components/schemas/TransactionsDoneFilterAuxData"
      xml:
        name: TransactionsDoneInfoRequest
    TransactionsDoneFilterAuxData:
      description: Dodatkowe dane wejściowe dla filtrowania transakcji niewyspecyfikowane w
        PLAPI / *Additional input data for transaction filtering not specified
        in PLAPI*
      properties:
        beneficiaryAccount:
          description: Filter transactions where beneficiary account contains entered text
            - for current account only
          type: string
        beneficiaryName:
          description: Filter transactions where beneficiary name contains entered text -
            for current account only
          type: string
        details:
          description: Filter transactions where details contains entered text - for
            current account only
          type: string
        operationCode:
          description: Transaction codes (ISIS or Profile) - for current account and card
            account
          type: string
        cardNumber:
          description: Filters transactions of particular charge cards - for card account
            only
          type: string
        transactionAmountMinAmount:
          description: Min amount in transaction currency - for card account only
          type: string
        transactionAmountMaxAmount:
          description: Max amount in transaction currency - for card account only
          type: string
        transactionCurrency:
          description: For card account only
          type: string
        processingDateFrom:
          description: Processing date from
          type: string
          format: ($date)
        processingDateTo:
          description: Processing date to
          type: string
          format: ($date)
      type: object
      additionalProperties:
        type: string
    HoldRequest:
      description: Klasa zapytania o elementy (transakcje lub blokady) / Element
        (transaction or hold) Information Request Class
      allOf:
        - $ref: "#/components/schemas/ItemInfoRequestBase"
        - type: object
          required:
            - requestHeader
            - accountNumber
          properties:
            type:
              type: string
              enum:
                - DEBIT
              description: "Element filtru: transakcji / Filter element"
            auxData:
              $ref: "#/components/schemas/HoldsFilterAuxData"
      xml:
        name: HoldRequest
    HoldsFilterAuxData:
      description: Dodatkowe dane wejściowe dla filtrowania blokad niewyspecyfikowane w
        PLAPI / *Additional input data for holds filtering not specified in
        PLAPI*
      properties:
        operationCode:
          description: Transaction codes
          type: string
      type: object
      additionalProperties:
        type: string
    ItemInfoBase:
      description: Klasa bazowa informacji o elemencie (transakcji lub blokadzie) / Element
        (transaction or hold) Information Base Class
      type: object
      required:
        - itemId
        - amount
      properties:
        itemId:
          type: string
          maxLength: 128
          description: ID elementu (transakcji lub blokadzie) nadany przez ASPSP / Element
            (transaction or hold) ID (ASPSP)
        amount:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Kwota transakcji / Amount of the transaction
        currency:
          type: string
          maxLength: 3
          description: Kod ISO waluty transakcji / Currency (ISO)
        description:
          type: string
          maxLength: 140
          description: Tytuł transakcji / Description of the transaction
        transactionType:
          type: string
          maxLength: 100
          description: Typ transakcji / Transaction type
        tradeDate:
          type: string
          format: date-time
          description: Data operacji, YYYY-MM-DDThh:mm:ss[.mmm] / Date of the operation
        mcc:
          type: string
          description: Kod dla każdej transakcji/operacji wykonanej przy użyciu karty (!
            pole nieużywane !) / A code of each transaction performed by card (!
            field not used !)
        auxData:
          $ref: "#/components/schemas/Map"
    HoldInfo:
      description: Klasa opisująca blokadę na rachunku / Hold info class
      allOf:
        - $ref: "#/components/schemas/ItemInfoBase"
        - type: object
          required:
            - itemId
            - amount
          properties:
            holdExpirationDate:
              type: string
              format: date-time
              description: Data ważności blokady, YYYY-MM-DDThh:mm:ss[.mmm]
            initiator:
              $ref: "#/components/schemas/NameAddress"
            sender:
              $ref: "#/components/schemas/SenderRecipient"
            recipient:
              $ref: "#/components/schemas/SenderRecipient"
      xml:
        name: HoldInfo
    TransactionPendingInfo:
      description: Klasa opisująca oczekującą transakcję płatniczą. Jest to transakcja
        niezaksięgowana, niemodyfikowalna, wpływającej na dostępne środki (saldo
        dostępne).
      allOf:
        - $ref: "#/components/schemas/ItemInfoBase"
        - type: object
          required:
            - itemId
            - amount
            - transactionCategory
          properties:
            transactionCategory:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: Kategoria transakcji uznanie/obciążenie / Transaction category
                (credit/debit)
            initiator:
              $ref: "#/components/schemas/NameAddress"
            sender:
              $ref: "#/components/schemas/SenderRecipient"
            recipient:
              $ref: "#/components/schemas/SenderRecipient"
      xml:
        name: TransactionPendingInfo
    TransactionRejectedInfo:
      description: Klasa opisująca odrzuconą transakcję płatniczą
      allOf:
        - $ref: "#/components/schemas/ItemInfoBase"
        - type: object
          required:
            - itemId
            - amount
            - transactionCategory
          properties:
            transactionCategory:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: Kategoria transakcji uznanie/obciążenie / Transaction category
                (credit/debit)
            initiator:
              $ref: "#/components/schemas/NameAddress"
            sender:
              $ref: "#/components/schemas/SenderRecipient"
            recipient:
              $ref: "#/components/schemas/SenderRecipient"
            rejectionReason:
              type: string
              maxLength: 140
              description: Powod odrzucenia
            rejectionDate:
              type: string
              format: date-time
              description: Data odrzucenia, YYYY-MM-DDThh:mm:ss[.mmm]
      xml:
        name: TransactionRejectedInfo
    TransactionInfo:
      description: >-
        Klasa opisująca transakcję płatniczą / Transaction information class
         Dla szczegółów transakcji (getTransactionDetail) w baseInfo.auxData może zostać zwrócone: / Additional output data in baseInfo.auxData (only for getTransactionDetail):
         * clientReferences(String)  [O] - Internal client references field, not send to clearing but included in booking so by that also avaliable on statement
      allOf:
        - $ref: "#/components/schemas/ItemInfoBase"
        - type: object
          required:
            - itemId
            - amount
            - transactionCategory
          properties:
            transactionCategory:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: Kategoria transakcji uznanie/obciążenie / Transaction category
                (credit/debit)
            transactionStatus:
              $ref: "#/components/schemas/DictionaryItem"
            initiator:
              $ref: "#/components/schemas/NameAddress"
            sender:
              $ref: "#/components/schemas/SenderRecipient"
            recipient:
              $ref: "#/components/schemas/SenderRecipient"
            bookingDate:
              type: string
              format: date-time
              description: Data księgowania, YYYY-MM-DDThh:mm:ss[.mmm]. Wymagane warunkowo
                - w przypadku transakcji zaksięgowanych.
            postTransactionBalance:
              type: string
              pattern: ^-?(0|([1-9][0-9]{0,}))\.\d{2}$
              description: Saldo rachunku po transakcji (! pole nieużywane !) / Balance
                after transaction (! field not used !)
            endToEndId:
              maxLength: 35
              type: string
              description: >-
                Identyfikator płatności nadany przez płatnika i
                niezmienny w całym łańcuchu - EndToEndId / Payment reference provided 
                by the Sender and carried unchanged through entire payment chain - 
                EndToEndId
            purpose:
              $ref: "#/components/schemas/Purpose"
              description: "Obiekt klasy Purpose / Purpose Class object"
      xml:
        name: TransactionInfo
    TransactionCancelledInfo:
      description: Klasa opisująca odwołaną transakcję płatniczą
      allOf:
        - $ref: "#/components/schemas/ItemInfoBase"
        - type: object
          required:
            - itemId
            - amount
            - transactionCategory
          properties:
            transactionCategory:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: Kategoria transakcji uznanie/obciążenie / Transaction category
                (credit/debit)
            transactionStatus:
              $ref: "#/components/schemas/DictionaryItem"
            initiator:
              $ref: "#/components/schemas/NameAddress"
            sender:
              $ref: "#/components/schemas/SenderRecipient"
            recipient:
              $ref: "#/components/schemas/SenderRecipient"
      xml:
        name: TransactionCancelledInfo
    TransactionScheduledInfo:
      description: Klasa opisująca zaplanowaną transakcję płatniczą
      allOf:
        - $ref: "#/components/schemas/ItemInfoBase"
        - type: object
          required:
            - itemId
            - amount
            - transactionCategory
          properties:
            transactionCategory:
              type: string
              enum:
                - CREDIT
                - DEBIT
              description: Kategoria transakcji uznanie/obciążenie / Transaction category
                (credit/debit)
            transactionStatus:
              $ref: "#/components/schemas/DictionaryItem"
            initiator:
              $ref: "#/components/schemas/NameAddress"
            sender:
              $ref: "#/components/schemas/SenderRecipient"
            recipient:
              $ref: "#/components/schemas/SenderRecipient"
      xml:
        name: TransactionScheduledInfo
    TransactionsDoneInfoResponse:
      description: Klasa odpowiedzi zawierająca listę transakcji done / Done Transaction
        Information Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        transactions:
          type: array
          items:
            $ref: "#/components/schemas/TransactionInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
      xml:
        name: TransactionsDoneInfoResponse
    TransactionsCancelledInfoResponse:
      description: Klasa odpowiedzi zawierająca listę transakcji cancelled / Cancelled
        Transaction Information Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        transactions:
          type: array
          items:
            $ref: "#/components/schemas/TransactionCancelledInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
      xml:
        name: TransactionsCancelledInfoResponse
    TransactionsScheduledInfoResponse:
      description: Klasa odpowiedzi zawierająca listę transakcji scheduled / Scheduled
        Transaction Information Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        transactions:
          type: array
          items:
            $ref: "#/components/schemas/TransactionScheduledInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
      xml:
        name: TransactionsScheduledInfoResponse
    TransactionPendingInfoResponse:
      description: Klasa odpowiedzi zawierająca listę transakcji pending / Pending
        Transaction Information Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        transactions:
          type: array
          items:
            $ref: "#/components/schemas/TransactionPendingInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
      xml:
        name: TransactionPendingInfoResponse
    TransactionRejectedInfoResponse:
      description: Klasa odpowiedzi zawierająca listę transakcji rejected / Rejected
        Transaction Information Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        transactions:
          type: array
          items:
            $ref: "#/components/schemas/TransactionRejectedInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
      xml:
        name: TransactionRejectedInfoResponse
    HoldInfoResponse:
      description: Klasa odpowiedzi zawierająca listę blokad na rachunku / Hold Information
        Response Class
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        holds:
          type: array
          items:
            $ref: "#/components/schemas/HoldInfo"
        pageInfo:
          $ref: "#/components/schemas/PageInfo"
      xml:
        name: HoldInfoResponse
    TransactionDetailRequest:
      description: Klasa zapytania o pojedynczą transakcję / Transaction Detail Request
        Class
      type: object
      required:
        - requestHeader
        - itemId
        - accountNumber
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderAIS"
        itemId:
          type: string
          maxLength: 128
          description: ID elementu (transakcji lub blokadzie) nadany przez ASPSP / Element
            (transaction or hold) ID (ASPSP)
        accountNumber:
          type: string
          maxLength: 34
          description: Numer konta nadawcy w formacie IBAN / Sender account number in IBAN
            format
        bookingDate:
          type: string
          format: date-time
          description: Data zaksięgowania operacji, YYYY-MM-DDThh:mm:ss[.mmm] / Transaction
            booking date
      xml:
        name: TransactionDetailRequest
    Payor:
      description: Klasa informacji o płatniku do US / Tax Payor Information Class
      type: object
      required:
        - payorId
        - payorIdType
      properties:
        payorId:
          type: string
          maxLength: 20
          description: Identyfikator płatnika / Payor ID
        payorIdType:
          type: string
          description: Typ identyfikatora płatnika / Payor ID type
          enum:
            - N
            - P
            - R
            - 1
            - 2
            - 3
          x-ms-enum:
            name: payorIdType
            values:
              - value: N
                description: NIP
              - value: P
                description: Pesel
              - value: R
                description: Regon
              - value: 1
                description: Dowód osobisty
              - value: 2
                description: Paszport
              - value: 3
                description: Inny
      xml:
        name: Payor
    SocialSecurityPayor:
      description: Klasa informacji o płatniku do ZUS / Polish Social Security Institution
        (ZUS) Payor Information Class
      type: object
      properties:
        nip:
          type: string
          maxLength: 10
          description: Numer Identyfikacji Podatkowej / Payor's Tax Identification Number
        additionalPayorId:
          type: string
          maxLength: 20
          description: Dodatkowy numer identyfikacyjny płatnika / Payor's additional
            identification number
        additionalPayorIdType:
          type: string
          description: Typ dodatkowego identyfikatora płatnika / Payor's additional
            identifier type
          enum:
            - P
            - R
            - 1
            - 2
          x-ms-enum:
            name: additionalPayorIdType
            values:
              - value: P
                description: Pesel
              - value: R
                description: Regon
              - value: 1
                description: Dowód osobisty
              - value: 2
                description: Paszport
      xml:
        name: SocialSecurityPayor
    TransactionInfoZUS:
      description: Klasa informacji danych dla przelewu do ZUS / ZUS Transfer Information
        Class
      type: object
      properties:
        payerInfo:
          $ref: "#/components/schemas/SocialSecurityPayor"
        contributionType:
          type: string
          maxLength: 1
          description: Typ wpłaty / Contribution type
        contributionId:
          type: string
          maxLength: 2
          description: Numer deklaracji / Contribution identifier
        contributionPeriod:
          type: string
          maxLength: 6
          description: "Okres deklaracji / Contribution period, Format: MMYYYY"
        paymentTypeId:
          type: string
          maxLength: 1
          description: Identyfikator typu płatności / Payment type ID
        obligationId:
          type: string
          maxLength: 40
          description: Numer tytułu wykonawczego / Obligation identifier or number
      xml:
        name: TransactionInfoZUS
    TransactionInfoTax:
      description: Klasa informacji danych dla przelewu podatkowego do Urzędu Skarbowego
        lub Izby Celnej / Tax Transfer
      type: object
      required:
        - payerInfo
        - formCode
      properties:
        payerInfo:
          $ref: "#/components/schemas/Payor"
        formCode:
          type: string
          maxLength: 7
          description: Symbol formularza Urzędu Skarbowego lub Izby Celnej / Tax authority
            form symbol
        periodId:
          type: string
          maxLength: 7
          description: Numer okresu. Wymagany warunkowo - w zależności od wartości
            parametru formCode. / Period number. Required conditionally -
            depending on formCode parameter value.
        periodType:
          type: string
          maxLength: 7
          description: Typ okresu. Wymagany warunkowo - w zależności od wartości parametru
            formCode. / Period type. Required conditionally - depending on
            formCode parameter value.
        year:
          type: integer
          format: int32
          maximum: 9999
          description: Rok okresu. Wymagany warunkowo - w zależności od wartości parametru
            formCode. / Period year. Required conditionally - depending on
            formCode parameter value.
        obligationId:
          type: string
          maxLength: 40
          description: Identyfikator zobowiązania, z którego wynika należność podatku np.
            decyzja, tytuł wykonawczy, postanowienie / Obligation ID
      xml:
        name: TransactionInfoTax
    TransactionInfoCard:
      type: object
      description: Klasa reprezentująca informacje o karcie w ramach transakcji /
        Transaction Card Information Class
      properties:
        cardHolder:
          type: string
          description: Właściciel karty / Card holder
        cardNumber:
          type: string
          description: Numer karty / Card number
    TransactionDetailResponse:
      description: Klasa odpowiedzi na zapytanie o transakcję /  Transaction Detail
        Response Class
      type: object
      required:
        - responseHeader
        - baseInfo
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        baseInfo:
          $ref: "#/components/schemas/TransactionInfo"
        zusInfo:
          $ref: "#/components/schemas/TransactionInfoZUS"
        usInfo:
          $ref: "#/components/schemas/TransactionInfoTax"
        cardInfo:
          $ref: "#/components/schemas/TransactionInfoCard"
        currencyDate:
          type: string
          format: date-time
          description: Data kursu waluty, YYYY-MM-DDThh:mm:ss[.mmm] / Date of the currency
            exchange rate
        transactionRate:
          type: array
          items:
            $ref: "#/components/schemas/CurrencyRate"
        baseCurrency:
          type: string
          maxLength: 3
          description: Waluta oryginalna transakcji, kod ISO / Currency of the transaction,
            ISO code
        amountBaseCurrency:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Kwota w oryginalnej walucie / Amount of the transaction
        usedPaymentInstrumentId:
          type: string
          maxLength: 32
          description: Unikalny identyfikator instrumentu płatniczego, za którego pomocą
            wykonano transakcję / Payment Instrument ID
        tppTransactionId:
          type: string
          maxLength: 128
          description: Unikalny identyfikator transakcji po stronie TPP / Transaction ID
            (TPP)
        tppName:
          type: string
          maxLength: 32
          description: Nazwa TPP / TPP name
        rejectionReason:
          type: string
          maxLength: 140
          description: Przyczyna odrzucenia / Reason for rejection
        holdExpirationDate:
          type: string
          format: date-time
          description: Data ważności blokady, YYYY-MM-DDThh:mm:ss[.mmm] / Hold expiration
            date
        splitPayment:
          type: boolean
          description: "Czy płatność jest podzielona (true / false) / Indicates if payment is split (true / false)"
          default: false
        transactionInfoSp:
          $ref: "#/components/schemas/TransactionInfoSp"
          description: "Dane dotyczące płatności podzielonej. Wymagane w przypadku użycia mechanizmu Split payment. / Split Payment additional data. Required when Split Payment is used."
        auxData:
          $ref: "#/components/schemas/TransactionDetailAuxData"
      xml:
        name: TransactionDetailResponse
    TransactionDetailAuxData:
      description: Dodatkowe dane zwracane w usłudze getTTransactionDetail
        niewyspecyfikowane w PLAPI / *Additional output data not specified in
        PLAPI*
      properties:
        payeeIDTypeDD:
          description: DirectDebit payee ID type
          type: string
        payeeIDTypeValueDD:
          description: DirectDebit payee ID value
          type: string
        idpDD:
          description: DirectDebit IDP value
          type: string
        transactionID:
          description: Transaction reference numer used in Account History/statements
          type: string
        detailedStatus:
          description: Status in CA24Business
          type: string
        deliveryMode:
          description: Transaction priority – field for SWIFT and SEPA
          type: string
        transferCharges:
          description: Details of Charges– field valid for SWIFT and SEPA
          type: string
        orginalAmount:
          description: Orginal transaction Amount (ie for cash in open fee booking it will
            be amount of cash transaction)
          type: string
        feeAmount:
          description: Commission amount included in transaction
          type: string
        feeAmountCurrency:
          description: Commission currency included in transaction
          type: string
        opCountryCode:
          description: Sender country code ISO 3166-1 alpha 2. Filled for SEPA
          type: string
        debtorDetails:
          description: Only for SEPA
          type: string
        partnerDetails:
          description: Details of partner
          type: string
        creditorDetails:
          description: Details of creditor
          type: string
        additionalInstruction:
          description: Field filled for SEPA and SWIFT
          type: string
          maxLength: 35
        sepaEndToEndId:
          description: SEPA end-to-end id
          type: string
        catPurposeCode:
          description: Field filled for SEPA. SEPA Category Purpose / Additional
            instructions
          type: string
          maxLength: 35
        clientReference:
          description: Used for all outgoing transaction types, not send to clearing but
            included in booking so by that also available in account history and
            on statement
          type: string
          maxLength: 35
        ultimateDebtorDetails:
          description: Ultimate debtor details
          type: string
        srcOpCountryCode:
          description: Ultimate debtor country code ISO 3166-1 alpha 2. Filled for SEPA.
          type: string
        ultimateDebtorName:
          description: Ultimate debtor name
          type: string
        ultimateCreditorDetails:
          description: Ultimate creditor details
          type: string
        srcBfCountryCode:
          description: Ultimate creditor country code ISO 3166-1 alpha 2. Filled for SEPA.
          type: string
        ultimateCreditorName:
          description: Ultimate creditor name
          type: string
      type: object
      additionalProperties:
        type: string
    DomesticRequest:
      description: Klasa zlecenia przelewu krajowego / Domestic Transfer Request Class
      type: object
      required:
        - requestHeader
        - recipient
        - sender
        - transferData
        - tppTransactionId
        - system
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderCallback"
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferData"
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: Tryb pilności (! pole nie interpretowane !) / Urgency mode (! field
            not interpreted !)
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: "Droga jaką przelew ma być rozliczony (uwaga: BlueCash nie jest
            używany) / The way the transfer should be settled (BlueCash is not
            used)"
          type: string
          enum:
            - ELIXIR
            - EXPRESSELIXIR
            - SORBNET
            - Internal
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: >-
            Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność /
             Payment execution mode. The superior information deciding which mode is to be used to execute payment. Used to indicate outgoing transaction type. Possible values:
             *  S – Split payment
             *  O – Internal split payment
             *  /no value/ - non split payment or direct debit transaction
          type: string
          enum:
            - S
            - O
        splitPayment:
          description: "Czy płatność jest podzielona (true / false) / Indicates if payment is split (true / false)"
          type: boolean
          default: false
        transactionInfoSp:
          $ref: "#/components/schemas/TransactionInfoSp"
          description: "Dane dotyczące płatności podzielonej. Wymagane w przypadku użycia mechanizmu Split payment. / Split Payment additional data. Required when Split Payment is used."
        auxData:
          $ref: "#/components/schemas/DomesticAuxData"
      xml:
        name: DomesticRequest
    PaymentDomesticRequestBundled:
      description: Klasa zlecenia przelewu krajowego w ramach paczki / Domestic Transfer
        inside bundle Request Class
      type: object
      required:
        - recipient
        - sender
        - transferData
        - tppTransactionId
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferData"
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: Tryb pilności (! pole nie interpretowane !) / Urgency mode (! field
            not interpreted !)
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: "Droga jaką przelew ma być rozliczony (uwaga: BlueCash nie jest
            używany) / The way the transfer should be settled (BlueCash is not
            used)"
          type: string
          enum:
            - ELIXIR
            - EXPRESSELIXIR
            - SORBNET
            - Internal
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: >-
            Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność /
             Payment execution mode. The superior information deciding which mode is to be used to execute payment. Used to indicate outgoing transaction type. Possible values:
             *  S – Split payment
             *  O – Internal split payment
             *  /no value/ - non split payment or direct debit transaction
          type: string
          enum:
            - S
            - O
        splitPayment:
          description: "Czy płatność jest podzielona (true / false) / Indicates if payment is split (true / false)"
          type: boolean
          default: false
        transactionInfoSp:
          $ref: "#/components/schemas/TransactionInfoSp"
          description: "Dane dotyczące płatności podzielonej. Wymagane w przypadku użycia mechanizmu Split payment. / Split Payment additional data. Required when Split Payment is used."
        auxData:
          $ref: "#/components/schemas/DomesticAuxData"
      xml:
        name: PaymentDomesticRequestBundled
    RecurringDomesticPayment:
      description: >-
        Struktura danych przelewu krajowego, użyta do zdefinowania nowej
        płatności cyklicznej / Data structure of domestic payment that is to be
        used to define new recurring payment:
         * transferData.executionDate – field ignored
         * tppTransactionId – field ignored
         * system – supported values: ELIXIR, Internal, expressElixir
         * hold – field ignored
         * excecutionMode – field ignored (DD not suported)
         * paymentVAT – field ignored (Split not supported)
      type: object
      required:
        - recipient
        - sender
        - transferData
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferData"
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - ELIXIR
            - expressElixir
            - Internal
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        splitPayment:
          type: boolean
          description: >-
            Uwaga:
              - Pole ignorowane!/ Field ingored!

              Czy płatność jest podzielona (true / false) / Indicates if payment is split (true / false)"
          default: false
        transactionInfoSp:
          allOf: 
            - $ref: "#/components/schemas/TransactionInfoSp"
          description: >-
            Uwaga: 
              - Pole ignorowane!/ Field ingored!
              
              Dane dotyczące płatności podzielonej. Wymagane w przypadku użycia mechanizmu Split payment. / Split Payment additional data. Required when Split Payment is used.
        auxData:
          $ref: "#/components/schemas/DomesticAuxData"
      xml:
        name: RecurringDomesticPayment
    EEARequest:
      description: Klasa zlecenia przelewu zagranicznego SEPA / EEA Transfer Request Class
      type: object
      required:
        - requestHeader
        - recipient
        - sender
        - transferData
        - tppTransactionId
        - deliveryMode
        - system
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderCallback"
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: >-
            Tryb pilności / Urgency mode - Payment priority with possible
            values:
             * 0 – Normal
             * 1 – Urgent
             * 2 - Express
          type: string
          enum:
            - 0
            - 1
            - 2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SEPA
            - Target
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność (pole nie jest używane
            dla EEA) / Payment execution mode. The superior information deciding
            which mode is to be used to execute payment (field not used in EEA)
          type: string
          enum:
            - Immediate
            - FutureDated
        auxData:
          $ref: "#/components/schemas/ForeignEeaAuxData"
      xml:
        name: EEARequest
    ForeignEeaAuxData:
      description: Dodatkowe dane wejściowe niewyspecyfikowane w PLAPI / *Additional input
        data not specified in PLAPI*
      properties:
        additionalInstructions:
          description: Payment additional instructions according to SWIFT standard
          type: string
        sepaDetailsStructured:
          description: Only SEPA - Structured details
          type: string
          enum:
            - Yes
            - No
        sepaPaymentDocumentReferences:
          description: Only SEPA - Payment document references
          type: string
        sepaInvoicer:
          description: Only SEPA - Invoicer
          type: string
        transferCharges:
          description: Cost options
          type: string
        transferInternalId:
          description: Transfer internal identifier
          type: string
        clientReference:
          description: Client reference
          type: string
        categoryPurpose:
          description: Category purpose
          type: string
          enum:
            - BONU
            - CASH
            - CBLK
            - CCRD
            - CORT
            - DCRD
            - DIVI
            - DVPM
            - EPAY
            - FCOL
            - GOVT
            - HEDG
            - ICCP
            - IDCP
            - INTC
            - INTE
            - LOAN
            - OTHR
            - PENS
            - RVPM
            - SALA
            - SECU
            - SSBE
            - SUPP
            - TAXS
            - TRAD
            - TREA
            - VATX
            - WHLD
            - OWNPURPOSE
        ownCategoryPurpose:
          description: Own category purpose
          type: string
        ultimateDebtorName:
          description: Ultimate debtor name
          type: string
        ultimateDebtorIdentificationCode:
          description: Ultimate debtor identification code
          type: string
          enum:
            - No
            - Legal
            - Private
        ultimateDebtorIdentificationType:
          description: "Ultimate debtor identification type. Possible values: (if
            ultimateDebtorIdentificationCode = Legal then: [BIC, BEI, BANK,
            CBID, CHID, COID, CUST, DUNS, EMPL, GS1G, SREN, SRET, TXID] ), (If
            u  ltimateDebtorIdentificationCode = Private then : [DAPOB, ARNU,
            CCPT, CUST, DRLC, EMPL, NIDN, SOSE, TXID]"
          type: string
          enum:
            - BIC
            - BEI
            - BANK
            - CBID
            - CHID
            - COID
            - CUST
            - DUNS
            - EMPL
            - GS1G
            - SREN
            - SRET
            - DAPOB
            - ARNU
            - CCPT
            - DRLC
            - NIDN
            - SOSE
            - TXID
        ultimateDebtorIdentificationValue:
          description: Ultimate debtor identification value
          type: string
        ultimateCreditorName:
          description: Ultimate creditor name
          type: string
        ultimateCreditorIdentificationCode:
          description: Ultimate creditor identification code
          type: string
          enum:
            - No
            - Legal
            - Private
        ultimateCreditorIdentificationType:
          description: "Ultimate creditor identification type. Possible values: (if
            ultimateCreditorIdentificationCode = Legal then: [BIC, BEI, BANK,
            CBID, CHID, COID, CUST, DUNS, EMPL, GS1G, SREN, SRET, TXID] ), (If
            ultimatCreditorIdentificationCode = Private then : [DAPOB, ARNU,
            CCPT, CUST, DRLC, EMPL, NIDN, SOSE, TXID]"
          type: string
          enum:
            - BIC
            - BEI
            - BANK
            - CBID
            - CHID
            - COID
            - CUST
            - DUNS
            - EMPL
            - GS1G
            - SREN
            - SRET
            - DAPOB
            - ARNU
            - CCPT
            - DRLC
            - NIDN
            - SOSE
            - TXID
        ultimateCreditorIdentificationValue:
          description: Ultimate creditor identification value
          type: string
        debtorIdentificationCode:
          description: Debtor identification code
          type: string
          enum:
            - No
            - Legal
            - Private
        debtorIdentificationType:
          description: "Debtor identification type. Possible values: (if
            debtorIdentificationCode = Legal then: [BIC, BEI, BANK, CBID, CHID,
            COID, CUST, DUNS, EMPL, GS1G, SREN, SRET, TXID] ), (If
            debtorIdentificationCode = Private then : [DAPOB, ARNU, CCPT, CUST,
            DRLC, EMPL, NIDN, SOSE, TXID]"
          type: string
          enum:
            - BIC
            - BEI
            - BANK
            - CBID
            - CHID
            - COID
            - CUST
            - DUNS
            - EMPL
            - GS1G
            - SREN
            - SRET
            - DAPOB
            - ARNU
            - CCPT
            - DRLC
            - NIDN
            - SOSE
            - TXID
        debtorIdentificationValue:
          description: Debtor identification value
          type: string
        creditorIdentificationCode:
          description: Creditor identification code
          type: string
          enum:
            - No
            - Legal
            - Private
        creditorIdentificationType:
          description: "Creditor identification type. Possible values: (if
            creditorIdentificationCode = Legal then: [BIC, BEI, BANK,
            CBID, CHID, COID, CUST, DUNS, EMPL, GS1G, SREN, SRET, TXID] ), (If
            creditorIdentificationCode = Private then : [DAPOB, ARNU,
            CCPT, CUST, DRLC, EMPL, NIDN, SOSE, TXID]"
          type: string
          enum:
            - BIC
            - BEI
            - BANK
            - CBID
            - CHID
            - COID
            - CUST
            - DUNS
            - EMPL
            - GS1G
            - SREN
            - SRET
            - DAPOB
            - ARNU
            - CCPT
            - DRLC
            - NIDN
            - SOSE
            - TXID
        creditorIdentificationValue:
          description: Creditor identification value
          type: string
      type: object
      additionalProperties:
        type: string
    PaymentEEARequestBundled:
      description: Klasa zlecenia przelewu zagranicznego SEPA w ramach paczki / EEA
        Transfer inside bundle Request Class
      type: object
      required:
        - recipient
        - sender
        - transferData
        - tppTransactionId
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: >-
            Tryb pilności / Urgency mode - Payment priority with possible
            values:
             * 0 – Normal
             * 1 – Urgent
             * 2 - Express
          type: string
          enum:
            - 0
            - 1
            - 2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SEPA
            - InstantSEPA
            - Target
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność. / Payment execution
            mode. The superior information deciding which mode is to be used to
            execute payment.
          type: string
          enum:
            - Immediate
            - FutureDated
        auxData:
          $ref: "#/components/schemas/ForeignEeaAuxData"
      xml:
        name: PaymentEEARequestBundled
    RecurringEEAPayment:
      description: >-
        Struktura danych przelewu zagranicznego SEPA, użyta do zdefinowania
        nowej płatności cyklicznej. / Data structure of EEA payment that is to
        be used to define new recurring payment:
         * transferData.executionDate – field ignored
         * tppTransactionId – field ignored
         * system – supported values: SEPA, TARGET
         * hold – field ignored
         * excecutionMode – field ignored
         * paymentVAT – field ignored (Split not supported)
      type: object
      required:
        - recipient
        - sender
        - transferData
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        deliveryMode:
          description: >-
            Tryb pilności / Urgency mode - Payment priority with possible
            values:
             * 0 – Normal
             * 1 – Urgent
             * 2 - Express
          type: string
          enum:
            - 0
            - 1
            - 2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SEPA
            - TARGET
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        auxData:
          $ref: "#/components/schemas/ForeignEeaAuxData"
      xml:
        name: RecurringEEAPayment
    NonEEARequest:
      description: Klasa zlecenia przelewu zagranicznego innego niż SEPA / NonEEA Transfer
        Request Class
      type: object
      required:
        - requestHeader
        - recipient
        - recipientBank
        - sender
        - transferData
        - tppTransactionId
        - deliveryMode
        - system
        - deliveryMode
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderCallback"
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        recipientBank:
          $ref: "#/components/schemas/Bank"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        transferCharges:
          type: string
          maxLength: 3
          description: Klauzula kosztowa / The cost clause
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - UrgentD1
            - StandardD2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SWIFT
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: >
            Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność /
             Payment execution mode. The superior information deciding which mode is to be used to execute payment. Used to indicate outgoing transaction type. Possible values:
             *  S – Split payment
             *  /no value/ - non split payment transaction
          type: string
          enum:
            - S
        auxData:
          $ref: "#/components/schemas/ForeignNonEeaAuxData"
      xml:
        name: NonEEARequest
    ForeignNonEeaAuxData:
      description: Dodatkowe dane niewyspecyfikowane w PLAPI / *Additional data not
        specified in PLAPI*
      properties:
        additionalInstructions:
          description: Payment additional instructions according to SWIFT standard
          type: string
        clientReference:
          description: Client reference
          type: string
        swiftType:
          description: Swift Type. No value means SWIFT
          type: string
          enum:
            - SWIFT
            - CHEQUE
        transferInternalId:
          description: Transfer internal identifier
          type: string
      type: object
      additionalProperties:
        type: string
    PaymentNonEEARequestBundled:
      description: Klasa zlecenia przelewu zagranicznego innego niż SEPA w ramach paczki /
        NonEEA Transfer inside bundle Request Class
      type: object
      required:
        - recipient
        - recipientBank
        - sender
        - transferData
        - tppTransactionId
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        recipientBank:
          $ref: "#/components/schemas/Bank"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        transferCharges:
          type: string
          maxLength: 3
          description: Klauzula kosztowa / The cost clause
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - UrgentD1
            - StandardD2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SWIFT
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: >
            Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność /
             Payment execution mode. The superior information deciding which mode is to be used to execute payment. Used to indicate outgoing transaction type. Possible values:
             *  S – Split payment
             *  /no value/ - non split payment transaction
          type: string
          enum:
            - S
        auxData:
          $ref: "#/components/schemas/ForeignNonEeaAuxData"
      xml:
        name: PaymentNonEEARequestBundled
    RecurringNonEEAPayment:
      description: >-
        Struktura danych przelewu zagranicznego innego niż SEPA, użyta do
        zdefinowania nowej płatności cyklicznej. / Data structure of non EEA
        payment that is to be used to define new recurring payment:
         * transferData.executionDate – field ignored
         * tppTransactionId – field ignored
         * hold – field ignored
         * excecutionMode – field ignored
         * paymentVAT – field ignored (Split not supported)
      type: object
      required:
        - recipient
        - recipientBank
        - sender
        - transferData
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        recipientBank:
          $ref: "#/components/schemas/Bank"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        transferCharges:
          type: string
          maxLength: 3
          description: Klauzula kosztowa / The cost clause
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - UrgentD1
            - StandardD2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SWIFT
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        auxData:
          $ref: "#/components/schemas/ForeignNonEeaAuxData"
      xml:
        name: RecurringNonEEAPayment
    TaxRequest:
      description: Klasa zlecenia przelewu podatkowego / Tax Transfer Request Class
      type: object
      required:
        - requestHeader
        - recipient
        - sender
        - transferData
        - tppTransactionId
        - system
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderCallback"
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequiredTax"
        usInfo:
          $ref: "#/components/schemas/TransactionInfoTax"
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: Tryb pilności (! pole nie interpretowane !) / Urgency mode (! field
            not interpreted !)
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - ELIXIR
            - ExpressElixir
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność (pole nie jest używane
            dla tax) / Payment execution mode. The superior information deciding
            which mode is to be used to execute payment (field not used in tax)
          type: string
          enum:
            - Immediate
            - FutureDated
        auxData:
          $ref: "#/components/schemas/TaxAuxData"
      xml:
        name: TaxRequest
    TaxAuxData:
      description: Dodatkowe dane niewyspecyfikowane w PLAPI / *Additional data not
        specified in PLAPI*
      properties:
        clientReference:
          description: Client reference
          type: string
      type: object
      additionalProperties:
        type: string
    PaymentTaxRequestBundled:
      description: Klasa zlecenia przelewu podatkowego w ramach paczki / Tax Transfer
        inside bundle Request Class
      type: object
      required:
        - recipient
        - sender
        - transferData
        - tppTransactionId
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequiredTax"
        usInfo:
          $ref: "#/components/schemas/TransactionInfoTax"
        tppTransactionId:
          type: string
          maxLength: 128
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        deliveryMode:
          description: Tryb pilności (! pole nie interpretowane !) / Urgency mode (! field
            not interpreted !)
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - ELIXIR
            - ExpressElixir
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność (pole nie jest używane
            dla tax) / Payment execution mode. The superior information deciding
            which mode is to be used to execute payment (field not used in tax)
          type: string
          enum:
            - Immediate
            - FutureDated
        auxData:
          $ref: "#/components/schemas/TaxAuxData"
      xml:
        name: PaymentTaxRequestBundled
    RecurringTaxPayment:
      description: >-
        Struktura danych przelewu do urzędu podatkowego, użyta do zdefinowania
        nowej płatności cyklicznej. / Data structure of tax payment that is to
        be used to define new recurring payment:
         * transferData.executionDate – field ignored
         * tppTransactionId – field ignored
         * hold – field ignored
         * excecutionMode – field ignored
         * paymentVAT – field ignored (Split not supported)
      type: object
      required:
        - recipient
        - sender
        - transferData
        - deliveryMode
        - system
      properties:
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequiredTax"
        usInfo:
          $ref: "#/components/schemas/TransactionInfoTax"
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - Elixir
            - ExpressElixir
        hold:
          description: Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu
            wolnym) / Indicates if payment should be holded
          type: boolean
        auxData:
          $ref: "#/components/schemas/TaxAuxData"
      xml:
        name: RecurringTaxPayment
    GetPaymentRequest:
      description: Klasa zapytania o status płatności / Payment Request Class
      required:
        - requestHeader
        - paymentId
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeader"
        paymentId:
          type: string
          maxLength: 128
          description: Identyfikator płatności. Wymagany warunkowo - jeśli TPP otrzymał ten
            identyfikator od ASPSP. / Identifier of the payment. Conditionally
            required - in case TPP has received this identifier from ASPSP.
        tppTransactionId:
          type: string
          maxLength: 128
          description: Identyfikator transakcji nadany przez TPP. Wymagany warunkowo -
            jeśli TPP nie otrzymał identyfikatora paymentId od ASPSP. Pole
            ignorowane / Identifier of transaction established by TPP.
            Conditionally required - in case TPP has not received paymentId from
            ASPSP. The field is ignored
      xml:
        name: GetPaymentRequest
    GetBundleRequest:
      description: Klasa zapytania o status paczki płatności / Bundle Request Class
      required:
        - requestHeader
        - bundleId
        - transactionsIncluded
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeader"
        bundleId:
          description: Identyfikator paczki przelewów. Wymagany warunkowo - jeśli TPP
            otrzymał ten identyfikator od ASPSP. / Bundle of payments
            identifier.Conditionally required - in case TPP has received this
            identifier from ASPSP.
          type: string
          maxLength: 128
        tppBundleId:
          description: Identyfikator paczki przelewów nadany przez TPP. Wymagany warunkowo
            - jeśli TPP nie otrzymał identyfikatora bundleId od ASPSP. Pole jest ignorowane ! / Bundle
            of payments identifier set by TPP. Conditionally required - in case
            TPP has not received bundleId from ASPSP. Field is ignored !
          type: string
          maxLength: 128
        transactionsIncluded:
          type: boolean
          description: (true / false) Znacznik oznaczający czy w odpowiedzi mają być
            uwzględnione statusy transakcji wchodzące w skład paczki / Indicates
            if statuses of payments from the bundle should be included
      xml:
        name: GetBundleRequest
    GetRecurringPaymentRequest:
      description: Klasa zapytania o status płatności cyklicznej / Recurring payment status
        Request Class
      required:
        - requestHeader
        - recurringPaymentId
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeader"
        recurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez ASPSP. Wymagany
            warunkowo - jeśli TPP otrzymał ten identyfikator od ASPSP. /
            Recurring payment identifier set by ASPSP. Conditionally required -
            in case TPP has received this identifier from ASPSP.
          type: string
          maxLength: 128
        tppRecurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez TPP. Wymagany
            warunkowo - jeśli TPP nie otrzymał identyfikatora recurringPaymentId
            od ASPSP. Pole jest ignorowane ! / Recurring payment identifier set by TPP. Conditionally
            required - in case TPP has not received recurringPaymentId from
            ASPSP. Field ignored !
          type: string
          maxLength: 128
      xml:
        name: GetRecurringPaymentRequest
    BundleRequest:
      description: Klasa zlecenia paczki przelewów / Bundle of payments Request Class
      type: object
      required:
        - requestHeader
        - tppBundleId
        - transfersTotalAmount
        - typeOfTransfers
        - auxData
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderCallback"
        tppBundleId:
          description: Identyfikator paczki przelewów nadany przez TPP / Bundle of payments
            identifier set by TPP
          type: string
          maxLength: 128
        transfersTotalAmount:
          description: Łączna kwota wszystkich przelewów z paczki / The total amount of all
            transfers from bundle
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
        typeOfTransfers:
          description: Typ przelewów, które zostaną zlecone w ramach paczki / The type of
            transfers that will be initiated through the bundle
          type: string
          enum:
            - domestic
            - EEA
            - nonEEA
            - tax
        domesticTransfers:
          description: Lista struktur danych przelewów zwykłych, które zostaną zlecone.
            Wymagane gdy typeOfTransfers = domestic. / The list of data
            structures of domestic transfers to be initiated. Required when
            typeOfTransfers = domestic.
          type: array
          items:
            $ref: "#/components/schemas/PaymentDomesticRequestBundled"
        EEATransfers:
          description: Lista struktur danych przelewów zagranicznych SEPA, które zostaną
            zlecone. Wymagane gdy typeOfTransfers = EEA. / The list of data
            structures of SEPA foreign transfers to be initiated. Required when
            typeOfTransfers = EEA.
          type: array
          items:
            $ref: "#/components/schemas/PaymentEEARequestBundled"
        nonEEATransfers:
          description: Lista struktur danych przelewów zagranicznych innych niż SEPA, które
            zostaną zlecone. Wymagane gdy typeOfTransfers = nonEEA. / The list
            of data structures of non SEPA foreign transfers to be initiated.
            Required when typeOfTransfers = nonEEA.
          type: array
          items:
            $ref: "#/components/schemas/PaymentNonEEARequestBundled"
        taxTransfers:
          description: Lista struktur danych przelewów do urzędu podatkowego, które zostaną
            zlecone. Wymagane gdy typeOfTransfers = tax. / The list of data
            structures of tax transfers to be initiated. Required when
            typeOfTransfers = tax.
          type: array
          items:
            $ref: "#/components/schemas/PaymentTaxRequestBundled"
        auxData:
          $ref: "#/components/schemas/BundleAuxData"
      xml:
        name: BundleRequest
    RecurringRequest:
      description: Klasa zlecenia zdefiniowania nowej płatności cyklicznej / Recurring
        payment definition Request Class
      type: object
      required:
        - requestHeader
        - tppRecurringPaymentId
        - recurrence
        - typeOfPayment
        - auxData
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderCallback"
        tppRecurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez TPP / Recurring
            payment identifier set by TPP
          type: string
          maxLength: 128
        recurrence:
          $ref: "#/components/schemas/RecurringTransferParameters"
        typeOfPayment:
          description: Typ przelewu, który zostanie wykorzystany do zdefiniowania nowej
            płatności cyklicznej  / The type of payment that is to be used to
            define new recurring payment
          type: string
          enum:
            - domestic
            - EEA
            - nonEEA
            - tax
        auxData:
          $ref: "#/components/schemas/RecurringAuxData"
        domesticPayment:
          $ref: "#/components/schemas/RecurringDomesticPayment"
        EEAPayment:
          $ref: "#/components/schemas/RecurringEEAPayment"
        nonEEAPayment:
          $ref: "#/components/schemas/RecurringNonEEAPayment"
        taxPayment:
          $ref: "#/components/schemas/RecurringTaxPayment"
      xml:
        name: RecurringRequest
    RecurringAuxData:
      description: Dodatkowe dane niewyspecyfikowane w PLAPI / *Additional data not
        specified in PLAPI*
      required:
        - endAfter
      properties:
        cyclicType:
          description: "Possible values: „SO” - Standing order, „PG” - Payment generator.
            No value means - Standing order"
          type: string
        generateDayBefore:
          description: Generate day before value [int]
          type: string
        endAfter:
          description: "Possible values: Never, Date, Repetition"
          type: string
        date:
          description: End date for Payment Generator [Date]
          type: string
        repetition:
          description: Number of repetitions for Payment Generator [int]
          type: string
      type: object
      additionalProperties:
        type: string
    BundleAuxData:
      description: Dodatkowe dane niewyspecyfikowane w PLAPI / *Additional data not
            specified in PLAPI*
      required:
        - transferTotalNumber
      properties:
        transferTotalNumber:
          description: (bigInt) Total number of transfers in bundle
          type: string
      type: object
      additionalProperties:
        type: string
    BundleResponse:
      description: Klasa odpowiedzi na żądanie inicjacji paczki przelewów. Zawiera dane o
        statusach poszczególnych przelewów oraz status paczki. / Class
        describing statuses of each payment inside the bundle and the bundle
        itself.
      required:
        - responseHeader
        - bundleId
        - bundleStatus
        - bundleDetailedStatus
        - payments
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
          description: "Obiekt klasy ResponseHeader / ResponseHeader Class object"
        bundleId:
          description: Identyfikator paczki przelewów / Bundle of payments identifier
          type: string
          maxLength: 128
        bundleStatus:
          description: Status paczki przelewów / Bundle of payments status
          type: string
          enum:
            - inProgress
            - cancelled
            - done
            - partiallyDone
        bundleDetailedStatus:
          description: Szczegółowy status paczki przelewów / Bundle of payments detailed
            status
          type: string
        payments:
          type: array
          items:
            $ref: "#/components/schemas/PaymentInfo"
      xml:
        name: BundleResponse
    RecurringResponse:
      description: Klasa odpowiedzi na żądanie zdefiniowania nowej płatności cyklicznej. /
        Data returned for the request of creation of new recurring payment
      required:
        - responseHeader
        - recurringPaymentId
        - recurringPaymentStatus
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
          description: "Obiekt klasy ResponseHeader / ResponseHeader Class object"
        recurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez ASPSP / Recurring
            payment identifier set by ASPSP
          type: string
          maxLength: 128
        recurrence:
          $ref: "#/components/schemas/RecurringTransferParameters"
        recurringPaymentStatus:
          description: Status płatności cyklicznej / Status of recurring payment
          type: string
          enum:
            - submitted
            - inProgress
            - cancelled
            - close
        recurringPaymentDetailedStatus:
          description: Szczegółowy status płatności cyklicznej / Recurring payment detailed
            status
          type: string
      xml:
        name: RecurringResponse
    CancelPaymentsRequest:
      description: "Klasa zapytania o odwołanie przelewu lub paczki przelewów.  Wymagany
        warunkowo jeden z atrybutów - transactionId lub bundleId / Payment or
        bundle of payments cancelation request class. One of the following
        attributes is required: transactionId or bundleId"
      required:
        - requestHeader
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeader"
        paymentId:
          type: string
          maxLength: 128
          description: Identyfikator płatności / Payment ID
        bundleId:
          type: string
          description: Identyfikator paczki przelewów / Bundle of payments ID
      xml:
        name: CancelPaymentsRequest
    CancelRecurringPaymentRequest:
      description: Klasa zapytania o anulowanie płatności cyklicznej. / Recurring payment
        cancelation request class.
      required:
        - requestHeader
        - recurringPaymentId
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeader"
        recurringPaymentId:
          type: string
          maxLength: 128
          description: Identyfikator płatności cyklicznej nadany przez ASPSP / Recurring
            payment identifier set by ASPSP
      xml:
        name: CancelRecurringPaymentRequest
    CancelPaymentsResponse:
      description: Klasa odpowiedzi na żądanie odwołania przelewów. Zawiera dane przelewów,
        które nie mogły być odwołane. / Class describing payments that could not
        have been cancelled.
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
          description: "Obiekt klasy ResponseHeader / ResponseHeader Class object"
        payments:
          type: array
          items:
            $ref: "#/components/schemas/MultiplePaymentInfo"
      xml:
        name: CancelPaymentsResponse
    CancelRecurringPaymentResponse:
      description: Klasa odpowiedzi na żądanie anulowania płatności cyklicznej / Cancel
        recurring payment response class
      required:
        - responseHeader
        - recurringPaymentId
        - tppRecurringPaymentId
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        recurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez APSP / Recurring
            payment identifier set by ASPSP
          type: string
          maxLength: 128
        tppRecurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez TPP. / Recurring
            payment identifier set by TPP.
          type: string
          maxLength: 128
        recurringPaymentStatus:
          description: Status płatności cyklicznej / Recurring payment status
          type: string
          enum:
            - submitted
            - inProgress
            - cancelled
            - close
        recurringPaymentDetailedStatus:
          description: Szczegółowy status płatności cyklicznej / Recurring payment detailed
            status
          type: string
    AddPaymentResponse:
      description: "Klasa odpowiedzi zlecenia płatności (zmiana: detailedStatus [O]) /
        Payment Add Response Class (change against PLAPI: detailedStatus [O])"
      required:
        - responseHeader
        - paymentId
        - generalStatus
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        paymentId:
          type: string
          description: Identyfiaktor płatności / Payment ID
        generalStatus:
          $ref: "#/components/schemas/PaymentStatus"
        detailedStatus:
          type: string
          description: Status płatności / Detailed payment status
    PaymentInfo:
      description: Klasa informacji o płatności / Payment Information Class
      required:
        - paymentId
        - tppTransactionId
        - generalStatus
      properties:
        paymentId:
          type: string
          description: Identyfiaktor płatności / Payment ID
        tppTransactionId:
          type: string
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        generalStatus:
          $ref: "#/components/schemas/PaymentStatus"
        detailedStatus:
          type: string
          description: Szczegółowy status płatności / Detailed payment status
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność. / Payment execution
            mode. The superior information deciding which mode is to be used to
            execute payment.
          type: string
          enum:
            - Immediate
            - FutureDated
    MultiplePaymentInfo:
      description: Klasa informacji o płatności / Payment Information Class
      required:
        - paymentId
        - tppTransactionId
        - generalStatus
      properties:
        paymentId:
          type: string
          description: Identyfiaktor płatności / Payment ID
        tppTransactionId:
          type: string
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        generalStatus:
          $ref: "#/components/schemas/PaymentStatus"
        detailedStatus:
          type: string
          description: Szczegółowy status płatności / Detailed payment status
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność. / Payment execution
            mode. The superior information deciding which mode is to be used to
            execute payment.
          type: string
          enum:
            - Immediate
            - FutureDated
    GetPaymentResponse:
      description: Klasa odpowiedzi na pytanie o płatność / Payment Get Response Class
      required:
        - responseHeader
        - paymentId
        - tppTransactionId
        - generalStatus
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        paymentId:
          type: string
          description: Identyfiaktor płatności / Payment ID
        tppTransactionId:
          type: string
          description: ID transakcji nadany przez TPP / Transaction ID (TPP)
        generalStatus:
          $ref: "#/components/schemas/PaymentStatus"
        detailedStatus:
          type: string
          description: Szczegółowy status płatności / Detailed payment status
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność. / Payment execution
            mode. The superior information deciding which mode is to be used to
            execute payment.
          type: string
    GetBundleResponse:
      description: Klasa odpowiedzi na pytanie o status paczki płatności / Response data
        with status of bundle of payments
      required:
        - responseHeader
        - bundleId
        - tppBundleId
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        bundleId:
          description: Identyfikator paczki przelewów / Bundle of payments identifier
          type: string
          maxLength: 128
        tppBundleId:
          description: Identyfikator paczki przelewów nadany przez TPP. / Bundle of
            payments identifier set by TPP.
          type: string
          maxLength: 128
        bundleStatus:
          description: Status paczki przelewów / Bundle of payments status
          type: string
          enum:
            - inProgress
            - cancelled
            - done
            - partiallyDone
        bundleDetailedStatus:
          description: Szczegółowy status paczki przelewów / Bundle of payments detailed
            status
          type: string
        payments:
          type: array
          items:
            $ref: "#/components/schemas/PaymentInfo"
    GetRecurringPaymentResponse:
      description: Klasa odpowiedzi na pytanie o status płatności cyklicznej / Response
        data with status of recurring payment
      required:
        - responseHeader
        - recurringPaymentId
        - tppRecurringPaymentId
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        recurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez APSP / Recurring
            payment identifier set by ASPSP
          type: string
          maxLength: 128
        tppRecurringPaymentId:
          description: Identyfikator płatności cyklicznej nadany przez TPP. / Recurring
            payment identifier set by TPP.
          type: string
          maxLength: 128
        recurringPaymentStatus:
          description: Status płatności cyklicznej / Recurring payment status
          type: string
          enum:
            - submitted
            - inProgress
            - cancelled
            - close
        recurringPaymentDetailedStatus:
          description: Szczegółowy status płatności cyklicznej / Recurring payment detailed
            status
          type: string
    GetMultiplePaymentsResponse:
      description: Klasa odpowiedzi na pytanie o wiele płatności
      required:
        - responseHeader
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        payments:
          type: array
          items:
            $ref: "#/components/schemas/MultiplePaymentInfo"
    ConfirmationOfFundsRequest:
      description: Klasa zapytania o dostępne środki płatnicze na rachunku / Confirmation
        of Funds Request Class
      type: object
      required:
        - requestHeader
        - accountNumber
        - amount
        - currency
      properties:
        requestHeader:
          $ref: "#/components/schemas/RequestHeaderWithoutToken"
        accountNumber:
          type: string
          maxLength: 34
          description: Numer konta w formacie IBAN / Account number in IBAN format
        amount:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Wielkość środków której dotyczy zaptanie / Amount of the transaction
        currency:
          type: string
          maxLength: 3
          description: Kod ISO Waluty (waluta transakcji) / Currency of transaction (ISO)
      xml:
        name: ConfirmationOfFundsRequest
    ConfirmationOfFundsResponse:
      description: Klasa odpowiedzi na zapytanie o dostępne środki płatnicze na rachunku /
        Confirmation of Funds Response Class
      required:
        - responseHeader
        - fundsAvailable
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        fundsAvailable:
          description: Status - Czy środki są dostępne / Status - are funds available
          type: boolean
          enum:
            - true
            - false
    Error:
      description: Klasa zawierająca informacje o zwracanym błędzie / Error class
      properties:
        responseHeader:
          $ref: "#/components/schemas/ResponseHeader"
        code:
          type: string
          description: Kod błędu / Error code
        message:
          type: string
          description: Opis błędu / Error message
    AccountNumber:
      description: Numer konta w formacie IBAN / Account number in IBAN format
      type: string
      maxLength: 34
    RequestHeaderWithoutToken:
      description: Klasa zawierająca informacje o PSU / PSU Information Class
      type: object
      required:
        - requestId
        - tppId
      properties:
        requestId:
          type: string
          format: uuid
          description: Identyfikator żądania w formacie UUID (Wariant 1, Wersja 1) zgodnym
            ze standardem RFC 4122 / Request ID using UUID format (Variant 1,
            Version 1) described in RFC 4122 standard
        userAgent:
          type: string
          description: Browser agent dla PSU / PSU browser agent
        ipAddress:
          type: string
          description: Adres IP końcowego urządzenia PSU. Wymagany dla isDirectPsu=true. /
            IP address of PSU's terminal device. Required when isDirectPsu=true.
        sendDate:
          type: string
          format: date-time
          description: "Oryginalna data wysłania, format: YYYY-MM-DDThh:mm:ss[.mmm] / Send
            date"
        tppId:
          type: string
          description: Identyfikator TPP / TPP ID
    RequestHeaderWithoutTokenAS:
      description: Klasa zawierająca informacje o PSU na potrzeby usług autoryzacji / PSU
        Information Class dedicated for authorization services
      allOf:
        - $ref: "#/components/schemas/RequestHeaderWithoutToken"
        - type: object
          properties:
            isCompanyContext:
              type: boolean
              description: (true / false) Znacznik oznaczający czy żądanie jest wysyłane w
                kontekście PSU korporacyjnego
            psuIdentifierType:
              type: string
              description: Typ identyfikatora PSU, służy do wskazania przez TPP na
                podstawie jakiej informacji zostanie zidentyfikowany PSU, który
                będzie podlegał uwierzytelnieniu. Wartość słownikowa. / PSU
                identifier type, used by TPP to indicate type of information
                based on which the PSU is to be authenticated. Dictionary value.
            psuIdentifierValue:
              type: string
              description: Wartość identyfikatora PSU. Wymagany warunkowo - w przypadku gdy
                została przekazana niepusta wartość typu identyfikatora PSU. /
                The value of the PSU's identifier. Required conditionally - in
                case non empty value of PSU identifier type was passed.
            psuContextIdentifierType:
              type: string
              description: Typ identyfikatora kontekstu w jakim występuje PSU. Wartość
                słownikowa. Wymagany warunkowo - w przypadku wysyłania żądania
                dla takiego PSU, który może występować w więcej niż jednym
                kontekście w wybranym ASPSP. / Identifier of context that is
                used by PSU. Dictionary value. Required conditionally - in case
                context of the request is used and PSU may use more then one
                context for the ASPSP.
            psuContextIdentifierValue:
              type: string
              description: Wartość identyfikatora kontekstu w jakim występuje PSU. Wymagany
                warunkowo - w przypadku wysyłania żądania dla takiego PSU, który
                może występować w więcej niż jednym kontekście w wybranym ASPSP.
                / The value of context that is used by PSU. Required
                conditionally - in case context of the request is used and PSU
                may use more then one context for the ASPSP.
    RequestHeaderWithoutTokenCallbackAS:
      description: Klasa zawierająca informacje o PSU and callback URL / PSU and callback
        URL Information Class
      allOf:
        - $ref: "#/components/schemas/RequestHeaderWithoutTokenAS"
        - type: object
          required:
            - callbackURL, apiKey
          properties:
            callbackURL:
              type: string
              description: adres funkcji zwrotnej / callback URL
            apiKey:
              type: string
              description: API key dla wywołania funkcji zwrotnej / callback API key
    RequestHeaderCallback:
      description: Klasa zawierająca informacje o PSU and callback URL / PSU and callback
        URL Information Class
      allOf:
        - $ref: "#/components/schemas/RequestHeader"
        - type: object
          properties:
            callbackURL:
              type: string
              description: adres funkcji zwrotnej / callback URL
            apiKey:
              type: string
              description: API key dla wywołania funkcji zwrotnej / callback API key
    RequestHeader:
      description: Klasa zawierająca informacje o PSU / PSU Information Class
      allOf:
        - $ref: "#/components/schemas/RequestHeaderWithoutToken"
        - type: object
          required:
            - token
          properties:
            token:
              type: string
              description: Token autoryzacyjny / Authorization token
    RequestHeaderAIS:
      description: Klasa zawierająca informacje o PSU / PSU Information Class
      allOf:
        - $ref: "#/components/schemas/RequestHeader"
        - type: object
          properties:
            isDirectPsu:
              type: boolean
              description: (true/false) Znacznik informujący czy request jest przesłany
                bezpośrednio przez PSU. Domyślna wartość to false. / Is request
                sent by PSU directly. false is default value.
              default: false
    RequestHeaderAISCallback:
      description: Klasa zawierająca informacje o PSU and callback URL / PSU and callback
        URL Information Class
      allOf:
        - $ref: "#/components/schemas/RequestHeader"
        - type: object
          properties:
            isDirectPsu:
              type: boolean
              description: (true/false) Znacznik informujący czy request jest przesłany
                bezpośrednio przez PSU. Domyślna wartość to false. / Is request
                sent by PSU directly. false is default value.
              default: false
            callbackURL:
              type: string
              description: adres funkcji zwrotnej / callback URL
            apiKey:
              type: string
              description: API key dla wywołania funkcji zwrotnej / callback API key
    RequestHeaderToken:
      description: "Klasa zawierająca informacje o PSU na potrzeby uzyskania tokena dostępowego / PSU Information Class dedicated for an access token"
      type: object
      required:
        - requestId
        - tppId
      properties:
        requestId:
          type: string
          format: uuid
          description: "Identyfikator żądania w formacie UUID (Wariant 1, Wersja 1) zgodnym ze standardem RFC 4122 / Request ID using UUID format (Variant 1, Version 1) described in RFC 4122 standard"
        sendDate:
          type: string
          format: date-time
          description: "Oryginalna data wysłania, format: YYYY-MM-DDThh:mm:ss[.mmm] / Send date"
        tppId:
          type: string
          description: "Identyfikator TPP / TPP ID"
        isCompanyContext:
          type: boolean
          description: "(true / false) Znacznik oznaczający czy żądanie jest wysyłane w kontekście PSU korporacyjnego"
        psuIdentifierType:
          type: string
          description: "Typ identyfikatora PSU, służy do wskazania przez TPP na podstawie jakiej informacji zostanie zidentyfikowany PSU, który będzie podlegał uwierzytelnieniu. Wartość słownikowa. / PSU identifier type, used by TPP to indicate type of information based on which the PSU is to be authenticated. Dictionary value."
        psuIdentifierValue:
          type: string
          description: "Wartość identyfikatora PSU. Wymagany warunkowo - w przypadku gdy została przekazana niepusta wartość typu identyfikatora PSU. / The value of the PSU's identifier. Required conditionally - in case non empty value of PSU identifier type was passed."
        psuContextIdentifierType:
          type: string
          description: "Typ identyfikatora kontekstu w jakim występuje PSU. Wartość słownikowa. Wymagany warunkowo - w przypadku wysyłania żądania dla takiego PSU, który może występować w więcej niż jednym kontekście w wybranym ASPSP. / Identifier of context that is used by PSU. Dictionary value. Required conditionally - in case context of the request is used and PSU may use more then one context for the ASPSP."
        psuContextIdentifierValue:
          type: string
          description: "Wartość identyfikatora kontekstu w jakim występuje PSU. Wymagany warunkowo - w przypadku wysyłania żądania dla takiego PSU, który może występować w więcej niż jednym kontekście w wybranym ASPSP. / The value of context that is used by PSU. Required conditionally - in case context of the request is used and PSU may use more then one context for the ASPSP."
    ResponseHeader:
      description: Klasa zawierająca zwrotne metadane / Metadata Class
      properties:
        requestId:
          type: string
          format: uuid
          description: Identyfikator żądania otrzymanego od TPP / Identifier of request
            received from TPP
        sendDate:
          type: string
          format: date-time
          description: "Data odpowiedzi, format: YYYY-MM-DDThh:mm:ss[.mmm] / Send date"
        isCallback:
          type: boolean
          description: Znacznik określający czy odpowiedz zostanie przekazana w formie
            wywołania zwrotnego. true - gdy odpowiedz w formie wywołania
            zwrotnego. Inna dopuszczalna wartość to false.
    SenderPIS:
      description: >-
        Klasa zawierająca dane nadawcy przelewu krajowego używana w żądaniach
        PIS / Domestic PIS services Sender Data Class.


        Uwaga / Attention:

          - nameAddress - te informacje będą przez Bank ignorowane dla przelewów innych niż podatkowe / will be ignored for payments other than tax
      properties:
        accountNumber:
          $ref: '#/components/schemas/AccountNumber'
        nameAddress:
          $ref: '#/components/schemas/NameAddress'
        ultimateSender:
          $ref: '#/components/schemas/UltimateParty'
        identifiers:
          $ref: '#/components/schemas/Identifiers'
        nameAddressStructured:
          $ref: '#/components/schemas/NameAddressStructured'
    Bank:
      description: Klasa zawierająca dane banku używana w żądaniach AIS / AIS Bank Data
        Class
      properties:
        bicOrSwift:
          type: string
          maxLength: 11
          description: Numer BIC/SWIFT Banku / BIC/SWIFT number
        name:
          type: string
          maxLength: 70
          description: Nazwa Banku / Bank's name
        code:
          type: string
          maxLength: 10
          description: Kod Banku, dla przelewów zagranicznych / Bank's code
        countryCode:
          type: string
          maxLength: 3
          description: Kod kraju 3166-1 / Country code
        address:
          $ref: "#/components/schemas/NameAddress"
    BankAccountInfo:
      description: Klasa zawierająca dane banku / Bank Data Class
      properties:
        bicOrSwift:
          type: string
          maxLength: 8
          description: Numer BIC/SWIFT Banku / BIC/SWIFT number
        name:
          type: string
          maxLength: 70
          description: Nazwa Banku / Bank's name
        address:
          $ref: "#/components/schemas/NameAddress"
    RecurringTransferParameters:
      description: Klasa definiująca parametry płatności cyklicznej / A class defining
        recurring payment parameters
      type: object
      required:
        - startDate
        - frequency
        - dayOffOffsetType
      properties:
        startDate:
          type: string
          format: date
          maxLength: 10
          description: "Data wykonania pierwszej płatności w definiowanym cyklu. Format:
            YYYY-MM-DD / First payment execution date (of the defined cycle)."
        frequency:
          $ref: "#/components/schemas/RecurringTransferFrequency"
        endDate:
          type: string
          format: date
          maxLength: 10
          description: "Ostatnia możliwa data wykonania płatności w definiowanym cyklu.
            Format: YYYY-MM-DD / The last possible payment execution date (of
            the defined cycle)."
        dayOffOffsetType:
          type: string
          description: Rodzaj przesunięcia, który należy zastosować do wykonania przelewu w
            przypadku, gdy dzień wolny jest planowaną datą przelewu / Type of
            offset that should be used for transfer execution in case of day off
            being the planned date of transfer
          enum:
            - before
            - after
    RecurringTransferFrequency:
      description: Klasa opisująca parametry częśtotliwości wykonywania płatności
        cyklicznej / A class defining parameters of the frequency of recurring
        paymenets
      type: object
      required:
        - periodType
        - periodValue
      properties:
        periodType:
          type: string
          description: Typ jednostki okresu czasu / The type of unit of time period
          enum:
            - day
            - week
            - month
        periodValue:
          type: integer
          description: Wartość jednostki okresu czasu / The value of unit of time period
          minimum: 1
    TransferDataBase:
      description: Bazowa klasa dla TransferData / TransferData Base Class
      required: 
        - description
        - amount
      type: object
      properties:
        description:
          type: string
          maxLength: 140
          description: Pole opisujące przelew / Description
        amount:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Kwota przelewu / Amount
        executionDate:
          type: string
          format: date
          maxLength: 10
          description: "Data wykonania przelewu. Wymagany pod warunkiem przekazania
            wartości FutureDated w atrybucie executionMode. Format: YYYY-MM-DD /
            Date when the transfer is to be executed (YYYY-MM-DD). Required
            conditionally if executionMode attribute has value FutureDated."
        purpose:
          $ref: '#/components/schemas/Purpose'
        endToEndId:
          maxLength: 35
          type: string
          description: >-
            Identyfikator płatności nadany przez pł\x82atnika i niezmienny
            w całym łańcuchu - EndToEndId / Payment reference provided by the
            Sender and carried unchanged through entire payment chain - EndToEndId
    TransferDataBaseTax:
      description: Bazowa klasa dla TransferData / TransferData Base Class
      type: object
      required: 
        - amount
      properties:
        amount:
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
          description: Kwota przelewu / Amount
        executionDate:
          type: string
          format: date
          maxLength: 10
          description: "Data wykonania przelewu. Wymagany pod warunkiem przekazania
            wartości FutureDated w atrybucie executionMode. Format: YYYY-MM-DD /
            Date when the transfer is to be executed (YYYY-MM-DD). Required
            conditionally if executionMode attribute has value FutureDated."
    TransferData:
      description: Klasa zawierająca dane przelewu / Transfer Data Class
      allOf:
        - $ref: "#/components/schemas/TransferDataBase"
        - type: object
          properties:
            currency:
              type: string
              maxLength: 3
              description: Waluta (PLN dla przelewów krajowych) / Currency (PLN for domestic transfers)
    TransferDataCurrencyRequired:
      description: Klasa zawierająca dane przelewu / Transfer Data Class
      allOf:
        - $ref: "#/components/schemas/TransferDataBase"
        - type: object
          required:
            - currency
          properties:
            currency:
              type: string
              maxLength: 3
              description: Waluta, domyślnie EUR przelewów zagranicznych (dla EEA tylko
                'EUR') / Currency (for EEA only 'EUR')
    TransferDataCurrencyRequiredTax:
      description: Klasa zawierająca dane przelewu / Transfer Data Class
      allOf:
        - $ref: "#/components/schemas/TransferDataBaseTax"
        - type: object
          required:
            - currency
          properties:
            currency:
              type: string
              maxLength: 3
              description: Waluta, wymagana wartość PLN / Currency - PLN value required
    Purpose:
      description: >-
        Klasa zawierająca kod powodu płatności. W przypadku wystąpienia 
        jednocześnie atrybutów code i proprietary, atrybut proprietary zostanie 
        zignorowany / Class containing the payment purpose. In case both code and
        proprietary attributes are used, the proprietary value will be ignored
      properties:
        code:
          pattern: ^[A-Z0-9]{4,4}$
          type: string
          description: >-
            Powód płatności zapisany w formie kodu. Jedynie wartoś
            ci ze słownika ISO20022 ExternalPurpose1Code są dozwolone / The purpose 
            of the payment in code format. Only values from ISO20022 ExternalPurpose1Code 
            dictonary are allowed
        proprietary:
          maxLength: 35
          type: string
          description: >-
            Powód płatności zapisany wolnym tekstem lub kodem 
            spoza wartości słownika ISO20022 ExternalPurpose1Code / The 
            purpose of the payment in free format or as a code other than allowed 
            by ISO20022 ExternalPurpose1Code dictonary
    SenderRecipient:
      description: Klasa zawierająca dane nadawcy/odbiorcy używana w żądaniach AIS / AIS
        Sender Recipient Data Class
      properties:
        accountNumber:
          type: string
          description: Numer konta nadawcy/odbiorcy w formacie IBAN / Account number in
            IBAN format
        accountMassPayment:
          type: string
          description: Numer wirtualny rachunku odbiorcy / Virtual account name
        bank:
          $ref: '#/components/schemas/Bank'
        nameAddress:
          $ref: '#/components/schemas/NameAddress'
        identifiers:
          $ref: '#/components/schemas/Identifiers'
        nameAddressStructured:
          $ref: '#/components/schemas/NameAddressStructured'
        ultimateParty:
          $ref: '#/components/schemas/UltimateParty'
    RecipientPIS:
      description: Klasa zawierająca dane odbiorcy używana w żądaniach PIS / PIS Recipient
        Data Class
      required:
        - accountNumber
      properties:
        accountNumber:
          type: string
          description: Numer konta nadawcy/odbiorcy / Account number
        accountMassPayment:
          type: string
          description: Numer wirtualny rachunku odbiorcy w formacie / Virtual account name
        bank:
          $ref: '#/components/schemas/Bank'
        nameAddress:
          $ref: '#/components/schemas/NameAddress'
        identifiers:
          $ref: '#/components/schemas/Identifiers'
        nameAddressStructured:
          $ref: '#/components/schemas/NameAddressStructured'
        ultimateParty:
          $ref: '#/components/schemas/UltimateParty'
    RecipientPISForeign:
      description: Klasa zawierająca dane odbiorcy używana w żądaniach PIS dla operacji
        zagranicznych / PIS foreign Recipient Data Class
      required:
        - nameAddress
        - accountNumber
        - countryCode
      properties:
        accountNumber:
          $ref: "#/components/schemas/AccountNumber"
        nameAddress:
          $ref: "#/components/schemas/NameAddressRecPisFor"
        countryCode:
          type: string
          maxLength: 3
          description: "Kod kraju odbiorcy przelewu, wg normy ISO 3166-1 alfa-3 / Country code of payment recipient, ISO 3166-1 alfa-3 compliant"
    Address:
      description: Klasa zawierająca dane adresu pocztowego / Postal address Class
      type: array
      minItems: 1
      maxItems: 4
      items:
        type: string
        maxLength: 35
    NameAddress:
      description: Klasa zawierająca dane nazwy i adresu w postaci czterech linii danych /
        Simple name and  postal address Class
      properties:
        value:
          type: array
          minItems: 1
          maxItems: 4
          items:
            type: string
            maxLength: 35
    NameAddressStructured:
      description: >-
        Klasa zawierająca dane nazwy i adresu w postaci ustrukturyzowanej lub hybrydowej / Structured
        or hybrid name and postal address Class
      required:
      - name
      properties:
        addressStructured:
          $ref: '#/components/schemas/AddressStructured'
        name:
          maxLength: 140
          type: string
          description: Nazwa strony transakcji / Name of the party
        addressLine:
          maxLength: 140
          type: string
          description: Nieustrukturyzowana forma adresu / Address in unstructured
            format
    AddressStructured:
      description: Klasa zawierająca dane adresu w postaci ustrukturyzowanej / Structured address class
      required:
      - townName
      properties:
        townLocationName:
          maxLength: 35
          type: string
          description: Adres - Dzielnica w mieście / Postal Address - Town location name
        townName:
          maxLength: 35
          type: string
          description: Adres - Nazwa miasta / Postal Address - Town name
        countrySubDivision:
          maxLength: 35
          type: string
          description: Adres - Jednostka terytorialna kraju, np. województwo / Postal
            Address - Country subdivision, e.g. state, region, county
        districtName:
          maxLength: 35
          type: string
          description: Adres - Okręg / Postal Address - District name
        postBox:
          maxLength: 16
          type: string
          description: Adres - Skrytka pocztowa / Postal Address - Post box
        subDepartment:
          maxLength: 70
          type: string
          description: Adres - Pododdział / Postal Address - Subdepartment
        room:
          maxLength: 70
          type: string
          description: Adres - Pokój lub mieszkanie / Postal Address - Room or apartment
        buildingName:
          maxLength: 35
          type: string
          description: Adres - Nazwa budynku / Postal Address - Building name
        streetName:
          maxLength: 70
          type: string
          description: Adres - Nazwa ulicy / Postal Address - Street name
        countryCode:
          maxLength: 2
          minLength: 2
          type: string
          description: Adres - Kod kraju w formacie Alpha-2 / Postal Address - Country
            code in Alpha-2 format
        buildingNumber:
          maxLength: 16
          type: string
          description: Adres - Numer budynku / Postal Address - Building number
        postCode:
          maxLength: 16
          type: string
          description: Adres - Kod pocztowy / Postal Address - Post code
        department:
          maxLength: 70
          type: string
          description: Adres - Dział / Postal Address - Department
        floor:
          maxLength: 70
          type: string
          description: Adres - Piętro / Postal Address - Floor
    Identifiers:
      description: Klasa zawierająca identyfikator strony transakcji / Identifier of the party Class
      required:
      - idType
      - idValue
      properties:
        idType:
          type: string
          description: Typ identyfikatora - LEI lub identyfikator podatkowy (TXID)
            / Type of the identifier - LEI or Tax identifier (TXID)
          enum:
          - LEI
          - TXID
        idValue:
          maxLength: 35
          type: string
          description: Wartość identyfikatora / Value of the identifier
        issuer:
          maxLength: 35
          type: string
          description: Wydawca identyfikatora / Issuer of the identifier
    UltimateParty:
      description: Klasa UltimateParty wskazująca oryginalnego płatnika lub finalnego 
        odbiorcę / UltimateParty class describing ultimate debtor or ultimate creditor
      required:
      - nameAddressStructured
      properties:
        identifiers:
          $ref: '#/components/schemas/Identifiers'
        nameAddressStructured:
          $ref: '#/components/schemas/NameAddressStructured'
    NameAddressRecPisFor:
      description: >-
        Klasa zawierająca dane nazwy i adresu w postaci czterech linii danych /
        Beneficiary name + address:
         Structured field:
         * Receiver – line 1 (mandatory) – beneficiary name
         * Receiver – line 2 (mandatory) – street
         * Receiver – line 3 (mandatory) – city
         * Receiver – line 4 (mandatory) – country
      properties:
        value:
          type: array
          minItems: 1
          maxItems: 4
          items:
            type: string
            maxLength: 35
    PageInfo:
      description: Klasa zawierająca dane pozwalajace na korzystanie z mechanizmu
        stronicowania / Paging Information Class
      properties:
        previousPage:
          type: string
          description: "Użyte w celu stronicowania danych: Identyfikator poprzedniej strony
            rezultatów / Used for paging the results. Identifier of the previous
            page."
        nextPage:
          type: string
          description: "Użyte w celu stronicowania danych:  Identyfikator następnej strony
            rezultatów / Used for paging the results. Identifier of the next
            page."
    CurrencyRate:
      description: Klasa zawierająca kursy przewalutowań / Currency rate
      properties:
        rate:
          type: number
          format: double
          pattern: ^(0|([1-9][0-9]{0,}))(\.[0-9]{1,7})?$
          description: Kursy przewalutowania / Currency exchange rate
        fromCurrency:
          type: string
          maxLength: 3
          description: Waluta rachunku, kod ISO / from Currency, ISO code
        toCurrency:
          type: string
          maxLength: 3
          description: Waluta rachunku, kod ISO / to Currency, ISO code
    PaymentStatus:
      description: Słownik statusów płatności  / Payment status dictionary
      type: string
      enum:
        - Submitted
        - Cancelled
        - Pending
        - Done
        - Rejected
        - Scheduled
    Map:
      description: Klasa mapy  / Map (Dictionary) class
      type: object
      additionalProperties:
        type: string
    AccountAuxData:
      description: Dodatkowe dane zwracane w usłudze getAccount niewyspecyfikowane w PLAPI
        / *Additional output data for getAccount not specified in PLAPI*
      required:
        - timestamp
        - holdAmount
      properties:
        timestamp:
          description: The timestamp equal to time of the last positive update of
            avaliableBalance
          type: string
        overdraftAmount:
          description: Overdraft limit amount
          type: string
        overdraftExpiryDate:
          description: Overdraft expiration [date]
          type: string
        splitPaymentVatRelatedAcc:
          description: Related VAT account
          type: string
        holdAmount:
          description: Summarized amount of hold transactions on the account
          type: string
        paymentMill:
          description: Indicates that if the payment mill is set on the account or not
          type: string
        cRInterest:
          description: Credit interest rate(fixed interest rate, floating interest rate-
            based on index)with information of type of rate
          type: string
        dRInteres:
          description: (double) Debit interest rate(fixed interest rate, floating interest rate-
            based on index)with information of type of rate
          type: string
      type: object
      additionalProperties:
        type: string
    DomesticAuxData:
      description: Dodatkowe dane wejściowe dla przelewów krajowych niewyspecyfikowane w
        PLAPI / *Additional data for domestic transfer not specified in PLAPI*
      properties:
        internalDRCR:
          description: "For internal transaction type only, Possible values: DR or /no
            value/ – means that Amount field and Currency field are applicable
            to debit account, CR – means that Amount field and Currency field
            are applicable to credit account"
          enum:
            - DR
            - CR
          type: string
        clientReference:
          description: Additional Client reference - not send to clearing but included in
            booking so by that also avaliable on statement
          type: string
      type: object
    additionalProperties:
      type: string
    DictionaryItem:
      description: Klasa zawierająca dane elementu/pozycji słownika / Dictionary Item Class
      properties:
        code:
          type: string
          description: Kod pozycji słownika / Code
        description:
          type: string
          description: Opis pozycji słownika / Description
    TransactionInfoSp:
      description: "Klasa opisująca szczegóły transakcji dla płatności podzielonej / Split Payment transaction info class"
      required:
        - spInvoiceNumber
        - spTaxIdentificationNumber
        - spTaxAmount
      properties:
        spInvoiceNumber:
          type: string
          description: "Numer faktury / Invoice number"
        spTaxIdentificationNumber:
          type: string
          description: "Identyfikator odbiorcy, np. numer NIP / Payment recipient identifier i.e. Tax Identification Number"
        spTaxAmount:
          type: string
          description: "Kwota podatku VAT / Amount of VAT"
        spDescription:
          type: string
          description: "Opis dodatkowy / Additional description"
    AccountDictionaryItem:
      description: >-
        Klasa zawierająca dane elementu/pozycji słownika / Dictionary Item Class

         Zmiany wymagalności pól w stosunku do polishAPI w wersji 3.0 / *Changes in fields (M-mandatory / O-optional) against polishAPI 3.0:*
         * code          [M]
         * description   [M]
      required:
        - code
        - description
      properties:
        code:
          type: string
          description: Kod pozycji słownika / Code
        description:
          type: string
          description: Opis pozycji słownika / Description
    ScopeDetailsInput:
      description: >-
        Zakres, limity, parametry i czas ważności zgód, o które prosi TPP /
        Scope, limits, parampreters and expiration time of consents requested by TPP.
          Zmiany ww stosunku do polishAPI w wersji 3.0 / *Changes iagainst polishAPI 3.0:*


          REQUEST:
          * scope_details/privilegeList - klasy ze zmianami w polach / dodatkowe dane wejściowe / zmiany w enum  //  classes witch changes in mandatory and optional fields, additional inputs, enum values
      type: object
      required:
        - consentId
        - scopeGroupType
        - scopeTimeLimit
        - throttlingPolicy
      properties:
        privilegeList:
          type: array
          items:
            $ref: "#/components/schemas/ScopeDetailsInputPrivilegeList"
          description: The list of structures describing details of consent. Conditionally
            required - in case of process of obtaining new consent.
        scopeGroupType:
          type: string
          description: Type of consent
          enum:
            - ais-accounts
            - ais
            - pis
        consentId:
          type: string
          description: Id of consent
        scopeTimeLimit:
          type: string
          format: date-time
          description: Data ważności zgody / consent valid until, YYYY-MM-DDThh:mm:ss[.mmm]
        throttlingPolicy:
          type: string
          description: Throttling policy
          enum:
            - psd2Regulatory
    ScopeDetailsOutput:
      description: Zakres, limity, parametry i czas ważności zgód, które potwierdza ASPSP /
        Scope, limits, parameters and expiration time of consents that are
        confimed by ASPSP
      type: object
      required:
        - consentId
        - scopeTimeLimit
        - throttlingPolicy
      properties:
        privilegeList:
          type: array
          items:
            $ref: "#/components/schemas/ScopeDetailsOutputPrivilegeList"
          description: The list of structures describing details of consent obtained by TPP.
        consentId:
          type: string
          description: Id of consent
        scopeTimeLimit:
          type: string
          format: date-time
          description: Data ważności zgody / consent valid until, YYYY-MM-DDThh:mm:ss[.mmm]
        throttlingPolicy:
          type: string
          description: Throttling policy
          enum:
            - psd2Regulatory
    PrivilegeAisAspspInSimple:
      description: Lista atrybutów uprawnienia usługi AIS będących przedmiotem zapytania o
        zgodę PSU / The list of attributes of the privilege of the AIS service
        that are the subject of the request for PSU's consent
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
    PrivilegeAisAspspIn:
      description: Lista atrybutów uprawnienia usługi AIS będących przedmiotem zapytania o
        zgodę PSU / The list of attributes of the privilege of the AIS service
        that are the subject of the request for PSU's consent
      type: object
      required:
        - maxAllowedHistoryLong
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        maxAllowedHistoryLong:
          type: integer
          description: Ilość dni wstecz, liczona od momentu wysłania przez TPP żądania o
            pobranie historii transakcji rachunku płatnicznego, jaką może
            obejmować odpowiedź na to żądanie / How much account's transaction
            history is allowed to retrieve in days. This value should be used
            for calculation based on date of sending the request.
          minimum: 1
          maximum: 1460
    PrivilegeAisAspspOutSimple:
      description: Lista atrybutów uprawnienia usługi AIS dla których została wyrażona
        zgoda przez PSU / The list of attributes of the privilege of the AIS
        service that the PSU's consent has been confirmed
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
    PrivilegeAisAspspOut:
      description: Lista atrybutów uprawnienia usługi AIS dla których została wyrażona
        zgoda przez PSU / The list of attributes of the privilege of the AIS
        service that the PSU's consent has been confirmed
      type: object
      required:
        - maxAllowedHistoryLong
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        maxAllowedHistoryLong:
          type: integer
          description: Ilość dni wstecz, liczona od momentu wysłania przez TPP żądania o
            pobranie historii transakcji rachunku płatnicznego, jaką może
            obejmować odpowiedź na to żądanie / How much account's transaction
            history is allowed to retrieve in days. This value should be used
            for calculation based on date of sending the request.
          minimum: 1
          maximum: 1460
    PrivilegePayment:
      description: Lista atrybutów uprawnienia do żądania statusu płatności / The list of
        attributes of the payment status request privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        paymentId:
          type: string
          description: Identyfikator płatności / Payment ID
        tppTransactionId:
          type: string
          description: Identyfikator transakcji nadany przez TPP. / Identifier of
            transaction established by TPP.
    PrivilegeBundle:
      description: Lista atrybutów uprawnienia do żądania statusu paczki płatności / The
        list of attributes of the bundle of payments status request privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        bundleId:
          type: string
          description: Identyfikator paczki płatności / Bundle of payments ID
        tppBundleId:
          type: string
          description: Identyfikator paczki przelewów nadany przez TPP. / Bundle of
            payments identifier set by TPP.
    PrivilegeRecurringPaymentStatus:
      description: Lista atrybutów uprawnienia do żądania statusu płatności cyklicznej /
        The list of attributes of recurring payment status request privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recurringPaymentId:
          type: string
          description: Identyfikator płatności cyklicznej nadany przez APSP / Recurring
            payment identifier set by ASPSP
        tppRecurringPaymentId:
          type: string
          description: Identyfikator płatności cyklicznej nadany przez TPP / Recurring
            payment identifier set by TPP
    PrivilegeDomesticTransfer:
      description: Lista atrybutów uprawnienia do inicjacji przelewu zwykłego / The list of
        attributes of the domestic transfer request initiation privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferData"
        deliveryMode:
          description: Tryb pilności (! pole nie interpretowane !) / Urgency mode (! field
            not interpreted !)
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: "Droga jaką przelew ma być rozliczony (uwaga: BlueCash nie jest
            używany) / The way the transfer should be settled (BlueCash is not
            used)"
          type: string
          enum:
            - ELIXIR
            - EXPRESSELIXIR
            - SORBNET
            - Internal
        hold:
          description: "Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu wolnym) / Indicates if payment should be held"
          type: boolean
        executionMode:
          description: >-
            Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność /
             Payment execution mode. The superior information deciding which mode is to be used to execute payment. Used to indicate outgoing transaction type. Possible values:
             *  S – Split payment
             *  O – Internal split payment
             *  /no value/ - non split payment or direct debit transaction
          type: string
          enum:
            - S
            - O
        splitPayment:
          description: "Czy płatność jest podzielona (true / false) / Indicates if payment is split (true / false)"
          type: boolean
          default: false
        transactionInfoSp:
          $ref: "#/components/schemas/TransactionInfoSp"
          description: "Dane dotyczące płatności podzielonej. Wymagane w przypadku użycia mechanizmu Split payment. / Split Payment additional data. Required when Split Payment is used."
        auxData:
          $ref: "#/components/schemas/DomesticAuxData"
    PrivilegeForeignTransferEEA:
      description: Lista atrybutów uprawnienia do inicjacji przelewu zagranicznego EEA /
        The list of attributes of the EEA foreign transfer request initiation
        privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        deliveryMode:
          description: >-
            Tryb pilności / Urgency mode - Payment priority with possible
            values:
             * 0 – Normal
             * 1 – Urgent
             * 2 - Express
          type: string
          enum:
            - 0
            - 1
            - 2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SEPA
            - Target
        hold:
          description: "Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu wolnym) / Indicates if payment should be held"
          type: boolean
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność (pole nie jest używane
            dla EEA) / Payment execution mode. The superior information deciding
            which mode is to be used to execute payment (field not used in EEA)
          type: string
          enum:
            - Immediate
            - FutureDated
        auxData:
          $ref: "#/components/schemas/ForeignEeaAuxData"
    PrivilegeForeignTransferNonEEA:
      description: Lista atrybutów uprawnienia do inicjacji przelewu zagranicznego bez EEA
        / The list of attributes of the non-EEA foreign transfer request
        initiation privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recipient:
          $ref: "#/components/schemas/RecipientPISForeign"
        recipientBank:
          $ref: "#/components/schemas/Bank"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequired"
        transferCharges:
          type: string
          maxLength: 3
          description: Klauzula kosztowa / The cost clause
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - UrgentD1
            - StandardD2
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - SWIFT
        hold:
          description: "Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu wolnym) / Indicates if payment should be held"
          type: boolean
        executionMode:
          description: >
            Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność /
             Payment execution mode. The superior information deciding which mode is to be used to execute payment. Used to indicate outgoing transaction type. Possible values:
             *  S – Split payment
             *  /no value/ - non split payment transaction
          type: string
          enum:
            - S
        auxData:
          $ref: "#/components/schemas/ForeignNonEeaAuxData"
    PrivilegeTaxTransfer:
      description: Lista atrybutów uprawnienia do inicjacji przelewu urzędu podatkowego /
        The list of attributes of the tax transfer request initiation privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recipient:
          $ref: "#/components/schemas/RecipientPIS"
        sender:
          $ref: "#/components/schemas/SenderPIS"
        transferData:
          $ref: "#/components/schemas/TransferDataCurrencyRequiredTax"
        usInfo:
          $ref: "#/components/schemas/TransactionInfoTax"
        deliveryMode:
          description: Tryb pilności / Urgency mode
          type: string
          enum:
            - ExpressD0
            - StandardD1
        system:
          description: Droga jaką przelew ma być rozliczony / The way the transfer should
            be settled
          type: string
          enum:
            - ELIXIR
            - ExpressElixir
        hold:
          description: "Czy założyć blokadę (w przypadku np. zlecenia przelewu w dniu wolnym) / Indicates if payment should be held"
          type: boolean
        executionMode:
          description: Tryb realizacji płatności. Nadrzędna informacja decydująca o tym w
            jakim trybie zostanie zrealizowana płatność (pole nie jest używane
            dla tax) / Payment execution mode. The superior information deciding
            which mode is to be used to execute payment (field not used in tax)
          type: string
          enum:
            - Immediate
            - FutureDated
        auxData:
          $ref: "#/components/schemas/TaxAuxData"
    PrivilegeCancelPayment:
      description: Lista atrybutów uprawnienia do odwołania zainicjowanego przelewu / The
        list of attributes of the cancel initiated payment request privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        paymentId:
          type: string
          maxLength: 128
          description: Identyfikator płatności / Payment ID
        bundleId:
          type: string
          description: Identyfikator paczki przelewów / Bundle of payments ID
    PrivilegeCancelRecurringPayment:
      description: Lista atrybutów uprawnienia do anulowania płatności cyklicznej / The
        list of attributes of the cancel recurring payment request privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recurringPaymentId:
          type: string
          maxLength: 128
          description: Identyfikator płatności cyklicznej nadany przez ASPSP / Recurring
            payment identifier set by ASPSP
    PrivilegeBundleTransfers:
      description: Lista atrybutów uprawnienia do zainicjowania paczki przelewu / The list
        of attributes of the initiate bundle of payments request privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        transfersTotalAmount:
          description: Łączna kwota wszystkich przelewów z paczki / The total amount of all
            transfers from bundle
          type: string
          pattern: ^(0|([1-9][0-9]{0,}))\.\d{2}$
        typeOfTransfers:
          description: Typ przelewów, które zostaną zlecone w ramach paczki / The type of
            transfers that will be initiated through the bundle
          type: string
          enum:
            - domestic
            - EEA
            - nonEEA
            - tax
        auxData:
          $ref: "#/components/schemas/BundleAuxData"
        domesticTransfers:
          description: Lista struktur danych przelewów zwykłych, które zostaną zlecone.
            Wymagane gdy typeOfTransfers = domestic. / The list of data
            structures of domestic transfers to be initiated. Required when
            typeOfTransfers = domestic.
          type: array
          items:
            $ref: "#/components/schemas/PaymentDomesticRequestBundled"
        EEATransfers:
          description: Lista struktur danych przelewów zagranicznych SEPA, które zostaną
            zlecone. Wymagane gdy typeOfTransfers = EEA. / The list of data
            structures of SEPA foreign transfers to be initiated. Required when
            typeOfTransfers = EEA.
          type: array
          items:
            $ref: "#/components/schemas/PaymentEEARequestBundled"
        nonEEATransfers:
          description: Lista struktur danych przelewów zagranicznych innych niż SEPA, które
            zostaną zlecone. Wymagane gdy typeOfTransfers = nonEEA. / The list
            of data structures of non SEPA foreign transfers to be initiated.
            Required when typeOfTransfers = nonEEA.
          type: array
          items:
            $ref: "#/components/schemas/PaymentNonEEARequestBundled"
        taxTransfers:
          description: Lista struktur danych przelewów do urzędu podatkowego, które zostaną
            zlecone. Wymagane gdy typeOfTransfers = tax. / The list of data
            structures of tax transfers to be initiated. Required when
            typeOfTransfers = tax.
          type: array
          items:
            $ref: "#/components/schemas/PaymentTaxRequestBundled"
    PrivilegeRecurringPayment:
      description: Lista atrybutów uprawnienia do zdefiniowania nowej płatności cyklicznej
        / The list of attributes of definition of new recurring payment request
        privilege
      type: object
      properties:
        scopeUsageLimit:
          type: string
          enum:
            - single
            - multiple
          description: Rodzaj limitu zgody / Type of limit of usages
        recurrence:
          $ref: "#/components/schemas/RecurringTransferParameters"
        typeOfPayment:
          description: Typ przelewu, który zostanie wykorzystany do zdefiniowania nowej
            płatności cyklicznej  / The type of payment that is to be used to
            define new recurring payment
          type: string
          enum:
            - domestic
            - EEA
            - nonEEA
            - tax
        domesticPayment:
          $ref: "#/components/schemas/RecurringDomesticPayment"
        EEAPayment:
          $ref: "#/components/schemas/RecurringEEAPayment"
        nonEEAPayment:
          $ref: "#/components/schemas/RecurringNonEEAPayment"
        taxPayment:
          $ref: "#/components/schemas/RecurringTaxPayment"
        auxData:
          $ref: "#/components/schemas/RecurringAuxData"
    ScopeDetailsInputPrivilegeList:
      description: Pełna lista uprawnień będących przedmiotem zapytania o zgodę PSU / The
        list of all privileges that are the subject of the request for PSU's
        consent
      properties:
        accountNumber:
          $ref: "#/components/schemas/AccountNumber"
        ais-accounts:getAccounts:
          $ref: "#/components/schemas/PrivilegeAisAspspInSimple"
        ais:getAccount:
          $ref: "#/components/schemas/PrivilegeAisAspspInSimple"
        ais:getHolds:
          $ref: "#/components/schemas/PrivilegeAisAspspIn"
        ais:getTransactionsDone:
          $ref: "#/components/schemas/PrivilegeAisAspspIn"
        ais:getTransactionsPending:
          $ref: "#/components/schemas/PrivilegeAisAspspIn"
        ais:getTransactionsRejected:
          $ref: "#/components/schemas/PrivilegeAisAspspIn"
        ais:getTransactionsCancelled:
          $ref: "#/components/schemas/PrivilegeAisAspspIn"
        ais:getTransactionsScheduled:
          $ref: "#/components/schemas/PrivilegeAisAspspIn"
        ais:getTransactionDetail:
          $ref: "#/components/schemas/PrivilegeAisAspspInSimple"
        pis:getPayment:
          $ref: "#/components/schemas/PrivilegePayment"
        pis:getBundle:
          $ref: "#/components/schemas/PrivilegeBundle"
        pis:domestic:
          $ref: "#/components/schemas/PrivilegeDomesticTransfer"
        pis:EEA:
          $ref: "#/components/schemas/PrivilegeForeignTransferEEA"
        pis:nonEEA:
          $ref: "#/components/schemas/PrivilegeForeignTransferNonEEA"
        pis:tax:
          $ref: "#/components/schemas/PrivilegeTaxTransfer"
        pis:cancelPayment:
          $ref: "#/components/schemas/PrivilegeCancelPayment"
        pis:bundle:
          $ref: "#/components/schemas/PrivilegeBundleTransfers"
        pis:recurring:
          $ref: "#/components/schemas/PrivilegeRecurringPayment"
        pis:getRecurringPayment:
          $ref: "#/components/schemas/PrivilegeRecurringPaymentStatus"
        pis:cancelRecurringPayment:
          $ref: "#/components/schemas/PrivilegeCancelRecurringPayment"
    ScopeDetailsOutputPrivilegeList:
      description: Pełna lista uprawnień, dla których została wyrażona zgoda przez PSU /
        The list of all privileges that the PSU's consent has been confirmed
      properties:
        accountNumber:
          $ref: "#/components/schemas/AccountNumber"
        ais-accounts:getAccounts:
          $ref: "#/components/schemas/PrivilegeAisAspspOutSimple"
        ais:getAccount:
          $ref: "#/components/schemas/PrivilegeAisAspspOutSimple"
        ais:getHolds:
          $ref: "#/components/schemas/PrivilegeAisAspspOut"
        ais:getTransactionsDone:
          $ref: "#/components/schemas/PrivilegeAisAspspOut"
        ais:getTransactionsPending:
          $ref: "#/components/schemas/PrivilegeAisAspspOut"
        ais:getTransactionsRejected:
          $ref: "#/components/schemas/PrivilegeAisAspspOut"
        ais:getTransactionsCancelled:
          $ref: "#/components/schemas/PrivilegeAisAspspOut"
        ais:getTransactionsScheduled:
          $ref: "#/components/schemas/PrivilegeAisAspspOut"
        ais:getTransactionDetail:
          $ref: "#/components/schemas/PrivilegeAisAspspOutSimple"
        pis:getPayment:
          $ref: "#/components/schemas/PrivilegePayment"
        pis:getBundle:
          $ref: "#/components/schemas/PrivilegeBundle"
        pis:domestic:
          $ref: "#/components/schemas/PrivilegeDomesticTransfer"
        pis:EEA:
          $ref: "#/components/schemas/PrivilegeForeignTransferEEA"
        pis:nonEEA:
          $ref: "#/components/schemas/PrivilegeForeignTransferNonEEA"
        pis:tax:
          $ref: "#/components/schemas/PrivilegeTaxTransfer"
        pis:cancelPayment:
          $ref: "#/components/schemas/PrivilegeCancelPayment"
        pis:bundle:
          $ref: "#/components/schemas/PrivilegeBundleTransfers"
        pis:recurring:
          $ref: "#/components/schemas/PrivilegeRecurringPayment"
        pis:getRecurringPayment:
          $ref: "#/components/schemas/PrivilegeRecurringPaymentStatus"
        pis:cancelRecurringPayment:
          $ref: "#/components/schemas/PrivilegeCancelRecurringPayment"
