openapi: 3.0.1
info:
  title: NextGenPSD2 XS2A Framework
  description: "\r\n# Summary\r\n\r\nThe **NextGenPSD2** Framework Version 1.3.9 offers a modern, open, harmonized and interoperable set of Application Programming Interfaces (APIs) as the safest and most efficient way to provide data securely. The NextGenPSD2 Framework reduces XS2A complexity and costs, addresses the problem of multiple competing standards in Europe and, aligned with the goals of the Euro Retail Payments Board, enables european banking customers to benefit from innovative products and services('Banking as a Service') by granting TPPs safe and secure (authenticated and authorized) access to their bank accounts and financial data.\r\n\r\nThe possible Approaches are:\r\n* Redirect SCA Approach\r\n* OAuth SCA Approach\r\n* Decoupled SCA Approach\r\n* Embedded SCA Approach without SCA method\r\n* Embedded SCA Approach with only one SCA method available\r\n* Embedded SCA Approach with Selection of a SCA method\r\n\r\nNot every message defined in this API definition is necessary for all approaches.\r\nFurthermore this API definition does not differ between methods which are mandatory, conditional, or optional.Therefore for a particular implementation of a Berlin Group PSD2 compliant API it is only necessary to support a certain subset of the methods defined in this API definition.\r\n\r\n**Please have a look at the implementation guidelines if you are not sure      which message has to be used for the approach you are going to use.**\r\n\r\n## Some General Remarks Related to this version of the OpenAPI Specification:\r\n\r\n* **This API definition is based on the Implementation Guidelines of the Berlin Group PSD2 API.**  It is not a replacement in any sense. The main specification is (at the moment) always the Implementation Guidelines of the Berlin Group PSD2 API\r\n"
  contact:
    name: Alta Software llc
    url: https://psd2.altasoft.ge
    email: psd2@altasoft.ge
  version: v2.0
servers:
  - url: psd2-sandbox1.altasoft.ge
    description: Sandbox Server 1
  - url: psd2-sandbox2.altasoft2.ge
    description: Sandbox Server 2
