openapi: 3.0.2
info:
  title: Mojaloop Third Party API (DFSP)
  version: '1.0'
  description: >
    A Mojaloop API for DFSPs supporting Third Party functions.

    DFSPs who want to enable Payment Initiation Service Providers
    (PISPs) to perform actions on behalf of a DFSP's user should 
    implement this API.

    PISPs should implement the accompanying API - Mojaloop Third 
    Party API (PISP) 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'
  /thirdpartyRequests/verifications:
    $ref: 'paths/thirdpartyRequests_verifications.yaml'
  /thirdpartyRequests/verifications/{ID}:
    $ref: 'paths/thirdpartyRequests_verifications_ID.yaml'
  /thirdpartyRequests/verifications/{ID}/error:
    $ref: 'paths/thirdpartyRequests_verifications_ID_error.yaml'