openapi: 3.0.1
info:
  title: Mojaloop Third Party API (PISP)
  version: "1.0"
  description: >
    A Mojaloop API for Payment Initiation Service Providers (PISPs) to
    perform Third Party functions on DFSPs' User's accounts.

    DFSPs who want to enable Payment Initiation Service Providers
    (PISPs) should implement the accompanying API - Mojaloop Third
    Party API (DFSP) instead.
  license:
    name: Open API for FSP Interoperability (FSPIOP) (Implementation Friendly Version)
    url: https://github.com/mojaloop/mojaloop-specification/blob/main/LICENSE.md
servers:
  - url: /
paths:
  /accounts/{ID}:
    $ref: 'paths/accounts_ID.yaml'
  /accounts/{ID}/error:
    $ref: 'paths/accounts_ID_error.yaml'
  /consentRequests:
    $ref: 'paths/consentRequests.yaml'
  /consentRequests/{ID}:
    $ref: 'paths/consentRequests_ID.yaml'
  /consentRequests/{ID}/error:
    $ref: 'paths/consentRequests_ID_error.yaml'
  /consents:
    $ref: 'paths/consents.yaml'
  /consents/{ID}:
    $ref: 'paths/consents_ID.yaml'
  /consents/{ID}/error:
    $ref: 'paths/consents_ID_error.yaml'
  /thirdpartyRequests/authorizations:
    $ref: 'paths/thirdpartyRequests_authorizations.yaml'
  /thirdpartyRequests/authorizations/{ID}:
    $ref: 'paths/thirdpartyRequests_authorizations_ID.yaml'
  /thirdpartyRequests/authorizations/{ID}/error:
    $ref: 'paths/thirdpartyRequests_authorizations_ID_error.yaml'
  /thirdpartyRequests/transactions:
    $ref: 'paths/thirdpartyRequests_transactions.yaml'
  /thirdpartyRequests/transactions/{ID}:
    $ref: 'paths/thirdpartyRequests_transactions_ID.yaml'
  /thirdpartyRequests/transactions/{ID}/error:
    $ref: 'paths/thirdpartyRequests_transactions_ID_error.yaml'
  /parties/{Type}/{ID}:
    $ref: '../../../fspiop/v1_1/openapi3/paths/parties_Type_ID.yaml'
  /parties/{Type}/{ID}/error:
    $ref: '../../../fspiop/v1_1/openapi3/paths/parties_Type_ID_error.yaml'
  /parties/{Type}/{ID}/{SubId}:
    $ref: '../../../fspiop/v1_1/openapi3/paths/parties_Type_ID_SubId.yaml'
  /parties/{Type}/{ID}/{SubId}/error:
    $ref: '../../../fspiop/v1_1/openapi3/paths/parties_Type_ID_SubId_error.yaml'
  /services/{ServiceType}:
    $ref: 'paths/services_ServiceType.yaml'
  /services/{ServiceType}/error:
    $ref: 'paths/services_ServiceType_error.yaml'
