openapi: "3.0.1"
info:
  title: "Payment Initiation API"
  description: >
    In this document, you'll find the steps your organization needs to take to use our API services. Included in this guide are details of request and response messages used to support your organization’s integration.
    The intended audience for this document are **Technical Architects**, **Development Engineers**, **Test Engineers**, and **Operation & Maintenance Engineers** involved in development and support of your organization’s integration.
    Setting up our API Services is best completed with the assistance of your organization’s IT team, or someone with experience and knowledge of application programming interfaces. This should include experience with **JSON payloads**, **security** and **public key infrastructure (PKI)**.
    This Document describes the following request and response structure of **HSBCnet CE - Payment Initiation API**. For detail implementation guidelines, please refer to the respective section of Documentation page.
  version: "3.1.11"
tags:
  - name: "Domestic Payment Consents"
    description: "Manage Domestic Payment Consents"
  - name: "Domestic Payments"
    description: "Domestic Payments"
  - name: "Domestic Scheduled Payment Consents"
    description: "Manage Domestic Scheduled Payment Consents"
  - name: "Domestic Scheduled Payments"
    description: "Domestic Scheduled Payments"
  - name: "Domestic Standing Order Consents"
    description: "Manage Domestic Standing Order Consents"
  - name: "Domestic Standing Orders"
    description: "Domestic Standing Orders"
  - name: "International Payment Consents"
    description: "Manage International Payment Consents"
  - name: "International Payments"
    description: "International Payments"
  - name: "International Scheduled Payment Consents"
    description: "Manage International Scheduled Payment Consents"
  - name: "International Scheduled Payments"
    description: "International Scheduled Payments"
  - name: "International Standing Order Consents"
    description: "Manage International Standing Order Consents"
  - name: "International Standing Orders"
    description: "International Standing Orders"
  - name: "File Payment Consents"
    description: "Manage File Payment Consents"
  - name: "File Payments"
    description: "File Payments"

paths:
  /domestic-payment-consents:
    post:
      tags:
        - "Domestic Payment Consents"
      summary: "Create Domestic Payment Consents"
      description: "This API enables TPP to create domestic payment consent. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "CreateDomesticPaymentConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticConsent4"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticConsent4"
        description: "Request body contains all the relevant fields to be sent in the request for /domestic-payment-consents"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201DomesticPaymentConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-payment-consents/{ConsentId}:
    get:
      tags:
        - "Domestic Payment Consents"
      summary: "Get Domestic Payment Consents"
      description: "This API enables TPP to retrieve domestic payment consent. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticPaymentConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticPaymentConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-payment-consents/{ConsentId}/funds-confirmation:
    get:
      tags:
        - "Domestic Payment Consents"
      summary: "Get Domestic Payment Consents Funds Confirmation"
      description: "This API enables TPP to retrieve domestic payment consent funds confirmation. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticPaymentConsentsConsentIdFundsConfirmation"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticPaymentConsentsConsentIdFundsConfirmationRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /domestic-payments:
    post:
      tags:
        - "Domestic Payments"
      summary: "Create Domestic Payments"
      description: "This API enables TPP to create domestic payment. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "CreateDomesticPayments"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteDomestic2"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteDomestic2"
        description: "Request body contains all the relevant fields to be sent in the request for /domestic-payments"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201DomesticPaymentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /domestic-payments/{DomesticPaymentId}:
    get:
      tags:
        - "Domestic Payments"
      summary: "Get Domestic Payments"
      description: "This API enables TPP to retrieve domestic payment. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticPaymentsDomesticPaymentId"
      parameters:
        - $ref: "#/components/parameters/DomesticPaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticPaymentsDomesticPaymentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-scheduled-payment-consents:
    post:
      tags:
        - "Domestic Scheduled Payment Consents"
      summary: "Create Domestic Scheduled Payment Consents"
      description: "This API enables TPP to create domestic scheduled payment consent. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "CreateDomesticScheduledPaymentConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticScheduledConsent4"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticScheduledConsent4"
        description: "Request body contains all the relevant fields to be sent in the request for /domestic-scheduled-payment-consents"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201DomesticScheduledPaymentConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-scheduled-payment-consents/{ConsentId}:
    get:
      tags:
        - "Domestic Scheduled Payment Consents"
      summary: "Get Domestic Scheduled Payment Consents"
      description: "This API enables TPP to retrieve domestic scheduled payment consent. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticScheduledPaymentConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticScheduledPaymentConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-scheduled-payments:
    post:
      tags:
        - "Domestic Scheduled Payments"
      summary: "Create Domestic Scheduled Payments"
      description: "This API enables TPP to create domestic scheduled payment. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "CreateDomesticScheduledPayments"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticScheduled2"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticScheduled2"
        description: "Request body contains all the relevant fields to be sent in the request for /domestic-scheduled-payments"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201DomesticScheduledPaymentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /domestic-scheduled-payments/{DomesticScheduledPaymentId}:
    get:
      tags:
        - "Domestic Scheduled Payments"
      summary: "Get Domestic Scheduled Payments"
      description: "This API enables TPP to retrieve domestic scheduled payment. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticScheduledPaymentsDomesticScheduledPaymentId"
      parameters:
        - $ref: "#/components/parameters/DomesticScheduledPaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticScheduledPaymentsDomesticScheduledPaymentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-standing-order-consents:
    post:
      tags:
        - "Domestic Standing Order Consents"
      summary: "Create Domestic Standing Order Consents"
      description: "This API enables TPP to create domestic standing order consent. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "CreateDomesticStandingOrderConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticStandingOrderConsent5"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticStandingOrderConsent5"
        description: "Request body contains all the relevant fields to be sent in the request for /domestic-standing-order-consents"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201DomesticStandingOrderConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-standing-order-consents/{ConsentId}:
    get:
      tags:
        - "Domestic Standing Order Consents"
      summary: "Get Domestic Standing Order Consents"
      description: "This API enables TPP to retrieve domestic standing order consent. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticStandingOrderConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticStandingOrderConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /domestic-standing-orders:
    post:
      tags:
        - "Domestic Standing Orders"
      summary: "Create Domestic Standing Orders"
      description: "This API enables TPP to create domestic standing order. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "CreateDomesticStandingOrders"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticStandingOrder3"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteDomesticStandingOrder3"
        description: "Request body contains all the relevant fields to be sent in the request for /domestic-standing-orders"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201DomesticStandingOrdersCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /domestic-standing-orders/{DomesticStandingOrderId}:
    get:
      tags:
        - "Domestic Standing Orders"
      summary: "Get Domestic Standing Orders"
      description: "This API enables TPP to retrieve domestic standing order. Supported product types are: Business Current Account, Deposit Account (UK only)."
      operationId: "GetDomesticStandingOrdersDomesticStandingOrderId"
      parameters:
        - $ref: "#/components/parameters/DomesticStandingOrderId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200DomesticStandingOrdersDomesticStandingOrderIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-payment-consents:
    post:
      tags:
        - "International Payment Consents"
      summary: "Create International Payment Consents"
      description: "This API enables TPP to create international payment consent. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "CreateInternationalPaymentConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalConsent5"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalConsent5"
        description: "Request body contains all the relevant fields to be sent in the request for  /international-payment-consents "
        required: true
      responses:
        201:
          $ref: "#/components/responses/201InternationalPaymentConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-payment-consents/{ConsentId}:
    get:
      tags:
        - "International Payment Consents"
      summary: "Get International Payment Consents"
      description: "This API enables TPP to retrieve international payment consent. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalPaymentConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalPaymentConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-payment-consents/{ConsentId}/funds-confirmation:
    get:
      tags:
        - "International Payment Consents"
      summary: "Get International Payment Consents Funds Confirmation"
      description: "This API enables TPP to retrieve international payment consent funds confirmation. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalPaymentConsentsConsentIdFundsConfirmation"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalPaymentConsentsConsentIdFundsConfirmationRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /international-payments:
    post:
      tags:
        - "International Payments"
      summary: "Create International Payments"
      description: "This API enables TPP to create international payment. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "CreateInternationalPayments"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteInternational3"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteInternational3"
        description: "Request body contains all the relevant fields to be sent in the request for /international-payments"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201InternationalPaymentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /international-payments/{InternationalPaymentId}:
    get:
      tags:
        - "International Payments"
      summary: "Get International Payments"
      description: "This API enables TPP to retrieve international payment. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalPaymentsInternationalPaymentId"
      parameters:
        - $ref: "#/components/parameters/InternationalPaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalPaymentsInternationalPaymentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-scheduled-payment-consents:
    post:
      tags:
        - "International Scheduled Payment Consents"
      summary: "Create International Scheduled Payment Consents"
      description: "This API enables TPP to create a scheduled payment consent. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "CreateInternationalScheduledPaymentConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalScheduledConsent5"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalScheduledConsent5"
        description: "Request body contains all the relevant fields to be sent in the request for /international-scheduled-payment-consents "
        required: true
      responses:
        201:
          $ref: "#/components/responses/201InternationalScheduledPaymentConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-scheduled-payment-consents/{ConsentId}:
    get:
      tags:
        - "International Scheduled Payment Consents"
      summary: "Get International Scheduled Payment Consents"
      description: "This API enables TPP to retrieve international scheduled payment consent. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalScheduledPaymentConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalScheduledPaymentConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-scheduled-payment-consents/{ConsentId}/funds-confirmation:
    get:
      tags:
        - "International Scheduled Payment Consents"
      summary: "Get International Scheduled Payment Consents Funds Confirmation"
      description: "This API enables TPP to retrieve international scheduled payment consent funds confirmation. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalScheduledPaymentConsentsConsentIdFundsConfirmation"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalScheduledPaymentConsentsConsentIdFundsConfirmationRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /international-scheduled-payments:
    post:
      tags:
        - "International Scheduled Payments"
      summary: "Create International Scheduled Payments"
      description: "This API enables TPP to create international scheduled payment. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "CreateInternationalScheduledPayments"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalScheduled3"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalScheduled3"
        description: "Request body contains all the relevant fields to be sent in the request for/international-scheduled-payments"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201InternationalScheduledPaymentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /international-scheduled-payments/{InternationalScheduledPaymentId}:
    get:
      tags:
        - "International Scheduled Payments"
      summary: "Get International Scheduled Payments"
      description: "This API enables TPP to retrieve international scheduled payment. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalScheduledPaymentsInternationalScheduledPaymentId"
      parameters:
        - $ref: "#/components/parameters/InternationalScheduledPaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalScheduledPaymentsInternationalScheduledPaymentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-standing-order-consents:
    post:
      tags:
        - "International Standing Order Consents"
      summary: "Create International Standing Order Consents"
      description: "This API enables TPP to create international standing order consent. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "CreateInternationalStandingOrderConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalStandingOrderConsent6"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalStandingOrderConsent6"
        description: "Request body contains all the relevant fields to be sent in the request for /international-standing-order-consents"
        required: true
      responses:
        201:
          $ref: "#/components/responses/201InternationalStandingOrderConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-standing-order-consents/{ConsentId}:
    get:
      tags:
        - "International Standing Order Consents"
      summary: "Get International Standing Order Consents"
      description: "This API enables TPP to retrieve international standing order consent. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalStandingOrderConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalStandingOrderConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /international-standing-orders:
    post:
      tags:
        - "International Standing Orders"
      summary: "Create International Standing Orders"
      description: "This API enables TPP to create international standing order. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "CreateInternationalStandingOrders"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalStandingOrder4"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteInternationalStandingOrder4"
        description: "Request body contains all the relevant fields to be sent in the request for /international-standing-orders "
        required: true
      responses:
        201:
          $ref: "#/components/responses/201InternationalStandingOrdersCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /international-standing-orders/{InternationalStandingOrderPaymentId}:
    get:
      tags:
        - "International Standing Orders"
      summary: "Get International Standing Orders"
      description: "This API enables TPP to retrieve international standing order. Supported product types:  Business Current Account, Foreign Current Account."
      operationId: "GetInternationalStandingOrdersInternationalStandingOrderPaymentId"
      parameters:
        - $ref: "#/components/parameters/InternationalStandingOrderPaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200InternationalStandingOrdersInternationalStandingOrderPaymentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /file-payment-consents:
    post:
      tags:
        - "File Payment Consents"
      summary: "Create File Payment Consents"
      description: This API enables TPP to create a file payment consent. Supported product types are Business Current Account and deposit account.
      operationId: "CreateFilePaymentConsents"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteFileConsent3"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteFileConsent3"
        description: "Request body contains all the relevant fields to be sent in the request for /file-payment-consents "
        required: true
      responses:
        201:
          $ref: "#/components/responses/201FilePaymentConsentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /file-payment-consents/{ConsentId}:
    get:
      tags:
        - "File Payment Consents"
      summary: "Get File Payment Consents"
      description: This API enables TPP to retrieve file payment consent. Supported product types are Business Current Account and deposit account.
      operationId: "GetFilePaymentConsentsConsentId"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200FilePaymentConsentsConsentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /file-payment-consents/{ConsentId}/file:
    post:
      tags:
        - "File Payment Consents"
      summary: "Upload File Payment Consents"
      description: This API enables TPP to create a file payment consent. Supported product types are Business Current Account and deposit account.
      operationId: "CreateFilePaymentConsentsConsentIdFile"
      parameters:
        - $ref: "#/components/parameters/ConsentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          text/xml:
            schema:
              $ref: "#/components/schemas/File"
        description: "Request body contains all the relevant fields to be sent in the request for  /file-payment-consents/{ConsentId}/file . For the best experience using the File Payment endpoint we advise you keep the information in your metadata and the File consistent – this will ensure the best chances of a successful journey. The file must contain a reference for each individual transaction. If this is not the case the request will be rejected. For BACS this file only supports a single debit of the total of all payments to the customer’s selected debit account."
        required: true
      responses:
        200:
          $ref: "#/components/responses/200FilePaymentConsentsConsentIdFileCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /file-payments:
    post:
      tags:
        - "File Payments"
      summary: "Create File Payments"
      description: This API enables TPP to create a file payment. Supported product types are Business Current Account and deposit account.
      operationId: "CreateFilePayments"
      parameters:
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization2"
        - $ref: "#/components/parameters/x-idempotency-key"
        - $ref: "#/components/parameters/x-jws-signature"
        - $ref: "#/components/parameters/x-customer-user-agent"
      requestBody:
        content:
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBWriteFile2"
          application/json:
            schema:
              $ref: "#/components/schemas/OBWriteFile2"
        description: "Request body contains all the relevant fields to be sent in the request for /file-payments . For the best experience using the File Payment endpoint we advise you keep the information in your metadata and the File consistent – this will ensure the best chances of a successful journey. The file must contain a reference for each individual transaction. If this is not the case the request will be rejected. For BACS this file only supports a single debit of the total of all payments to the customer’s selected debit account."
        required: true
      responses:
        201:
          $ref: "#/components/responses/201FilePaymentsCreated"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        415:
          $ref: "#/components/responses/415Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - PSUOAuth2Security:
            - "payments"
  /file-payments/{FilePaymentId}:
    get:
      tags:
        - "File Payments"
      summary: "Get File Payments"
      description: This API enables TPP to retrieve file payment. Supported product types are Business Current Account and deposit account.
      operationId: "GetFilePaymentsFilePaymentId"
      parameters:
        - $ref: "#/components/parameters/FilePaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200FilePaymentsFilePaymentIdRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
  /file-payments/{FilePaymentId}/payment-details:
    get:
      tags:
        - "File Payments"
      summary: "Get File Payment Details"
      description: This API enables TPP to retrieve file payment details. Supported product types are Business Current Account and deposit account.
      operationId: "GetFilePaymentsFilePaymentIdPaymentDetails"
      parameters:
        - $ref: "#/components/parameters/FilePaymentId"
        - $ref: "#/components/parameters/x-fapi-auth-date"
        - $ref: "#/components/parameters/x-fapi-customer-ip-address"
        - $ref: "#/components/parameters/x-fapi-interaction-id"
        - $ref: "#/components/parameters/Authorization1"
        - $ref: "#/components/parameters/x-customer-user-agent"
      responses:
        200:
          $ref: "#/components/responses/200FilePaymentsFilePaymentIdPaymentDetailsRead"
        400:
          $ref: "#/components/responses/400Error"
        401:
          $ref: "#/components/responses/401Error"
        403:
          $ref: "#/components/responses/403Error"
        404:
          $ref: "#/components/responses/404Error"
        405:
          $ref: "#/components/responses/405Error"
        406:
          $ref: "#/components/responses/406Error"
        429:
          $ref: "#/components/responses/429Error"
        500:
          $ref: "#/components/responses/500Error"
      security:
        - BearerAuth: []
        - TPPOAuth2Security:
            - "payments"