paths:
  /v2/accounts:
    get:
      tags:
        - Accounts
      summary: Read account list
      description: 'Read the identifiers of the available payment account together with  booking balance information, depending on the consent granted.  It is assumed that a consent of the PSU to this access is already given and stored on the ASPSP system.  The addressed list of accounts depends then on the PSU ID and the stored consent addressed by consentId,  respectively the OAuth2 access token.   Returns all identifiers of the accounts, to which an account access has been granted to through  the /consents endpoint by the PSU.  In addition, relevant information about the accounts and hyperlinks to corresponding account  information resources are provided if a related consent has been already granted.  Remark: Note that the /consents endpoint optionally offers to grant an access on all available  payment accounts of a PSU.  In this case, this endpoint will deliver the information about all available payment accounts  of the PSU at this ASPSP.'
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: withBalance
          in: query
          description: 'If contained, this function reads the list of accessible payment accounts including the booking balance,  if granted by the PSU in the related consent and available by the ASPSP.  This parameter might be ignored by the ASPSP.'
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAccountListResponse'
              examples:
                getAccountListResponseExample1:
                  summary: Example of Getting Account List by ConsentId.
                  value: {"accounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"GEL","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","_links":{"balances":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}]}
                getAccountListResponseExample2:
                  summary: Example of Getting Account List by ConsentId.
                  value: {"accounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"XXX","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"interimAvailable"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"interimAvailable"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"interimAvailable"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000001718520","currency":"XXX","name":"Account #2 name","displayName":"Account #2 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"closingBooked"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118020","currency":"XXX","name":"Account #3 name","displayName":"Account #3 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"interimBooked"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"interimBooked"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"interimBooked"}]}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/accounts/{account-id}/balances':
    get:
      tags:
        - Accounts
      summary: Read balance
      description: "Reads account data from a given account addressed by 'account-id'.\r\n            **Remark:** This account-id can be a tokenised identification due to data protection reason since the path  information might be logged on intermediary servers within the ASPSP sphere.  This account-id then can be retrieved by the 'Get account list' call.  The account-id is constant at least throughout the lifecycle of a given consent."
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: This identification is denoting the addressed (card) account. The account-id is retrieved by using a 'Read Account List' or 'Read Card Account list' call. The account-id is the 'resourceId' attribute of the account structure. Its value is constant at least throughout the lifecycle of a given consent.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBalancesResponse'
              examples:
                getBalancesResponseExample1:
                  summary: Example of Getting Account Balances by AccountId.
                  value: {"account":{"iban":"GE02AL0000000000118060","currency":"GEL"},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/accounts/{account-id}/transactions/{transactionId}':
    get:
      tags:
        - Accounts
      summary: Read transaction details
      description: "Reads transaction details from a given transaction addressed by 'transactionId' on a given account addressed by 'account-id'.\r\nThis call is only available on transactions as reported in a JSON format.\r\n**Remark:** Please note that the PATH might be already given in detail by the corresponding entry of the response of the 'Read Transaction List'\r\ncall within the _links sub-field."
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
        - name: transactionId
          in: path
          description: This identification is given by the attribute transactionId of the corresponding entry of a transaction list.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTransactionDetailsResponse'
              examples:
                getTransactionDetailsExample1:
                  summary: Example of transaction details
                  value: {"transactionsDetails":{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-31","transactionAmount":{"currency":"GEL","amount":"-7777.00"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/accounts/{account-id}/transactions':
    get:
      tags:
        - Accounts
      summary: Read transaction list of an account
      description: "Read transaction reports or transaction lists of a given account dressed by 'account-id', depending on the steering parameter 'bookingStatus' together with balances.\r\n            For a given account, additional parameters are e.g. the attributes 'dateFrom' and 'dateTo'.\r\n            The ASPSP might add balance information, if transaction lists without balances are not supported."
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: "This identification is denoting the addressed (card) account.\r\n            The account-id is retrieved by using a 'Read Account List' or 'Read Card Account list' call.\r\n            The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
        - name: bookingStatus
          in: query
          description: "Permitted codes are\r\n              * 'information',\r\n              * 'booked',\r\n              * 'pending', and\r\n              * 'both'\r\n              'booked' shall be supported by the ASPSP.\r\n              To support the 'pending' and 'both' feature is optional for the ASPSP,  Error code if not supported in the online banking frontend"
          schema:
            $ref: '#/components/schemas/BookingStatus'
        - name: dateFrom
          in: query
          description: 'Conditional: Starting date (inclusive the date dateFrom) of the transaction list, mandated if no delta access is required and if bookingStatus does not equal ''information''. For booked transactions, the relevant date is the booking date. For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            type: string
            format: date
        - name: dateTo
          in: query
          description: 'End date (inclusive the data dateTo) of the transaction list, default is ''now'' if not given.   Might be ignored if a delta function is used. For booked transactions, the relevant date is the booking date. For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            type: string
            format: date
        - name: entryReferenceFrom
          in: query
          description: 'This data attribute is indicating that the AISP is in favour to get all transactions after  the transaction with identification entryReferenceFrom alternatively to the above defined period. This is a implementation of a delta access. If this data element is contained, the entries ''dateFrom'' and ''dateTo'' might be ignored by the ASPSP  if a delta report is supported. Optional if supported by API provider.'
          schema:
            type: string
        - name: deltaList
          in: query
          description: This data attribute is indicating that the AISP is in favour to get all transactions after the last report access for this PSU on the addressed account. This is another implementation of a delta access-report. This delta indicator might be rejected by the ASPSP if this function is not supported. Optional if supported by API provider
          schema:
            type: boolean
        - name: withBalance
          in: query
          description: 'If contained, this function reads the list of accessible payment accounts including the booking balance,  if granted by the PSU in the related consent and available by the ASPSP.  This parameter might be ignored by the ASPSP.'
          schema:
            type: boolean
        - name: state
          in: query
          description: ''
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTransactionListResponse'
              examples:
                getTransactionListResponseExample1:
                  summary: Example of transactions by account without balances
                  value: {"account":{"iban":"GE02AL0000000000118020"},"transactions":{"booked":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"-577.60"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-7077.00"}},{"transactionId":"GE02AL0000000000118020_3","bookingDate":"2020-09-29","valueDate":"2020-09-30","transactionAmount":{"currency":"GEL","amount":"5277.55"}}],"pending":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"577.00"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-45277.00"}}],"_links":{"account":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQreertty"},"last":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQqwwweeer"}}},"_links":{"download":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"}}}
                getTransactionListResponseExample2:
                  summary: Example of transactions by account with balances
                  value: {"account":{"iban":"GE02AL0000000000118020"},"transactions":{"booked":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"-7077.00"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-7767.45"}},{"transactionId":"GE02AL0000000000118020_3","bookingDate":"2020-09-29","valueDate":"2020-09-30","transactionAmount":{"currency":"GEL","amount":"5277.50"}}],"pending":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"577.65"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-45277.12"}}],"_links":{"account":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQnext"},"last":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQlast"}}},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/accounts/{account-id}':
    get:
      tags:
        - Accounts
      summary: Read account details
      description: 'Reads details about an account, with balances where required.  It is assumed that a consent of the PSU to  this access is already given and stored on the ASPSP system.  The addressed details of this account depends then on the stored consent addressed by consentId,  respectively the OAuth2 access token.  **NOTE:** The account-id can represent a multicurrency account.  In this case the currency code is set to ''XXX''.  Give detailed information about the addressed account.  Give detailed information about the addressed account together with balance information'
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List' or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.  Its value is constant at least throughout the lifecycle of a given consent.
          required: true
          schema:
            type: string
        - name: withBalance
          in: query
          description: 'If contained, this function reads the list of accessible payment accounts including the booking balance,  if granted by the PSU in the related consent and available by the ASPSP.  This parameter might be ignored by the ASPSP.'
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadAccountDetailsResponse'
              examples:
                readAccountDetailsExample:
                  summary: Example of account details
                  value: {"account":{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"GEL","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","_links":{"balances":{"href":"v1/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"v1/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/bulk-payments/aspsp:
    post:
      tags:
        - BulkPayments
      summary: Performs bulk payment within ASPSP
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/BulkPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/bulk-payments/domestic:
    post:
      tags:
        - BulkPayments
      summary: Performs Bulk  domestic payments
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/BulkPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/bulk-payments/foreign:
    post:
      tags:
        - BulkPayments
      summary: Performs Bulk foreign payments
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/bulk-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - BulkPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    delete:
      tags:
        - BulkPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/bulk-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - BulkPayments
      summary: Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/bulk-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - BulkPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - BulkPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/bulk-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - BulkPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - BulkPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/bulk-payments/{payment-product}/{paymentId}/cancellation-authorisations':
    post:
      tags:
        - BulkPayments
      summary: Start the authorisation process for the cancellation of the addressed payment
      description: 'Creates an authorisation sub-resource and start the authorisation process of the cancellation of the addressed payment.  The message might in addition transmit authentication and authorisation related data.  This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the cancellation-authorisation.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''    * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - BulkPayments
      summary: Will deliver an array of resource identifications to all generated cancellation authorisation sub-resources
      description: Retrieve a list of all created cancellation authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancellationsResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/bulk-payments/{payment-product}/{paymentId}/cancellation-authorisations/{authorisationId}':
    get:
      tags:
        - BulkPayments
      summary: Read the SCA status of the payment cancellation's authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - BulkPayments
      summary: Update PSU data for payment initiation cancellation
      description: 'This method updates PSU data on the cancellation authorisation resource if needed.  It may authorise a cancellation of the payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  This methods updates PSU data on the cancellation authorisation resource if needed.   There are several possible update PSU data requests in the context of a cancellation authorisation within the payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific Update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific Update PSU data request is only applicable for   * adding the PSU Identification, if not provided yet in the payment initiation request or the Account Information Consent Request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA approach might depend on the chosen SCA method.  For that reason, the following possible update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction Authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          description: Resource identification of the related SCA.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/card-accounts:
    get:
      tags:
        - CardAccounts
      summary: Read a list of card accounts
      description: "Reads a list of card accounts with additional information, e.g. balance information.\r\n            It is assumed that a consent of the PSU to this access is already given and stored on the ASPSP system.\r\n            The addressed list of card accounts depends then on the PSU ID and the stored consent addressed by consentId,\r\n            respectively the OAuth2 access token."
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCardAccountListResponse'
              examples:
                getCardAccountListExample1:
                  summary: Example of card accounts with balance
                  value: {"cardAccounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********6950","ownerName":"Demo user","displayName":"Card display name","product":"Card product","status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}],"_links":{"transactions":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********2250","ownerName":"Demo user","displayName":"Card display name","product":"Card product","status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}],"_links":{"transactions":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********4610","ownerName":"Demo user","displayName":"Card display name","product":"Card product","status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}],"_links":{"transactions":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}]}
                getCardAccountListExample2:
                  summary: Example of card accounts without balance
                  value: {"cardAccounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********8980","ownerName":"Demo user","displayName":"Card display name","product":"Card product","status":"enabled","usage":"PRIV","_links":{"balances":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********4070","ownerName":"Demo user","displayName":"Card display name","product":"Card product","status":"enabled","usage":"PRIV","_links":{"balances":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********9620","ownerName":"Demo user","displayName":"Card display name","product":"Card product","status":"enabled","usage":"PRIV","_links":{"balances":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"/v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/card-accounts/{account-id}/balances':
    get:
      tags:
        - CardAccounts
      summary: Read card account balances
      description: 'Reads balance data from a given card account addressed by  \"account-id\".   Remark: This account-id can be a tokenised identification due  to data protection reason since the path information might be  logged on intermediary servers within the ASPSP sphere.  This account-id then can be retrieved by the  \"Get card account list\" call.'
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: This identification is denoting the addressed (card) account.  The account-id is retrieved by using a \"Read Account List\" or \"Read Card Account list\" call.  The account-id is the \"resourceId\" attribute of the account structure.  Its value is constant at least throughout the lifecycle of a given consent.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCardAccountBalancesResponse'
              examples:
                getCardAccountBalancesExample:
                  summary: Example of card account balances
                  value: {"cardAccount":{"iban":"GE02AL0000000000118060","maskedPan":"418057**********6950","currency":"GEL"},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/card-accounts/{account-id}/transactions':
    get:
      tags:
        - CardAccounts
      summary: Read transaction list of an account
      description: Reads account data from a given card account addressed by \"account-id\".
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: This identification is denoting the addressed (card) account.  The account-id is retrieved by using a \"Read Account List\" or \"Read Card Account list\" call.  The account-id is the \"resourceId\" attribute of the account structure.  Its value is constant at least throughout the lifecycle of a given consent.
          required: true
          schema:
            type: string
        - name: bookingStatus
          in: query
          description: 'Permitted codes are    * \"information\",   * \"booked\",   * \"pending\", and    * \"both\" \"booked\" shall be supported by the ASPSP. To support the \"pending\" and \"both\" feature is optional for the ASPSP,  Error code if not supported in the online banking frontend'
          required: true
          schema:
            $ref: '#/components/schemas/BookingStatus'
        - name: dateFrom
          in: query
          description: 'Conditional: Starting date (inclusive the date dateFrom) of the transaction list, mandated if no delta access is required and if bookingStatus does not equal \"information.  For booked transactions, the relevant date is the booking date.   For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            type: string
            format: date
        - name: dateTo
          in: query
          description: 'End date (inclusive the data dateTo) of the transaction list, default is \"now\" if not given.   Might be ignored if a delta function is used.  For booked transactions, the relevant date is the booking date.   For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            type: string
            format: date
        - name: deltaList
          in: query
          description: This data attribute is indicating that the AISP is in favour to get all transactions after the last report access for this PSU on the addressed account. This is another implementation of a delta access-report. This delta indicator might be rejected by the ASPSP if this function is not supported. Optional if supported by API provider
          schema:
            type: boolean
        - name: state
          in: query
          description: ''
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardAccountsTransactionsResponse'
              examples:
                cardAccountsTransactionExample:
                  summary: Example of card account transaction
                  value: {"cardAccount":{"iban":"GE02AL0000000000118060","maskedPan":"418057**********6950","currency":"GEL"},"cardTransactions":{"booked":[{"transactionAmount":{"currency":"GEL","amount":"3520.45"},"maskedPAN":"418057**********6950"},{"transactionAmount":{"currency":"GEL","amount":"2520.00"},"maskedPAN":"418057**********6950"},{"transactionAmount":{"currency":"GEL","amount":"1520.86"},"maskedPAN":"418057**********6950"}],"_links":{"cardAccount":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"last":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"previous":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"}}},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/card-accounts/{account-id}':
    get:
      tags:
        - CardAccounts
      summary: Read details about a card account
      description: "Reads details about a card account.\r\n            It is assumed that a consent of the PSU to this access is already given and stored on the ASPSP system.\r\n            The addressed details of this account depends then on the stored consent addressed by consentId, respectively the OAuth2  access token."
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: account-id
          in: path
          description: This identification is denoting the addressed (card) account.  The account-id is retrieved by using a \"Read Account List\" or \"Read Card Account list\" call.  The account-id is the \"resourceId\" attribute of the account structure.  Its value is constant at least throughout the lifecycle of a given consent.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadCardAccountsDetailsResponse'
              examples:
                getCardByIdExample:
                  summary: Example of getting card by id
                  value: {"cardAccount":{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********6950","currency":"EUR","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}],"_links":{"self":{"href":"/v2/cards/7b505906-074e-4e87-abd4-6424b4f621c0"},"transactions":{"href":"/v2/cards/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}},"creditLimit":{"currency":"EUR","amount":"1040.50"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/cards:
    get:
      tags:
        - Cards
      summary: Read cards list
      description: "The same syntactical structure is used to transport card information as card account information.\r\n            In difference to the card-accounts context, in some attributes properties of the dedicated\r\n            card are provided instead of properties of the underlying reconciliation account. This applies for examples to the status attribute"
      parameters:
        - name: Consent-ID
          in: header
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCardsListResponse'
              examples:
                getCardsExample:
                  summary: Example of cards response
                  value: {"cards":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********0560","ownerName":"Demo user","name":"Main","displayName":"Card display name","product":"Card product","debitAccounting":false,"status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********4270","ownerName":"Demo user","name":"Main","displayName":"Card display name","product":"Card product","debitAccounting":false,"status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********8920","ownerName":"Demo user","name":"Main","displayName":"Card display name","product":"Card product","debitAccounting":false,"status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/cards/{card-id}':
    get:
      tags:
        - Cards
      summary: Read card details
      description: The same syntactical structure is used to transport card information as card account information.
      parameters:
        - name: Consent-ID
          in: header
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: card-id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadCardAccountsDetailsResponse'
              examples:
                getCardByIdExample:
                  summary: Example of getting card by id
                  value: {"cardAccount":{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","maskedPan":"418057**********6950","currency":"EUR","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}],"_links":{"self":{"href":"/v2/cards/7b505906-074e-4e87-abd4-6424b4f621c0"},"transactions":{"href":"/v2/cards/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}},"creditLimit":{"currency":"EUR","amount":"1040.50"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/cards/{card-id}/balances':
    get:
      tags:
        - Cards
      summary: Get card balances
      description: "Reads balance data from a given card addressed by \"card-id\".\r\n            Please note, that the current credit line of a given card might be tighter than what a response to this request will suggest\r\n            due to general credit limits on the card account and transactions by other cards to the same card account."
      parameters:
        - name: Consent-ID
          in: header
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: card-id
          in: path
          required: true
          schema:
            type: string
        - name: dateFrom
          in: query
          schema:
            type: string
            format: date
        - name: valueDateFrom
          in: query
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardBalancesResponse'
              examples:
                cardBalancesExample:
                  summary: Example of card balances
                  value: {"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked","creditLimitIncluded":false},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected","creditLimitIncluded":false}],"card":{"iban":"GE02AL0000000000118060","maskedPan":"418057**********6950","currency":"GEL"},"debitAccounting":false}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/cards/{card-id}/transactions':
    get:
      tags:
        - Cards
      summary: Get card transactions
      description: "This card-id can be a tokenised identification due to data protection\r\n            reason since the path information might be logged on intermediary servers within the ASPSP sphere.\r\n            This cardid then can be retrieved by the \"GET Card List\" call, cp. Section 5.1."
      parameters:
        - name: Consent-ID
          in: header
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: card-id
          in: path
          required: true
          schema:
            type: string
        - name: bookingStatus
          in: query
          description: "Permitted codes are \"booked\", \"pending\",\r\n\"both\" and “information”.\r\n\"booked\" shall be supported by the\r\nASPSP.\r\nTo support the \"pending\" and \"both\" feature\r\nis optional for the ASPSP, Error code if not\r\nsupported in the online banking frontend. If\r\nsupported, \"both\" means to request\r\ntransaction reports of transaction of\r\nbookingStatus either \"pending\" or\r\n\"booked\".\r\nTo support the \"information\" feature is\r\noptional for the ASPSP. Currently the\r\nbooking status “information” only covers\r\nstanding orders. Error code if not\r\nsupported."
          required: true
          schema:
            $ref: '#/components/schemas/BookingStatus'
        - name: dateFrom
          in: query
          schema:
            type: string
            format: date
        - name: dateTo
          in: query
          schema:
            type: string
            format: date
        - name: deltaList
          in: query
          schema:
            type: boolean
        - name: state
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardTransactionsResponse'
              examples:
                cardTransactionsExample:
                  summary: Example of card transactions
                  value: {"card":{"iban":"GE02AL0000000000118060","maskedPan":"418057**********6950","currency":"GEL"},"cardTransactions":{"booked":[{"transactionAmount":{"currency":"EUR","amount":"500.00"},"maskedPAN":"418057**********6950"},{"transactionAmount":{"currency":"GEL","amount":"1500.86"},"maskedPAN":"418057**********6950"},{"transactionAmount":{"currency":"USD","amount":"325.00"},"maskedPAN":"418057**********6950"}],"_links":{"cardAccount":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}}},"debitAccounting":false}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/consents/account-access:
    post:
      tags:
        - Consents
      summary: Create consent
      description: "\r\n\r\n            This method create a consent resource, defining access rights to dedicated accounts of a\r\n            given PSU-ID. These accounts are addressed explicitly in the method as parameters as a\r\n            core function.\r\n            \r\n\r\n\r\n            **Side Effects** When this consent request is a request where the 'recurringIndicator'\r\n            equals 'true', and if it exists already a former consent for recurring access on account\r\n            information for the addressed PSU, then the former consent automatically expires as soon\r\n            as the new consent request is authorised by the PSU. Optional Extension: As an option,\r\n            an ASPSP might optionally accept a specific access right on the access on all PSD2\r\n            related services for all available accounts. As another option an ASPSP might optionally\r\n            also accept a command, where only access rights are inserted without mentioning the\r\n            addressed account. The relation to accounts is then handled afterwards between PSU and\r\n            ASPSP. This option is not supported for the Embedded SCA Approach. As a last option, an\r\n            ASPSP might in addition accept a command with access rights\r\n            * to see the list of available payment accounts or\r\n            * to see the list of available payment accounts with balances.\r\n            "
      requestBody:
        description: Request body for a consents request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateConsentRequestBody'
            examples:
              Create Account List Consent:
                summary: Consent request on account list of available accounts.
                value: {"access":{"payments":[{"rights":["accountDetails"]}]},"consentType":"accountList","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4}
              Create Consent AspspManaged:
                summary: Consent request on account list without indication of accounts.
                value: {"access":{"payments":[{"rights":["accountDetails","balances","transactions"]}]},"consentType":"aspspManaged","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4}
              createConsentExample3:
                summary: Consent request on account list with dedicated accounts.
                value: {"access":{"payments":[{"account":{"iban":"GE02AL0000000000118020","currency":"GEL"},"rights":["transactions","balances"]},{"account":{"iban":"GE02AL0000000000309110","currency":"USD"},"rights":["transactions","balances","ownerName"]},{"account":{"iban":"GE02AL0000000001618610","currency":"EUR"},"rights":["accountDetails"]}]},"consentType":"detailed","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4}
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateConsentRequestBody'
            examples:
              Create Account List Consent:
                summary: Consent request on account list of available accounts.
                value: {"access":{"payments":[{"rights":["accountDetails"]}]},"consentType":"accountList","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4}
              Create Consent AspspManaged:
                summary: Consent request on account list without indication of accounts.
                value: {"access":{"payments":[{"rights":["accountDetails","balances","transactions"]}]},"consentType":"aspspManaged","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4}
              createConsentExample3:
                summary: Consent request on account list with dedicated accounts.
                value: {"access":{"payments":[{"account":{"iban":"GE02AL0000000000118020","currency":"GEL"},"rights":["transactions","balances"]},{"account":{"iban":"GE02AL0000000000309110","currency":"USD"},"rights":["transactions","balances","ownerName"]},{"account":{"iban":"GE02AL0000000001618610","currency":"EUR"},"rights":["accountDetails"]}]},"consentType":"detailed","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4}
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateConsentResponse'
              examples:
                Consent Response with Explicit start of Authorization:
                  summary: Redirect with Oauth2 (Start authorization)
                  value: {"consentStatus":"received","consentId":"beae3ef6-e219-4626-a037-af10cd937df5","_links":{"self":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5"},"status":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/status"},"startAuthorisation":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/consents/account-access/{consentId}/status':
    get:
      tags:
        - Consents
      summary: Consent status request
      description: Read the status of an account information consent resource.
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetConsentStatusResponse'
              examples:
                getConsentStatusResponseExample1:
                  summary: Example of valid consent.
                  value: {"consentStatus":"valid"}
                getConsentStatusResponseExample2:
                  summary: Example of expired consent.
                  value: {"consentStatus":"expired","psuMessage":"Consent already expired"}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/consents/account-access/{consentId}':
    get:
      tags:
        - Consents
      summary: Get consent request
      description: "Returns the content of an account information consent object. This is returning the data\r\nfor the TPP especially in cases, where the consent was directly managed between ASPSP\r\nand PSU e.g. in a redirect SCA Approach."
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetConsentInformationResponse'
              examples:
                getConsentInformationResponseExample1:
                  summary: Example of valid consent.
                  value: {"access":{"payments":[{"_links":{"account":{"href":"v2/accounts/9f179bb2-690d-4760-8b8b-3e8b26ea35ba"},"card-account":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}},"account":{"iban":"GE02AL0000000000118020","currency":"GEL"},"rights":["transactions","balances"]},{"_links":{"account":{"href":"v2/accounts/9f179bb2-690d-4760-8b8b-3e8b26ea35ba"},"card-account":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}},"account":{"iban":"GE02AL0000000000309110","currency":"USD"},"rights":["transactions","balances","ownerName"]},{"_links":{"account":{"href":"v2/accounts/9f179bb2-690d-4760-8b8b-3e8b26ea35ba"},"card-account":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}},"account":{"iban":"GE02AL0000000001618610","currency":"EUR"},"rights":["accountDetails"]}]},"consentType":"detailed","recurringIndicator":true,"validTo":"2021-02-28","frequencyPerDay":4,"consentStatus":"valid"}
                getConsentInformationResponseExample2:
                  summary: Example of expired consent.
                  value: {"access":{"payments":[{"_links":{"account":{"href":"v2/accounts/9f179bb2-690d-4760-8b8b-3e8b26ea35ba"},"card-account":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}},"account":{"iban":"GE02AL0000000000118020","currency":"GEL"},"rights":["transactions","balances"]},{"_links":{"account":{"href":"v2/accounts/9f179bb2-690d-4760-8b8b-3e8b26ea35ba"},"card-account":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}},"account":{"iban":"GE02AL0000000000309110","currency":"USD"},"rights":["transactions","balances","ownerName"]},{"_links":{"account":{"href":"v2/accounts/9f179bb2-690d-4760-8b8b-3e8b26ea35ba"},"card-account":{"href":"v2/card-accounts/7b505906-074e-4e87-abd4-6424b4f621c0"}},"account":{"iban":"GE02AL0000000001618610","currency":"EUR"},"rights":["accountDetails"]}]},"consentType":"detailed","recurringIndicator":true,"validTo":"2020-02-28","frequencyPerDay":4,"consentStatus":"expired"}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    delete:
      tags:
        - Consents
      summary: Delete consent
      description: The TPP can delete an account information consent object if needed.
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/consents/{consentId}/authorisations':
    post:
      tags:
        - Consents
      summary: Start the authorisation process for a consent
      description: "Create an authorisation sub-resource and start the authorisation process of a consent.\r\nThe message might in addition transmit authentication and authorisation related data.\r\nThis method is iterated n times for a n times SCA authorisation in a corporate context,\r\neach creating an own authorisation sub-endpoint for the corresponding PSU authorising\r\nthe consent. The ASPSP might make the usage of this access method unnecessary, since the\r\nrelated authorisation resource will be automatically created by the ASPSP after the\r\nsubmission of the consent data with the first POST consents call. The start\r\nauthorisation process is a process which is needed for creating a new authorisation or\r\ncancellation sub-resource. This applies in the following scenarios:\r\n* The ASPSP has indicated with an 'startAuthorisation' hyperlink in the preceding Payment\r\ninitiation response that an explicit start of the authorisation process is needed by the\r\nTPP. The 'startAuthorisation' hyperlink can transport more information about data which\r\nneeds to be uploaded by using the extended forms:\r\n* 'startAuthorisationWithPsuIdentfication',\r\n* 'startAuthorisationWithPsuAuthentication'\r\n* 'startAuthorisationWithEncryptedPsuAuthentication'\r\n* 'startAuthorisationWithAuthentciationMethodSelection'\r\n* The related payment initiation cannot yet be executed since a multilevel SCA is mandated.\r\n* The ASPSP has indicated with an 'startAuthorisation' hyperlink in the preceding\r\npayment cancellation response that an explicit start of the authorisation process is\r\nneeded by the TPP. The 'startAuthorisation' hyperlink can transport more information\r\nabout data which needs to be uploaded by using the extended forms as indicated above.\r\n* The related payment cancellation request cannot be applied yet since a multilevel SCA\r\nis mandate for executing the cancellation. * The signing basket needs to be authorised yet."
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
      requestBody:
        description: Request body for start consent authorization request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - Consents
      summary: Get consent authorisation sub-resources request
      description: "Return a list of all authorisation sub resources IDs which have been created. This\r\nfunction returns an array of hyperlinks to all generated authorisation sub-resources."
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/consents/{consentId}/authorisations/{authorisationId}':
    get:
      tags:
        - Consents
      summary: Read the SCA status of the consent authorisation
      description: This method returns the SCA status of a consent initiation's authorisation sub-resource.
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
        - name: authorisationId
          in: path
          description: Resource identification of the related SCA.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - Consents
      summary: Update PSU Data for consents
      description: "This method updates PSU data on the consents resource if needed. It may authorise a\r\nconsent within the Embedded SCA Approach where needed. Independently from the SCA\r\nApproach it supports e.g. the selection of the authentication method and a non-SCA PSU\r\nauthentication. This methods updates PSU data on the cancellation authorisation resource\r\nif needed. There are several possible update PSU data requests in the context of a\r\nconsent request if needed, which depends on the SCA approach:\r\n* Redirect SCA Approach: A specific Update PSU data request is applicable for\r\n* the selection of authentication methods, before choosing the actual SCA approach.\r\n* Decoupled SCA Approach: A specific update PSU data request is only applicable for\r\n* adding the PSU Identification, if not provided yet in the payment initiation request\r\nor the Account Information Consent Request, or if no OAuth2 access token is used, or\r\n* the selection of authentication methods.\r\n* Embedded SCA Approach: The Update PSU data request might be used\r\n* to add credentials as a first factor authentication data of the PSU and\r\n* to select the authentication method and * transaction authorisation. The SCA Approach\r\nmight depend on the chosen SCA method. For that reason, the following possible update\r\nPSU data request can apply to all SCA approaches:\r\n* Select an SCA method in case of several SCA methods are available for the customer.\r\nThere are the following request types on this access path: * Update PSU identification *\r\nUpdate PSU authentication * Select PSU autorization method WARNING: This method needs a\r\nreduced header, therefore many optional elements are not present. Maybe in a later\r\nversion the access path will change. * Transaction Authorisation WARNING: This method\r\nneeds a reduced header, therefore many optional elements are not present. Maybe in a\r\nlater version the access path will change."
      parameters:
        - name: consentId
          in: path
          description: ID of the corresponding consent object as returned by an account information consent request.
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
          example: beae3ef6-e219-4626-a037-af10cd937df5
        - name: authorisationId
          in: path
          description: Resource identification of the related SCA.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - DeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeferredPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - DeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - DeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - DeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}':
    post:
      tags:
        - DeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - DeferredPayments
      summary: Deferred Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - DeferredPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - DeferredPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - DeferredPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - DeferredPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/deferred-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - DeferredPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - DeferredPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/loans:
    get:
      tags:
        - Loans
      summary: Read account list
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAccountListResponse'
              examples:
                getAccountListResponseExample1:
                  summary: Example of Getting Account List by ConsentId.
                  value: {"accounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"GEL","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","_links":{"balances":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}]}
                getAccountListResponseExample2:
                  summary: Example of Getting Account List by ConsentId.
                  value: {"accounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"XXX","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"interimAvailable"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"interimAvailable"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"interimAvailable"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000001718520","currency":"XXX","name":"Account #2 name","displayName":"Account #2 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"closingBooked"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118020","currency":"XXX","name":"Account #3 name","displayName":"Account #3 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"interimBooked"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"interimBooked"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"interimBooked"}]}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/loans/{accountId}':
    get:
      tags:
        - Loans
      summary: Read Account Details
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: accountId
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadAccountDetailsResponse'
              examples:
                readAccountDetailsExample:
                  summary: Example of account details
                  value: {"account":{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"GEL","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","_links":{"balances":{"href":"v1/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"v1/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/loans/{accountId}/balances':
    get:
      tags:
        - Loans
      summary: Read Account Balances
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: accountId
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBalancesResponse'
              examples:
                getBalancesResponseExample1:
                  summary: Example of Getting Account Balances by AccountId.
                  value: {"account":{"iban":"GE02AL0000000000118060","currency":"GEL"},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/loans/{accountId}/transactions':
    get:
      tags:
        - Loans
      summary: Read Transaction List
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: accountId
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
        - name: dateFrom
          in: query
          description: 'Conditional: Starting date (inclusive the date dateFrom) of the transaction list, mandated if no delta access is required and if bookingStatus does not equal ''information''. For booked transactions, the relevant date is the booking date. For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            $ref: '#/components/schemas/ISODate'
        - name: dateTo
          in: query
          description: 'End date (inclusive the data dateTo) of the transaction list, default is ''now'' if not given.   Might be ignored if a delta function is used. For booked transactions, the relevant date is the booking date. For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            $ref: '#/components/schemas/ISODate'
        - name: entryReferenceFrom
          in: query
          description: 'This data attribute is indicating that the AISP is in favour to get all transactions after  the transaction with identification entryReferenceFrom alternatively to the above defined period. This is a implementation of a delta access. If this data element is contained, the entries ''dateFrom'' and ''dateTo'' might be ignored by the ASPSP  if a delta report is supported. Optional if supported by API provider.'
          schema:
            type: string
        - name: bookingStatus
          in: query
          description: "Permitted codes are\r\n              * 'information',\r\n              * 'booked',\r\n              * 'pending', and\r\n              * 'both'\r\n              'booked' shall be supported by the ASPSP.\r\n              To support the 'pending' and 'both' feature is optional for the ASPSP,  Error code if not supported in the online banking frontend"
          schema:
            $ref: '#/components/schemas/BookingStatus'
        - name: deltaList
          in: query
          description: This data attribute is indicating that the AISP is in favour to get all transactions after the last report access for this PSU on the addressed account. This is another implementation of a delta access-report. This delta indicator might be rejected by the ASPSP if this function is not supported. Optional if supported by API provider
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTransactionListResponse'
              examples:
                getTransactionListResponseExample1:
                  summary: Example of transactions by account without balances
                  value: {"account":{"iban":"GE02AL0000000000118020"},"transactions":{"booked":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"-577.60"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-7077.00"}},{"transactionId":"GE02AL0000000000118020_3","bookingDate":"2020-09-29","valueDate":"2020-09-30","transactionAmount":{"currency":"GEL","amount":"5277.55"}}],"pending":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"577.00"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-45277.00"}}],"_links":{"account":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQreertty"},"last":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQqwwweeer"}}},"_links":{"download":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"}}}
                getTransactionListResponseExample2:
                  summary: Example of transactions by account with balances
                  value: {"account":{"iban":"GE02AL0000000000118020"},"transactions":{"booked":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"-7077.00"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-7767.45"}},{"transactionId":"GE02AL0000000000118020_3","bookingDate":"2020-09-29","valueDate":"2020-09-30","transactionAmount":{"currency":"GEL","amount":"5277.50"}}],"pending":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"577.65"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-45277.12"}}],"_links":{"account":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQnext"},"last":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQlast"}}},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - MultipleDeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeferredPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - MultipleDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - MultipleDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - MultipleDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}':
    post:
      tags:
        - MultipleDeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - MultipleDeferredPayments
      summary: Deferred Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - MultipleDeferredPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - MultipleDeferredPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - MultipleDeferredPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - MultipleDeferredPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-deferred-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - MultipleDeferredPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - MultipleDeferredPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - MultipleRecurringPayments
      summary: Performs recurring payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecurringPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - MultipleRecurringPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - MultipleRecurringPayments
      summary: Recurring Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - MultipleRecurringPayments
      summary: Recurring Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}':
    post:
      tags:
        - MultipleRecurringPayments
      summary: Performs recurring payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - MultipleRecurringPayments
      summary: Recurring Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - MultipleRecurringPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - MultipleRecurringPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - MultipleRecurringPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - MultipleRecurringPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/multiple-recurring-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - MultipleRecurringPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - MultipleRecurringPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/periodic-payments/aspsp:
    post:
      tags:
        - PeriodicPayments
      summary: Payment initiation request
      description: 'This method is used to initiate a payment at the ASPSP.  ## Variants of payment initiation requests  This method to initiate a payment initiation at the ASPSP can be sent with either a JSON body or an pain.001 body depending on the payment product in the path.  There are the following **payment products**:    - Payment products with payment information in *JSON* format:     - ***sepa-credit-transfers***     - ***instant-sepa-credit-transfers***     - ***target-2-payments***     - ***cross-border-credit-transfers***   - Payment products with payment information in *pain.001* XML format:     - ***pain.001-sepa-credit-transfers***     - ***pain.001-instant-sepa-credit-transfers***     - ***pain.001-target-2-payments***     - ***pain.001-cross-border-credit-transfers***  Furthermore the request body depends on the **payment-service**:   * ***payments***: A single payment initiation request.   * ***periodic-payments***: A collection of several payment initiation requests.        In case of a *pain.001* message there are more than one payments contained in the *pain.001 message.          In case of a *JSON* there are several JSON payment blocks contained in a joining list.   * ***periodic-payments***:      Create a standing order initiation resource for recurrent i.e. periodic payments addressable under {paymentId}       with all data relevant for the corresponding payment product and the execution of the standing order contained in a JSON body.   This is the first step in the API to initiate the related recurring/periodic payment.    ## Single and mulitilevel SCA Processes  The payment initiation requests are independent from the need of one or multilevel  SCA processing, i.e. independent from the number of authorisations needed for the execution of payments.   But the response messages are specific to either one SCA processing or multilevel SCA processing.   For payment initiation with multilevel SCA, this specification requires an explicit start of the authorisation,  i.e. links directly associated with SCA processing like ''scaRedirect'' or ''scaOAuth'' cannot be contained in the  response message of a Payment Initation Request for a payment, where multiple authorisations are needed.  Also if any data is needed for the next action, like selecting an SCA method is not supported in the response,  since all starts of the multiple authorisations are fully equal.  In these cases, first an authorisation sub-resource has to be generated following the ''startAuthorisation'' link.'
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PeriodicPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PeriodicPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/periodic-payments/domestic:
    post:
      tags:
        - PeriodicPayments
      summary: Payment initiation request
      description: 'This method is used to initiate a payment at the ASPSP.  ## Variants of payment initiation requests  This method to initiate a payment initiation at the ASPSP can be sent with either a JSON body or an pain.001 body depending on the payment product in the path.  There are the following **payment products**:    - Payment products with payment information in *JSON* format:     - ***sepa-credit-transfers***     - ***instant-sepa-credit-transfers***     - ***target-2-payments***     - ***cross-border-credit-transfers***   - Payment products with payment information in *pain.001* XML format:     - ***pain.001-sepa-credit-transfers***     - ***pain.001-instant-sepa-credit-transfers***     - ***pain.001-target-2-payments***     - ***pain.001-cross-border-credit-transfers***  Furthermore the request body depends on the **payment-service**:   * ***payments***: A single payment initiation request.   * ***periodic-payments***: A collection of several payment initiation requests.        In case of a *pain.001* message there are more than one payments contained in the *pain.001 message.          In case of a *JSON* there are several JSON payment blocks contained in a joining list.   * ***periodic-payments***:      Create a standing order initiation resource for recurrent i.e. periodic payments addressable under {paymentId}       with all data relevant for the corresponding payment product and the execution of the standing order contained in a JSON body.   This is the first step in the API to initiate the related recurring/periodic payment.    ## Single and mulitilevel SCA Processes  The payment initiation requests are independent from the need of one or multilevel  SCA processing, i.e. independent from the number of authorisations needed for the execution of payments.   But the response messages are specific to either one SCA processing or multilevel SCA processing.   For payment initiation with multilevel SCA, this specification requires an explicit start of the authorisation,  i.e. links directly associated with SCA processing like ''scaRedirect'' or ''scaOAuth'' cannot be contained in the  response message of a Payment Initation Request for a payment, where multiple authorisations are needed.  Also if any data is needed for the next action, like selecting an SCA method is not supported in the response,  since all starts of the multiple authorisations are fully equal.  In these cases, first an authorisation sub-resource has to be generated following the ''startAuthorisation'' link.'
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PeriodicPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PeriodicPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/periodic-payments/foreign:
    post:
      tags:
        - PeriodicPayments
      summary: Payment initiation request
      description: 'This method is used to initiate a payment at the ASPSP.  ## Variants of payment initiation requests  This method to initiate a payment initiation at the ASPSP can be sent with either a JSON body or an pain.001 body depending on the payment product in the path.  There are the following **payment products**:    - Payment products with payment information in *JSON* format:     - ***sepa-credit-transfers***     - ***instant-sepa-credit-transfers***     - ***target-2-payments***     - ***cross-border-credit-transfers***   - Payment products with payment information in *pain.001* XML format:     - ***pain.001-sepa-credit-transfers***     - ***pain.001-instant-sepa-credit-transfers***     - ***pain.001-target-2-payments***     - ***pain.001-cross-border-credit-transfers***  Furthermore the request body depends on the **payment-service**:   * ***payments***: A single payment initiation request.   * ***periodic-payments***: A collection of several payment initiation requests.        In case of a *pain.001* message there are more than one payments contained in the *pain.001 message.          In case of a *JSON* there are several JSON payment blocks contained in a joining list.   * ***periodic-payments***:      Create a standing order initiation resource for recurrent i.e. periodic payments addressable under {paymentId}       with all data relevant for the corresponding payment product and the execution of the standing order contained in a JSON body.   This is the first step in the API to initiate the related recurring/periodic payment.    ## Single and mulitilevel SCA Processes  The payment initiation requests are independent from the need of one or multilevel  SCA processing, i.e. independent from the number of authorisations needed for the execution of payments.   But the response messages are specific to either one SCA processing or multilevel SCA processing.   For payment initiation with multilevel SCA, this specification requires an explicit start of the authorisation,  i.e. links directly associated with SCA processing like ''scaRedirect'' or ''scaOAuth'' cannot be contained in the  response message of a Payment Initation Request for a payment, where multiple authorisations are needed.  Also if any data is needed for the next action, like selecting an SCA method is not supported in the response,  since all starts of the multiple authorisations are fully equal.  In these cases, first an authorisation sub-resource has to be generated following the ''startAuthorisation'' link.'
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PeriodicPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PeriodicPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/periodic-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - PeriodicPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeriodicPaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    delete:
      tags:
        - PeriodicPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/periodic-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - PeriodicPayments
      summary: Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/periodic-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - PeriodicPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - PeriodicPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancellationsResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/periodic-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - PeriodicPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - PeriodicPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/periodic-payments/{payment-product}/{paymentId}/cancellation-authorisations':
    post:
      tags:
        - PeriodicPayments
      summary: Start the authorisation process for the cancellation of the addressed payment
      description: 'Creates an authorisation sub-resource and start the authorisation process of the cancellation of the addressed payment.  The message might in addition transmit authentication and authorisation related data.  This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the cancellation-authorisation.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''    * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - PeriodicPayments
      summary: Will deliver an array of resource identifications to all generated cancellation authorisation sub-resources
      description: Retrieve a list of all created cancellation authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/periodic-payments/{payment-product}/{paymentId}/cancellation-authorisations/{authorisationId}':
    get:
      tags:
        - PeriodicPayments
      summary: Read the SCA status of the payment cancellation's authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - PeriodicPayments
      summary: Update PSU data for payment initiation cancellation
      description: 'This method updates PSU data on the cancellation authorisation resource if needed.  It may authorise a cancellation of the payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  This methods updates PSU data on the cancellation authorisation resource if needed.   There are several possible update PSU data requests in the context of a cancellation authorisation within the payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific Update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific Update PSU data request is only applicable for   * adding the PSU Identification, if not provided yet in the payment initiation request or the Account Information Consent Request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA approach might depend on the chosen SCA method.  For that reason, the following possible update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction Authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          description: Resource identification of the related SCA.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - RecurringPayments
      summary: Performs recurring payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecurringPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - RecurringPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - RecurringPayments
      summary: Recurring Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - RecurringPayments
      summary: Recurring Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}':
    post:
      tags:
        - RecurringPayments
      summary: Performs recurring payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - RecurringPayments
      summary: Recurring Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - RecurringPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - RecurringPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - RecurringPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - RecurringPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/recurring-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - RecurringPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - RecurringPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/savings:
    get:
      tags:
        - Savings
      summary: Read account list
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAccountListResponse'
              examples:
                getAccountListResponseExample1:
                  summary: Example of Getting Account List by ConsentId.
                  value: {"accounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"GEL","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","_links":{"balances":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}]}
                getAccountListResponseExample2:
                  summary: Example of Getting Account List by ConsentId.
                  value: {"accounts":[{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"XXX","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"interimAvailable"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"interimAvailable"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"interimAvailable"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000001718520","currency":"XXX","name":"Account #2 name","displayName":"Account #2 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"closingBooked"}]},{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118020","currency":"XXX","name":"Account #3 name","displayName":"Account #3 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","balances":[{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"interimBooked"},{"balanceAmount":{"currency":"USD","amount":"1000.00"},"balanceType":"interimBooked"},{"balanceAmount":{"currency":"EUR","amount":"1000.00"},"balanceType":"interimBooked"}]}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/savings/{accountId}':
    get:
      tags:
        - Savings
      summary: Read Account Details
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: accountId
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call. The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadAccountDetailsResponse'
              examples:
                readAccountDetailsExample:
                  summary: Example of account details
                  value: {"account":{"resourceId":"7b505906-074e-4e87-abd4-6424b4f621c0","iban":"GE02AL0000000000118060","currency":"GEL","name":"Account #1 name","displayName":"Account #1 display name","product":"Current account","status":"enabled","bic":"ALTAGE22","usage":"PRIV","_links":{"balances":{"href":"v1/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"},"transactions":{"href":"v1/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions"}}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/savings/{accountId}/balances':
    get:
      tags:
        - Savings
      summary: Read Account Balances
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: accountId
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBalancesResponse'
              examples:
                getBalancesResponseExample1:
                  summary: Example of Getting Account Balances by AccountId.
                  value: {"account":{"iban":"GE02AL0000000000118060","currency":"GEL"},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/savings/{accountId}/transactions':
    get:
      tags:
        - Savings
      summary: Read Transaction List
      parameters:
        - name: Consent-ID
          in: header
          description: 'ConsentId of the related AIS consent, which was performed prior to this payment initiation.'
          required: true
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: accountId
          in: path
          description: "This identification is denoting the addressed (card) account.  The account-id is retrieved by using a 'Read Account List'\r\n            or 'Read Card Account list' call.  The account-id is the 'resourceId' attribute of the account structure.\r\n            Its value is constant at least throughout the lifecycle of a given consent."
          required: true
          schema:
            type: string
        - name: dateFrom
          in: query
          description: 'Conditional: Starting date (inclusive the date dateFrom) of the transaction list, mandated if no delta access is required and if bookingStatus does not equal ''information''. For booked transactions, the relevant date is the booking date. For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            $ref: '#/components/schemas/ISODate'
        - name: dateTo
          in: query
          description: 'End date (inclusive the data dateTo) of the transaction list, default is ''now'' if not given.   Might be ignored if a delta function is used. For booked transactions, the relevant date is the booking date. For pending transactions, the relevant date is the entry date, which may not be transparent  neither in this API nor other channels of the ASPSP.'
          schema:
            $ref: '#/components/schemas/ISODate'
        - name: entryReferenceFrom
          in: query
          description: 'This data attribute is indicating that the AISP is in favour to get all transactions after  the transaction with identification entryReferenceFrom alternatively to the above defined period. This is a implementation of a delta access. If this data element is contained, the entries ''dateFrom'' and ''dateTo'' might be ignored by the ASPSP  if a delta report is supported. Optional if supported by API provider.'
          schema:
            type: string
        - name: bookingStatus
          in: query
          description: "Permitted codes are\r\n              * 'information',\r\n              * 'booked',\r\n              * 'pending', and\r\n              * 'both'\r\n              'booked' shall be supported by the ASPSP.\r\n              To support the 'pending' and 'both' feature is optional for the ASPSP,  Error code if not supported in the online banking frontend"
          schema:
            $ref: '#/components/schemas/BookingStatus'
        - name: deltaList
          in: query
          description: This data attribute is indicating that the AISP is in favour to get all transactions after the last report access for this PSU on the addressed account. This is another implementation of a delta access-report. This delta indicator might be rejected by the ASPSP if this function is not supported. Optional if supported by API provider
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTransactionListResponse'
              examples:
                getTransactionListResponseExample1:
                  summary: Example of transactions by account without balances
                  value: {"account":{"iban":"GE02AL0000000000118020"},"transactions":{"booked":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"-577.60"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-7077.00"}},{"transactionId":"GE02AL0000000000118020_3","bookingDate":"2020-09-29","valueDate":"2020-09-30","transactionAmount":{"currency":"GEL","amount":"5277.55"}}],"pending":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"577.00"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-45277.00"}}],"_links":{"account":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQreertty"},"last":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?state=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQqwwweeer"}}},"_links":{"download":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/balances"}}}
                getTransactionListResponseExample2:
                  summary: Example of transactions by account with balances
                  value: {"account":{"iban":"GE02AL0000000000118020"},"transactions":{"booked":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"-7077.00"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-7767.45"}},{"transactionId":"GE02AL0000000000118020_3","bookingDate":"2020-09-29","valueDate":"2020-09-30","transactionAmount":{"currency":"GEL","amount":"5277.50"}}],"pending":[{"transactionId":"GE02AL0000000000118020_1","bookingDate":"2020-10-29","valueDate":"2020-10-30","transactionAmount":{"currency":"GEL","amount":"577.65"}},{"transactionId":"GE02AL0000000000118020_2","bookingDate":"2020-11-29","valueDate":"2020-11-30","transactionAmount":{"currency":"GEL","amount":"-45277.12"}}],"_links":{"account":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0"},"first":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQ"},"next":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQnext"},"last":{"href":"v2/accounts/7b505906-074e-4e87-abd4-6424b4f621c0/transactions?entryReferenceFrom=eyJBY2NvdW50UmVmZXJlbmNlSWQiOiI3YjUwNTkwNi0wNzRlLTRlODctYWJkNC02NDI0YjRmNjIxYzAiLCJTdGFydFRyYW5zYWN0aW9uUG9pbnRlciI6bnVsbCwiQm9va2luZ1N0YXR1cyI6MSwiRGF0ZUZyb20iOnt9LCJEYXRlVG8iOnt9LCJEZWx0YUxpc3QiOm51bGwsIldpdGhCYWxhbmNlIjp0cnVlfQlast"}}},"balances":[{"balanceAmount":{"currency":"GEL","amount":"100.60"},"balanceType":"interimAvailable","creditLimitIncluded":false,"referenceDate":"2020-11-03"},{"balanceAmount":{"currency":"GEL","amount":"103.20"},"balanceType":"closingBooked"},{"balanceAmount":{"currency":"GEL","amount":"1000.00"},"balanceType":"expected"}]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - SecuredDeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeferredPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - SecuredDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - SecuredDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}':
    post:
      tags:
        - SecuredDeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - SecuredDeferredPayments
      summary: Deferred Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - SecuredDeferredPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - SecuredDeferredPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - SecuredDeferredPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredDeferredPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-deferred-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - SecuredDeferredPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SecuredDeferredPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/DeferredPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeferredPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}':
    post:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Performs deferred payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Deferred Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-multiple-deferred-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SecuredMultipleDeferredPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /openfinance/v2/secured-payments/aspsp:
    post:
      tags:
        - SecuredPayment
      summary: Performs single payment within ASPSP
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /openfinance/v2/secured-payments/domestic:
    post:
      tags:
        - SecuredPayment
      summary: Performs single  domestic payments
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /openfinance/v2/secured-payments/foreign:
    post:
      tags:
        - SecuredPayment
      summary: Performs single foreign payments
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - SecuredPayment
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    delete:
      tags:
        - SecuredPayment
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - SecuredPayment
      summary: Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - SecuredPayment
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST secured-payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredPayment
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - SecuredPayment
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SecuredPayment
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-payments/{payment-product}/{paymentId}/cancellation-authorisations':
    post:
      tags:
        - SecuredPayment
      summary: Start the authorisation process for the cancellation of the addressed payment
      description: 'Creates an authorisation sub-resource and start the authorisation process of the cancellation of the addressed payment.  The message might in addition transmit authentication and authorisation related data.  This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the cancellation-authorisation.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST secured-payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''    * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredPayment
      summary: Will deliver an array of resource identifications to all generated cancellation authorisation sub-resources
      description: Retrieve a list of all created cancellation authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancellationsResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-payments/{payment-product}/{paymentId}/cancellation-authorisations/{authorisationId}':
    get:
      tags:
        - SecuredPayment
      summary: Read the SCA status of the payment cancellation's authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SecuredPayment
      summary: Update PSU data for payment initiation cancellation
      description: 'This method updates PSU data on the cancellation authorisation resource if needed.  It may authorise a cancellation of the payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  This methods updates PSU data on the cancellation authorisation resource if needed.   There are several possible update PSU data requests in the context of a cancellation authorisation within the payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific Update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific Update PSU data request is only applicable for   * adding the PSU Identification, if not provided yet in the payment initiation request or the Account Information Consent Request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA approach might depend on the chosen SCA method.  For that reason, the following possible update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction Authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          description: Resource identification of the related SCA.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}/initiations':
    post:
      tags:
        - SecuredRecurringPayments
      summary: Performs recurring payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecurringPaymentInitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredRecurringPayments
      summary: Deferred Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: transactionStatus
          in: query
          description: Will provide all available initiation objects where the transactionStatus equals the requested value.
          schema:
            $ref: '#/components/schemas/TransactionStatus'
        - name: dateFrom
          in: query
          description: Will provide all available initiation objects where the requestedExecutionDate is later equal than the addressed date
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InitiationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}/initiations/{initiationId}/status':
    get:
      tags:
        - SecuredRecurringPayments
      summary: Recurring Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}/initiations/{initiationId}':
    get:
      tags:
        - SecuredRecurringPayments
      summary: Recurring Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: initiationId
          in: path
          description: Initiation id of the payment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}':
    post:
      tags:
        - SecuredRecurringPayments
      summary: Performs recurring payment within Payment product
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
        - name: API-ContractID
          in: header
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecurringPaymentRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentCreationResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - SecuredRecurringPayments
      summary: Recurring Payment status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFinancePaymentStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}':
    get:
      tags:
        - SecuredRecurringPayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/payments/{payment-product}/{paymentId}':
    delete:
      tags:
        - SecuredRecurringPayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - SecuredRecurringPayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SecuredRecurringPayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/openfinance/v2/secured-recurring-payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - SecuredRecurringPayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SecuredRecurringPayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/payments/aspsp:
    post:
      tags:
        - SinglePayments
      summary: Performs single payment within ASPSP
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/payments/domestic:
    post:
      tags:
        - SinglePayments
      summary: Performs single  domestic payments
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  /v2/payments/foreign:
    post:
      tags:
        - SinglePayments
      summary: Performs single foreign payments
      parameters:
        - name: Consent-ID
          in: header
          schema:
            maxLength: 36
            minLength: 0
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SinglePaymentInitiationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationRequestResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/payments/{payment-product}/{paymentId}':
    get:
      tags:
        - SinglePayments
      summary: Get payment information
      description: Returns the content of a payment object
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SinglePaymentInitiationWithStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    delete:
      tags:
        - SinglePayments
      summary: Payment cancellation request
      description: "This method initiates the cancellation of a payment.  Depending on the payment-service, the payment-product and the ASPSP's\r\n            implementation,  this TPP call might be sufficient to cancel a payment.  If an authorisation of the payment cancellation is mandated by the\r\n            ASPSP,  a corresponding hyperlink will be contained in the response message.  Cancels the addressed payment with resource identification\r\n            paymentId if applicable to the payment-service, payment-product and received in product related timelines\r\n            (e.g. before end of business day for scheduled payments of the last business day before the scheduled execution day).\r\n            The response to this DELETE command will tell the TPP whether the\r\n            * access method was rejected,\r\n            * access method was successful, or\r\n            * access method is generally applicable, but further authorisation processes are needed."
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationCancelResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/payments/{payment-product}/{paymentId}/status':
    get:
      tags:
        - SinglePayments
      summary: Payment initiation status request
      description: Check the transaction status of a payment initiation.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInitiationStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/payments/{payment-product}/{paymentId}/authorisations':
    post:
      tags:
        - SinglePayments
      summary: Start the authorisation process for a payment initiation
      description: 'Create an authorisation sub-resource and start the authorisation process.  The message might in addition transmit authentication and authorisation related data.   This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the transaction.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding Payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithEncryptedPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''   * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      Payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SinglePayments
      summary: Get payment initiation authorisation sub-resources request
      description: Read a list of all authorisation subresources IDs which have been created.  This function returns an array of hyperlinks to all generated authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorisationsResponse'
              examples:
                consentAuthorizationsExample1:
                  summary: Example of valid consent authorizations
                  value: {"authorisationIds":["241b524b-c1e2-4c9b-a019-2c8097c864c2"]}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/payments/{payment-product}/{paymentId}/authorisations/{authorisationId}':
    get:
      tags:
        - SinglePayments
      summary: Read the SCA status of the payment authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SinglePayments
      summary: Update PSU data for payment initiation
      description: 'This methods updates PSU data on the authorisation resource if needed.  It may authorise a payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  There are several possible update PSU data requests in the context of payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific update PSU data request is only applicable for   * adding the PSU identification, if not provided yet in the payment initiation request or the account information consent request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU Data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA Approach might depend on the chosen SCA method.  For that reason, the following possible Update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/payments/{payment-product}/{paymentId}/cancellation-authorisations':
    post:
      tags:
        - SinglePayments
      summary: Start the authorisation process for the cancellation of the addressed payment
      description: 'Creates an authorisation sub-resource and start the authorisation process of the cancellation of the addressed payment.  The message might in addition transmit authentication and authorisation related data.  This method is iterated n times for a n times SCA authorisation in a  corporate context, each creating an own authorisation sub-endpoint for  the corresponding PSU authorising the cancellation-authorisation.  The ASPSP might make the usage of this access method unnecessary in case  of only one SCA process needed, since the related authorisation resource  might be automatically created by the ASPSP after the submission of the  payment data with the first POST payments/{payment-product} call.  The start authorisation process is a process which is needed for creating a new authorisation  or cancellation sub-resource.   This applies in the following scenarios:    * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding payment      initiation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be      uploaded by using the extended forms:     * ''startAuthorisationWithPsuIdentfication''     * ''startAuthorisationWithPsuAuthentication''     * ''startAuthorisationWithAuthentciationMethodSelection''    * The related payment initiation cannot yet be executed since a multilevel SCA is mandated.   * The ASPSP has indicated with a ''startAuthorisation'' hyperlink in the preceding      payment cancellation response that an explicit start of the authorisation process is needed by the TPP.      The ''startAuthorisation'' hyperlink can transport more information about data which needs to be uploaded      by using the extended forms as indicated above.   * The related payment cancellation request cannot be applied yet since a multilevel SCA is mandate for      executing the cancellation.   * The signing basket needs to be authorised yet.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
          application/*+json:
            schema:
              $ref: '#/components/schemas/StartConsentAuthorizationRequestBody'
            examples:
              startAuthorizationRequestExample1:
                summary: Start the authorization process for a consent. Not required for Redirect approach
                value: 
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartConsentAuthorisationResponse'
              examples:
                startAuthorizationResponseExample1:
                  summary: Example of valid consent authorization
                  value: {"scaStatus":"received","authorisationId":"241b524b-c1e2-4c9b-a019-2c8097c864c2","_links":{"scaOAuth":{"href":"https://oauth2.psd2.altasoft.ge/.well-known/oauth-authorization-server"},"scaStatus":{"href":"v2/consents/beae3ef6-e219-4626-a037-af10cd937df5/authorisations/241b524b-c1e2-4c9b-a019-2c8097c864c2"}}}
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    get:
      tags:
        - SinglePayments
      summary: Will deliver an array of resource identifications to all generated cancellation authorisation sub-resources
      description: Retrieve a list of all created cancellation authorisation sub-resources.
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancellationsResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
  '/v2/payments/{payment-product}/{paymentId}/cancellation-authorisations/{authorisationId}':
    get:
      tags:
        - SinglePayments
      summary: Read the SCA status of the payment cancellation's authorisation
      description: This method returns the SCA status of a payment initiation's authorisation sub-resource.
      parameters:
        - name: payment-product
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScaStatusResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
    put:
      tags:
        - SinglePayments
      summary: Update PSU data for payment initiation cancellation
      description: 'This method updates PSU data on the cancellation authorisation resource if needed.  It may authorise a cancellation of the payment within the Embedded SCA Approach where needed.  Independently from the SCA Approach it supports e.g. the selection of  the authentication method and a non-SCA PSU authentication.  This methods updates PSU data on the cancellation authorisation resource if needed.   There are several possible update PSU data requests in the context of a cancellation authorisation within the payment initiation services needed,  which depends on the SCA approach:  * Redirect SCA Approach:   A specific Update PSU data request is applicable for      * the selection of authentication methods, before choosing the actual SCA approach. * Decoupled SCA Approach:   A specific Update PSU data request is only applicable for   * adding the PSU Identification, if not provided yet in the payment initiation request or the Account Information Consent Request, or if no OAuth2 access token is used, or   * the selection of authentication methods. * Embedded SCA Approach:    The Update PSU data request might be used    * to add credentials as a first factor authentication data of the PSU and   * to select the authentication method and   * transaction authorisation.  The SCA approach might depend on the chosen SCA method.  For that reason, the following possible update PSU data request can apply to all SCA approaches:  * Select an SCA method in case of several SCA methods are available for the customer.  There are the following request types on this access path:   * Update PSU identification   * Update PSU authentication   * Select PSU autorization method      WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.   * Transaction Authorisation     WARNING: This method needs a reduced header,      therefore many optional elements are not present.      Maybe in a later version the access path will change.'
      parameters:
        - name: payment-product
          in: path
          description: 'The addressed payment product endpoint, e.g. for SEPA Credit Transfers (SCT). The ASPSP will publish which of the payment products/endpoints will be supported.  The following payment products are supported:   - sepa-credit-transfers   - instant-sepa-credit-transfers   - target-2-payments   - cross-border-credit-transfers   - pain.001-sepa-credit-transfers   - pain.001-instant-sepa-credit-transfers   - pain.001-target-2-payments   - pain.001-cross-border-credit-transfers  **Remark:** For all SEPA Credit Transfer based endpoints which accept XML encoding,  the XML pain.001 schemes provided by EPC are supported by the ASPSP as a minimum for the body content.  Further XML schemes might be supported by some communities.  **Remark:** For cross-border and TARGET-2 payments only community wide pain.001 schemes do exist.  There are plenty of country specificic scheme variants.'
          required: true
          schema:
            $ref: '#/components/schemas/PaymentProductType'
        - name: paymentId
          in: path
          description: Resource identification of the generated payment initiation resource.
          required: true
          schema:
            type: string
        - name: authorisationId
          in: path
          description: Resource identification of the related SCA.
          required: true
          schema:
            type: string
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateConsentsPsuDataRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConsentsPsuDataResponse'
        '400':
          description: Bad Request
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error400'
              example: {"type":"FORMAT_ERROR","title":"One or more validation errors occurred.","status":400,"instance":"/v2/consents","code":"FORMAT_ERROR","additionalErrors":[{"code":"FORMAT_ERROR","title":"Digest","detail":"The Digest field is required."},{"code":"FORMAT_ERROR","title":"Signature","detail":"The Signature field is required."}],"_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '401':
          description: Unauthorized
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error401'
              example: {"type":"CERTIFICATE_INVALID","status":401,"instance":"/v2/consents","code":"CERTIFICATE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '403':
          description: Forbidden
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error403'
              example: {"type":"CONSENT_UNKNOWN","status":403,"instance":"/v2/consents","code":"CONSENT_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '404':
          description: Not Found
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error404'
              example: {"type":"RESOURCE_UNKNOWN","status":404,"instance":"/v2/consents","code":"RESOURCE_UNKNOWN","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '405':
          description: Method Not Allowed
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error405'
              example: {"type":"SERVICE_INVALID","status":405,"instance":"/v2/consents","code":"SERVICE_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '406':
          description: Not Acceptable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error406'
              example: {"type":"REQUESTED_FORMATS_INVALID","status":406,"instance":"/v2/consents","code":"REQUESTED_FORMATS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '408':
          description: Request Timeout
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error408'
              example: {"type":"REQUEST_TIMEOUT","status":408,"instance":"/v2/consents","code":"REQUEST_TIMEOUT","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '409':
          description: Conflict
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error409'
              example: {"type":"STATUS_INVALID","status":409,"instance":"/v2/consents","code":"STATUS_INVALID","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '415':
          description: Unsupported Media Type
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error415'
              example: {"type":"UNSUPPORTED_MEDIA_TYPE","status":415,"instance":"/v2/consents","code":"UNSUPPORTED_MEDIA_TYPE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '429':
          description: Too Many Requests
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error429'
              example: {"type":"ACCESS_EXCEEDED","status":429,"instance":"/v2/consents","code":"ACCESS_EXCEEDED","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '500':
          description: Internal Server Error
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error500'
              example: {"type":"error-codes/INTERNAL_SERVER_ERROR","status":500,"instance":"/v2/consents","code":"INTERNAL_SERVER_ERROR","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
        '503':
          description: Service Unavailable
          headers:
            X-Request-ID:
              description: 'ID of the request, unique to the call, as determined by the initiating party.'
              required: true
              schema:
                type: string
                format: uuid
            Digest:
              description: The digest of the response.
              required: true
              schema:
                type: string
            X-Jws-Signature:
              description: JWS signature.
              required: true
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error503'
              example: {"type":"error-codes/SERVICE_UNAVAILABLE","status":503,"instance":"/v2/consents","code":"SERVICE_UNAVAILABLE","_links":{},"traceId":"00-4d8a7024a02bba4085b12f118f524e97-a062de5fc826614c-00"}
components:
  schemas:
    AccessRightsCode:
      enum:
        - ais
        - accountDetails
        - balances
        - transactions
        - orders
        - ownerName
        - psuName
        - psuLeanIdentification
        - trustedBeneficiaries
        - initiatePayments
        - fundsConfirmations
        - userParameters
        - ibanChecks
        - corporateParameters
        - accountCheckParameters
      type: string
      description: Access Rights codes
    AccountAccess:
      type: object
      properties:
        payments:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRights'
          description: Addressing required access rights to current accounts.
          nullable: true
        cards:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRights'
          description: "Addressing required access rights to card accounts.\r\nThe accounts can be card reconciliation accounts as well as single credit cards, dependent of the AIS offer of the ASPSP"
          nullable: true
        cardAccounts:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRights'
          description: " Addressing required access rights to card\r\nreconciliation accounts.\r\n  The array may not be empty."
          nullable: true
        savings:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRights'
          description: Addressing required access rights to saving accounts.
          nullable: true
        loans:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRights'
          description: Addressing required access rights to loan accounts.
          nullable: true
        securities:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRights'
          description: Addressing required access rights to security accounts.
          nullable: true
      additionalProperties: { }
      description: Requested access services for a consent.
    AccountAccessExtended:
      type: object
      properties:
        payments:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRightsExtended'
          description: Addressing required access rights to current accounts.
          nullable: true
        cards:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRightsExtended'
          description: "Addressing required access rights to card accounts.\r\nThe accounts can be card reconciliation accounts as well as single credit cards, dependent of the AIS offer of the ASPSP"
          nullable: true
        cardAccounts:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRightsExtended'
          description: " Addressing required access rights to card\r\nreconciliation accounts.\r\n  The array may not be empty."
          nullable: true
        savings:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRightsExtended'
          description: Addressing required access rights to saving accounts.
          nullable: true
        loans:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRightsExtended'
          description: Addressing required access rights to loan accounts.
          nullable: true
        securities:
          type: array
          items:
            $ref: '#/components/schemas/AccountAccessRightsExtended'
          description: Addressing required access rights to security accounts.
          nullable: true
      additionalProperties: { }
      description: Requested access services for a consent.
    AccountAccessRights:
      required:
        - rights
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountReference'
        rights:
          type: array
          items:
            $ref: '#/components/schemas/AccessRightsCode'
          description: Account Access rights
          nullable: true
      additionalProperties: { }
      description: The account access rights as posted by the API Client.
    AccountAccessRightsExtended:
      required:
        - rights
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountReference'
        rights:
          type: array
          items:
            $ref: '#/components/schemas/AccessRightsCode'
          description: Account Access rights
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "A list of hyperlinks to be recognized by the TPP.\r\n\"account\" and/or \"cardAccount\","
          nullable: true
      additionalProperties: { }
      description: Account Access rights Extended. Provides links beyond the basic access rights.
    AccountConsentType:
      enum:
        - global
        - detailed
        - aspspManaged
        - accountList
      type: string
      description: Account consent types offered in PSD2
    AccountDetails:
      required:
        - currency
        - iban
        - other
        - resourceId
      type: object
      properties:
        resourceId:
          $ref: '#/components/schemas/Max70Text'
        iban:
          $ref: '#/components/schemas/IbanIdentifier'
        msisdn:
          $ref: '#/components/schemas/Max35Text'
        other:
          $ref: '#/components/schemas/GenericAccountIdentification'
        currency:
          $ref: '#/components/schemas/CurrencyCode'
        ownerName:
          $ref: '#/components/schemas/Max140Text'
        ownerNames:
          type: array
          items:
            $ref: '#/components/schemas/AccountOwner'
          description: 'List of owner names together with a role, where applicable.'
          nullable: true
        name:
          $ref: '#/components/schemas/Max70Text'
        displayName:
          $ref: '#/components/schemas/Max70Text'
        product:
          $ref: '#/components/schemas/Max35Text'
        cashAccountType:
          $ref: '#/components/schemas/ExternalCashAccountType1Code'
        status:
          $ref: '#/components/schemas/AccountStatusCode'
        bic:
          $ref: '#/components/schemas/BICFIIdentifier'
        linkedAccounts:
          $ref: '#/components/schemas/Max70Text'
        usage:
          $ref: '#/components/schemas/AccountUsage'
        details:
          $ref: '#/components/schemas/Max500Text'
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: 'A list of balances regarding this account, e.g. the current balance, the last booked balance. The list might be restricted to the current balance.'
          nullable: true
        tariffs:
          $ref: '#/components/schemas/Max1000Text'
        interest:
          type: array
          items:
            $ref: '#/components/schemas/Interest'
          description: "Currently only supported for savings accounts and loan accounts:\r\n Array of elements, each representing one fee (rule) that is individually applicable for this Securities account.\r\n If, for example, an ASPSP applies a standard \"managementFee\" X, but the consumer negotiated a discount D, an element should represent (X-D),\r\n but neither X nor D."
          nullable: true
        relatedDates:
          type: array
          items:
            $ref: '#/components/schemas/AccountRelatedDates'
          description: "Currently only supported for savings accounts and loan accounts: Dates related to this account,\r\ne.g. start Date of a loan in case of a loan account"
          nullable: true
        collateralsInvolved:
          type: boolean
          description: "Currently only supported for loan  accounts:\r\n Is set to true if a collateral is involved securing the loan (e.g. security deposit, physical collaterals like houses, cars).\r\n More information might be provided under the \"details\" attribute."
          nullable: true
        guaranteeInvolved:
          type: boolean
          description: "Currently only supported for loan accounts:\r\n Is set to true in case of specific collaterals where a guarantee of payment of the loan is given by a different person"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: false
      description: "The ASPSP shall give at least one of the account reference identifiers:\r\n- iban\r\n- bban\r\n- pan\r\n- maskedPan\r\n- msisdn\r\nIf the account is a multicurrency account currency code in 'currency' is set to 'XXX'."
    AccountOwner:
      required:
        - identification
        - name
        - role
      type: object
      properties:
        identification:
          $ref: '#/components/schemas/PartyIdentification'
        name:
          $ref: '#/components/schemas/Max70Text'
        role:
          $ref: '#/components/schemas/AccountOwnerRole'
      additionalProperties: false
    AccountOwnerRole:
      enum:
        - owner
        - legalRepresentative
        - authorisedUser
        - co-borrower
        - co-signer
      type: string
      description: Account owner roles
    AccountReference:
      type: object
      properties:
        iban:
          $ref: '#/components/schemas/IbanIdentifier'
        bban:
          $ref: '#/components/schemas/BBANIdentifier'
        pan:
          $ref: '#/components/schemas/Max35Text'
        maskedPan:
          $ref: '#/components/schemas/Max35Text'
        msisdn:
          $ref: '#/components/schemas/Max35Text'
        currency:
          $ref: '#/components/schemas/CurrencyCode'
        typeCode:
          $ref: '#/components/schemas/ExternalCashAccountType1Code'
        typeProprietary:
          $ref: '#/components/schemas/Max35Text'
        other:
          $ref: '#/components/schemas/GenericAccountIdentification'
        proxy:
          $ref: '#/components/schemas/ProxyAccountIdentification'
      additionalProperties: { }
      description: "Reference to an account by\r\neither   * IBAN, of a payment accounts,\r\nor   * BBAN, for payment accounts if there is no IBAN,\r\nor    * the Primary Account Number (PAN) of a card, can be tokenised by the ASPSP due to PCI DSS requirements,\r\nor   * the Primary Account Number (PAN) of a card in a masked form,\r\nor   * an alias to access a payment account via a registered mobile phone number (MSISDN)."
    AccountRelatedDates:
      type: object
      properties:
        contractStartDate:
          $ref: '#/components/schemas/ISODate'
        contractEndDate:
          $ref: '#/components/schemas/ISODate'
        contractAvailabilityDate:
          $ref: '#/components/schemas/ISODate'
      additionalProperties: false
    AccountReport:
      type: object
      properties:
        booked:
          type: array
          items:
            $ref: '#/components/schemas/TransactionDetails'
          description: Shall be contained if bookingStatus parameter is set to "booked" or "both"
          nullable: true
        pending:
          type: array
          items:
            $ref: '#/components/schemas/TransactionDetails'
          description: Is not contained if the bookingStatus parameter is set to "booked" or "information".
          nullable: true
        information:
          type: array
          items:
            $ref: '#/components/schemas/TransactionDetails'
          description: Only contained if the bookingStatus is set to "information" and if supported by ASPSP.
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "The following links might be used within this context:\r\n* account (mandatory) '\r\n* first (optional) '\r\n* next (optional) '\r\n* previous (optional) '\r\n* last (optional)"
          nullable: true
      additionalProperties: false
      description: "JSON based account report.\r\nThis account report contains transactions resulting from the query parameters.\r\n    * 'booked' shall be contained if bookingStatus parameter is set to 'booked' or 'both'.\r\n    * 'pending' is not contained if the bookingStatus parameter is set to \"booked\" or \"information\".\r\n    * 'information' Only contained if the bookingStatus is set to \"information\" and if supported by ASPSP."
    AccountStatusCode:
      enum:
        - enabled
        - deleted
        - blocked
      type: string
      description: "Account status. The value is one of the following:\r\n* enabled: account is available\r\n* deleted: account is terminated\r\n* blocked: account is blocked e.g. for legal reasons If this field is not used, than the account is available in the sense of this specification."
    AccountUsage:
      enum:
        - PRIV
        - ORGA
      type: string
      description: "Specifies the usage of the account:\r\n    * PRIV: private personal account\r\n    * ORGA: professional account"
    AdditionalInformationStructured:
      type: object
      properties:
        standingOrderDetails:
          $ref: '#/components/schemas/StandingOrderDetails'
        rtpDetails:
          $ref: '#/components/schemas/RtpDetails'
      additionalProperties: { }
      description: Additional Transaction information structured
    AdditionalTransactionInformationStructured:
      required:
        - transactionStatus
      type: object
      properties:
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
        transactionCreated:
          $ref: '#/components/schemas/UserEntry'
        transactionAuthorised:
          type: array
          items:
            $ref: '#/components/schemas/UserEntry'
          description: Array of User Entries for transaction authorised.
          nullable: true
        transactionCancelled:
          type: array
          items:
            $ref: '#/components/schemas/UserEntry'
          description: Array of User Entries for transaction cancelled.
          nullable: true
      additionalProperties: false
      description: Additional Transaction information structured
    Address:
      required:
        - country
      type: object
      properties:
        country:
          $ref: '#/components/schemas/CountryCode'
        streetName:
          $ref: '#/components/schemas/Max70Text'
        buildingNumber:
          type: string
          description: Gets or Sets BuildingNumber
          nullable: true
        townName:
          type: string
          description: Gets or Sets TownName
          nullable: true
        postCode:
          type: string
          description: Gets or Sets PostCode
          nullable: true
      additionalProperties: { }
      description: Address type
    AgentDescription1:
      required:
        - financialInstitutionId
      type: object
      properties:
        financialInstitutionId:
          $ref: '#/components/schemas/FinancialInstitutionIdentification'
      additionalProperties: { }
      description: Agent description 1
    Amount:
      required:
        - amount
        - currency
      type: object
      properties:
        currency:
          $ref: '#/components/schemas/CurrencyCode'
        amount:
          $ref: '#/components/schemas/StrAmount'
      additionalProperties: { }
      description: Amount class. Currency + Amount
    AmountAndExchangeDetails:
      required:
        - amount
        - currency
      type: object
      properties:
        currency:
          $ref: '#/components/schemas/CurrencyCode'
        amount:
          type: string
          description: "The amount given with fractional digits,where fractions must be compliant to\r\nthe currency definition. Up to 14 significant figures. Negative amounts are signed by minus.\r\nThe decimal separator is a dot.\r\n\r\nExample: Valid representations for EUR with up to two decimals are: \r\n\r\n• 1056\r\n\r\n• 5768.2\r\n\r\n• -1.50\r\n\r\n• 5877.78\r\n"
          nullable: true
        sourceCurrency:
          $ref: '#/components/schemas/CurrencyCode'
        exchangeRate:
          type: string
          description: " Factor used to convert an amount from one currency into another. This reflects the price at which one currency was bought with another currency.\r\n\r\n   Note: If this field is present, then also the field sourceCurrency must be provided."
          nullable: true
        unitCurrency:
          $ref: '#/components/schemas/CurrencyCode'
        targetCurrency:
          $ref: '#/components/schemas/CurrencyCode'
        quotationDate:
          $ref: '#/components/schemas/ISODate'
        contractId:
          type: string
          description: Unique identification to unambiguously identify the foreign exchange contract.
          nullable: true
      additionalProperties: false
      description: Amount and exchange details.
    AmountDependentRate:
      required:
        - percentage
      type: object
      properties:
        percentage:
          type: string
          description: The (signed) rate of the interest. Up to 20 significant figures. The decimal separator is a dot. Trailing zeroes must be truncated.
          nullable: true
        fromAmount:
          $ref: '#/components/schemas/Amount'
        toAmount:
          $ref: '#/components/schemas/Amount'
      additionalProperties: false
    AmountDetails:
      type: object
      properties:
        instructedAmount:
          $ref: '#/components/schemas/AmountAndExchangeDetails'
        transactionAmount:
          $ref: '#/components/schemas/AmountAndExchangeDetails'
      additionalProperties: false
      description: Additional information to the transaction amount.
    AnyBICIdentifier:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\npattern: [A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}"
    AuthenticationObject:
      required:
        - authenticationMethodId
        - authenticationType
        - name
      type: object
      properties:
        authenticationType:
          $ref: '#/components/schemas/AuthenticationType'
        authenticationVersion:
          type: string
          description: Depending on the 'authenticationType'. This version can be used by differentiating authentication tools used within performing OTP generation in the same authentication type. This version can be referred to in the ASPSP?s documentation.
          nullable: true
        authenticationMethodId:
          $ref: '#/components/schemas/Max35Text'
        name:
          minLength: 1
          type: string
          description: 'This is the name of the authentication method defined by the PSU in the Online Banking frontend of the ASPSP. Alternatively this could be a description provided by the ASPSP like ''SMS OTP on phone +49160 xxxxx 28''. This name shall be used by the TPP when presenting a list of authentication methods to the PSU, if available.'
        explanation:
          type: string
          description: Detailed information about the SCA method for the PSU.
          nullable: true
      additionalProperties: false
      description: Authentication object.
    AuthenticationType:
      enum:
        - SMS_OTP
        - CHIP_OTP
        - PHOTO_OTP
        - PUSH_OTP
        - SMTP_OTP
      type: string
      description: "Type of the authentication method.\r\nMore authentication types might be added during implementation projects and documented in the ASPSP documentation.\r\n- 'SMS_OTP': An SCA method, where an OTP linked to the transaction to be authorised is sent to the PSU through a SMS channel.\r\n- 'CHIP_OTP': An SCA method, where an OTP is generated by a chip card, e.g. a TOP derived from an EMV cryptogram.\r\nTo contact the card, the PSU normally needs a (handheld) device.\r\nWith this device, the PSU either reads the challenging data through a visual interface like flickering or the PSU types in the challenge through the device key pad.\r\nThe device then derives an OTP from the challenge data and displays the OTP to the PSU.\r\n- 'PHOTO_OTP': An SCA method, where the challenge is a QR code or similar encoded visual data which can be read in by a consumer device or specific mobile app.\r\nThe device resp. the specific app than derives an OTP from the visual challenge data and displays the OTP to the PSU.\r\n- 'PUSH_OTP': An OTP is pushed to a dedicated authentication APP and displayed to the PSU.\r\n- 'SMTP_OTP': An OTP is sent via email to the PSU."
    AuthorisationConfirmation:
      required:
        - confirmationCode
      type: object
      properties:
        confirmationCode:
          minLength: 1
          type: string
          description: Confirmation Code as retrieved by the TPP from the redirect based SCA process.
      additionalProperties: { }
      description: Content of the body of an authorisation confirmation request
    AuthorisationConfirmationResponse:
      type: object
      properties:
        scaStatus:
          $ref: '#/components/schemas/ScaStatusAuthorisationConfirmation'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: A list of hyperlinks.
          nullable: true
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
      description: Authorization Process Confirmation Response
    AuthorisationsResponse:
      required:
        - authorisationIds
      type: object
      properties:
        authorisationIds:
          type: array
          items:
            type: string
          description: Gets or Sets AuthorisationIds
      additionalProperties: false
      description: An array of all authorisationIds.
    BBANIdentifier:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: Bban identifier\r\n\r\npattern: \"[a-zA-Z0-9]{1,30}\""
    BICFIIdentifier:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\npattern: [A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}"
    Balance:
      required:
        - balanceAmount
      type: object
      properties:
        balanceAmount:
          $ref: '#/components/schemas/Amount'
        balanceType:
          $ref: '#/components/schemas/BalanceType'
        creditLimitIncluded:
          type: boolean
          description: 'A flag indicating if the credit limit of the corresponding account is included in the calculation of the balance, where applicable.'
          nullable: true
        lastChangeDateTime:
          $ref: '#/components/schemas/ISODateTime'
        referenceDate:
          $ref: '#/components/schemas/ISODate'
        lastCommittedTransaction:
          $ref: '#/components/schemas/Max35Text'
        balanceSubTypeProprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      description: A single balance element.
    BalanceType:
      enum:
        - closingBooked
        - expected
        - openingBooked
        - interimAvailable
        - interimBooked
        - forwardAvailable
        - nonInvoiced
        - information
      type: string
      description: "\r\nThe following balance types are defined:\r\n<list>\r\n  <item>\r\n    <term>closingBooked</term>\r\n    <description>\r\n              Balance of the account at the end of the pre-agreed account reporting period.\r\n                     It is the sum of the opening booked balance at the beginning of the period and all entries booked\r\n                     to the account during the pre-agreed account reporting period.\r\n                     For card-accounts, this is composed of:\r\n                       \r\n - invoiced, but not yet paid entries</description>\r\n  </item>\r\n  <item>\r\n    <term>expected</term>\r\n    <description>\r\n                     Balance composed of booked entries and pending items known at the time of calculation,\r\n                     which projects the end of day balance if everything is booked on the account and no other entry is posted.\r\n                     For card accounts, this is composed of:\r\n                        \r\n- invoiced, but not yet paid entries\r\n- not yet invoiced but already booked entries and\r\n- pending items (not yet booked)\r\n                       For card-accounts: money to spend with the value of a pre-approved credit limit on the card account\r\n             </description>\r\n  </item>\r\n  <item>\r\n    <term>openingBooked</term>\r\n    <description>\r\n                   Book balance of the account at the beginning of the account reporting period. \r\n\r\n                   It always equals the closing book balance from the previous report.\r\n             </description>\r\n  </item>\r\n  <item>\r\n    <term>interimAvailable</term>\r\n    <description>\r\n                     Available balance calculated in the course of the account servicer's business day,\r\n                     at the time specified, and subject to further changes during the business day. \r\n\r\n                     The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.\r\n                     \r\nFor card-accounts, this is composed of:\r\n- invoiced, but not yet paid entries\r\n- not yet invoiced but already booked entries</description>\r\n  </item>\r\n  <item>\r\n    <term>interimBooked</term>\r\n    <description>\r\n             Balance calculated in the course of the account servicer's business day, at the time specified,\r\n             and subject to further changes during the business day.\r\n             \r\n\r\n             The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified.\r\n             </description>\r\n  </item>\r\n  <item>\r\n    <term>forwardAvailable</term>\r\n    <description>\r\n             Forward available balance of money that is at the disposal of the account owner on the date specified.\r\n             </description>\r\n  </item>\r\n  <item>\r\n    <term>nonInvoiced</term>\r\n    <description>\r\n             Only for card accounts, to be checked yet.\r\n             </description>\r\n  </item>\r\n</list>"
    BookingStatus:
      enum:
        - booked
        - pending
        - both
        - information
        - all
      type: string
      description: "Permitted codes are \"booked\", \"pending\",\r\n\"both\" and “information”.\r\n\"booked\" shall be supported by the\r\nASPSP.\r\nTo support the \"pending\" and \"both\" feature\r\nis optional for the ASPSP, Error code if not\r\nsupported in the online banking frontend. If\r\nsupported, \"both\" means to request\r\ntransaction reports of transaction of\r\nbookingStatus either \"pending\" or\r\n\"booked\".\r\nTo support the \"information\" feature is\r\noptional for the ASPSP. Currently the\r\nbooking status “information” only covers\r\nstanding orders. Error code if not\r\nsupported."
    BulkPaymentInitiationRequest:
      required:
        - batchBooking
        - categoryPurposeCode
        - categoryPurposeProprietary
        - chargeBearer
        - chargesAccount
        - controlSum
        - creditTransfers
        - debtor
        - debtorAccount
        - localInstrumentCode
        - localInstrumentProprietary
        - numberOfTransactions
        - paymentInformationId
        - requestedExecutionDate
        - serviceLevelCode
        - ultimateDebtor
      type: object
      properties:
        paymentInformationId:
          $ref: '#/components/schemas/Max35Text'
        batchBooking:
          type: boolean
          description: "If this element equals true, the PSU\r\n prefers only one booking entry. If this\r\n element equals false, the PSU prefers\r\n individual booking of all contained\r\n individual transactions. The ASPSP will\r\n follow this preference according to\r\n contracts agreed on with the PSU"
          nullable: true
        numberOfTransactions:
          type: integer
          description: Number of individual transactions contained in the related bulk
          format: int32
        controlSum:
          $ref: '#/components/schemas/Max35Text'
        serviceLevelCode:
          $ref: '#/components/schemas/ExternalServiceLevel1Code'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        categoryPurposeCode:
          $ref: '#/components/schemas/ExternalCategoryPurpose1Code'
        categoryPurposeProprietary:
          $ref: '#/components/schemas/Max35Text'
        localInstrumentCode:
          $ref: '#/components/schemas/ExternalLocalInstrument1Code'
        localInstrumentProprietary:
          $ref: '#/components/schemas/Max35Text'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        requestedExecutionDate:
          type: string
          description: "If contained, the payments contained in\r\nthis bulk will be executed at the\r\naddressed date. This field may not be\r\nused together with the field\r\nrequestedExecutionTime."
          format: date
          nullable: true
        requestedExecutionDateTime:
          type: string
          description: "If contained, the payments contained in\r\nthis bulk will be executed at the\r\naddressed Date/Time. This field may not\r\nbe used together with the field\r\nrequestedExecutionDate"
          format: date-time
          nullable: true
        creditTransfers:
          type: array
          items:
            $ref: '#/components/schemas/PaymentInitiationRequestBase'
          description: "\r\n\r\n            A list of generic JSON bodies payment initations for bulk payments via JSON.\r\n            Note: Some fields from single payments do not occcur in a bulk payment element\r\n            \r\n\r\n\r\n            The Bulk Entry Type is a type which follows the JSON formats for the  supported products for single payments,see Section 11.1, excluding the data elements\r\n            * debtorAccount,\r\n            * requestedExecutionDate,\r\n            * requestedExecutionTime.\r\n            These three data elements may not be\r\n            contained in any bulk entry.\r\n            "
      additionalProperties: { }
      description: Bulk Payment initiation request from TPP
    CancellationsResponse:
      required:
        - cancellationIds
      type: object
      properties:
        cancellationIds:
          type: array
          items:
            type: string
          description: Gets or Sets CancellationIds
      additionalProperties: false
      description: An array of all cancellationIds.
    CardAccountDetails:
      required:
        - currency
      type: object
      properties:
        resourceId:
          $ref: '#/components/schemas/Max70Text'
        maskedPan:
          $ref: '#/components/schemas/Max35Text'
        currency:
          $ref: '#/components/schemas/CurrencyCode'
        ownerName:
          $ref: '#/components/schemas/Max140Text'
        name:
          $ref: '#/components/schemas/Max70Text'
        displayName:
          $ref: '#/components/schemas/Max70Text'
        product:
          $ref: '#/components/schemas/Max35Text'
        debitAccounting:
          type: boolean
          description: "\r\nIf true, the amounts of debits on the reports are quoted positive with the related consequence for balances.\r\n\r\nIf false, the amount of debits on the reports are quoted negative."
          nullable: true
        status:
          $ref: '#/components/schemas/AccountStatusCode'
        usage:
          $ref: '#/components/schemas/AccountUsage'
        details:
          $ref: '#/components/schemas/Max1000Text'
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: "The specific card account balances associated to this card / card account.\r\nIn the context of a response to a \"cards\" endpoint, each balance that indicates\r\nthat credit limit is included must respect all applicable credit limits relevant for this card ( cp. Section 6.6)"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "Links to the card account/card, which can be directly used for retrieving account information from this dedicated account. Links to \"balances\" and/or\r\n\"transactions\" These links are only supported, when the corresponding consent has been already granted."
          nullable: true
        creditLimit:
          $ref: '#/components/schemas/Amount'
      additionalProperties: false
      description: Card account details.
    CardAccountReport:
      required:
        - _links
      type: object
      properties:
        booked:
          type: array
          items:
            $ref: '#/components/schemas/CardTransaction'
          description: Shall be contained if bookingStatus parameter is set to "booked" or "both".
          nullable: true
        pending:
          type: array
          items:
            $ref: '#/components/schemas/CardTransaction'
          description: Not contained if the bookingStatus parameter is set to "booked".
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "The following links might be used within this context: • cardAccount (mandatory when providing transaction reports on card reconciliation accounts under /cardaccounts)\r\n• card (mandatory when providing transaction reports on single card entry level under /cards)first (optional)\r\n• next (optional)\r\n• previous (optional)\r\n• last (optional)"
      additionalProperties: false
      description: JSON based card account report.  This card account report contains transactions resulting from the query parameters.
    CardAccountsTransactionsResponse:
      type: object
      properties:
        cardAccount:
          $ref: '#/components/schemas/AccountReference'
        cardTransactions:
          $ref: '#/components/schemas/CardAccountReport'
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: "A list of balances regarding this account,\r\nwhich might be restricted to the current balance"
          nullable: true
        debitAccounting:
          type: boolean
          description: "If true, the amounts of debits on the reports\r\nare quoted positive with the related\r\nconsequence for balances.\r\nIf false, the amounts of debits on the reports\r\nare quoted negative."
          nullable: true
      additionalProperties: false
      description: "Body of the JSON response for a successful read card account transaction list request.\r\nThis card account report contains transactions resulting from the query parameters."
    CardBalancesResponse:
      required:
        - balances
        - card
      type: object
      properties:
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: List of card balances
        card:
          $ref: '#/components/schemas/AccountReference'
        debitAccounting:
          type: boolean
          description: "If true, the amounts of debits on the reports\r\nare quoted positive with the related\r\nconsequence for balances.\r\nIf false, the amounts of debits on the reports\r\nare quoted negative."
          nullable: true
      additionalProperties: false
      description: Card balances model
    CardDataEntryMode:
      enum:
        - CICC
        - ECTL
        - MGST
        - PHYS
        - BRCD
      type: string
      description: Represents different payment methods.
    CardTransaction:
      required:
        - transactionAmount
      type: object
      properties:
        cardTransactionId:
          $ref: '#/components/schemas/Max35Text'
        terminalId:
          $ref: '#/components/schemas/Max35Text'
        transactionDate:
          $ref: '#/components/schemas/ISODate'
        acceptorTransactionDateTime:
          $ref: '#/components/schemas/ISODateTime'
        bookingDate:
          $ref: '#/components/schemas/ISODate'
        valueDate:
          $ref: '#/components/schemas/ISODate'
        transactionAmount:
          $ref: '#/components/schemas/Amount'
        grandTotalAmount:
          $ref: '#/components/schemas/Amount'
        currencyExchange:
          type: array
          items:
            $ref: '#/components/schemas/ReportExchangeRate'
          description: 'For card accounts, this often is restricted by the ASPSP to use only one exchange rate'
          nullable: true
        originalAmount:
          $ref: '#/components/schemas/Amount'
        markupFee:
          $ref: '#/components/schemas/Amount'
        markupFeePercentage:
          type: string
          description: 'Percentage of the involved transaction fee in relation to the billing amount, e.g. "0.3" for 0,3%'
          nullable: true
        cardAcceptorId:
          $ref: '#/components/schemas/Max35Text'
        cardAcceptorName:
          $ref: '#/components/schemas/Max70Text'
        cardAcceptorAddress:
          $ref: '#/components/schemas/Address'
        cardAcceptorPhone:
          $ref: '#/components/schemas/PhoneNumber'
        merchantCategoryCode:
          $ref: '#/components/schemas/Max4Text'
        maskedPAN:
          $ref: '#/components/schemas/Max35Text'
        transactionDetails:
          $ref: '#/components/schemas/Max1000Text'
        invoiced:
          type: boolean
          description: Flag indicating whether the underlying card transaction is already invoiced.
          nullable: true
        proprietaryBankTransactionCode:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      description: Card transaction information.
    CardTransactionsDetails:
      type: object
      properties:
        paymentContext:
          $ref: '#/components/schemas/PaymentContextType'
        sequenceNumber:
          $ref: '#/components/schemas/Max35Text'
        transactionDateTime:
          $ref: '#/components/schemas/ISODateTime'
      additionalProperties: false
      description: Card transaction details.
    CardTransactionsResponse:
      required:
        - card
        - cardTransactions
      type: object
      properties:
        card:
          $ref: '#/components/schemas/AccountReference'
        cardTransactions:
          $ref: '#/components/schemas/CardAccountReport'
        debitAccounting:
          type: boolean
          description: "If true, the amounts of debits on the reports are\r\nquoted positive with the related consequence for\r\nbalances.\r\nIf false, the amounts of debits on the reports are\r\nquoted negative."
          nullable: true
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: 'A list of balances regarding this card, which might be restricted to the current balance.'
          nullable: true
      additionalProperties: false
      description: Card transactions response model
    ChallengeData:
      type: object
      properties:
        image:
          type: string
          description: 'PNG data (max. 512 kilobyte) to be displayed to the PSU, Base64 encoding, cp. [RFC4648]. This attribute is used only, when PHOTO_OTP or CHIP_OTP is the selected SCA method.'
          format: byte
          nullable: true
        data:
          type: array
          items:
            type: string
          description: A collection of strings as challenge data.
          nullable: true
        imageLink:
          type: string
          description: A link where the ASPSP will provides the challenge image for the TPP.
          nullable: true
        otpMaxLength:
          type: integer
          description: The maximal length for the OTP to be typed in by the PSU.
          format: int32
          nullable: true
        otpFormat:
          $ref: '#/components/schemas/OtpFormat'
        additionalInformation:
          type: string
          description: Additional explanation for the PSU to explain e.g. fallback mechanism for the chosen SCA method. The TPP is obliged to show this to the PSU.
          nullable: true
      additionalProperties: false
      description: It is contained in addition to the data element 'chosenScaMethod' if challenge data is needed for SCA. In rare cases this attribute is also used in the context of the 'startAuthorisationWithPsuAuthentication' link.
    ChargeBearer:
      enum:
        - CRED
        - DEBT
        - SHAR
        - SLEV
      type: string
    ClearingSystemMemberIdentification:
      type: object
      properties:
        memberId:
          $ref: '#/components/schemas/Max35Text'
        clearingSystemIdentificationCode:
          $ref: '#/components/schemas/ExternalClearingSystemIdentification1Code'
        clearingSystemIdentificationProprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: Clearing system member identification. Used for identifying a member of a clearing system.
    ClientMessageInformation:
      type: object
      properties:
        category:
          $ref: '#/components/schemas/TppMessageCategory'
        code:
          $ref: '#/components/schemas/MessageCode2XX'
        path:
          type: string
          description: 'Path of the element of the request message which provoked the private error message, if applicable'
          nullable: true
        text:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
    ConsentStatus:
      enum:
        - received
        - rejected
        - valid
        - revokedByPsu
        - expired
        - terminatedByTpp
        - partiallyAuthorised
        - replacedByTpp
      type: string
      description: "This is the overall lifecycle status of the consent. Valid values are:\r\n* 'received': The consent data have been received and are technically correct. The data is not authorized yet.\r\n* 'rejected': The consent data have been rejected e.g. since no successful authorization has taken place.\r\n* 'valid': The consent is accepted and valid for GET account data calls and others as specified in the consent object.\r\n* 'revokedByPsu': The consent has been revoked by the PSU towards the ASPSP.\r\n* 'expired': The consent expired.\r\n* 'terminatedByTpp': The corresponding TPP has terminated the consent by applying the DELETE method to the consent resource.\r\n* 'partiallyAuthorised': The consent is due to a multi-level authorization, some but not all mandated authorizations have been performed yet.\r\nThe ASPSP might add further codes. These codes then shall be contained in the ASPSP's documentation of the XS2A interface  and has to be added to this API definition as well."
    CountryCode:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\npattern: [A-Z]{2,2}"
    CreateConsentRequestBody:
      required:
        - access
        - consentType
        - frequencyPerDay
        - recurringIndicator
      type: object
      properties:
        access:
          $ref: '#/components/schemas/AccountAccess'
        consentType:
          $ref: '#/components/schemas/AccountConsentType'
        recurringIndicator:
          type: boolean
          description: "'true', if the consent is for recurring access to the account data.\r\n\r\n'false', if the consent is for one access to the account data."
        validTo:
          type: string
          description: "This parameter is defining a valid until date (including the mentioned date) for the requested consent. The content is the local ASPSP date in ISODate Format, e.g. 2024-10-30.\r\nFuture dates might get adjusted by ASPSP. If a maximum available date is requested, a date in far future is to be used: \"9999-12-31\".\r\nIn both cases, the consent object to be retrieved by the GET Consent Request will contain the adjusted date. The support of this adaption of the maximum available date is mandatory for the ASPSP."
          format: date
        frequencyPerDay:
          type: integer
          description: "This field indicates the requested maximum frequency for an access without PSU involvement per day. For a one-off access, this attribute is set to \"1\".\r\nThe frequency needs to be greater equal to one.\r\nIf not otherwise agreed bilaterally between TPP and ASPSP, the frequency is less equal to 4."
          format: int32
      additionalProperties: { }
      description: Content of the body of a consent request.
    CreateConsentResponse:
      type: object
      properties:
        consentStatus:
          $ref: '#/components/schemas/ConsentStatus'
        consentId:
          type: string
          description: Gets or Sets ConsentId
          nullable: true
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: Gets or Sets ScaMethods
          nullable: true
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
      description: Body of the JSON response for a successful consent request.
    CreditorReferenceInformation:
      required:
        - reference
        - referenceTypeCode
      type: object
      properties:
        reference:
          $ref: '#/components/schemas/Max35Text'
        referenceTypeCode:
          $ref: '#/components/schemas/CreditorReferenceTypeCode'
        referenceTypeProprietary:
          $ref: '#/components/schemas/Max35Text'
        typeIssuer:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      description: Creditor reference information
    CreditorReferenceTypeCode:
      enum:
        - RADM
        - RPIN
        - FXDR
        - DISP
        - PUOR
        - SCOR
      type: string
      description: 'This code set is equivalent to the ISO 20022 definition DocumentType3Code:'
    CurrencyCode:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\npattern: [A-Z]{3,3}"
    DayOfExecution:
      enum:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
        - '9'
        - '10'
        - '11'
        - '12'
        - '13'
        - '14'
        - '15'
        - '16'
        - '17'
        - '18'
        - '19'
        - '20'
        - '21'
        - '22'
        - '23'
        - '24'
        - '25'
        - '26'
        - '27'
        - '28'
        - '29'
        - '30'
        - '31'
      type: string
      description: Day of execution as string.  This string consists of up two characters. Leading zeroes are not allowed.  31 is ultimo of the month.
    DeferredPaymentInitiationRequest:
      required:
        - instructedAmount
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "If this attribute is provided, then it will be used by the ASPSP in the related credit transfer for remittance information.\r\nIf this attribute is not provided, then the corresponding remittance as defined in the initial payment resource is used."
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "The supported sub structure will depend on the underlying payment product. If this attribute is provided, then it will be used by the ASPSP in the related credit transfer for remittance information.\r\nIf this attribute is not provided, then the corresponding remittance as defined in the initial payment resource is used."
          nullable: true
        closingFlag:
          type: boolean
          description: "If true, then the TPP indicates that this is the last initiation on the related payment resource.\r\nAs a consequence, the mechanism for securing the payment (e.g. reservation of funds) is closed in the ASPSP system."
      additionalProperties: false
      description: Represents a deferred payment initiation request.
    DeferredPaymentInitiationResponse:
      required:
        - initiationId
        - transactionStatus
      type: object
      properties:
        initiationId:
          $ref: '#/components/schemas/Max70Text'
        remainingAuthorisedAmount:
          $ref: '#/components/schemas/Amount'
        reasonCode:
          $ref: '#/components/schemas/ExternalStatusReason1Code'
        reasonProprietary:
          $ref: '#/components/schemas/Max35Text'
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFee:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
      additionalProperties: false
      description: Deferred payment initiation response.
    EntryDetailsElement:
      required:
        - debtor
        - transactionAmount
      type: object
      properties:
        references:
          $ref: '#/components/schemas/References'
        currencyExchange:
          type: array
          items:
            $ref: '#/components/schemas/ReportExchangeRate'
          description: Array of exchange rates.
          nullable: true
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        ultimateCreditor:
          $ref: '#/components/schemas/PartyDescription4'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        transactionAmount:
          $ref: '#/components/schemas/Amount'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        debtorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: Might be used by the ASPSP to transport additional transaction related information to the PSU
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: Gets or Sets RemittanceInformationStructured
          nullable: true
        purposeCode:
          $ref: '#/components/schemas/PurposeCode'
      additionalProperties: false
      description: This data type describe entry details of a batch booking entry. The details are restricted to data attributes relevant in this case.
    Error400:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode400'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode400AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 400.
    Error401:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode401'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode401AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 401.
    Error403:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode403'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode403AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 403.
    Error404:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode404'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode404AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 404.
    Error405:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode405'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode405AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 405.
    Error406:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode406'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode406AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 406.
    Error408:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode408'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode408AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 408.
    Error409:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode409'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode409AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 409.
    Error415:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode415'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode415AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 415.
    Error429:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          $ref: '#/components/schemas/MessageCode429'
        additionalErrors:
          type: array
          items:
            $ref: '#/components/schemas/MessageCode429AdditionalError'
          description: "Array of Error Information Blocks.\r\nMight be used if more than one error is to be communicated"
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 429.
    Error500:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          type: string
          description: Gets or Sets Code
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 500.
    Error503:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
        code:
          type: string
          description: Gets or Sets Code
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: { }
      description: NextGenPSD2 specific definition of reporting error information in case of a HTTP error code 503.
    ExecutionRule:
      enum:
        - following
        - preceding
      type: string
      description: "\\\"following\\\" or \\\"preceding\\\" supported as values.\r\nThis data attribute defines the behaviour when recurring payment dates falls on a weekend or bank holiday.\r\nThe payment is then executed either the \\\"preceding\\\" or \\\"following\\\" working day.\r\nASPSP might reject the request due to the communicated value, if rules in Online-Banking are not supporting  this execution rule."
    ExternalAccountIdentification1Code:
      enum:
        - AIIN
        - BBAN
        - CUID
        - UPIC
        - LNID
        - DPID
      type: string
    ExternalCashAccountType1Code:
      enum:
        - CACC
        - CARD
        - CASH
        - CHAR
        - CISH
        - COMM
        - CPAC
        - LLSV
        - LOAN
        - MGLD
        - MOMA
        - NREX
        - ODFT
        - ONDP
        - OTHR
        - SACC
        - SLRY
        - SVGS
        - TAXE
        - TRAN
        - TRAS
      type: string
      description: "Specifies the nature, or use, of the cash account. From ISO 20022\r\n!:https://www.iso20022.org/catalogue-messages/additional-content-messages/external-code-sets"
    ExternalCategoryPurpose1Code:
      enum:
        - BONU
        - CASH
        - CBLK
        - CCRD
        - CORT
        - DCRD
        - DIVI
        - DVPM
        - EPAY
        - FCIN
        - FCOL
        - GP2P
        - GOVT
        - HEDG
        - ICCP
        - IDCP
        - INTC
        - INTE
        - LBOX
        - LOAN
        - MP2B
        - MP2P
        - OTHR
        - PENS
        - RPRE
        - RRCT
        - RVPM
        - SALA
        - SECU
        - SSBE
        - SUPP
        - TAXS
        - TRAD
        - TREA
        - VATX
        - WHLD
        - SWEP
        - TOPG
        - ZABA
        - VOST
        - FCDT
        - CIPC
        - CONC
        - CGWV
      type: string
      description: "\r\nSpecifies the category purpose, as published in an external category purpose code list.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalClearingSystemIdentification1Code:
      enum:
        - AustrianBankleitzahl
        - AustralianBankStateBranchCodeBSB
        - CanadianPaymentsAssociationPaymentRoutingNumber
        - SwissFinancialInstitutionIdentificationShort
        - SwissFinancialInstitutionIdentificationLong
        - CNAPSIdentifier
        - GermanBankleitzahl
        - SpanishDomesticInterbankingCode
        - UKDomesticSortCode
        - HelenicBankIdentificationCode
        - HongKongBankCode
        - IrishNationalClearingCode
        - IndianFinancialSystemCode
        - ItalianDomesticIdentificationCode
        - JapanZenginClearingCode
        - NewZealandNationalClearingCode
        - PolishNationalClearingCode
        - PortugueseNationalClearingCode
        - RussianCentralBankIdentificationCode
        - SwedenBankgiroClearingCode
        - IBGSortCode
        - ThaiCentralBankIdentificationCode
        - FinancialInstitutionCode
        - UnitedStatesRoutingNumberFedwireNACHA
        - CHIPSParticipantIdentifier
        - SouthAfricanNationalClearingCode
        - NewZealandRTGSClearingCode
        - BancoDeMocambiqueRTGS
        - CrossBorderInterbankPaymentSystem
        - SouthKoreaCentralBankIdentificationCode
      type: string
      description: "\r\nSpecifies the clearing system identification code, as published in an external clearing system identification code list.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalFinancialInstitutionIdentification1Code:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 4"
    ExternalLocalInstrument1Code:
      enum:
        - '0090'
        - '0091'
        - '0092'
        - '0002'
        - '0221'
        - '0224'
        - '0226'
        - '0225'
        - '0222'
        - '0227'
        - '0220'
        - '0223'
        - '0001'
        - '0000'
        - BTR
        - CKS
        - CTR
        - CTP
        - DEP
        - FFR
        - FFS
        - SVC
        - DRW
        - DRB
        - DRC
        - DDMC
        - DDMP
        - DDMU
        - BPA
        - IPA
        - TRF
        - '82'
        - '83'
        - CPP
        - RTR
        - GST
        - DDT
        - RDD
        - CHN
        - STR
        - SDD
        - SRT
        - SRD
        - SCN
        - SGT
        - CARD
        - '05'
        - '04'
        - ISE
        - BSE
        - '58'
        - '19'
        - ASTI
        - BACP
        - MANP
        - SBTI
        - '85'
        - '08'
        - '89'
        - '60'
        - RIBA
        - RIDO
        - RIDV
        - IDEAL
        - INSTNT01
        - INSTTC01
        - INSTIDEAL
        - INSTNT01IDEAL
        - INSTTC01IDEAL
        - NLDO
        - NLUP
        - SDN
        - ACCEPT
        - ICMC
        - NLGOV
        - IN
        - ONCL
        - PERI
        - SDCL
        - DDNR
        - DDFA
        - CORE
        - B2BAMIPM
        - B2B
        - CR1AMIPM
        - CORAMIPM
        - COR1
        - FADAMIPM
        - CLSCCPERX
        - CLSCCPLCH
        - INST
        - ADD
        - UDD
        - CCI
        - IAT
        - CCD
        - CTX
        - PPD
        - CIE
        - RCK
        - ARC
        - WEB
        - POP
        - POS
        - TEL
        - ITP
        - MDP
        - IMD
        - SOP
        - FDP
      type: string
      description: "\r\nSpecifies the external local instrument code in the format of character string with a maximum length of 35 characters.\r\n\r\nThe list of valid codes is an external code list published separately.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalOrganisationIdentification1Code:
      enum:
        - BANK
        - CBID
        - CHID
        - CINC
        - COID
        - CUST
        - DUNS
        - EMPL
        - GS1G
        - SREN
        - SRET
        - TXID
        - BDID
        - BOID
      type: string
      description: "\r\nSpecifies the external organisation identification scheme name code in the format of character string with a maximum length of 4 characters.\r\n\r\nThe list of valid codes is an external code list published separately.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalPersonIdentification1Code:
      enum:
        - ARNU
        - CCPT
        - CUST
        - DRLC
        - EMPL
        - NIDN
        - SOSE
        - TELE
        - TXID
        - POID
      type: string
      description: "\r\nSpecifies the external person identification scheme name code in the format of character string with a maximum length of 4 characters.\r\n\r\nThe list of valid codes is an external code list published separately.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalProxyAccountType1Code:
      enum:
        - TELE
        - EMAL
        - DNAM
        - CINC
        - COTX
        - COID
        - CUST
        - DRLC
        - EIDN
        - EWAL
        - PVTX
        - LEIC
        - MBNO
        - NIDN
        - CCPT
        - SHID
        - SOSE
        - TOKN
        - UBIL
        - VIPN
        - BIID
      type: string
      description: "\r\nSpecifies the external proxy account type code, as published in the proxy account type external code set.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalServiceLevel1Code:
      enum:
        - BKTR
        - G001
        - G002
        - G003
        - G004
        - NPCA
        - NUGP
        - NURG
        - PRPT
        - SDVA
        - SEPA
        - SVDE
        - URGP
        - URNS
        - INST
        - SRTP
        - SVAT
        - G006
        - G007
        - G005
        - G009
        - WFSM
        - EOLO
      type: string
      description: "\r\nSpecifies the external service level code in the format of character string with a maximum length of 4 characters.\r\n\r\nThe list of valid codes is an external code list published separately.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    ExternalStatusReason1Code:
      enum:
        - AB01
        - AB02
        - AB03
        - AB04
        - AB05
        - AB06
        - AB07
        - AB08
        - AB09
        - AB10
        - AB11
        - AC01
        - AC02
        - AC03
        - AC04
        - AC05
        - AC06
        - AC07
        - AC08
        - AC09
        - AC10
        - AC11
        - AC12
        - AC13
        - AC14
        - AC15
        - AC16
        - AG01
        - AG02
        - AG03
        - AG04
        - AG05
        - AG06
        - AG07
        - AG08
        - AG09
        - AG10
        - AG11
        - AG12
        - AG13
        - AGNT
        - AM01
        - AM02
        - AM03
        - AM04
        - AM05
        - AM06
        - AM07
        - AM09
        - AM10
        - AM11
        - AM12
        - AM13
        - AM14
        - AM15
        - AM16
        - AM17
        - AM18
        - AM19
        - AM20
        - AM21
        - AM22
        - AM23
        - BE01
        - BE04
        - BE05
        - BE06
        - BE07
        - BE08
        - BE09
        - BE10
        - BE11
        - BE12
        - BE13
        - BE14
        - BE15
        - BE16
        - BE17
        - BE18
        - BE19
        - BE20
        - BE21
        - BE22
        - BE23
        - CERI
        - CH03
        - CH04
        - CH07
        - CH09
        - CH10
        - CH11
        - CH12
        - CH13
        - CH14
        - CH15
        - CH16
        - CH17
        - CH19
        - CH20
        - CH21
        - CH22
        - CHQC
        - CNOR
        - CURR
        - CUST
        - DNOR
        - DS01
        - DS02
        - DS03
        - DS04
        - DS05
        - DS06
        - DS07
        - DS08
        - DS09
        - DS0A
        - DS0B
        - DS0C
        - DS0D
        - DS0E
        - DS0F
        - DS0G
        - DS0H
        - DS0K
        - DS10
        - DS11
        - DS12
        - DS13
        - DS14
        - DS15
        - DS16
        - DS17
        - DS18
        - DS19
        - DS20
        - DS21
        - DS22
        - DS23
        - DS24
        - DS25
        - DS26
        - DS27
        - DT01
        - DT02
        - DT03
        - DT04
        - DT05
        - DT06
        - DU01
        - DU02
        - DU03
        - DU04
        - DU05
        - DUPL
        - ED01
        - ED03
        - ED05
        - ED06
        - ERIN
        - FF01
        - FF02
        - FF03
        - FF04
        - FF05
        - FF06
        - FF07
        - FF08
        - FF09
        - FF10
        - FF11
        - G000
        - G001
        - G002
        - G003
        - G004
        - G005
        - G006
        - ID01
        - MD01
        - MD02
        - MD05
        - MD06
        - MD07
        - MS02
        - MS03
        - NARR
        - NERI
        - RC01
        - RC02
        - RC03
        - RC04
        - RC05
        - RC06
        - RC07
        - RC08
        - RC09
        - RC10
        - RC11
        - RC12
        - RCON
        - RECI
        - RF01
        - RR01
        - RR02
        - RR03
        - RR04
        - RR05
        - RR06
        - RR07
        - RR08
        - RR09
        - RR10
        - RR11
        - RR12
        - S000
        - S001
        - S002
        - S003
        - S004
        - SL01
        - SL02
        - SL03
        - SL11
        - SL12
        - SL13
        - SL14
        - TA01
        - TD01
        - TD02
        - TD03
        - TK01
        - TK02
        - TK03
        - TK09
        - TKCM
        - TKSG
        - TKSP
        - TKVE
        - TKXP
        - TM01
        - TS01
        - TS04
        - CN01
        - FOCR
        - FR01
        - NOCM
        - NOAS
        - RUTA
        - UPAY
        - ALAC
        - AEXR
        - ARFR
        - ARJR
        - ATNS
        - EDTR
        - EDTL
        - FRAD
        - IEDT
        - IRNR
        - NOAR
        - NOPG
        - NRCH
        - RTNS
        - REPR
        - SPII
        - PINS
        - UCRD
        - FF12
        - FF13
        - DC02
        - APAR
      type: string
      description: "\r\nSpecifies the status reason, as published in an external status reason code list.\r\n\r\nExternal code sets can be downloaded from www.iso20022.org."
    FinancialInstitutionIdentification:
      type: object
      properties:
        bicfi:
          $ref: '#/components/schemas/BICFIIdentifier'
        clearingSystemMemberId:
          $ref: '#/components/schemas/ClearingSystemMemberIdentification'
        name:
          $ref: '#/components/schemas/Max140Text'
        postalAddress:
          $ref: '#/components/schemas/PostalAddress'
        other:
          $ref: '#/components/schemas/GenericFinancialInstitutionIdentification'
      additionalProperties: { }
      description: "\r\nFinancialInstitutionIdentification\r\n\r\nSpecifies the details to identify a financial institution."
    FrequencyCode:
      enum:
        - Daily
        - Weekly
        - EveryTwoWeeks
        - Monthly
        - EveryTwoMonths
        - Quarterly
        - SemiAnnual
        - Annual
        - MonthlyVariable
      type: string
      description: 'The following codes from the EventFrequency7Code of ISO 20022 are supported: Daily - Weekly - EveryTwoWeeks - Monthly - EveryTwoMonths - Quarterly - SemiAnnual - Annual - MonthlyVariable'
    GenericAccountIdentification:
      required:
        - identification
        - issuer
      type: object
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeNameCode:
          $ref: '#/components/schemas/ExternalAccountIdentification1Code'
        schemeNameProprietary:
          $ref: '#/components/schemas/Max35Text'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: Generic Account Identification
    GenericFinancialInstitutionIdentification:
      required:
        - identification
      type: object
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeNameCode:
          $ref: '#/components/schemas/ExternalFinancialInstitutionIdentification1Code'
        schemeNameProprietary:
          $ref: '#/components/schemas/Max35Text'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: This data structure represents the identification of a financial instrument by means other than ISIN.
    GenericOrganizationIdentification:
      required:
        - identification
      type: object
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeNameCode:
          $ref: '#/components/schemas/ExternalOrganisationIdentification1Code'
        schemeNameProprietary:
          $ref: '#/components/schemas/Max35Text'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: Generic organisation identification
    GetAccountListResponse:
      type: object
      properties:
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/AccountDetails'
          description: Gets or Sets Accounts
          nullable: true
      additionalProperties: false
      description: List of accounts with details.
    GetBalancesResponse:
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountReference'
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: 'A list of balances regarding this account, e.g. the current balance, the last booked balance. The list might be restricted to the current balance.'
          nullable: true
      additionalProperties: false
      description: Body of the response for a successful read balance for an account request.
    GetCardAccountBalancesResponse:
      required:
        - balances
      type: object
      properties:
        cardAccount:
          $ref: '#/components/schemas/AccountReference'
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: "A list of balances regarding this account, e.g.\r\nthe current balance, the last booked balance. The list might be restricted to the current balance."
        debitAccounting:
          type: boolean
          description: "If true, the amounts of debits on the reports\r\nare quoted positive with the related\r\nconsequence for balances.\r\nIf false, the amounts of debits on the reports\r\nare quoted negative."
          nullable: true
      additionalProperties: false
      description: Body of the response for a successful read balance for a card account request.
    GetCardAccountListResponse:
      required:
        - cardAccounts
      type: object
      properties:
        cardAccounts:
          type: array
          items:
            $ref: '#/components/schemas/CardAccountDetails'
          description: List of card accounts with details.
      additionalProperties: false
      description: Card Account Details
    GetCardsListResponse:
      required:
        - cards
      type: object
      properties:
        cards:
          type: array
          items:
            $ref: '#/components/schemas/CardAccountDetails'
          description: A list of card account details
      additionalProperties: false
      description: Gets list of cards with details
    GetConsentInformationResponse:
      type: object
      properties:
        access:
          $ref: '#/components/schemas/AccountAccessExtended'
        consentType:
          $ref: '#/components/schemas/AccountConsentType'
        recurringIndicator:
          type: boolean
          description: '''true'', if the consent is for recurring access to the account data. ''false'', if the consent is for one access to the account data.'
        validTo:
          type: string
          description: "This parameter is defining a valid until date (including the mentioned date)\r\nfor the requested consent. The content is the local ASPSP date in ISO-Date format, e.g. 2017-10-30.\r\nFuture dates might get adjusted by ASPSP.\r\nIf a maximal available date is requested, a date in far future is to be used: \"9999-12-31\".\r\nIn both cases the consent object to be retrieved by the get consent request will contain the adjusted date."
          format: date
        frequencyPerDay:
          type: integer
          description: "This field indicates the requested maximum frequency for an access without PSU involvement per day. For a one-off access, this attribute is set to \"1\".\r\nThe frequency needs to be greater equal to one.\r\nIf not otherwise agreed bilaterally between TPP and ASPSP, the frequency is less equal to 4."
          format: int32
        consentStatus:
          $ref: '#/components/schemas/ConsentStatus'
      additionalProperties: false
      description: Body of the JSON response for a successful get consent request.
    GetConsentStatusResponse:
      type: object
      properties:
        consentStatus:
          $ref: '#/components/schemas/ConsentStatus'
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
      description: Body of the JSON response for a successful get status request for a consent.
    GetTransactionDetailsResponse:
      type: object
      properties:
        transactionsDetails:
          $ref: '#/components/schemas/TransactionDetails'
      additionalProperties: false
      description: Transaction Details Response
    GetTransactionListResponse:
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountReference'
        transactions:
          $ref: '#/components/schemas/AccountReport'
        balances:
          type: array
          items:
            $ref: '#/components/schemas/Balance'
          description: 'A list of balances regarding this account, e.g. the current balance, the last booked balance. The list might be restricted to the current balance.'
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "List of hyperlinks to be recognised by the TPP.\r\nType of links admitted in this response:\r\n\"download\": a link to a resource, where the transaction report might be downloaded from in case where transaction reports have a huge size.\r\nRemark: This feature shall only be used where camt-data is requested which has a huge size."
          nullable: true
      additionalProperties: false
      description: Body of the JSON response for a successful read transaction list request. This account report contains transactions resulting from the query parameters.
    HrefType:
      required:
        - href
      type: object
      properties:
        href:
          minLength: 1
          type: string
          description: Gets or Sets Href
      additionalProperties: false
      description: Link to a resource.
    ISODate:
      type: object
      additionalProperties: false
      description: "\r\nType: System.DateOnly"
    ISODateTime:
      type: object
      additionalProperties: false
      description: "\r\nType: System.DateTime"
    IbanIdentifier:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nIban2007Identifier in ISO20222\r\n\r\npattern: \"[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}\")"
    InitiationResponse:
      required:
        - _links
        - initiationId
        - instructedAmount
        - transactionStatus
      type: object
      properties:
        initiationId:
          $ref: '#/components/schemas/Max70Text'
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
      additionalProperties: false
      description: Initiation response as retrieved from the Info call
    Interest:
      required:
        - rate
        - type
      type: object
      properties:
        type:
          $ref: '#/components/schemas/InterestType3Code'
        relatedIndices:
          type: array
          items:
            $ref: '#/components/schemas/LoanIndex'
          description: List of indices related to the interest rate.
          nullable: true
        rate:
          type: array
          items:
            $ref: '#/components/schemas/AmountDependentRate'
          description: 'An array of interest rates, which might apply to different amount ranges.'
          nullable: true
        fromDateTime:
          $ref: '#/components/schemas/ISODateTime'
        toDateTime:
          $ref: '#/components/schemas/ISODateTime'
        reason:
          $ref: '#/components/schemas/InterestReason'
        changeMechanism:
          $ref: '#/components/schemas/Max1024Text'
      additionalProperties: false
      description: Loan interest
    InterestReason:
      enum:
        - arrears
        - alternateRateMaximumOf
        - alternateRateMinimumOf
      type: string
      description: Interest reason defined by Georgian Standard
    InterestType3Code:
      enum:
        - FIXD
        - INDE
      type: string
      description: "The following ISO definitions apply for these codes (based on ISO InterestType3code as\r\ndefined for message type reda.006.001.01, but here, only a restricted code list is supported):"
    LEIIdentifier:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\npattern: [A-Z0-9]{18,18}[0-9]{2,2}"
    LoanIndex:
      type: object
      properties:
        index:
          $ref: '#/components/schemas/Max35Text'
        rootIndexValue:
          $ref: '#/components/schemas/Max35Text'
        exchangeRate:
          $ref: '#/components/schemas/AmountDependentRate'
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
    Max1000Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 1000"
    Max1024Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 1024"
    Max140Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 140"
    Max16Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 16"
    Max2048Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 2048"
    Max2Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: 'The format is following the regular expression \d{1,2}.'
    Max35Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 35"
    Max4Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 4"
    Max500Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 500"
    Max70Text:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\nminLength: 1\r\n\r\nmaxLength: 70"
    MessageCode2XX:
      enum:
        - WARNING
      type: string
      description: Message codes for HTTP Error codes 2XX.
    MessageCode400:
      enum:
        - FORMAT_ERROR
        - PARAMETER_NOT_CONSISTENT
        - PARAMETER_NOT_SUPPORTED
        - SERVICE_INVALID
        - RESOURCE_UNKNOWN
        - RESOURCE_EXPIRED
        - RESOURCE_BLOCKED
        - TIMESTAMP_INVALID
        - PERIOD_INVALID
        - SCA_METHOD_UNKNOWN
        - SCA_INVALID
        - CONSENT_UNKNOWN
        - SESSIONS_NOT_SUPPORTED
        - PAYMENT_FAILED
        - EXECUTION_DATE_INVALID
        - DUPLICATE_REQUEST_UID
        - CONSENT_TYPE_NOT_SUPPORTED
      type: string
      description: Message codes defined for AIS for HTTP Error code 400 (BAD_REQUEST).
    MessageCode400AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode400'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode401:
      enum:
        - CERTIFICATE_INVALID
        - ROLE_INVALID
        - CERTIFICATE_EXPIRED
        - CERTIFICATE_BLOCKED
        - CERTIFICATE_REVOKED
        - CERTIFICATE_MISSING
        - SIGNATURE_INVALID
        - SIGNATURE_MISSING
        - CORPORATE_ID_INVALID
        - PSU_CREDENTIALS_INVALID
        - CONSENT_INVALID
        - CONSENT_EXPIRED
        - TOKEN_UNKNOWN
        - TOKEN_INVALID
        - TOKEN_EXPIRED
        - REQUIRED_KID_MISSING
      type: string
      description: Message codes defined for AIS for HTTP Error code 401 (UNAUTHORIZED).
    MessageCode401AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode401'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode403:
      enum:
        - CONSENT_UNKNOWN
        - SERVICE_BLOCKED
        - RESOURCE_UNKNOWN
        - RESOURCE_EXPIRED
        - PRODUCT_INVALID
      type: string
      description: Message codes defined for AIS for HTTP Error code 403 (FORBIDDEN).
    MessageCode403AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode403'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode404:
      enum:
        - RESOURCE_UNKNOWN
        - PRODUCT_UNKNOWN
      type: string
      description: Message codes defined for AIS for HTTP Error code 404 (NOT FOUND).
    MessageCode404AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode404'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode405:
      enum:
        - SERVICE_INVALID
        - CANCELLATION_INVALID
      type: string
      description: Message codes defined for AIS for HTTP Error code 405 (METHOD NOT ALLOWED).
    MessageCode405AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode405'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode406:
      enum:
        - REQUESTED_FORMATS_INVALID
      type: string
      description: Message codes defined for AIS for HTTP Error code 406 (NOT ACCEPTABLE).
    MessageCode406AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode406'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode408:
      enum:
        - REQUEST_TIMEOUT
      type: string
      description: Message codes defined for AIS for HTTP Error code 408 (REQUEST TIMEOUT).
    MessageCode408AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode408'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode409:
      enum:
        - STATUS_INVALID
      type: string
      description: Message codes defined for AIS for HTTP Error code 409 (CONFLICT).
    MessageCode409AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode409'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode415:
      enum:
        - UNSUPPORTED_MEDIA_TYPE
      type: string
      description: Message codes defined for AIS for HTTP Error code 415 (UNSUPPORTED MEDIA TYPE).
    MessageCode415AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode415'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MessageCode429:
      enum:
        - ACCESS_EXCEEDED
      type: string
      description: Message codes for HTTP Error code 429 (TOO MANY REQUESTS).
    MessageCode429AdditionalError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/MessageCode429'
        title:
          type: string
          description: Gets or Sets Title
          nullable: true
        detail:
          type: string
          description: Gets or Sets Detail
          nullable: true
      additionalProperties: false
      description: 'This is a data element to support the declaration of additional errors in the context of [RFC7807].'
    MonthOfExecution:
      enum:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
        - '9'
        - '10'
        - '11'
        - '12'
      type: string
      description: "The format is following the regular expression \\d{1,2}. The array is restricted to 11 entries.\r\nThe values contained in the array entries shall all be different and the maximum value of one entry is 12.\r\nThis attribute is contained if and only if the frequency equals \"MonthlyVariable\".\r\nExample: An execution on January, April and October each year is addressed by [\"1\", \"4\", \"10\"]."
    OpenFinancePaymentCreationResponse:
      required:
        - transactionStatus
      type: object
      properties:
        paymentId:
          $ref: '#/components/schemas/Max70Text'
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFee:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: "This data element might be contained, if SCA is\r\nrequired and if the PSU has a choice between\r\ndifferent authentication methods. Depending on the\r\nrisk management of the ASPSP this choice might\r\nbe offered before or after the PSU has been\r\nidentified with the first relevant factor, or if an\r\naccess token is transported. If this data element is\r\ncontained, then there is also a hyperlink of type\r\n\"startAuthorisationWith\r\nAuthenticationMethodSelection\" contained in the\r\nresponse body.\r\nThese methods shall be presented towards the\r\nPSU for selection by the TPP."
          nullable: true
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
        apiClientMessages:
          type: array
          items:
            $ref: '#/components/schemas/ClientMessageInformation'
          description: Messages to the API Client on operational issues.
          nullable: true
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
        reasonCode:
          $ref: '#/components/schemas/ExternalStatusReason1Code'
        reasonProprietary:
          $ref: '#/components/schemas/Max35Text'
        securedBy:
          $ref: '#/components/schemas/Max35Text'
        maximumNumberOfInitiations:
          type: integer
          description: "The maximum number of deferred payments\r\nwhich might be initiated on this resource. If\r\nprovided, the reservations of funds shall be closed\r\nby the ASPSP after the last permitted deferred\r\ninitiation."
          format: int32
          nullable: true
        expiryDateTime:
          $ref: '#/components/schemas/ISODateTime'
      additionalProperties: false
      description: Represents a response for deferred payment OpenFinancePaymentCreationResponse.
    OpenFinancePaymentStatusResponse:
      required:
        - transactionStatus
      type: object
      properties:
        reasonCode:
          $ref: '#/components/schemas/ExternalStatusReason1Code'
        reasonProprietary:
          $ref: '#/components/schemas/Max35Text'
        remainingAuthorisedAmount:
          $ref: '#/components/schemas/Amount'
        apiClientMessages:
          type: array
          items:
            $ref: '#/components/schemas/ClientMessageInformation'
          description: Messages to the API Client on operational issues.
          nullable: true
        psuMessage:
          maxLength: 500
          minLength: 0
          type: string
          description: Text to be displayed to the PSU
          nullable: true
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
      additionalProperties: false
    OrganizationIdentification:
      type: object
      properties:
        anyBic:
          $ref: '#/components/schemas/AnyBICIdentifier'
        lei:
          $ref: '#/components/schemas/LEIIdentifier'
        others:
          type: array
          items:
            $ref: '#/components/schemas/GenericOrganizationIdentification'
          description: 'Unique identification of an organisation,as assigned by an institution, using an identification scheme.'
          nullable: true
      additionalProperties: { }
      description: Organization Identification Type
    OtpFormat:
      enum:
        - characters
        - integer
      type: string
      description: The format type of the OTP to be typed in. The admitted values are "characters" or "integer".
    PartyDescription:
      type: object
      properties:
        name:
          $ref: '#/components/schemas/Max140Text'
        identification:
          $ref: '#/components/schemas/PartyIdentification'
        postalAddress:
          $ref: '#/components/schemas/PostalAddress'
      additionalProperties: { }
      description: party description
    PartyDescription4:
      type: object
      properties:
        name:
          $ref: '#/components/schemas/Max140Text'
        identification:
          $ref: '#/components/schemas/PartyIdentification'
      additionalProperties: { }
      description: Party description 4
    PartyIdentification:
      type: object
      properties:
        organisationId:
          $ref: '#/components/schemas/OrganizationIdentification'
        privateId:
          $ref: '#/components/schemas/PrivateIdentification'
      additionalProperties: { }
      description: "Party Identification Type\r\nThe following data types are used by several communities for payment initiation and/or account information.\r\nRemark for Future: Some of these types are planned to be recognized in the next major release of the Implementation Guideline.This is still under review."
    PaymentConditions:
      type: object
      properties:
        amountModificationAllowed:
          type: boolean
          description: Indicates if the debtor is allowed to pay a different amount then the requested amount.
          nullable: true
        earlyPaymentAllowed:
          type: boolean
          description: Indicates if the debtor is allowed to pay before the requested execution date.
          nullable: true
      additionalProperties: false
      description: Payment conditions
    PaymentContextType:
      type: object
      properties:
        cardPresent:
          type: boolean
          description: card Present.
          nullable: true
        cardDataEntryMode:
          $ref: '#/components/schemas/CardDataEntryMode'
      additionalProperties: false
      description: Payment Context Type
    PaymentIdentification:
      type: object
      properties:
        endToEndId:
          $ref: '#/components/schemas/Max35Text'
        instructionId:
          $ref: '#/components/schemas/Max35Text'
        uetr:
          type: string
          description: "Universally unique identifier to provide an end-to-end reference of a payment transaction.\r\n It is recommended to use time-based version (version 1) and variant 8,9,a or b of the UUID as defined in [RFC4122] for UUID fields such as uetr."
          format: uuid
          nullable: true
      additionalProperties: { }
      description: 'Payment identification for the payment initiation request. Contains unique identifiers for the payment initiation, which are assigned by the initiator of the payment and are used for referencing the payment initiation.'
    PaymentInitiationCancelResponse:
      required:
        - transactionStatus
      type: object
      properties:
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: "This data element might be contained, if SCA is required and if the PSU has a choice between different authentication methods.\r\nDepending on the risk management of the ASPSP this choice might be offered before or after the PSU has been identified with the\r\nfirst relevant factor, or if an access token is transported.\r\n If this data element is contained, then there is also a hyperlink of type 'startAuthorisationWithAuthenticationMethodSelection' contained in the response body.\r\n These methods shall be presented towards the PSU for selection by the TPP."
          nullable: true
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "A list of hyperlinks to be recognized by the TPP.\r\nThe actual hyperlinks used in the response\r\ndepend on the dynamical decisions of the ASPSP\r\nwhen processing the request.\r\nRemark: All links can be relative or full links, to be\r\ndecided by the ASPSP."
          nullable: true
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
      additionalProperties: false
      description: Body of the response for a successful cancel payment request.
    PaymentInitiationRequestBase:
      required:
        - additionalInformation
        - chargeBearer
        - chargesAccount
        - creditor
        - creditorAccount
        - creditorAgent
        - instructedAmount
        - instructionPriority
        - intermediaryAgent1
        - intermediaryAgent2
        - paymentIdentification
        - remittanceInformationStructured
        - remittanceInformationUnstructured
        - ultimateDebtor
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent1:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent2:
          $ref: '#/components/schemas/AgentDescription1'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "Unstructured remittance information\r\nc - პირობითი"
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "Structured Remittance information\r\nc - პირობითი"
          nullable: true
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
        instructionPriority:
          $ref: '#/components/schemas/PriorityCode'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
      additionalProperties: { }
      description: A base class containing everything except debtor information used for bulk payments
    PaymentInitiationRequestResponse:
      required:
        - transactionStatus
      type: object
      properties:
        paymentId:
          $ref: '#/components/schemas/Max70Text'
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFee:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: "This data element might be contained, if SCA is\r\nrequired and if the PSU has a choice between\r\ndifferent authentication methods. Depending on the\r\nrisk management of the ASPSP this choice might\r\nbe offered before or after the PSU has been\r\nidentified with the first relevant factor, or if an\r\naccess token is transported. If this data element is\r\ncontained, then there is also a hyperlink of type\r\n\"startAuthorisationWith\r\nAuthenticationMethodSelection\" contained in the\r\nresponse body.\r\nThese methods shall be presented towards the\r\nPSU for selection by the TPP."
          nullable: true
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
        apiClientMessages:
          type: array
          items:
            $ref: '#/components/schemas/ClientMessageInformation'
          description: Messages to the API Client on operational issues.
          nullable: true
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
      additionalProperties: false
      description: Body of the response for a successful payment initiation request.
    PaymentInitiationStatusResponse:
      required:
        - transactionStatus
      type: object
      properties:
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
        fundsAvailable:
          type: boolean
          description: 'This data element is contained, if supported by the ASPSP, if a funds check has been performed and if the transactionStatus is "ACTC", "ACWC" or "ACCP".'
          nullable: true
        reasonCode:
          $ref: '#/components/schemas/ExternalStatusReason1Code'
        reasonProprietary:
          $ref: '#/components/schemas/Max35Text'
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFee:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        apiClientMessages:
          type: array
          items:
            $ref: '#/components/schemas/ClientMessageInformation'
          description: Messages to the API Client on operational issues.
          nullable: true
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
        ownerNames:
          type: array
          items:
            $ref: '#/components/schemas/AccountOwner'
          description: "List of owner names.\r\nShould only be delivered after successful SCA. Could be restricted to the current PSU by the ASPSP."
          nullable: true
      additionalProperties: false
      description: Payment initiation with status response
    PaymentProductType:
      enum:
        - aspsp
        - domestic
        - foreign
      type: string
    PeriodicPaymentInitiationRequest:
      required:
        - additionalInformation
        - chargeBearer
        - chargesAccount
        - creditor
        - creditorAccount
        - creditorAgent
        - dayOfExecution
        - debtor
        - debtorAccount
        - endDate
        - executionRule
        - frequency
        - instructedAmount
        - instructionPriority
        - intermediaryAgent1
        - intermediaryAgent2
        - monthsOfExecution
        - paymentIdentification
        - remittanceInformationStructured
        - remittanceInformationUnstructured
        - requestedExecutionDate
        - startDate
        - ultimateDebtor
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent1:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent2:
          $ref: '#/components/schemas/AgentDescription1'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "Unstructured remittance information\r\nc - პირობითი"
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "Structured Remittance information\r\nc - პირობითი"
          nullable: true
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
        instructionPriority:
          $ref: '#/components/schemas/PriorityCode'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
        startDate:
          type: string
          description: The first applicable day of execution starting from this date is the first payment
          format: date
        executionRule:
          $ref: '#/components/schemas/ExecutionRule'
        endDate:
          type: string
          description: "The last applicable day of execution\r\nIf not given, it is an infinite standing\r\norder."
          format: date
          nullable: true
        frequency:
          $ref: '#/components/schemas/FrequencyCode'
        dayOfExecution:
          $ref: '#/components/schemas/DayOfExecution'
        monthsOfExecution:
          type: array
          items:
            $ref: '#/components/schemas/MonthOfExecution'
          description: "The format is following the regular  expression \\d{1,2}. The array is restricted to 11 entries. The values contained In the  array entries shall all be different and the\r\n maximum value of one entry is 12.\r\nThis attribute is contained if and only if the\r\nfrequency equals \"MonthlyVariable\".\r\nExample: An execution on January, April\r\nand October each year is addressed by [\"1\".\"4\", \"10\"]."
          nullable: true
      additionalProperties: { }
      description: Periodic payment initiation request
    PeriodicPaymentInitiationWithStatusResponse:
      required:
        - additionalInformation
        - chargeBearer
        - chargesAccount
        - creditor
        - creditorAccount
        - creditorAgent
        - dayOfExecution
        - debtor
        - debtorAccount
        - endDate
        - executionRule
        - frequency
        - instructedAmount
        - instructionPriority
        - intermediaryAgent1
        - intermediaryAgent2
        - monthsOfExecution
        - paymentIdentification
        - remittanceInformationStructured
        - remittanceInformationUnstructured
        - requestedExecutionDate
        - startDate
        - transactionStatus
        - ultimateDebtor
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent1:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent2:
          $ref: '#/components/schemas/AgentDescription1'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "Unstructured remittance information\r\nc - პირობითი"
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "Structured Remittance information\r\nc - პირობითი"
          nullable: true
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
        instructionPriority:
          $ref: '#/components/schemas/PriorityCode'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
        startDate:
          type: string
          description: Gets or Sets StartDate
          format: date
        endDate:
          type: string
          description: Gets or Sets EndDate
          format: date
          nullable: true
        executionRule:
          $ref: '#/components/schemas/ExecutionRule'
        frequency:
          $ref: '#/components/schemas/FrequencyCode'
        dayOfExecution:
          $ref: '#/components/schemas/DayOfExecution'
        monthsOfExecution:
          type: array
          items:
            $ref: '#/components/schemas/MonthOfExecution'
          description: Gets or Sets MonthsOfExecution
          nullable: true
      additionalProperties: { }
      description: Generic JSON response body of the corresponding periodic payment initiation JSON body together with an optional transaction status field.
    PersonIdentification:
      required:
        - identification
      type: object
      properties:
        identification:
          $ref: '#/components/schemas/Max35Text'
        schemeNameCode:
          $ref: '#/components/schemas/ExternalPersonIdentification1Code'
        schemeNameProprietary:
          $ref: '#/components/schemas/Max35Text'
        issuer:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: Person Identification
    PhoneNumber:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nType: System.String\r\n\r\npattern: \\+[0-9]{1,3}-[0-9()+\\-]{1,30}"
    PostalAddress:
      type: object
      properties:
        addressLines:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "\r\nInformation that locates and identifies a specific address, as defined by postal services, presented in free format text.\r\n            At most seven entries are permitted. May only be used, if none of the structured address elements \"streetName\", \"buildingNumber\", \"postcode\" or \"townName\" is used.\r\n             Remark: For SEPA transactions this is further restricted to a maximum of 1 entry."
          nullable: true
        department:
          $ref: '#/components/schemas/Max70Text'
        subDepartment:
          $ref: '#/components/schemas/Max70Text'
        streetName:
          $ref: '#/components/schemas/Max70Text'
        buildingNumber:
          $ref: '#/components/schemas/Max16Text'
        buildingName:
          $ref: '#/components/schemas/Max35Text'
        floor:
          $ref: '#/components/schemas/Max70Text'
        postBox:
          $ref: '#/components/schemas/Max16Text'
        room:
          $ref: '#/components/schemas/Max70Text'
        postCode:
          $ref: '#/components/schemas/Max16Text'
        townName:
          $ref: '#/components/schemas/Max35Text'
        townLocationName:
          $ref: '#/components/schemas/Max35Text'
        districtName:
          $ref: '#/components/schemas/Max35Text'
        countrySubDivision:
          $ref: '#/components/schemas/Max35Text'
        country:
          $ref: '#/components/schemas/CountryCode'
      additionalProperties: { }
      description: "\r\nPostalAddress\r\n\r\nInformation that locates and identifies a specific address, as defined by postal services."
    PriorityCode:
      enum:
        - NORM
        - HIGH
      type: string
    PrivateIdentification:
      type: object
      properties:
        birthDate:
          $ref: '#/components/schemas/ISODate'
        provinceOfBirth:
          $ref: '#/components/schemas/Max35Text'
        cityOfBirth:
          $ref: '#/components/schemas/Max35Text'
        countryOfBirth:
          $ref: '#/components/schemas/CountryCode'
        others:
          type: array
          items:
            $ref: '#/components/schemas/PersonIdentification'
          description: Other identification yet only for georgia. no other type is yet allowed
          nullable: true
      additionalProperties: { }
      description: Private Identification Type
    ProxyAccountIdentification:
      required:
        - identification
      type: object
      properties:
        identification:
          $ref: '#/components/schemas/Max2048Text'
        typeCode:
          $ref: '#/components/schemas/ExternalProxyAccountType1Code'
        typeProprietary:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: Proxy Account Identification
    PsuData:
      type: object
      properties:
        password:
          type: string
          description: Password
          nullable: true
        encryptedPassword:
          type: string
          description: Encrypted password
          nullable: true
        additionalPassword:
          type: string
          description: Additional password in plaintext.
          nullable: true
        additionalEncryptedPassword:
          type: string
          description: Additional encrypted password.
          nullable: true
      additionalProperties: { }
      description: PSU Data for Update PSU authentication.
    PurposeCode:
      enum:
        - BKDF
        - BKFE
        - BKFM
        - BKIP
        - BKPP
        - CBLK
        - CDCB
        - CDCD
        - CDCS
        - CDDP
        - CDOC
        - CDQC
        - ETUP
        - FCOL
        - MTUP
        - ACCT
        - CASH
        - COLL
        - CSDB
        - DEPT
        - INTC
        - LIMA
        - NETT
        - BFWD
        - CCIR
        - CCPC
        - CCPM
        - CCSM
        - CRDS
        - CRPR
        - CRSP
        - CRTL
        - EQPT
        - EQUS
        - EXPT
        - EXTD
        - FIXI
        - FWBC
        - FWCC
        - FWSB
        - FWSC
        - MARG
        - MBSB
        - MBSC
        - MGCC
        - MGSC
        - OCCC
        - OPBC
        - OPCC
        - OPSB
        - OPSC
        - OPTN
        - OTCD
        - REPO
        - RPBC
        - RPCC
        - RPSB
        - RPSC
        - RVPO
        - SBSC
        - SCIE
        - SCIR
        - SCRP
        - SHBC
        - SHCC
        - SHSL
        - SLEB
        - SLOA
        - SWBC
        - SWCC
        - SWPT
        - SWSB
        - SWSC
        - TBAS
        - TBBC
        - TBCC
        - TRCP
        - AGRT
        - AREN
        - BEXP
        - BOCE
        - COMC
        - CPYR
        - GDDS
        - GDSV
        - GSCB
        - LICF
        - MP2B
        - POPE
        - ROYA
        - SCVE
        - SERV
        - SUBS
        - SUPP
        - TRAD
        - CHAR
        - COMT
        - MP2P
        - ECPG
        - ECPR
        - ECPU
        - EPAY
        - CLPR
        - COMP
        - DBTC
        - GOVI
        - HLRP
        - HLST
        - INPC
        - INPR
        - INSC
        - INSU
        - INTE
        - LBRI
        - LIFI
        - LOAN
        - LOAR
        - PENO
        - PPTI
        - RELG
        - RINP
        - TRFD
        - FORW
        - FXNT
        - ADMG
        - ADVA
        - BCDM
        - BCFG
        - BLDM
        - BNET
        - CBFF
        - CBFR
        - CCRD
        - CDBL
        - CFEE
        - CGDD
        - CORT
        - COST
        - CPKC
        - DCRD
        - DSMT
        - DVPM
        - EDUC
        - FACT
        - FAND
        - FCPM
        - FEES
        - GOVT
        - ICCP
        - IDCP
        - IHRP
        - INSM
        - IVPT
        - MCDM
        - MCFG
        - MSVC
        - NOWS
        - OCDM
        - OCFG
        - OFEE
        - OTHR
        - PADD
        - PTSP
        - RCKE
        - RCPT
        - REBT
        - REFU
        - RENT
        - REOD
        - RIMB
        - RPNT
        - RRBN
        - RVPM
        - SLPI
        - SPLT
        - STDY
        - TBAN
        - TBIL
        - TCSC
        - TELI
        - TMPG
        - TPRI
        - TPRP
        - TRNC
        - TRVC
        - WEBI
        - ANNI
        - CAFI
        - CFDI
        - CMDT
        - DERI
        - DIVD
        - FREX
        - HEDG
        - INVS
        - PRME
        - SAVG
        - SECU
        - SEPI
        - TREA
        - UNIT
        - FNET
        - FUTR
        - ANTS
        - CVCF
        - DMEQ
        - DNTS
        - HLTC
        - HLTI
        - HSPC
        - ICRF
        - LTCF
        - MAFC
        - MARF
        - MDCS
        - VIEW
        - CDEP
        - SWFP
        - SWPP
        - SWRS
        - SWUF
        - ADCS
        - AEMP
        - ALLW
        - ALMY
        - BBSC
        - BECH
        - BENE
        - BONU
        - CCHD
        - COMM
        - CSLP
        - GFRP
        - GVEA
        - GVEB
        - GVEC
        - GVED
        - GWLT
        - HREC
        - PAYR
        - PEFC
        - PENS
        - PRCP
        - RHBS
        - SALA
        - SSBE
        - LBIN
        - LCOL
        - LFEE
        - LMEQ
        - LMFI
        - LMRK
        - LREB
        - LREV
        - LSFL
        - ESTX
        - FWLV
        - GSTX
        - HSTX
        - INTX
        - NITX
        - PTXP
        - RDTX
        - TAXS
        - VATX
        - WHLD
        - TAXR
        - B112
        - BR12
        - TLRF
        - TLRR
        - AIRB
        - BUSB
        - FERB
        - RLWY
        - TRPT
        - CBTV
        - ELEC
        - ENRG
        - GASB
        - NWCH
        - NWCM
        - OTLC
        - PHON
        - UBIL
        - WTER
      type: string
      description: ExternalPurpose1Code from ISO 20022.  Values from ISO 20022 External Code List ExternalCodeSets_1Q2018 June 2018.
    ReadAccountDetailsResponse:
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountDetails'
      additionalProperties: false
      description: Json body response for read account details
    ReadCardAccountsDetailsResponse:
      required:
        - cardAccount
      type: object
      properties:
        cardAccount:
          $ref: '#/components/schemas/CardAccountDetails'
      additionalProperties: false
      description: Card Account Data
    RecurringPaymentInitiationRequest:
      required:
        - instructedAmount
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "If this attribute is provided, then it will be used by the ASPSP in the related credit transfer for remittance information.\r\nIf this attribute is not provided, then the corresponding remittance as defined in the initial payment resource is used."
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "The supported sub structure will depend on the underlying payment product. If this attribute is provided, then it will be used by the ASPSP in the related credit transfer for remittance information.\r\nIf this attribute is not provided, then the corresponding remittance as defined in the initial payment resource is used."
          nullable: true
        closingFlag:
          type: boolean
          description: "If true, then the TPP indicates that this is the last initiation on the related payment resource.\r\nAs a consequence, the mechanism for securing the payment (e.g. reservation of funds) is closed in the ASPSP system."
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
        requestedExecutionDateTime:
          $ref: '#/components/schemas/ISODateTime'
      additionalProperties: false
      description: Recurring payment initiation request
    RecurringPaymentInitiationResponse:
      required:
        - initiationId
        - transactionStatus
      type: object
      properties:
        initiationId:
          $ref: '#/components/schemas/Max70Text'
        reasonCode:
          $ref: '#/components/schemas/ExternalStatusReason1Code'
        reasonProprietary:
          $ref: '#/components/schemas/Max35Text'
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
      additionalProperties: false
      description: Represents a recurring payment initiation response.
    RecurringPaymentRequest:
      required:
        - additionalInformation
        - chargeBearer
        - chargesAccount
        - creditor
        - creditorAccount
        - creditorAgent
        - debtor
        - debtorAccount
        - frequency
        - instructedAmount
        - instructionPriority
        - intermediaryAgent1
        - intermediaryAgent2
        - paymentIdentification
        - remittanceInformationStructured
        - remittanceInformationUnstructured
        - requestedExecutionDate
        - startDate
        - ultimateDebtor
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent1:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent2:
          $ref: '#/components/schemas/AgentDescription1'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "Unstructured remittance information\r\nc - პირობითი"
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "Structured Remittance information\r\nc - პირობითი"
          nullable: true
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
        instructionPriority:
          $ref: '#/components/schemas/PriorityCode'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
        startDate:
          $ref: '#/components/schemas/ISODate'
        endDate:
          $ref: '#/components/schemas/ISODate'
        frequency:
          $ref: '#/components/schemas/FrequencyCode'
        dayOfExecution:
          $ref: '#/components/schemas/Max2Text'
      additionalProperties: { }
      description: Recurring payment authorization creation request
    References:
      type: object
      properties:
        accountServicerReference:
          $ref: '#/components/schemas/Max35Text'
        instructionId:
          $ref: '#/components/schemas/Max35Text'
        endToEndId:
          $ref: '#/components/schemas/Max35Text'
        uetr:
          type: string
          description: "Universally unique identifier to provide an end-to-end reference of a payment transaction.\r\nIt is recommended to use time-based version (version 1) and variant 8,9,a or b of the UUID as defined in [RFC4122] for UUID fields such as uet"
          format: uuid
          nullable: true
        checkNumber:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      description: References for the transaction list
    ReferredDocumentInformation:
      type: object
      properties:
        typeCode:
          $ref: '#/components/schemas/ReferredDocumentTypeCode'
        typeProprietary:
          $ref: '#/components/schemas/Max35Text'
        typeIssuer:
          $ref: '#/components/schemas/Max35Text'
        number:
          $ref: '#/components/schemas/Max35Text'
        relatedDate:
          $ref: '#/components/schemas/ISODate'
      additionalProperties: false
      description: Referred document information.
    ReferredDocumentTypeCode:
      enum:
        - MSIN
        - CNFA
        - DNFA
        - CINV
        - CREN
        - DEBN
        - HIRI
        - SBIN
        - CMCN
        - SOAC
        - DISP
        - BOLD
        - VCHR
        - AROI
        - TSUT
        - PUOR
      type: string
      description: 'This code set is equivalent to the ISO 20022 definition DocumentType6Code:'
    Remittance:
      type: object
      properties:
        referredDocumentInformation:
          type: array
          items:
            $ref: '#/components/schemas/ReferredDocumentInformation'
          description: Set of elements used to identify the documents referred to in the remittance information
          nullable: true
        creditorReferenceInformation:
          type: array
          items:
            $ref: '#/components/schemas/CreditorReferenceInformation'
          description: Reference information provided by the creditor to allow the identification of the underlying documents
          nullable: true
        additionalRemittanceInformation:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: Additional information to be displayed to the PSU e.g.  within authorisation processes. This will not be used in related interbank payments.
          nullable: true
      additionalProperties: false
      description: Structured remittance information.
    ReportExchangeRate:
      required:
        - exchangeRate
        - quotationDate
        - sourceCurrency
        - targetCurrency
        - unitCurrency
      type: object
      properties:
        sourceCurrency:
          $ref: '#/components/schemas/CurrencyCode'
        exchangeRate:
          minLength: 1
          type: string
          description: Factor used to convert an amount from one currency into another. This reflects the price at which one currency was bought with another currency.
        unitCurrency:
          $ref: '#/components/schemas/CurrencyCode'
        targetCurrency:
          $ref: '#/components/schemas/CurrencyCode'
        quotationDate:
          $ref: '#/components/schemas/ISODate'
        contractIdentification:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: false
      description: Exchange Rate.
    RtpDetails:
      required:
        - requestedExpiryDateTime
      type: object
      properties:
        paymentConditions:
          $ref: '#/components/schemas/PaymentConditions'
        creationDateTime:
          $ref: '#/components/schemas/ISODateTime'
        requestedExpiryDateTime:
          $ref: '#/components/schemas/ISODateTime'
        originatorPspId:
          $ref: '#/components/schemas/FinancialInstitutionIdentification'
      additionalProperties: false
      description: Rtp details
    ScaStatus:
      enum:
        - received
        - psuIdentified
        - psuAuthenticated
        - scaMethodSelected
        - started
        - unconfirmed
        - finalised
        - failed
        - exempted
      type: string
      description: "This data element is containing information about the status of the SCA method applied. The following codes are defined for this data type.\r\n* 'received': An authorisation or cancellation-authorisation resource has been created successfully.\r\n* 'psuIdentified': The PSU related to the authorisation or cancellation-authorisation resource has been identified.\r\n* 'psuAuthenticated': The PSU related to the authorisation or cancellation-authorisation resource has been identified and authenticated e.g. by a password or by an access token.\r\n* 'scaMethodSelected': The PSU/TPP has selected the related SCA routine. If the SCA method is chosen implicitly since only one SCA method is available, then this is the first status to be reported instead of 'received'.\r\n* 'unconfirmed': SCA is technically successfully finalised by the PSU, but the authorisation resource needs a confirmation command by the TPP yet.\r\n* 'started': The addressed SCA routine has been started.\r\n* 'finalised': The SCA routine has been finalised successfully (including a potential confirmation command). This is a final status of the authorisation resource.\r\n* 'failed': The SCA routine failed. This is a final status of the authorisation resource.\r\n* 'exempted': SCA was exempted for the related transaction, the related authorisation is successful. This is a final status of the authorisation resource."
    ScaStatusAuthorisationConfirmation:
      enum:
        - finalised
        - failed
      type: string
      description: 'This data element is containing information about the status of the SCA method in an authorisation confirmation response.   The following codes are defined for this data type.    * ''finalised'': if the transaction authorisation and confirmation was successfule.   * ''failed'': if the transaction authorisation or confirmation was not successful.'
    ScaStatusResponse:
      type: object
      properties:
        scaStatus:
          $ref: '#/components/schemas/ScaStatus'
        psuName:
          $ref: '#/components/schemas/Max140Text'
        psuMessage:
          type: string
          description: Text to be displayed to the PSU.
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Links fo the SCA Status.
          nullable: true
        apiClientMessages:
          type: array
          items:
            $ref: '#/components/schemas/ClientMessageInformation'
          description: Messages to the Api client on operational issues.
          nullable: true
      additionalProperties: false
      description: Body of the JSON response with SCA Status.
    SelectPsuAuthenticationMethod:
      required:
        - authenticationMethodId
      type: object
      properties:
        authenticationMethodId:
          $ref: '#/components/schemas/Max35Text'
      additionalProperties: { }
      description: Content of the body of a Select PSU authentication method request
    SelectPsuAuthenticationMethodResponse:
      type: object
      properties:
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFees:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: " A list of hyperlinks to be recognised by the TPP. Might be contained, if several authentication methods are available for the PSU. Type of links admitted in this response:\r\n'updateAdditionalPsuAuthentication': The link to the payment initiation or account information resource, which needs to be updated by an additional PSU password.\r\nThis link is only contained in rare cases, where such additional passwords are needed for PSU authentications.\r\n'updateAdditionalEncryptedPsuAuthentication': The link to the payment initiation or account information resource,\r\nwhich needs to be updated by an additional encrypted PSU password.This link is only contained in rare cases,\r\nwhere such additional passwords are needed for PSU authentications.\r\n selectAuthenticationMethod: This is a link to a resource, where the TPP can select the applicable second factor authentication methods for the PSU,\r\n if there were several available authentication methods. This link is only contained, if the PSU is already identified or authenticated with the first\r\n relevant factor or alternatively an access token, if SCA is required and if the PSU has a choice between different authentication methods.\r\n If this link is contained, then there is also the data element 'scaMethods' contained in the response body.\r\n'authoriseTransaction': The link to the resource, where the \"Transaction authorisation request\" is sent to. This is the link to the resource which will authorise the transaction by checking the SCA authentication data within the Embedded SCA approach.\r\n'scaStatus': The link to retrieve the scaStatus of the corresponding authorisation sub-resource."
          nullable: true
        scaStatus:
          $ref: '#/components/schemas/ScaStatus'
        psuMessage:
          type: string
          description: Text to be displayed to the PSU
          nullable: true
      additionalProperties: false
      description: Body of the JSON response for a successful select PSU authentication method request.
    SinglePaymentInitiationRequest:
      required:
        - additionalInformation
        - chargeBearer
        - chargesAccount
        - creditor
        - creditorAccount
        - creditorAgent
        - debtor
        - debtorAccount
        - instructedAmount
        - instructionPriority
        - intermediaryAgent1
        - intermediaryAgent2
        - paymentIdentification
        - remittanceInformationStructured
        - remittanceInformationUnstructured
        - requestedExecutionDate
        - ultimateDebtor
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent1:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent2:
          $ref: '#/components/schemas/AgentDescription1'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "Unstructured remittance information\r\nc - პირობითი"
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "Structured Remittance information\r\nc - პირობითი"
          nullable: true
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
        instructionPriority:
          $ref: '#/components/schemas/PriorityCode'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
      additionalProperties: { }
      description: Single Payment initiation request body. Based on Georgian Standard and v2 of PSD2
    SinglePaymentInitiationWithStatusResponse:
      required:
        - additionalInformation
        - chargeBearer
        - chargesAccount
        - creditor
        - creditorAccount
        - creditorAgent
        - debtor
        - debtorAccount
        - instructedAmount
        - instructionPriority
        - intermediaryAgent1
        - intermediaryAgent2
        - paymentIdentification
        - remittanceInformationStructured
        - remittanceInformationUnstructured
        - requestedExecutionDate
        - transactionStatus
        - ultimateDebtor
      type: object
      properties:
        paymentIdentification:
          $ref: '#/components/schemas/PaymentIdentification'
        instructedAmount:
          $ref: '#/components/schemas/Amount'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent1:
          $ref: '#/components/schemas/AgentDescription1'
        intermediaryAgent2:
          $ref: '#/components/schemas/AgentDescription1'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        chargeBearer:
          $ref: '#/components/schemas/ChargeBearer'
        chargesAccount:
          $ref: '#/components/schemas/AccountReference'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: "Unstructured remittance information\r\nc - პირობითი"
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: "Structured Remittance information\r\nc - პირობითი"
          nullable: true
        additionalInformation:
          $ref: '#/components/schemas/Max500Text'
        instructionPriority:
          $ref: '#/components/schemas/PriorityCode'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        requestedExecutionDate:
          $ref: '#/components/schemas/ISODate'
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
      additionalProperties: { }
      description: Generic JSON response body consistion of the corresponding payment initiation JSON body together with an optional transaction status field.
    StandingOrderDetails:
      type: object
      properties:
        startDate:
          type: string
          description: The first applicable day of execution starting from this date is the first payment
          format: date
        frequency:
          $ref: '#/components/schemas/FrequencyCode'
        endDate:
          type: string
          description: 'The last applicable day of execution. If not given, it is an infinite standing order.'
          format: date
          nullable: true
        executionRule:
          $ref: '#/components/schemas/ExecutionRule'
        withinAMonthFlag:
          type: boolean
          description: "This element is only used in case of frequency equals 'Monthly'.\r\nIf this element equals false it has no effect.\r\nIf this element equals true, then the execution rule is overruled if the day of execution would fall into a different month using the execution rule.\r\nExample: executionRule equals 'preceding', dayOfExecution equals '02' and the second of a month is a Sunday.\r\nIn this case, the transaction date would be on the last day of the month before.\r\nThis would be overruled if withinAMonthFlag equals true and the payment is processed on Monday the third of the Month.\r\nRemark: This attribute is rarely supported in the market."
          nullable: true
        monthsOfExecution:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/MonthOfExecution'
          description: "The format is following the regular expression \\d{1,2}.\r\nThe array is restricted to 11 entries.\r\nThe values contained in the array entries shall all be different and the maximum value of one entry is 12.\r\nThis attribute is contained if and only if the frequency equals \"MonthlyVariable\".\r\nExample: An execution on January, April and October each year is addressed by [\"1\", \"4\", \"10\"]."
          nullable: true
        multiplicator:
          type: integer
          description: "This is multiplying the given frequency resulting the exact frequency, e.g. Frequency=\r\nweekly and multiplicator 3 means every 3 weeks.\r\nRemark: This attribute is rarely supported in the market."
          format: int32
          nullable: true
        dayOfExecution:
          $ref: '#/components/schemas/DayOfExecution'
        limitAmount:
          $ref: '#/components/schemas/Amount'
      additionalProperties: false
      description: Details of underlying standing orders.
    StartConsentAuthorisationResponse:
      type: object
      properties:
        scaStatus:
          $ref: '#/components/schemas/ScaStatus'
        authorisationId:
          type: string
          description: Resource identification of the related SCA.
          nullable: true
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: "This data element might be contained, if SCA is required and if the PSU has a choice between different authentication methods.\r\nDepending on the risk management of the ASPSP this choice might be offered before or after the PSU has been identified\r\nwith the first relevant factor, or if an access token is transported.\r\nIf this data element is contained, then there is also a hyperlink of type 'startAuthorisationWithAuthenticationMethodSelection' contained in the response body.\r\nThese methods shall be presented towards the PSU for selection by the TPP."
          nullable: true
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "A list of hyperlinks to be recognised by the TPP. The actual hyperlinks used in the response depend on the dynamical decisions of the ASPSP when processing the request.\r\n Remark: All links can be relative or full links, to be decided by the ASPSP.\r\n  Type of links admitted in this response, (further links might be added for ASPSP defined extensions):\r\n'scaRedirect': In case of an SCA Redirect Approach, the ASPSP is transmitting the link to which to redirect the PSU browser.\r\n'scaOAuth': In case of a SCA OAuth2 Approach, the ASPSP is transmitting the URI where the configuration of the Authorisation Server can be retrieved.The configuration follows the OAuth 2.0 Authorisation Server Metadata specification.\r\n'confirmation': Might be added by the ASPSP if either the \"scaRedirect\" or \"scaOAuth\" hyperlink is returned in the same response message. This hyperlink defines the URL to the resource which needs to be updated with\r\n    a confirmation code as retrieved after the plain redirect authentication process with the ASPSP authentication server or\r\n   an access token as retrieved by submitting an authorization code after the integrated OAuth based authentication process with the ASPSP authentication server.\r\n'updatePsuIdentification': The link to the authorisation or cancellation authorisation sub-resource, where PSU identification data needs to be uploaded.\r\n'startAuthorisationWithPsuAuthentication': The link to the authorisation or cancellation authorisation sub-resource, where PSU authentication data needs to be uploaded.\r\n'startAuthorisationWithEncryptedPsuAuthentication': Same as startAuthorisationWithPsuAuthentication where the authentication data need to be encrypted on application layer in uploading.\r\n'selectAuthenticationMethod': The link to the authorisation or cancellation authorisation sub-resource, where the selected authentication method needs to be uploaded.This link is contained under exactly the same conditions as the data element 'scaMethods'.\r\n'authoriseTransaction': The link to the authorisation or cancellation authorisation sub-resource, where the authorisation data has to be uploaded, e.g.the TOP received by SMS.\r\n'scaStatus': The link to retrieve the scaStatus of the corresponding authorisation sub-resource."
          nullable: true
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
      description: Body of the JSON response for a Start SCA authorisation request.
    StartConsentAuthorizationRequestBody:
      type: object
      properties:
        updatePsuAuthentication:
          $ref: '#/components/schemas/UpdatePsuAuthentication'
        selectPsuAuthenticationMethod:
          $ref: '#/components/schemas/SelectPsuAuthenticationMethod'
        transactionAuthorisation:
          $ref: '#/components/schemas/TransactionAuthorization'
      additionalProperties: { }
      description: Content of the body of a Select PSU authentication method request
    StrAmount:
      type: object
      properties:
        length:
          type: integer
          description: Gets the number of characters.
          format: int32
          readOnly: true
      additionalProperties: false
      description: "\r\nStr Amount for Amount class\r\n\r\npattern: -?[0-9]{1,14}(\\\\.[0-9]{1,3})? "
    TppMessageCategory:
      enum:
        - ERROR
        - WARNING
      type: string
      description: Category of the TPP message category.
    TransactionAuthorization:
      required:
        - scaAuthenticationData
      type: object
      properties:
        scaAuthenticationData:
          minLength: 1
          type: string
          description: 'SCA authentication data, depending on the chosen authentication method. If the data is binary, then it is base64 encoded'
      additionalProperties: { }
      description: Content of the body of a transaction authorisation request
    TransactionDetails:
      required:
        - transactionAmount
      type: object
      properties:
        transactionId:
          type: string
          description: "Can be used as access-ID in the API, where more details on an transaction is offered.\r\nIf this data attribute is provided this shows that the AIS can get access on more details about this transaction using the GET Transaction Details\r\nRequest as defined in Section 6.5.5  page 294"
          nullable: true
        entryReference:
          $ref: '#/components/schemas/Max35Text'
        references:
          $ref: '#/components/schemas/References'
        localInstrumentCode:
          $ref: '#/components/schemas/ExternalLocalInstrument1Code'
        localInstrumentProprietary:
          $ref: '#/components/schemas/Max35Text'
        bookingDate:
          $ref: '#/components/schemas/ISODate'
        valueDate:
          $ref: '#/components/schemas/ISODate'
        transactionAmount:
          $ref: '#/components/schemas/Amount'
        currencyExchange:
          type: array
          items:
            $ref: '#/components/schemas/ReportExchangeRate'
          description: Array of exchange rates.
          nullable: true
        amountDetails:
          $ref: '#/components/schemas/AmountDetails'
        interbankSettlementDate:
          $ref: '#/components/schemas/ISODate'
        cardTransaction:
          $ref: '#/components/schemas/CardTransactionsDetails'
        creditor:
          $ref: '#/components/schemas/PartyDescription'
        creditorAccount:
          $ref: '#/components/schemas/AccountReference'
        creditorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        ultimateCreditor:
          $ref: '#/components/schemas/PartyDescription4'
        debtor:
          $ref: '#/components/schemas/PartyDescription'
        debtorAccount:
          $ref: '#/components/schemas/AccountReference'
        debtorAgent:
          $ref: '#/components/schemas/AgentDescription1'
        ultimateDebtor:
          $ref: '#/components/schemas/PartyDescription4'
        remittanceInformationUnstructured:
          type: array
          items:
            $ref: '#/components/schemas/Max140Text'
          description: Might be used by the ASPSP to transport additional transaction related information to the PSU
          nullable: true
        remittanceInformationStructured:
          type: array
          items:
            $ref: '#/components/schemas/Remittance'
          description: Gets or Sets RemittanceInformationStructured
          nullable: true
        entryDetails:
          type: array
          items:
            $ref: '#/components/schemas/EntryDetailsElement'
          description: Might be used by the ASPSP to transport details about transactions within a batch.
          nullable: true
        additionalTransactionInformation:
          $ref: '#/components/schemas/Max500Text'
        additionalInformationStructured:
          $ref: '#/components/schemas/AdditionalInformationStructured'
        additionalTransactionInformationStructured:
          $ref: '#/components/schemas/AdditionalTransactionInformationStructured'
        purposeCode:
          $ref: '#/components/schemas/PurposeCode'
        bankTransactionCode:
          type: string
          description: "Bank transaction code as used by the ASPSP and using the sub elements of this structured code defined by ISO 20022.\r\nThis code type is concatenating the three ISO20022 Codes\r\nDomain Code,\r\nFamily Code, and\r\nSubFamily Code by hyphens, resulting in 'DomainCode'-'FamilyCode'-'SubFamilyCode'. For standing order reports the following codes are applicable:\r\n* \"PMNT-ICDT-STDO\" for credit transfers,\r\n* \"PMNT-IRCT-STDO\" for instant credit transfers\r\n* \"PMNT-ICDT-XBST\" for cross-border credit transfers\r\n* \"PMNT-IRCT-XBST\" for cross-border real time credit transfers and\r\n* \"PMNT-MCOP-OTHR\" for specific standing orders which have a dynamical amount to move left funds e.g. on month end to a saving account"
          nullable: true
        bankTransactionCodeProprietary:
          $ref: '#/components/schemas/Max35Text'
        balanceAfterTransaction:
          $ref: '#/components/schemas/Balance'
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: Gets or Sets Links
          nullable: true
        batchIndicator:
          type: boolean
          description: "If this indicator equals\r\ntrue, then the related entry\r\nis a batch entry."
          nullable: true
        batchNumberOfTransactions:
          type: integer
          description: "Shall be used if and only if the batchIndicator is\r\ncontained and equals true."
          format: int32
          nullable: true
      additionalProperties: false
      description: Transaction details.
    TransactionStatus:
      enum:
        - ACCC
        - ACCP
        - ACSC
        - ACSP
        - ACTC
        - ACWC
        - ACWP
        - RCVD
        - PDNG
        - RJCT
        - CANC
        - ACFC
        - PATC
        - PART
      type: string
      description: 'The transaction status is filled with codes of the ISO 20022 data table:'
    UpdateConsentsPsuDataRequest:
      type: object
      properties:
        updatePsuAuthentication:
          $ref: '#/components/schemas/UpdatePsuAuthentication'
        selectPsuAuthenticationMethod:
          $ref: '#/components/schemas/SelectPsuAuthenticationMethod'
        transactionAuthorisation:
          $ref: '#/components/schemas/TransactionAuthorization'
        authorisationConfirmation:
          $ref: '#/components/schemas/AuthorisationConfirmation'
      additionalProperties: { }
      description: Authorisation confirmation request body for the redirect approach
    UpdateConsentsPsuDataResponse:
      type: object
      properties:
        updatePsuIdenticationResponse:
          $ref: '#/components/schemas/UpdatePsuIdenticationResponse'
        updatePsuAuthenticationResponse:
          $ref: '#/components/schemas/UpdatePsuAuthenticationResponse'
        selectPsuAuthenticationMethodResponse:
          $ref: '#/components/schemas/SelectPsuAuthenticationMethodResponse'
        scaStatusResponse:
          $ref: '#/components/schemas/ScaStatusResponse'
        authorisationConfirmationResponse:
          $ref: '#/components/schemas/AuthorisationConfirmationResponse'
      additionalProperties: false
      description: Content of the body of a Update Consents Psu Data method request
    UpdatePsuAuthentication:
      required:
        - psuData
      type: object
      properties:
        psuData:
          $ref: '#/components/schemas/PsuData'
      additionalProperties: { }
      description: "Content of the body of a Update PSU authentication request\r\nPassword sub field is used."
    UpdatePsuAuthenticationResponse:
      type: object
      properties:
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFees:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        chosenScaMethod:
          $ref: '#/components/schemas/AuthenticationObject'
        challengeData:
          $ref: '#/components/schemas/ChallengeData'
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: "This data element might be contained, if SCA is required and if the PSU has a choice between different authentication methods.\r\nDepending on the risk management of the ASPSP this choice might be offered before or after the PSU has been identified with the first relevant factor, or if an access token is transported.\r\nIf this data element is contained, then there is also a hyperlink of type 'startAuthorisationWithAuthenticationMethodSelection' contained in the response body.\r\nThese methods shall be presented towards the PSU for selection by the TPP."
          nullable: true
        _links:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: "A list of hyperlinks to be recognised by the TPP. Might be contained, if several authentication methods are available for the PSU. Type of links admitted in this response:\r\n* 'updateAdditionalPsuAuthentication': The link to the payment initiation or account information resource, which needs to be updated by an additional PSU password.\r\nThis link is only contained in rare cases, where such additional passwords are needed for PSU authentications.\r\n* 'updateAdditionalEncryptedPsuAuthentication': The link to the payment initiation or account information resource, which needs to be updated by an additional encrypted PSU password.\r\nThis link is only contained in rare cases, where such additional passwords are needed for PSU authentications.\r\n* selectAuthenticationMethod: This is a link to a resource, where the TPP can select the applicable second factor authentication methods for the PSU,\r\nif there were several available authentication methods. This link is only contained, if the PSU is already identified or authenticated with the first\r\nrelevant factor or alternatively an access token, if SCA is required and if the PSU has a choice between different authentication methods.\r\nIf this link is contained, then there is also the data element 'scaMethods' contained in the response body.\r\n* 'authoriseTransaction': The link to the resource, where the \"Transaction authorisation request\" is sent to.\r\nThis is the link to the resource which will authorise the transaction by checking the SCA authentication data within the Embedded SCA approach.\r\n* 'scaStatus': The link to retrieve the scaStatus of the corresponding authorisation sub-resource."
          nullable: true
        scaStatus:
          $ref: '#/components/schemas/ScaStatus'
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
        authorisationId:
          type: string
          description: Resource identification of the related SCA
          nullable: true
      additionalProperties: false
      description: Psu Authentication Update Response
    UpdatePsuIdenticationResponse:
      type: object
      properties:
        transactionFees:
          $ref: '#/components/schemas/Amount'
        currencyConversionFees:
          $ref: '#/components/schemas/Amount'
        estimatedTotalAmount:
          $ref: '#/components/schemas/Amount'
        estimatedInterbankSettlementAmount:
          $ref: '#/components/schemas/Amount'
        scaMethods:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationObject'
          description: "This data element might be contained, if SCA is required and if the PSU has a choice between different authentication methods.\r\nDepending on the risk management of the ASPSP this choice might be offered before or after the PSU has been identified with the first relevant factor,\r\nor if an access token is transported.\r\nIf this data element is contained, then there is also a hyperlink of type 'startAuthorisationWithAuthenticationMethodSelection' contained in the response body.\r\nThese methods shall be presented towards the PSU for selection by the TPP."
          nullable: true
        _linksUpdatePsuIdentification:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/HrefType'
          description: A list of hyperlinks
          nullable: true
        scaStatus:
          $ref: '#/components/schemas/ScaStatus'
        psuMessage:
          $ref: '#/components/schemas/Max500Text'
      additionalProperties: false
      description: Body of the JSON response for a successful update PSU identification request.
    UserEntry:
      required:
        - dateTime
        - user
      type: object
      properties:
        user:
          $ref: '#/components/schemas/Max70Text'
        dateTime:
          $ref: '#/components/schemas/ISODateTime'
      additionalProperties: false
      description: User entry
  securitySchemes:
    Bearer:
      type: apiKey
      description: Please Enter Authentication Token
      name: Authorization
      in: header