servers:
  - url: "https://sandbox.ob.hsbcnet.com/mock/ce/obie/open-banking/v3.1/pisp"
    description: Sandbox Base URL
components:
  parameters:
    ConsentId:
      name: "ConsentId"
      in: "path"
      description: "ConsentId"
      example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
      required: true
      schema:
        type: "string"
    DomesticPaymentId:
      name: "DomesticPaymentId"
      in: "path"
      description: "DomesticPaymentId"
      example: "38644f84-88fd-493c-9723-79a31e90752f"
      required: true
      schema:
        type: "string"
    DomesticScheduledPaymentId:
      name: "DomesticScheduledPaymentId"
      in: "path"
      description: "DomesticScheduledPaymentId"
      required: true
      example: "su94r6u73yran1pvvxyph039dnbbitol448p"
      schema:
        type: "string"
    DomesticStandingOrderId:
      name: "DomesticStandingOrderId"
      in: "path"
      description: "DomesticStandingOrderId"
      example: "hzjb3uzobxjtehhomqszoalb58ll6wj7qldu"
      required: true
      schema:
        type: "string"
    FilePaymentId:
      name: "FilePaymentId"
      in: "path"
      description: "FilePaymentId"
      required: true
      example: "fb46178f-f66c-4cc8-af26-6e2454c0bb3c"
      schema:
        type: "string"
    InternationalPaymentId:
      name: "InternationalPaymentId"
      in: "path"
      description: "InternationalPaymentId"
      required: true
      example: "ocoyz4fvfj8908xzv8johsw7zlbopqrfbimo"
      schema:
        type: "string"
    InternationalScheduledPaymentId:
      name: "InternationalScheduledPaymentId"
      in: "path"
      description: "InternationalScheduledPaymentId"
      required: true
      example: "vvl4vqq9k1dj7gu9wa8596oprqz40us0rek6"
      schema:
        type: "string"
    InternationalStandingOrderPaymentId:
      name: "InternationalStandingOrderPaymentId"
      in: "path"
      description: "InternationalStandingOrderPaymentId"
      required: true
      example: "73a93da4-920b-470f-94ad-5213cb262076"
      schema:
        type: "string"
    Authorization1:
      in: "header"
      name: "Authorization"
      required: true
      description: "An authorisation token which was obtained from an authorisation server using Client Credentials Grant (https://www.rfc-editor.org/rfc/rfc6749#section-4.4). The obtained token must be sent using 'Bearer' scheme (https://tools.ietf.org/html/rfc6750#section-2) for this request"
      schema:
        type: "string"
      example: "Bearer CGfo01Zr391wSkMCvPeiMytEQsw"
    Authorization2:
      in: "header"
      name: "Authorization"
      required: true
      description: "An authorisation token which was obtained from an authorisation server using Authorisation Code Grant (https://www.rfc-editor.org/rfc/rfc6749#section-4.1). The obtained token must be sent using 'Bearer' scheme (https://tools.ietf.org/html/rfc6750#section-2) for this request"
      example: "Bearer CGfo01Zr391wSkMCvPeiMytEQsw"
      schema:
        type: "string"
    x-customer-user-agent:
      in: "header"
      name: "x-customer-user-agent"
      description: "Indicates the user-agent that the PSU is using."
      example: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
      required: false
      schema:
        type: "string"
    x-fapi-customer-ip-address:
      in: "header"
      name: "x-fapi-customer-ip-address"
      required: false
      description: "The PSU's IP address if the PSU is currently logged in with the TPP."
      example: "12.201.45.125"
      schema:
        type: "string"
        pattern: ^((((25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}\s?)|(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\s?),?\s?)+$
    x-fapi-auth-date:
      in: "header"
      name: "x-fapi-auth-date"
      required: false
      description: "The time when the PSU last logged in with the TPP. \nAll dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: \nSun, 10 Sep 2017 19:43:31 UTC"
      example: "Sun, 10 Sep 2017 19:43:31 UTC"
      schema:
        type: "string"
        pattern: "^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} (GMT|UTC)$"
    x-fapi-interaction-id:
      in: "header"
      name: "x-fapi-interaction-id"
      required: false
      description: "An RFC4122 UID used as a correlation id."
      example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
      schema:
        type: "string"
    x-idempotency-key:
      name: "x-idempotency-key"
      in: "header"
      description: "Every request will be processed only once per x-idempotency-key.  The\nIdempotency Key will be valid for 24 hours.\n"
      example: "igxlwFGgIk015ImMlH4d"
      required: true
      schema:
        type: "string"
        maxLength: 40
        pattern: "^(?!\\s)(.*)(\\S)$"
    x-jws-signature:
      in: "header"
      name: "x-jws-signature"
      required: true
      description: "A detached JWS signature of the body of the payload."
      example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      schema:
        type: "string"
  responses:
    201DomesticPaymentConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticConsentResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticConsentResponse5"
    200DomesticPaymentConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticConsentResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticConsentResponse5"
    200DomesticPaymentConsentsConsentIdFundsConfirmationRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFundsConfirmationResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFundsConfirmationResponse1"
    201DomesticPaymentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticResponse5"
    200DomesticPaymentsDomesticPaymentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticResponse5"
    201DomesticScheduledPaymentConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledConsentResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledConsentResponse5"
    200DomesticScheduledPaymentConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledConsentResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledConsentResponse5"
    201DomesticScheduledPaymentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledResponse5"
    200DomesticScheduledPaymentsDomesticScheduledPaymentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticScheduledResponse5"
    201DomesticStandingOrderConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderConsentResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderConsentResponse6"
    200DomesticStandingOrderConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderConsentResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderConsentResponse6"
    201DomesticStandingOrdersCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderResponse6"
    200DomesticStandingOrdersDomesticStandingOrderIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteDomesticStandingOrderResponse6"
    201InternationalPaymentConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalConsentResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalConsentResponse6"
    200InternationalPaymentConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalConsentResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalConsentResponse6"
    200InternationalPaymentConsentsConsentIdFundsConfirmationRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFundsConfirmationResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFundsConfirmationResponse1"
    201InternationalPaymentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalResponse5"
    200InternationalPaymentsInternationalPaymentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalResponse5"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalResponse5"
    201InternationalScheduledPaymentConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledConsentResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledConsentResponse6"
    200InternationalScheduledPaymentConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledConsentResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledConsentResponse6"
    200InternationalScheduledPaymentConsentsConsentIdFundsConfirmationRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFundsConfirmationResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFundsConfirmationResponse1"
    201InternationalScheduledPaymentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledResponse6"
    200InternationalScheduledPaymentsInternationalScheduledPaymentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledResponse6"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalScheduledResponse6"
    201InternationalStandingOrderConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderConsentResponse7"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderConsentResponse7"
    200InternationalStandingOrderConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderConsentResponse7"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderConsentResponse7"
    201InternationalStandingOrdersCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderResponse7"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderResponse7"
    200InternationalStandingOrdersInternationalStandingOrderPaymentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderResponse7"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteInternationalStandingOrderResponse7"
    201FilePaymentConsentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFileConsentResponse4"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFileConsentResponse4"
    200FilePaymentConsentsConsentIdFileCreated:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
    200FilePaymentConsentsConsentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFileConsentResponse4"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFileConsentResponse4"
    201FilePaymentsCreated:
      description: "Created"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFileResponse3"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFileResponse3"
    200FilePaymentsFilePaymentIdRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWriteFileResponse3"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWriteFileResponse3"
    200FilePaymentsFilePaymentIdPaymentDetailsRead:
      description: "OK"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBWritePaymentDetailsResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBWritePaymentDetailsResponse1"
    400Error:
      description: "Bad request"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBErrorResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBErrorResponse1"
    401Error:
      description: "Unauthorized"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
    403Error:
      description: "Forbidden"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          required: true
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBErrorResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBErrorResponse1"
    404Error:
      description: "Not found"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          required: true
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          schema:
            type: "string"
    405Error:
      description: "Method Not Allowed"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          required: true
          schema:
            type: "string"
    406Error:
      description: "Not Acceptable"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          required: true
          schema:
            type: "string"
    415Error:
      description: "Unsupported Media Type"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          required: true
          schema:
            type: "string"
    429Error:
      description: "Too Many Requests"
      headers:
        Retry-After:
          description: "Number in seconds to wait"
          example: "2"
          schema:
            type: "integer"
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          required: true
          schema:
            type: "string"
    500Error:
      description: "Internal Server Error"
      headers:
        x-fapi-interaction-id:
          description: "An RFC4122 UID used as a correlation id."
          example: "f8273b70-d5c0-4ef7-b3ba-2b3400fe1956"
          required: true
          schema:
            type: "string"
        x-jws-signature:
          description: "Header containing a detached JWS signature of the body of the payload.\n"
          example: "eyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCI6MTY3MzMzNjQ0OSwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC90YW4iOiJkd3U5OTZ2dzIxOTFmLmNsb3VkZnJvbnQubmV0IiwiY3JpdCI6WyJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lhdCIsImh0dHA6XC9cL29wZW5iYW5raW5nLm9yZy51a1wvdGFuIiwiaHR0cDpcL1wvb3BlbmJhbmtpbmcub3JnLnVrXC9pc3MiXSwia2lkIjoiZXh0ZXJuYWxfMjAyMiIsInR5cCI6IkpPU0UiLCJodHRwOlwvXC9vcGVuYmFua2luZy5vcmcudWtcL2lzcyI6IkM9R0IsTD1Mb25kb24sTz1IU0JDIEdyb3VwIE1hbmFnZW1lbnQgU2VydmljZXMgTGltaXRlZCxPVT1PcGVuIEJhbmtpbmcgU2hhcmVkIFNlcnZpY2VzLENOPVByZXByb2QtUFNEMi1FeHRlcm5hbC1TaWduYXR1cmUuaHNiYy5jby51ayIsImFsZyI6IlBTMjU2In0..VKQA7mVLNwGPUpAngcvtyumGa9heFwrVSatjlnbnDBpeJnNH9JAo66IqyG0VKFlVE53K-RY47ka7h2ugAAjJnzkGhqxVmvI5K0UdIH7h1ctasTZzU9He6jI-HI5YIR0Mz7myVTDDiP0BHg22WyftzdudaXkgyRJNk8BEHpLWO4kWMuXX6AO6u0rjnsMf1lYuroAe18N2M5XTbWJ0CbJvQfNL_OgPbKpAhzF-tuNoN_9qnYXa2oP-K2GbaW6Chmu4DKIcLX5vswAmXbQuIRfeckou3rk4-VDAmeA1Izm-P1pYsVFAjOVHK1sYHnwbQBY8GMutYsCOn5ZRCtMy1C_IjA"
          required: true
          schema:
            type: "string"
      content:
        application/json; charset=utf-8:
          schema:
            $ref: "#/components/schemas/OBErrorResponse1"
        application/json:
          schema:
            $ref: "#/components/schemas/OBErrorResponse1"
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
    TPPOAuth2Security:
      type: "oauth2"
      description: "TPP client credential authorisation flow with the ASPSP. To be used by TPP to obtain a token. Check the well-known configuration endpoint, the 'token_endpoint' property."
      flows:
        clientCredentials:
          tokenUrl: "/obie/open-banking/v1.1/oauth2/token"
          scopes:
            payments: "Generic payment scope"
    PSUOAuth2Security:
      type: "oauth2"
      description: "OAuth flow, it is required when the PSU needs to perform SCA with the ASPSP when a TPP wants to access an ASPSP resource owned by the PSU. To be used by TPP to redirect the PSU in order to start consent authorization journey. Check the well-known configuration endpoint, the 'authorization_endpoint' and 'token_endpoint' property."
      flows:
        authorizationCode:
          authorizationUrl: "/obie/open-banking/v1.1/oauth2/authorize"
          tokenUrl: "/obie/open-banking/v1.1/oauth2/token"
          scopes:
            payments: "Generic payment scope"
  schemas:
    ActiveOrHistoricCurrencyCodeDomestic:
      description: "A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 \"Codes for the representation of currencies and funds\". Must be equal to debit account currency"
      type: "string"
      pattern: "^[A-Z]{3,3}$"
      example: "GBP"
    ActiveOrHistoricCurrencyCode:
      description: "A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 \"Codes for the representation of currencies and funds\"."
      type: "string"
      pattern: "^[A-Z]{3,3}$"
      example: "GBP"
    BuildingNumber:
      description: "Number that identifies the position of a building on a street."
      type: "string"
      minLength: 1
      maxLength: 16
      example: "45"
    CountryCode:
      description: "Nation with its own government."
      type: "string"
      pattern: "^[A-Z]{2,2}$"
      example: "PL"
    CountrySubDivision:
      description: "Identifies a subdivision of a country such as state, region, county."
      type: "string"
      minLength: 1
      maxLength: 35
      example: "PL01"
    Department:
      description: "Identification of a division of a large organisation or building."
      type: "string"
      minLength: 1
      maxLength: 70
      example: "Payments"
    File:
      type: "object"
      additionalProperties: false
      properties: { }
    ISODateTime:
      description: "All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
      type: "string"
      format: "date-time"
    Identification_0:
      description: "Identification assigned by an institution to identify an account. This identification is known by the account owner. May be optionally provided as a valid IBAN, BBAN, SortCodeAccountNumber having character length less than or equal to 35."
      type: "string"
      minLength: 1
      maxLength: 35
      example: "40180022280418587"
    Identification_0DomesticPaymentCreditorAccountIdentification:
      description: "Identification assigned by an institution to identify an account. This identification is known by the account owner. Must be provided in SWIFT character set having character length less than or equal to 34.
              (1) Debtor and Creditor account locations should be the same and should be amongst the UK and EU countries.
              (2) If the CreditorAccount/SchemeName is mentioned as UK.OBIE.SortCodeAccountNumber, then this CreditorAccount/Identificationmust be of numeric and of length 14 (comprising first 6 digits as Sort Code, and last 8 digits as Account number)
              (3) If you wish to pay Priority Payment to a “Czech Republic” account, then CreditorAccount/Identification must be a valid Czech Republic IBAN or BBAN
              (4) If you wish to pay Priority Payment to a “Poland” account, then this CreditorAccount/Identification must be a valid Poland IBAN or BBAN"
      type: "string"
      minLength: 1
      maxLength: 34
      example: "40180022280418587"
    Identification_1:
      description: "Unique and unambiguous identification of a financial institution or a branch of a financial institution."
      type: "string"
      minLength: 1
      maxLength: 35
    Links:
      type: "object"
      additionalProperties: false
      description: "Links relevant to the payload"
      properties:
        Self:
          type: "string"
          format: "uri"
          description: "A link to the same resource used for the current request"
          example: "https://nginx-fulfilment-iceberg-nlb-b68ebddd38286fff.elb.eu-west-1.amazonaws.com/obie/open-banking/v3.1/pisp/domestic-payments/pmfz4jkavb1tupk6mwjwtd4mssa3bu6eyaq0"
      required:
        - "Self"
    Name:
      description: "Name by which an agent is known and which is usually used to identify that agent."
      type: "string"
      minLength: 1
      maxLength: 140
    OBActiveCurrencyAndAmount_SimpleTypeDomestic:
      description: "A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217. Must not be more than 19 characters including maximum 3 decimal places. Also, it must not be less than 0.01."
      type: "string"
      pattern: "^\\d{1,19}$|^\\d{1,15}\\.\\d{1,3}$"
      example: "0.05"
    OBActiveCurrencyAndAmount_SimpleType:
      description: "A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217."
      type: "string"
      pattern: "^\\d{1,13}$|^\\d{1,13}\\.\\d{1,5}$"
      example: "0.05"
    OBActiveOrHistoricCurrencyAndAmount:
      type: "object"
      additionalProperties: false
      required:
        - "Amount"
        - "Currency"
      description: "Amount of money associated with the charge type."
      properties:
        Amount:
          $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
        Currency:
          $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
    OBAddressTypeCode:
      description: "Identifies the nature of the postal address."
      type: "string"
      enum:
        - "Business"
        - "Correspondence"
        - "DeliveryTo"
        - "MailTo"
        - "POBox"
        - "Postal"
        - "Residential"
        - "Statement"
    OBChargeBearerType1Code:
      description: "Specifies which party/parties will bear the charges associated with the processing of the payment transaction."
      type: "string"
      enum:
        - "BorneByCreditor"
        - "BorneByDebtor"
        - "FollowingServiceLevel"
        - "Shared"
    OBCashAccountCreditor3:
      type: "object"
      properties:
        SchemeName:
          $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
        Identification:
          type: "string"
          description: "Identification assigned by an institution to identify an account. This identification is known by the account owner."
          maxLength: 256
        Name:
          type: "string"
          description: "Name of the account, as assigned by the account servicing institution.  Usage The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account."
          example: "IB1620339919"
        SecondaryIdentification:
          type: "string"
          description: "Secondary identification of the account, as assigned by the account servicing institution. This can be used by building societies to additionally identify accounts with a roll number (in addition to a sort code and account number combination)."
          maxLength: 34
          example: "xUO61DyFKvdxX5HxZ42G"
      required:
        - "SchemeName"
        - "Identification"
        - "Name"
    OBCashAccountDebtor4:
      type: "object"
      description: "^ Only incuded in the response if `Data. ReadRefundAccount` is set to `Yes` in the consent."
      properties:
        SchemeName:
          $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
        Identification:
          $ref: "#/components/schemas/Identification_0"
        Name:
          type: "string"
          description: "^ Name of the account, as assigned by the account servicing institution.  Usage The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account."
          example: "IB1620339919"
        SecondaryIdentification:
          type: "string"
          description: "^ This is secondary identification of the account, as assigned by the account servicing institution.  This can be used by building societies to additionally identify accounts with a roll number (in addition to a sort code and account number combination) | Max34Text"
          example: "xUO61DyFKvdxX5HxZ42G"
    OBError1:
      type: "object"
      additionalProperties: false
      properties:
        ErrorCode:
          description: "Low level textual error code, e.g., UK.OBIE.Field.Missing"
          type: "string"
          example: "UK.OBIE.Field.InvalidDate"
          enum:
            - "UK.OBIE.Field.Expected"
            - "UK.OBIE.Field.Invalid"
            - "UK.OBIE.Field.InvalidDate"
            - "UK.OBIE.Field.Missing"
            - "UK.OBIE.Field.Unexpected"
            - "UK.OBIE.Header.Invalid"
            - "UK.OBIE.Header.Missing"
            - "UK.OBIE.Reauthenticate"
            - "UK.OBIE.Resource.ConsentMismatch"
            - "UK.OBIE.Resource.InvalidConsentStatus"
            - "UK.OBIE.Resource.InvalidFormat"
            - "UK.OBIE.Resource.NotFound"
            - "UK.OBIE.Rules.AfterCutOffDateTime"
            - "UK.OBIE.Rules.DuplicateReference"
            - "UK.OBIE.Signature.Invalid"
            - "UK.OBIE.Signature.InvalidClaim"
            - "UK.OBIE.Signature.Malformed"
            - "UK.OBIE.Signature.Missing"
            - "UK.OBIE.Signature.MissingClaim"
            - "UK.OBIE.Signature.Unexpected"
            - "UK.OBIE.UnexpectedError"
            - "UK.OBIE.Unsupported.AccountIdentifier"
            - "UK.OBIE.Unsupported.AccountSecondaryIdentifier"
            - "UK.OBIE.Unsupported.Currency"
            - "UK.OBIE.Unsupported.Frequency"
            - "UK.OBIE.Unsupported.LocalInstrument"
            - "UK.OBIE.Unsupported.Scheme"
        Message:
          description: "A description of the error that occurred. e.g., 'A mandatory field isn't supplied' or 'RequestedExecutionDateTime must be in future'\nOBIE doesn't standardise this field"
          type: "string"
          minLength: 1
          maxLength: 500
          example: "Provided expiration date is not valid"
        Path:
          description: "Recommended but optional reference to the JSON Path of the field with error, e.g., Data.Initiation.InstructedAmount.Currency"
          type: "string"
          minLength: 1
          maxLength: 500
          example: "Data.ExpirationDateTime"
        Url:
          description: "URL to help remediate the problem, or provide more information, or to API Reference, or help etc"
          type: "string"
      required:
        - "ErrorCode"
        - "Message"
      minProperties: 1
    OBErrorResponse1:
      description: "An array of detail error codes, and messages, and URLs to documentation to help remediation."
      type: "object"
      additionalProperties: false
      properties:
        Code:
          description: "High level textual error code, to help categorize the errors."
          type: "string"
          minLength: 1
          maxLength: 40
          example: "400"
        Id:
          description: "A unique reference for the error instance, for audit purposes, in case of unknown/unclassified errors."
          type: "string"
          minLength: 1
          maxLength: 40
          example: "c7cd8b64-50e8-48dd-9085-8981941abe0a"
        Message:
          description: "Brief Error message, e.g., 'There is something wrong with the request parameters provided'"
          type: "string"
          minLength: 1
          maxLength: 500
          example: "There is something wrong with the request parameters provided"
        Errors:
          items:
            $ref: "#/components/schemas/OBError1"
          type: "array"
          minItems: 1
      required:
        - "Code"
        - "Message"
        - "Errors"
    OBExternalAccountIdentification4Code:
      description: "Name of the identification scheme, in a coded form as published in an external list. May be optionally provided as per any of the below supported enumeration values only: 
                  - UK.OBIE.IBAN
                  - UK.OBIE.BBAN
                  - UK.OBIE.SortCodeAccountNumber"
      type: "string"
      example: "UK.OBIE.IBAN"
      enum:
        - "UK.OBIE.BBAN"
        - "UK.OBIE.IBAN"
        - "UK.OBIE.SortCodeAccountNumber"
    OBExternalDomesticSchemeNameCode:
      description: "Name of the identification scheme, in a coded form as published in an external list."
      type: "string"
      example: "UK.OBIE.IBAN"
      enum:
        - "UK.OBIE.BBAN"
        - "UK.OBIE.IBAN"
    OBExternalAccountIdentification4CodeDomesticPaymentCreditor:
      description: "Name of the identification scheme, in a coded form as published in an external list. Must be provided as per any of the below supported enumeration values only: 
                  - UK.OBIE.IBAN
                  - UK.OBIE.BBAN
                  - UK.OBIE.SortCodeAccountNumber (for UK payments)
                  If you wish to pay Faster Payment (ACH Credits)/ BACS Direct Credits (ACH Credits)/ Faster Payment (Priority Payment) from a “Great Britain” account, then CreditorAccount/SchemeName must be UK.OBIE.SortCodeAccountNumber."
      type: "string"
      example: "UK.OBIE.IBAN"
      enum:
        - "UK.OBIE.BBAN"
        - "UK.OBIE.IBAN"
        - "UK.OBIE.SortCodeAccountNumber"
    OBExternalFinancialInstitutionIdentification4Code:
      description: "Name of the identification scheme, in a coded form as published in an external list."
      type: "string"
      example: "UK.OBIE.BICFI"
      enum:
        - "UK.OBIE.BICFI"
    OBExternalExtendedAccountType1Code:
      description: "Specifies the extended type of account."
      type: "string"
      enum:
        - Business
        - BusinessSavingsAccount
        - Charity
        - Collection
        - Corporate
        - Ewallet
        - Government
        - Investment
        - ISA
        - JointPersonal
        - Pension
        - Personal
        - PersonalSavingsAccount
        - Premier
        - Wealth
    OBExternalLocalInstrument1Code:
      description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                  - UK.OBIE.CHAPS (for UK payments)
                  - UK.OBIE.FPS (for UK payments)
                  - UK.OBIE.SWIFT (for non-UK payments)
                  - UK.OBIE.Target2 (for all PSD2 payments)
                  - UK.OBIE.Euro1 (for all PSD2 payments)
                  - UK.OBIE.BACS (for UK ACH credits payments)
                  Note: UK.OBIE.BalanceTransfer, UK.OBIE.MoneyTransfer, UK.OBIE.Paym & UK.OBIE.Link is not supported currently. UK.OBIE.SEPACreditTransfer,UK.OBIE.SEPAInstantCreditTransfer is not supported via Domestic endpoint payment initiation."
      type: "string"
      example: "UK.OBIE.FPS"
      enum:
        - "UK.OBIE.BACS"
        - "UK.OBIE.CHAPS"
        - "UK.OBIE.Euro1"
        - "UK.OBIE.FPS"
        - "UK.OBIE.SWIFT"
        - "UK.OBIE.Target2"
    OBExternalPaymentChargeType1Code:
      description: "Charge type, in a coded form."
      type: "string"
      enum:
        - "PSD2.WCCharges"
      example: "PSD2.WCCharges"
    OBPostalAddress6:
      type: "object"
      additionalProperties: false
      description: "Information that locates and identifies a specific address, as defined by postal services."
      properties:
        AddressType:
          $ref: "#/components/schemas/OBAddressTypeCode"
        Department:
          $ref: "#/components/schemas/Department"
        SubDepartment:
          $ref: "#/components/schemas/SubDepartment"
        StreetName:
          $ref: "#/components/schemas/StreetName"
        BuildingNumber:
          $ref: "#/components/schemas/BuildingNumber"
        PostCode:
          $ref: "#/components/schemas/PostCode"
        TownName:
          $ref: "#/components/schemas/TownName"
        CountrySubDivision:
          $ref: "#/components/schemas/CountrySubDivision"
        Country:
          $ref: "#/components/schemas/CountryCode"
        AddressLine:
          type: "array"
          items:
            description: "Information that locates and identifies a specific address, as defined by postal services, presented in free format text."
            type: "string"
            minLength: 1
            maxLength: 70
            example: "Floor 1"
          minItems: 0
          maxItems: 7
    OBPostalAddress6Domestic:
      type: "object"
      additionalProperties: false
      description: "Information that locates and identifies a specific address, as defined by postal services."
      properties:
        AddressType:
          $ref: "#/components/schemas/OBAddressTypeCode"
        Department:
          $ref: "#/components/schemas/Department"
        SubDepartment:
          $ref: "#/components/schemas/SubDepartment"
        StreetName:
          $ref: "#/components/schemas/StreetName"
        BuildingNumber:
          $ref: "#/components/schemas/BuildingNumber"
        PostCode:
          $ref: "#/components/schemas/PostCode"
        TownName:
          $ref: "#/components/schemas/TownName"
        CountrySubDivision:
          $ref: "#/components/schemas/CountrySubDivision"
        Country:
          $ref: "#/components/schemas/CountryCode"
        AddressLine:
          type: "array"
          items:
            description: "Information that locates and identifies a specific address, as defined by postal services, presented in free format text. 
                    (1) If creditorPostalAddress is provided, it must be in SWIFT character set having character length less than or equal to 35 in atmost 3 array fields of AddressLine [0-2].
                    (2) If you wish to pay using “Inter-Account Transfer”, then this field must not be filled.
                    (3) If you wish to pay Faster Payment (ACH Credits)/ BACS Direct Credits (ACH Credits) from a “Great Britain” account, then CreditorPostalAddress/AddressLine must not be provided"
            type: "string"
            minLength: 1
            maxLength: 70
            example: "Floor 1"
          minItems: 0
          maxItems: 7
    OBRisk1Domestic:
      type: object
      additionalProperties: false
      properties:
        ContractPresentInidicator:
          type: boolean
          description: Indicates if Payee has a contractual relationship with the PISP.
        BeneficiaryPrepopulatedIndicator:
          type: boolean
          description: Indicates if PISP has immutably prepopulated payment details in for the PSU.
        PaymentPurposeCode:
          type: string
          minLength: 3
          maxLength: 4
          example: "SALA"
          description: Category code, related to the type of services or goods that corresponds to the underlying purpose of the payment that conforms to Recommended UK Purpose Code in ISO 20022 Payment Messaging List
        BeneficiaryAccountType:
          $ref: '#/components/schemas/OBExternalExtendedAccountType1Code'
      description: |-
        The Risk section is sent by the initiating party to the ASPSP.
        It is used to specify additional details for risk scoring for Payments.
    OBRisk1:
      type: object
      additionalProperties: false
      properties:
        PaymentContextCode:
          type: string
          description: |
            Specifies the payment context
            * BillPayment - @deprecated
            * EcommerceGoods - @deprecated
            * EcommerceServices - @deprecated
            * Other - @deprecated
            * PartyToParty - @deprecated
          enum:
            - BillingGoodsAndServicesInAdvance
            - BillingGoodsAndServicesInArrears
            - PispPayee
            - EcommerceMerchantInitiatedPayment
            - FaceToFacePointOfSale
            - TransferToSelf
            - TransferToThirdParty
            # Deprecated values
            - BillPayment
            - EcommerceGoods
            - EcommerceServices
            - Other
            - PartyToParty
        MerchantCategoryCode:
          type: string
          minLength: 3
          maxLength: 4
          example: "2549"
          description: Category code conform to ISO 18245, related to the type of
            services or goods the merchant provides for the transaction.
        MerchantCustomerIdentification:
          type: string
          minLength: 1
          maxLength: 70
          example: "k5QOq5h3LSbuUoKNcZd7"
          description: The unique customer identifier of the PSU with the merchant.
        ContractPresentInidicator:
          type: boolean
          description: Indicates if Payee has a contractual relationship with the PISP.
        BeneficiaryPrepopulatedIndicator:
          type: boolean
          description: Indicates if PISP has immutably prepopulated payment details in for the PSU.
        PaymentPurposeCode:
          type: string
          minLength: 3
          maxLength: 4
          example: "SALA"
          description: Category code, related to the type of services or goods that corresponds to the underlying purpose of the payment that conforms to Recommended UK Purpose Code in ISO 20022 Payment Messaging List
        BeneficiaryAccountType:
          $ref: '#/components/schemas/OBExternalExtendedAccountType1Code'
        DeliveryAddress:
          required:
            - Country
            - TownName
          type: object
          properties:
            AddressLine:
              maxItems: 2
              minItems: 0
              example: "Floor 1"
              type: array
              items:
                type: string
                minLength: 1
                maxLength: 70
                description: |-
                  Information that locates and identifies a specific address,
                  as defined by postal services, that is presented in free format
                  text.
            StreetName:
              $ref: '#/components/schemas/StreetName'
            BuildingNumber:
              $ref: '#/components/schemas/BuildingNumber'
            PostCode:
              $ref: '#/components/schemas/PostCode'
            TownName:
              $ref: '#/components/schemas/TownName'
            CountrySubDivision:
              $ref: '#/components/schemas/CountrySubDivision'
            Country:
              $ref: '#/components/schemas/CountryCode'
          description: |-
            Information that locates and identifies a specific address,
            as defined by postal services or in free format text.
      description: |-
        The Risk section is sent by the initiating party to the ASPSP.
        It is used to specify additional details for risk scoring for Payments.
    OBSCASupportData1:
      type: "object"
      properties:
        RequestedSCAExemptionType:
          type: "string"
          description: "This field allows a PISP to request specific SCA Exemption for a Payment Initiation"
          enum:
            - "BillPayment"
            - "ContactlessTravel"
            - "EcommerceGoods"
            - "EcommerceServices"
            - "Kiosk"
            - "Parking"
            - "PartyToParty"
        AppliedAuthenticationApproach:
          type: "string"
          maxLength: 40
          description: "Specifies a character string with a maximum length of 40 characters.\nUsage: This field indicates whether the PSU was subject to SCA performed by the TPP"
          enum:
            - "CA"
            - "SCA"
        ReferencePaymentOrderId:
          type: "string"
          maxLength: 40
          minLength: 1
          example: "0fdbdd11-3b48-4f16-8161-a4c19df1a51f"
          description: "If the payment is recurring, then this field is populated with the transaction identifier of the previous payment occurrence so that the ASPSP can verify that the PISP, amount and the payee are the same as the previous occurrence. The value here refers to the payment id e.g. DomesticPaymentId  "
      description: "Supporting Data provided by TPP, when requesting SCA Exemption."
    OBSupplementaryData1:
      type: "object"
      properties: { }
      additionalProperties: true
      description: "Additional information that can not be captured in the structured fields and/or any other specific block."
    OBWriteDomestic2:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleTypeDomestic"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCodeDomestic"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  example: "UK.OBIE.IBAN"
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "IB1620339919"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0DomesticPaymentCreditorAccountIdentification"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "IB1620339919"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6Domestic"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteDomesticConsent4:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Initiation"
          properties:
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
              example: "Yes"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  example: "0.05"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleTypeDomestic"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCodeDomestic"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "IB1620339919"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0DomesticPaymentCreditorAccountIdentification"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "IB1620339919"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6Domestic"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                  example: "2023-01-16T12:45:59+00:00"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteDomesticConsentResponse5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of consent resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "Consumed"
                - "Pending"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              type: "object"
              description: "^ Only incuded in the response if `Data. ReadRefundAccount` is set to `Yes` in the consent."
              properties:
                SchemeName:
                  description: "Name of the identification scheme, in a coded form as published in an external list."
                  type: "string"
                  example: "UK.OBIE.IBAN"
                  enum:
                    - "UK.OBIE.BBAN"
                    - "UK.OBIE.IBAN"
                    - "UK.OBIE.PAN"
                Identification:
                  $ref: "#/components/schemas/Identification_0"
                Name:
                  type: "string"
                  description: "^ Name of the account, as assigned by the account servicing institution.  Usage The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account."
                  example: "IB1620339919"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteDomesticResponse5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "DomesticPaymentId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            DomesticPaymentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the domestic payment resource."
              type: "string"
              minLength: 1
              maxLength: 40
              example: "pmfz4jkavb1tupk6mwjwtd4mssa3bu6eyaq0"
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the message was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of the payment information group.
              Additional status description:
              - `AcceptedCreditSettlementCompleted`: Payment request has been processed successfully (i.e. Debit and Credit have been posted successfully). Current balance reflects position after the Debit / Credit has taken place.
              - `AcceptedSettlementInProcess`: All preceding checks such as technical validation and customer profile were successful therefore the payment initiation has been accepted for execution. Debit and credit have not been posted. This will be further updated to: ‘AcceptedCreditSettlementCompleted’ or ‘Rejected’ based on a pay/no-pay decision. The terminal status can be accessed via the Get/DomesticPayment/Domestic PaymentId endpoint.
              - `Pending`: When the payment needs further authorisation from a second user (multi-auth).
              - `Rejected`: Payment request is rejected (no Debit and no Credit posted to the account)."
              type: "string"
              enum:
                - "AcceptedCreditSettlementCompleted"
                - "AcceptedSettlementCompleted"
                - "AcceptedSettlementInProcess"
                - "AcceptedWithoutPosting"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Refund:
              type: "object"
              additionalProperties: false
              required:
                - "Account"
              description: "Unambiguous identification of the refund account to which a refund will be made as a result of the transaction."
              properties:
                Account:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify an account."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list. May be optionally provided as per any of the below supported enumeration values only: 
                        - UK.OBIE.IBAN
                        - UK.OBIE.BBAN
                        - UK.OBIE.SortCodeAccountNumber
                        - UK.OBIE.PAN"
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              type: "object"
              description: "^ Only incuded in the response if `Data. ReadRefundAccount` is set to `Yes` in the consent."
              properties:
                SchemeName:
                  description: "Name of the identification scheme, in a coded form as published in an external list."
                  type: "string"
                  example: "UK.OBIE.IBAN"
                  enum:
                    - "UK.OBIE.BBAN"
                    - "UK.OBIE.IBAN"
                    - "UK.OBIE.PAN"
                Identification:
                  $ref: "#/components/schemas/Identification_0"
                Name:
                  type: "string"
                  description: "^ Name of the account, as assigned by the account servicing institution.  Usage The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account."
                  example: "IB1620339919"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteDomesticScheduled2:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              Note: UK.OBIE.BalanceTransfer, UK.OBIE.MoneyTransfer, UK.OBIE.Paym & UK.OBIE.Link is not supported currently. UK.OBIE.SEPACreditTransfer,UK.OBIE.SEPAInstantCreditTransfer is not supported via Domestic endpoint payment initiation."
                  type: "string"
                  example: "UK.OBIE.BACS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.Target2"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteDomesticScheduledConsent4:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Permission"
            - "Initiation"
          properties:
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              Note: UK.OBIE.BalanceTransfer, UK.OBIE.MoneyTransfer, UK.OBIE.Paym & UK.OBIE.Link is not supported currently. UK.OBIE.SEPACreditTransfer,UK.OBIE.SEPAInstantCreditTransfer is not supported via Domestic endpoint payment initiation."
                  type: "string"
                  example: "UK.OBIE.BACS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.Target2"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              example: "Single"
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteDomesticScheduledConsentResponse5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Permission"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of consent resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "Consumed"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the consent resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              Note: UK.OBIE.BalanceTransfer, UK.OBIE.MoneyTransfer, UK.OBIE.Paym & UK.OBIE.Link is not supported currently. UK.OBIE.SEPACreditTransfer,UK.OBIE.SEPAInstantCreditTransfer is not supported via Domestic endpoint payment initiation."
                  type: "string"
                  example: "UK.OBIE.BACS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.Target2"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteDomesticScheduledResponse5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "DomesticScheduledPaymentId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            DomesticScheduledPaymentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the domestic schedule payment resource."
              type: "string"
              minLength: 1
              maxLength: 40
              example: "su94r6u73yran1pvvxyph039dnbbitol448p"
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the message was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of the payment order resource."
              type: "string"
              enum:
                - "Cancelled"
                - "InitiationCompleted"
                - "InitiationFailed"
                - "InitiationPending"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Refund:
              type: "object"
              additionalProperties: false
              required:
                - "Account"
              description: "Unambiguous identification of the refund account to which a refund will be made as a result of the transaction."
              properties:
                Account:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify an account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled domestic payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              Note: UK.OBIE.BalanceTransfer, UK.OBIE.MoneyTransfer, UK.OBIE.Paym & UK.OBIE.Link is not supported currently. UK.OBIE.SEPACreditTransfer,UK.OBIE.SEPAInstantCreditTransfer is not supported via Domestic endpoint payment initiation."
                  type: "string"
                  example: "UK.OBIE.BACS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.Target2"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorPostalAddress:
                  $ref: "#/components/schemas/OBPostalAddress6"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteDomesticStandingOrder3:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "FirstPaymentAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a domestic standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 3
                  pattern: ^\d{1,3}$
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                  example: "2023-01-16T12:45:59+00:00"
                RecurringPaymentDateTime:
                  description: "The date on which the first recurring payment for a Standing Order schedule will be made. \nUsage: This must be populated only if the first recurring date is different to the first payment date.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                  example: "2023-01-16T12:45:59+00:00"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                  example: "2023-01-20T12:45:59+00:00"
                FirstPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the first Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                RecurringPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the recurring Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                FinalPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the final Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Provides the details to identify the debtor account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Identification assigned by an institution to identify an account. This identification is known by the account owner."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteDomesticStandingOrderConsent5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Permission"
            - "Initiation"
          properties:
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "FirstPaymentAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a domestic standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 3
                  pattern: ^\d{1,3}$
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                RecurringPaymentDateTime:
                  description: "The date on which the first recurring payment for a Standing Order schedule will be made. \nUsage: This must be populated only if the first recurring date is different to the first payment date.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FirstPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the first Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                RecurringPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the recurring Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                FinalPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the final Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Provides the details to identify the debtor account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Identification assigned by an institution to identify an account. This identification is known by the account owner."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteDomesticStandingOrderConsentResponse6:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Permission"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of consent resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "Consumed"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "FirstPaymentAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a domestic standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 3
                  pattern: ^\d{1,3}$
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                RecurringPaymentDateTime:
                  description: "The date on which the first recurring payment for a Standing Order schedule will be made. \nUsage: This must be populated only if the first recurring date is different to the first payment date.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FirstPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the first Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                RecurringPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the recurring Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                FinalPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the final Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Identification assigned by an institution to identify an account. This identification is known by the account owner."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteDomesticStandingOrderResponse6:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "DomesticStandingOrderId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            DomesticStandingOrderId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the domestic standing order resource."
              type: "string"
              minLength: 1
              maxLength: 40
              example: "hzjb3uzobxjtehhomqszoalb58ll6wj7qldu"
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of the payment order resource."
              type: "string"
              enum:
                - "Cancelled"
                - "InitiationCompleted"
                - "InitiationFailed"
                - "InitiationPending"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Refund:
              type: "object"
              additionalProperties: false
              required:
                - "Account"
              description: "Unambiguous identification of the refund account to which a refund will be made as a result of the transaction."
              properties:
                Account:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify an account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "FirstPaymentAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a domestic standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 3
                  pattern: ^\d{1,3}$
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                RecurringPaymentDateTime:
                  description: "The date on which the first recurring payment for a Standing Order schedule will be made. \nUsage: This must be populated only if the first recurring date is different to the first payment date.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FirstPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the first Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                RecurringPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the recurring Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                FinalPaymentAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "The amount of the final Standing Order"
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Identification assigned by an institution to identify an account. This identification is known by the account owner."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteFile2:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "FileType"
                - "FileHash"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds using a payment file."
              properties:
                FileType:
                  description: "Specifies the payment file type."
                  type: "string"
                  enum:
                    - "UK.OBIE.PaymentInitiation.3.1"
                    - "UK.OBIE.pain.001.001.08"
                FileHash:
                  description: "A base64 encoding of a SHA256 hash of the file to be uploaded."
                  type: "string"
                  minLength: 1
                  maxLength: 44
                FileReference:
                  description: "Reference for the file."
                  type: "string"
                  minLength: 1
                  maxLength: 40
                NumberOfTransactions:
                  description: "Number of individual transactions contained in the payment information group."
                  type: "string"
                  pattern: ^[0]?[1-9]{1}$|^[1]{1}[0-9]{1}$|^[2]{1}[0-5]{1}$
                  example: "15"
                ControlSum:
                  description: "Total of all individual amounts included in the group, irrespective of currencies."
                  type: "number"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
    OBWriteFileConsent3:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Initiation"
          properties:
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "FileType"
                - "FileHash"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds using a payment file."
              properties:
                FileType:
                  description: "Specifies the payment file type."
                  type: "string"
                  enum:
                    - "UK.OBIE.PaymentInitiation.3.1"
                    - "UK.OBIE.pain.001.001.08"
                FileHash:
                  description: "A base64 encoding of a SHA256 hash of the file to be uploaded."
                  type: "string"
                  minLength: 1
                  maxLength: 44
                FileReference:
                  description: "Reference for the file."
                  type: "string"
                  minLength: 1
                  maxLength: 40
                NumberOfTransactions:
                  description: "Number of individual transactions contained in the payment information group."
                  type: "string"
                  pattern: ^[0]?[1-9]{1}$|^[1]{1}[0-9]{1}$|^[2]{1}[0-5]{1}$
                  example: "15"
                ControlSum:
                  description: "Total of all individual amounts included in the group, irrespective of currencies."
                  type: "number"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
    OBWriteFileConsentResponse4:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of consent resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "AwaitingUpload"
                - "Consumed"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the consent resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
                  Currency:
                    $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "FileType"
                - "FileHash"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds using a payment file."
              properties:
                FileType:
                  description: "Specifies the payment file type."
                  type: "string"
                  enum:
                    - "UK.OBIE.pain.001.001.08"
                FileHash:
                  description: "A base64 encoding of a SHA256 hash of the file to be uploaded. FileType should be equal to UK.OBIE.pain.001.001.08 for DBB"
                  type: "string"
                  minLength: 1
                  maxLength: 44
                  example: "ckp1ekBgmw9N0vWfEVCIJstrQ7wZVT4fs7N78h5+n7s="
                FileReference:
                  description: "Reference for the file. For BACS: FileReference cannot be more than 18 characters, must be Alphanumeric (no special characters) and must match the reference (per the below mapping) in the File (Whilst it is possible for the PSU to add the reference when they are in the HSBC domain, it is recommended that it is provided by the TPP to ensure a seamless customer journey). For FPS: FileReference is optional."
                  type: "string"
                  minLength: 1
                  maxLength: 40
                NumberOfTransactions:
                  description: "Number of individual transactions contained in the payment information group. NumberOfTransactions should be between 1- 25. Maximum allowed Number of Transactions in a file is 25. If this number is 0 or it exceeds 25, the request will be rejected."
                  type: "string"
                  minLength: 1
                  maxLength: 25
                  example: "15"
                  pattern: ^[0]?[1-9]{1}$|^[1]{1}[0-9]{1}$|^[2]{1}[0-5]{1}$
                ControlSum:
                  description: "Total of all individual amounts included in the group, irrespective of currencies. Total of all individual amounts included in the File. We would reject any instructions where this does not match up to the sum of all the instructed amounts"
                  type: "number"
                  example: "0.25"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00. For BACS:The RequestedExecutionDateTime should be between Date of Request + 2 working days to Date of Request + 45 days. If the RequestedExecutionDateTime does not fall in that range or if it falls on a weekend or bank holiday or past dated, the request will be rejected.Whilst it is possible for the PSU to add the RequestedExecutionDate when they are in the HSBC domain, it is recommended that it is provided by the TPP (to ensure a seamless customer journey). For FPS:If RequestedExecutionDateTime is same as Date of Request then we will consider it as Immediate FPS. If RequestedExecutionDateTime is between Date of Request + 45 days (>Date of Request <= 45 days), then it will be considered as Future Dated FPS. If the RequestedExecutionDateTime does not fall in that range, or is not provided by the TPP, the request will be rejected."
                  type: "string"
                  format: "date-time"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction. DebtorAccount should be not be same as any of the creditorAccounts. SchemeName we currently support is UK.OBIE.SortCodeAccountNumber. DebtorAccount.identification should only be numeric and .MUST be 14 number long(6 digit Sort code and 8 digits account number)"
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "ACCNT"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteFileResponse3:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "FilePaymentId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            FilePaymentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the file payment resource."
              type: "string"
              minLength: 1
              maxLength: 40
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the message was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of the payment order resource."
              type: "string"
              enum:
                - "InitiationCompleted"
                - "InitiationFailed"
                - "InitiationPending"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "FileType"
                - "FileHash"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds using a payment file."
              properties:
                FileType:
                  description: "Specifies the payment file type."
                  type: "string"
                  enum:
                    - "UK.OBIE.PaymentInitiation.3.1"
                    - "UK.OBIE.pain.001.001.08"
                FileHash:
                  description: "A base64 encoding of a SHA256 hash of the file to be uploaded."
                  type: "string"
                  minLength: 1
                  maxLength: 44
                FileReference:
                  description: "Reference for the file."
                  type: "string"
                  minLength: 1
                  maxLength: 40
                NumberOfTransactions:
                  description: "Number of individual transactions contained in the payment information group."
                  type: "string"
                  pattern: ^[0]?[1-9]{1}$|^[1]{1}[0-9]{1}$|^[2]{1}[0-5]{1}$
                  example: "15"
                ControlSum:
                  description: "Total of all individual amounts included in the group, irrespective of currencies."
                  type: "number"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                LocalInstrument:
                  $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteFundsConfirmationResponse1:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          properties:
            FundsAvailableResult:
              type: "object"
              additionalProperties: false
              required:
                - "FundsAvailableDateTime"
                - "FundsAvailable"
              description: "Result of a funds availability check."
              properties:
                FundsAvailableDateTime:
                  description: "Date and time at which the funds availability check was generated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FundsAvailable:
                  description: "Flag to indicate the availability of funds given the Amount in the consent request."
                  type: "boolean"
            SupplementaryData:
              $ref: "#/components/schemas/OBSupplementaryData1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteInternational3:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.SEPACreditTransfer"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list"
                      type: "string"
                      enum:
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                        - "UK.OBIE.PAN"
                      example: "UK.OBIE.SortCodeAccountNumber"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteInternationalConsent5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Initiation"
          properties:
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.SEPACreditTransfer"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "JOHN Dough"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list"
                      type: "string"
                      enum:
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                        - "UK.OBIE.PAN"
                      example: "UK.OBIE.SortCodeAccountNumber"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "JOHN Dough"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteInternationalConsentResponse6:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of consent resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "Consumed"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExchangeRateInformation:
              type: "object"
              additionalProperties: false
              required:
                - "UnitCurrency"
                - "ExchangeRate"
                - "RateType"
              description: "Further detailed information on the exchange rate that has been used in the payment transaction."
              properties:
                UnitCurrency:
                  description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                ExchangeRate:
                  description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                  type: "number"
                RateType:
                  description: "Specifies the type used to complete the currency exchange."
                  type: "string"
                  enum:
                    - "Actual"
                    - "Agreed"
                    - "Indicative"
                ContractIdentification:
                  description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                  type: "string"
                  minLength: 1
                  maxLength: 256
                ExpirationDateTime:
                  description: "Specified date and time the exchange rate agreement will expire.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.SEPACreditTransfer"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "JOHN Dough"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "JOHN Dough"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list. May be optionally provided as per any of the below supported enumeration values only: 
                        - UK.OBIE.IBAN
                        - UK.OBIE.BBAN
                        - UK.OBIE.SortCodeAccountNumber
                        - UK.OBIE.PAN"
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "JOHN Dough"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              description: "Name of the identification scheme, in a coded form as published in an external list."
              type: "string"
              example: "UK.OBIE.IBAN"
              enum:
                - "UK.OBIE.BBAN"
                - "UK.OBIE.IBAN"
                - "UK.OBIE.PAN"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteInternationalResponse5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "InternationalPaymentId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            InternationalPaymentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the international payment resource."
              type: "string"
              minLength: 1
              maxLength: 40
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the message was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of the payment information group."
              type: "string"
              enum:
                - "AcceptedCreditSettlementCompleted"
                - "AcceptedSettlementCompleted"
                - "AcceptedSettlementInProcess"
                - "AcceptedWithoutPosting"
                - "Pending"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Refund:
              type: "object"
              additionalProperties: false
              required:
                - "Account"
              properties:
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Set of elements used to identify a person or an organisation."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "JOHN Dough"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                Agent:
                  type: "object"
                  additionalProperties: false
                  description: "Set of elements used to uniquely and unambiguously identify a financial institution or a branch of a financial institution."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                Account:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify an account."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list. May be optionally provided as per any of the below supported enumeration values only: 
                        - UK.OBIE.IBAN
                        - UK.OBIE.BBAN
                        - UK.OBIE.SortCodeAccountNumber
                        - UK.OBIE.PAN"
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
            ExchangeRateInformation:
              type: "object"
              additionalProperties: false
              required:
                - "UnitCurrency"
                - "ExchangeRate"
                - "RateType"
              description: "Further detailed information on the exchange rate that has been used in the payment transaction."
              properties:
                UnitCurrency:
                  description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                ExchangeRate:
                  description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                  type: "number"
                RateType:
                  description: "Specifies the type used to complete the currency exchange."
                  type: "string"
                  enum:
                    - "Actual"
                    - "Agreed"
                    - "Indicative"
                ContractIdentification:
                  description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                  type: "string"
                  minLength: 1
                  maxLength: 256
                ExpirationDateTime:
                  description: "Specified date and time the exchange rate agreement will expire.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "EndToEndIdentification"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.SEPACreditTransfer"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list."
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list. May be optionally provided as per any of the below supported enumeration values only: 
                        - UK.OBIE.IBAN
                        - UK.OBIE.BBAN
                        - UK.OBIE.SortCodeAccountNumber
                        - UK.OBIE.PAN"
                      type: "string"
                      example: "UK.OBIE.IBAN"
                      enum:
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                        - "UK.OBIE.PAN"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              description: "Name of the identification scheme, in a coded form as published in an external list."
              type: "string"
              example: "UK.OBIE.IBAN"
              enum:
                - "UK.OBIE.BBAN"
                - "UK.OBIE.IBAN"
                - "UK.OBIE.PAN"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteInternationalScheduled3:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.FPS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list"
                      type: "string"
                      enum:
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                      example: "UK.OBIE.SortCodeAccountNumber"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteInternationalScheduledConsent5:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Permission"
            - "Initiation"
          properties:
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.FPS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list"
                      type: "string"
                      enum:
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                      example: "UK.OBIE.SortCodeAccountNumber"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteInternationalScheduledConsentResponse6:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Permission"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of consent resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "Consumed"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            ExchangeRateInformation:
              type: "object"
              additionalProperties: false
              required:
                - "UnitCurrency"
                - "ExchangeRate"
                - "RateType"
              description: "Further detailed information on the exchange rate that has been used in the payment transaction."
              properties:
                UnitCurrency:
                  description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                ExchangeRate:
                  description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                  type: "number"
                RateType:
                  description: "Specifies the type used to complete the currency exchange."
                  type: "string"
                  enum:
                    - "Actual"
                    - "Agreed"
                    - "Indicative"
                ContractIdentification:
                  description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                  type: "string"
                  minLength: 1
                  maxLength: 256
                ExpirationDateTime:
                  description: "Specified date and time the exchange rate agreement will expire.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.FPS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteInternationalScheduledResponse6:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "InternationalScheduledPaymentId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            InternationalScheduledPaymentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the international scheduled payment resource."
              type: "string"
              minLength: 1
              maxLength: 40
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the message was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of the payment order resource."
              type: "string"
              enum:
                - "Cancelled"
                - "InitiationCompleted"
                - "InitiationFailed"
                - "InitiationPending"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedExecutionDateTime:
              description: "Expected execution date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            ExpectedSettlementDateTime:
              description: "Expected settlement date and time for the payment resource.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Refund:
              type: "object"
              additionalProperties: false
              required:
                - "Account"
              properties:
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Set of elements used to identify a person or an organisation."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                Agent:
                  type: "object"
                  additionalProperties: false
                  description: "Set of elements used to uniquely and unambiguously identify a financial institution or a branch of a financial institution."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                Account:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify an account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            ExchangeRateInformation:
              type: "object"
              additionalProperties: false
              required:
                - "UnitCurrency"
                - "ExchangeRate"
                - "RateType"
              description: "Further detailed information on the exchange rate that has been used in the payment transaction."
              properties:
                UnitCurrency:
                  description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                ExchangeRate:
                  description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                  type: "number"
                RateType:
                  description: "Specifies the type used to complete the currency exchange."
                  type: "string"
                  enum:
                    - "Actual"
                    - "Agreed"
                    - "Indicative"
                ContractIdentification:
                  description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                  type: "string"
                  minLength: 1
                  maxLength: 256
                ExpirationDateTime:
                  description: "Specified date and time the exchange rate agreement will expire.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "InstructionIdentification"
                - "RequestedExecutionDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for a single scheduled international payment."
              properties:
                InstructionIdentification:
                  description: "Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction.\nUsage: the  instruction identification is a point to point reference that can be used between the instructing party and the instructed party to refer to the individual instruction. It can be included in several messages related to the instruction."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "YOz4NFfJDEOMWj2KPDmj"
                EndToEndIdentification:
                  description: "Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nUsage: The end-to-end identification can be used for reconciliation or to link tasks relating to the transaction. It can be included in several messages related to the transaction.\nOB: The Faster Payments Scheme can only access 31 characters for the EndToEndIdentification field."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Uc6Ca8PbBAfhDV3W0Lfv"
                LocalInstrument:
                  description: "User community specific instrument.\nUsage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level. May be optionally provided as per any of the below supported enumeration values in case sensitive format only:
                              - UK.OBIE.CHAPS (for UK payments)
                              - UK.OBIE.FPS (for UK payments)
                              - UK.OBIE.SWIFT (for non-UK payments)
                              - UK.OBIE.Target2 (for all PSD2 payments)
                              - UK.OBIE.Euro1 (for all PSD2 payments)
                              - UK.OBIE.BACS (for UK ACH credits payments)
                              "
                  type: "string"
                  example: "UK.OBIE.FPS"
                  enum:
                    - "UK.OBIE.BACS"
                    - "UK.OBIE.CHAPS"
                    - "UK.OBIE.Euro1"
                    - "UK.OBIE.FPS"
                    - "UK.OBIE.SWIFT"
                    - "UK.OBIE.SEPACreditTransfer"
                    - "UK.OBIE.SEPAInstantCreditTransfer"
                    - "UK.OBIE.Target2"
                InstructionPriority:
                  description: "Indicator of the urgency or order of importance that the instructing party would like the instructed party to apply to the processing of the instruction."
                  type: "string"
                  enum:
                    - "Normal"
                    - "Urgent"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                RequestedExecutionDateTime:
                  description: "Date at which the initiating party requests the clearing agent to process the payment. \nUsage: This is the date on which the debtor's account is to be debited.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                ExchangeRateInformation:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "UnitCurrency"
                    - "RateType"
                  description: "Provides details on the currency exchange rate and contract."
                  properties:
                    UnitCurrency:
                      description: "Currency in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP."
                      type: "string"
                      pattern: "^[A-Z]{3,3}$"
                    ExchangeRate:
                      description: "The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency."
                      type: "number"
                    RateType:
                      description: "Specifies the type used to complete the currency exchange."
                      type: "string"
                      enum:
                        - "Actual"
                        - "Agreed"
                        - "Indicative"
                    ContractIdentification:
                      description: "Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent."
                      type: "string"
                      minLength: 1
                      maxLength: 256
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Financial institution servicing an account for the creditor."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                RemittanceInformation:
                  type: "object"
                  additionalProperties: false
                  description: "Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system."
                  properties:
                    Unstructured:
                      description: "Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form."
                      type: "string"
                      minLength: 1
                      maxLength: 140
                      example: "exXVpUNKaDsR9BdVHm"
                    Reference:
                      description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification.\nOB: The Faster Payments Scheme can only accept 18 characters for the ReferenceInformation field - which is where this ISO field will be mapped."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                      example: "Testreference"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWritePaymentDetailsResponse1:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          properties:
            PaymentStatus:
              type: "array"
              items:
                type: "object"
                additionalProperties: false
                description: "Payment status details."
                required:
                  - "PaymentTransactionId"
                  - "Status"
                  - "StatusUpdateDateTime"
                properties:
                  PaymentTransactionId:
                    description: "Unique identifier for the transaction within an servicing institution. This identifier is both unique and immutable."
                    type: "string"
                    minLength: 1
                    maxLength: 210
                    example: "dfc474a8-ad89-4443-afed-55c7af89e48e"
                  Status:
                    description: "Status of a transfer, as assigned by the transaction administrator."
                    type: "string"
                    example: "AcceptedSettlementInProcess"
                    enum:
                      - "Accepted"
                      - "AcceptedCancellationRequest"
                      - "AcceptedCreditSettlementCompleted"
                      - "AcceptedCustomerProfile"
                      - "AcceptedFundsChecked"
                      - "AcceptedSettlementCompleted"
                      - "AcceptedSettlementInProcess"
                      - "AcceptedTechnicalValidation"
                      - "AcceptedWithChange"
                      - "AcceptedWithoutPosting"
                      - "Cancelled"
                      - "NoCancellationProcess"
                      - "PartiallyAcceptedCancellationRequest"
                      - "PartiallyAcceptedTechnicalCorrect"
                      - "PaymentCancelled"
                      - "Pending"
                      - "PendingCancellationRequest"
                      - "Received"
                      - "Rejected"
                      - "RejectedCancellationRequest"
                  StatusUpdateDateTime:
                    description: "Date and time at which the status was assigned to the transfer.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                    type: "string"
                    format: "date-time"
                  StatusDetail:
                    type: "object"
                    additionalProperties: false
                    required:
                      - "Status"
                    description: "Payment status details as per underlying Payment Rail."
                    properties:
                      LocalInstrument:
                        $ref: "#/components/schemas/OBExternalLocalInstrument1Code"
                      Status:
                        description: "Status of a transfer, as assigned by the transaction administrator."
                        type: "string"
                        minLength: 1
                        maxLength: 128
                        example: "Accepted Settlement In Process"
                      StatusReason:
                        description: "Reason Code provided for the status of a transfer."
                        type: "string"
                        enum:
                          - "Cancelled"
                          - "PendingFailingSettlement"
                          - "PendingSettlement"
                          - "Proprietary"
                          - "ProprietaryRejection"
                          - "Suspended"
                          - "Unmatched"
                      StatusReasonDescription:
                        description: "Reason provided for the status of a transfer."
                        type: "string"
                        minLength: 1
                        maxLength: 256
                        example: "PendingSettlement"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}        
    OBWriteInternationalStandingOrder4:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for an international standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Provides the details to identify the debtor account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account.\nThis is the servicer of the beneficiary account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      description: "Unique and unambiguous identification of the servicing institution."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify the beneficiary account."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list"
                      type: "string"
                      enum:
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                      example: "UK.OBIE.SortCodeAccountNumber"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteInternationalStandingOrderConsent6:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "Permission"
            - "Initiation"
          properties:
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for an international standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Provides the details to identify the debtor account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account.\nThis is the servicer of the beneficiary account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      description: "Unique and unambiguous identification of the servicing institution."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify the beneficiary account."
                  properties:
                    SchemeName:
                      description: "Name of the identification scheme, in a coded form as published in an external list"
                      type: "string"
                      enum:
                        - "UK.OBIE.IBAN"
                        - "UK.OBIE.BBAN"
                        - "UK.OBIE.SortCodeAccountNumber"
                      example: "UK.OBIE.SortCodeAccountNumber"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
    OBWriteInternationalStandingOrderConsentResponse7:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
        - "Risk"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Permission"
            - "Initiation"
          properties:
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of resource in code form."
              type: "string"
              enum:
                - "Authorised"
                - "AwaitingAuthorisation"
                - "Consumed"
                - "Rejected"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Permission:
              description: "Specifies the Open Banking service request types."
              type: "string"
              enum:
                - "Create"
            ReadRefundAccount:
              description: "Specifies to share the refund account details with PISP"
              type: "string"
              enum:
                - "No"
                - "Yes"
            CutOffDateTime:
              description: "Specified cut-off date and time for the payment consent.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for an international standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account.\nThis is the servicer of the beneficiary account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      description: "Unique and unambiguous identification of the servicing institution."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify the beneficiary account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            Authorisation:
              type: "object"
              additionalProperties: false
              required:
                - "AuthorisationType"
              description: "The authorisation type request from the TPP."
              properties:
                AuthorisationType:
                  description: "Type of authorisation flow requested."
                  type: "string"
                  enum:
                    - "Any"
                    - "Single"
                  example: "Any"
                CompletionDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            SCASupportData:
              $ref: "#/components/schemas/OBSCASupportData1"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Risk:
          $ref: "#/components/schemas/OBRisk1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    OBWriteInternationalStandingOrderResponse7:
      type: "object"
      additionalProperties: false
      required:
        - "Data"
      properties:
        Data:
          type: "object"
          additionalProperties: false
          required:
            - "InternationalStandingOrderId"
            - "ConsentId"
            - "CreationDateTime"
            - "Status"
            - "StatusUpdateDateTime"
            - "Initiation"
          properties:
            InternationalStandingOrderId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the international standing order resource."
              type: "string"
              minLength: 1
              maxLength: 40
            ConsentId:
              description: "OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource."
              type: "string"
              minLength: 1
              maxLength: 128
              example: "25475c32-4dd8-4e76-8a2b-2f530862cf69"
            CreationDateTime:
              description: "Date and time at which the resource was created.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Status:
              description: "Specifies the status of resource in code form."
              type: "string"
              enum:
                - "Cancelled"
                - "InitiationCompleted"
                - "InitiationFailed"
                - "InitiationPending"
            StatusUpdateDateTime:
              description: "Date and time at which the resource status was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
              type: "string"
              format: "date-time"
            Refund:
              type: "object"
              additionalProperties: false
              required:
                - "Account"
              properties:
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Set of elements used to identify a person or an organisation."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                Agent:
                  type: "object"
                  additionalProperties: false
                  description: "Set of elements used to uniquely and unambiguously identify a financial institution or a branch of a financial institution."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_1"
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                Account:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify an account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "Name of the account, as assigned by the account servicing institution.\nUsage: The account name is the name or names of the account owner(s) represented at an account level. The account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
            Charges:
              type: "array"
              description: "Set of elements used to provide details of a charge for the payment initiation."
              items:
                type: "object"
                additionalProperties: false
                required:
                  - "ChargeBearer"
                  - "Type"
                  - "Amount"
                properties:
                  ChargeBearer:
                    $ref: "#/components/schemas/OBChargeBearerType1Code"
                  Type:
                    $ref: "#/components/schemas/OBExternalPaymentChargeType1Code"
                  Amount:
                    $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
            Initiation:
              type: "object"
              additionalProperties: false
              required:
                - "Frequency"
                - "FirstPaymentDateTime"
                - "CurrencyOfTransfer"
                - "InstructedAmount"
                - "CreditorAccount"
              description: "The Initiation payload is sent by the initiating party to the ASPSP. It is used to request movement of funds from the debtor account to a creditor for an international standing order."
              properties:
                Frequency:
                  description: "Individual Definitions:\nEvryDay - Every day\nEvryWorkgDay - Every working day\nIntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07)\nWkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07)\nIntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31)\nQtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED). \nENGLISH = Paid on the 25th March, 24th June, 29th September and 25th December. \nSCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th November.\nRECEIVED = Paid on the 20th March, 19th June, 24th September and 20th December. \nIndividual Patterns:\nEvryDay (ScheduleCode)\nEvryWorkgDay (ScheduleCode)\nIntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek)\nWkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek)\nIntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth)\nQtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay\nThe regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here:\nEvryDay\nEvryWorkgDay\nIntrvlWkDay:0[1-9]:0[1-7]\nWkInMnthDay:0[1-5]:0[1-7]\nIntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01])\nQtrDay:(ENGLISH|SCOTTISH|RECEIVED)\nFull Regular Expression:\n^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$"
                  type: "string"
                  pattern: ^IntrvlWkDay:0[1-2]{1}:0[1-5]{1}$|^IntrvlMnthDay:0[1236]{1}:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:12:([0-2]{1}[0-9]{1}|3[01]{1})$|^IntrvlMnthDay:01:-01$
                  example: "IntrvlWkDay:01:01"
                Reference:
                  description: "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.\nUsage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money.\nIf the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor's reference or payment remittance identification should be quoted in the end-to-end transaction identification."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "Testreference"
                NumberOfPayments:
                  description: "Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date."
                  type: "string"
                  minLength: 1
                  maxLength: 35
                  example: "5"
                FirstPaymentDateTime:
                  description: "The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                FinalPaymentDateTime:
                  description: "The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                Purpose:
                  description: "Specifies the external purpose code in the format of character string with a maximum length of 4 characters.\nThe list of valid codes is an external code list published separately.\nExternal code sets can be downloaded from www.iso20022.org."
                  type: "string"
                  minLength: 1
                  maxLength: 4
                  example: "SALA"
                ExtendedPurpose:
                  description: "Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes."
                  type: "string"
                  minLength: 1
                  maxLength: 140
                  example: "Buying Goods"
                ChargeBearer:
                  $ref: "#/components/schemas/OBChargeBearerType1Code"
                CurrencyOfTransfer:
                  description: "Specifies the currency of the to be transferred amount, which is different from the currency of the debtor's account."
                  type: "string"
                  pattern: "^[A-Z]{3,3}$"
                  example: "EUR"
                DestinationCountryCode:
                  description: "Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)."
                  type: "string"
                  pattern: "[A-Z]{2,2}"
                  example: "GB"
                InstructedAmount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "Amount"
                    - "Currency"
                  description: "Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party.\nUsage: This amount has to be transported unchanged through the transaction chain."
                  properties:
                    Amount:
                      $ref: "#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"
                    Currency:
                      $ref: "#/components/schemas/ActiveOrHistoricCurrencyCode"
                DebtorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                  description: "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalDomesticSchemeNameCode"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels.\nNote, the account name is not the product name or the nickname of the account."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                Creditor:
                  type: "object"
                  additionalProperties: false
                  description: "Party to which an amount of money is due."
                  properties:
                    Name:
                      description: "Name by which a party is known and which is usually used to identify that party."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAgent:
                  type: "object"
                  additionalProperties: false
                  description: "Party that manages the account on behalf of the account owner, that is manages the registration and booking of entries on the account, calculates balances on the account and provides information about the account.\nThis is the servicer of the beneficiary account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalFinancialInstitutionIdentification4Code"
                    Identification:
                      description: "Unique and unambiguous identification of the servicing institution."
                      type: "string"
                      minLength: 1
                      maxLength: 35
                    Name:
                      $ref: "#/components/schemas/Name"
                    PostalAddress:
                      $ref: "#/components/schemas/OBPostalAddress6"
                CreditorAccount:
                  type: "object"
                  additionalProperties: false
                  required:
                    - "SchemeName"
                    - "Identification"
                    - "Name"
                  description: "Provides the details to identify the beneficiary account."
                  properties:
                    SchemeName:
                      $ref: "#/components/schemas/OBExternalAccountIdentification4Code"
                    Identification:
                      $ref: "#/components/schemas/Identification_0"
                    Name:
                      description: "The account name is the name or names of the account owner(s) represented at an account level.\nNote, the account name is not the product name or the nickname of the account.\nOB: ASPSPs may carry out name validation for Confirmation of Payee, but it is not mandatory."
                      type: "string"
                      minLength: 1
                      maxLength: 350
                      example: "test user"
                    SecondaryIdentification:
                      $ref: "#/components/schemas/SecondaryIdentification"
                SupplementaryData:
                  $ref: "#/components/schemas/OBSupplementaryData1"
            MultiAuthorisation:
              type: "object"
              additionalProperties: false
              required:
                - "Status"
              description: "The multiple authorisation flow response from the ASPSP."
              properties:
                Status:
                  description: "Specifies the status of the authorisation flow in code form."
                  type: "string"
                  example: "Authorised"
                  enum:
                    - "Authorised"
                    - "AwaitingFurtherAuthorisation"
                    - "Rejected"
                NumberRequired:
                  description: "Number of authorisations required for payment order (total required at the start of the multi authorisation journey)."
                  type: "integer"
                NumberReceived:
                  description: "Number of authorisations received."
                  type: "integer"
                LastUpdateDateTime:
                  description: "Last date and time at the authorisation flow was updated.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
                ExpirationDateTime:
                  description: "Date and time at which the requested authorisation flow must be completed.All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone. An example is below:\n2017-04-05T10:43:07+00:00"
                  type: "string"
                  format: "date-time"
            Debtor:
              $ref: "#/components/schemas/OBCashAccountDebtor4"
        Links:
          $ref: "#/components/schemas/Links"
        Meta: {}
    PostCode:
      description: "Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail."
      type: "string"
      minLength: 1
      maxLength: 16
      example: "32-020"
    SecondaryIdentification:
      description: "This is secondary identification of the account, as assigned by the account servicing institution. \nThis can be used by building societies to additionally identify accounts with a roll number (in addition to a sort code and account number combination)."
      type: "string"
      minLength: 1
      maxLength: 34
      example : "xUO61DyFKvdxX5HxZ42G"
    StreetName:
      description: "Name of a street or thoroughfare."
      type: "string"
      minLength: 1
      maxLength: 70
      example: "Krakowska"
    SubDepartment:
      description: "Identification of a sub-division of a large organisation or building."
      type: "string"
      minLength: 1
      maxLength: 70
      example: "Pay"
    TownName:
      description: "Name of a built-up area, with defined boundaries, and a local government."
      type: "string"
      minLength: 1
      maxLength: 35
      example: "Wieliczka"



