@mojaloop/api-snippets 17.2.4 → 17.3.0-snapshot.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (450) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +13 -1
  3. package/audit-ci.jsonc +1 -0
  4. package/docs/dist/openapi.yaml +2 -2
  5. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +2 -3
  6. package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +4 -4
  7. package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +4855 -0
  8. package/docs/index.html +5 -0
  9. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +3 -2
  10. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2837 -0
  11. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +4 -21
  12. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3451 -0
  13. package/docs/thirdparty-openapi3-snippets.yaml +19 -19
  14. package/fspiop/v1_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
  15. package/fspiop/v1_0/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
  16. package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
  17. package/fspiop/v1_1/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
  18. package/fspiop/v1_1/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
  19. package/fspiop/v1_1/openapi3/openapi.yaml +2 -2
  20. package/fspiop/v2_0/openapi3/components/headers/Content-Length.yaml +9 -0
  21. package/fspiop/v2_0/openapi3/components/headers/Content-Type.yaml +6 -0
  22. package/fspiop/v2_0/openapi3/components/parameters/Accept.yaml +8 -0
  23. package/fspiop/v2_0/openapi3/components/parameters/Content-Length.yaml +11 -0
  24. package/fspiop/v2_0/openapi3/components/parameters/Content-Type.yaml +8 -0
  25. package/fspiop/v2_0/openapi3/components/parameters/Date.yaml +6 -0
  26. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Destination.yaml +13 -0
  27. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Encryption.yaml +8 -0
  28. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +11 -0
  29. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Signature.yaml +8 -0
  30. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Source.yaml +10 -0
  31. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-URI.yaml +10 -0
  32. package/fspiop/v2_0/openapi3/components/parameters/ID.yaml +6 -0
  33. package/fspiop/v2_0/openapi3/components/parameters/SourceCurrency.yaml +6 -0
  34. package/fspiop/v2_0/openapi3/components/parameters/SubId.yaml +8 -0
  35. package/fspiop/v2_0/openapi3/components/parameters/TargetCurrency.yaml +6 -0
  36. package/fspiop/v2_0/openapi3/components/parameters/Type.yaml +6 -0
  37. package/fspiop/v2_0/openapi3/components/parameters/X-Forwarded-For.yaml +15 -0
  38. package/fspiop/v2_0/openapi3/components/responses/200.yaml +1 -0
  39. package/fspiop/v2_0/openapi3/components/responses/202.yaml +1 -0
  40. package/fspiop/v2_0/openapi3/components/responses/400.yaml +10 -0
  41. package/fspiop/v2_0/openapi3/components/responses/401.yaml +10 -0
  42. package/fspiop/v2_0/openapi3/components/responses/403.yaml +10 -0
  43. package/fspiop/v2_0/openapi3/components/responses/404.yaml +10 -0
  44. package/fspiop/v2_0/openapi3/components/responses/405.yaml +10 -0
  45. package/fspiop/v2_0/openapi3/components/responses/406.yaml +10 -0
  46. package/fspiop/v2_0/openapi3/components/responses/501.yaml +10 -0
  47. package/fspiop/v2_0/openapi3/components/responses/503.yaml +10 -0
  48. package/fspiop/v2_0/openapi3/components/schemas/Amount.yaml +11 -0
  49. package/fspiop/v2_0/openapi3/components/schemas/AmountType.yaml +14 -0
  50. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationInfo.yaml +11 -0
  51. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationType.yaml +12 -0
  52. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationValue.yaml +9 -0
  53. package/fspiop/v2_0/openapi3/components/schemas/AuthorizationResponse.yaml +12 -0
  54. package/fspiop/v2_0/openapi3/components/schemas/AuthorizationsIDPutResponse.yaml +10 -0
  55. package/fspiop/v2_0/openapi3/components/schemas/BalanceOfPayments.yaml +9 -0
  56. package/fspiop/v2_0/openapi3/components/schemas/BinaryString.yaml +7 -0
  57. package/fspiop/v2_0/openapi3/components/schemas/BinaryString32.yaml +7 -0
  58. package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesIDPutResponse.yaml +18 -0
  59. package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +25 -0
  60. package/fspiop/v2_0/openapi3/components/schemas/BulkTransferState.yaml +18 -0
  61. package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersIDPutResponse.yaml +18 -0
  62. package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersPostRequest.yaml +30 -0
  63. package/fspiop/v2_0/openapi3/components/schemas/Code.yaml +5 -0
  64. package/fspiop/v2_0/openapi3/components/schemas/CorrelationId.yaml +10 -0
  65. package/fspiop/v2_0/openapi3/components/schemas/Currency.yaml +174 -0
  66. package/fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml +9 -0
  67. package/fspiop/v2_0/openapi3/components/schemas/Date.yaml +9 -0
  68. package/fspiop/v2_0/openapi3/components/schemas/DateOfBirth.yaml +6 -0
  69. package/fspiop/v2_0/openapi3/components/schemas/DateTime.yaml +14 -0
  70. package/fspiop/v2_0/openapi3/components/schemas/ErrorCode.yaml +11 -0
  71. package/fspiop/v2_0/openapi3/components/schemas/ErrorDescription.yaml +5 -0
  72. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformation.yaml +13 -0
  73. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml +8 -0
  74. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationResponse.yaml +8 -0
  75. package/fspiop/v2_0/openapi3/components/schemas/Extension.yaml +11 -0
  76. package/fspiop/v2_0/openapi3/components/schemas/ExtensionKey.yaml +5 -0
  77. package/fspiop/v2_0/openapi3/components/schemas/ExtensionList.yaml +15 -0
  78. package/fspiop/v2_0/openapi3/components/schemas/ExtensionValue.yaml +5 -0
  79. package/fspiop/v2_0/openapi3/components/schemas/FirstName.yaml +9 -0
  80. package/fspiop/v2_0/openapi3/components/schemas/FspId.yaml +5 -0
  81. package/fspiop/v2_0/openapi3/components/schemas/FxCharge.yaml +19 -0
  82. package/fspiop/v2_0/openapi3/components/schemas/FxConversion.yaml +57 -0
  83. package/fspiop/v2_0/openapi3/components/schemas/FxMoney.yaml +10 -0
  84. package/fspiop/v2_0/openapi3/components/schemas/FxQuotesIDPutResponse.yaml +15 -0
  85. package/fspiop/v2_0/openapi3/components/schemas/FxQuotesPostRequest.yaml +15 -0
  86. package/fspiop/v2_0/openapi3/components/schemas/FxRate.yaml +15 -0
  87. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPatchResponse.yaml +16 -0
  88. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml +20 -0
  89. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersPostRequest.yaml +41 -0
  90. package/fspiop/v2_0/openapi3/components/schemas/GeoCode.yaml +13 -0
  91. package/fspiop/v2_0/openapi3/components/schemas/IlpCondition.yaml +5 -0
  92. package/fspiop/v2_0/openapi3/components/schemas/IlpFulfilment.yaml +6 -0
  93. package/fspiop/v2_0/openapi3/components/schemas/IlpPacket.yaml +7 -0
  94. package/fspiop/v2_0/openapi3/components/schemas/IndividualQuote.yaml +29 -0
  95. package/fspiop/v2_0/openapi3/components/schemas/IndividualQuoteResult.yaml +26 -0
  96. package/fspiop/v2_0/openapi3/components/schemas/IndividualTransfer.yaml +19 -0
  97. package/fspiop/v2_0/openapi3/components/schemas/IndividualTransferResult.yaml +14 -0
  98. package/fspiop/v2_0/openapi3/components/schemas/Integer.yaml +7 -0
  99. package/fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml +33 -0
  100. package/fspiop/v2_0/openapi3/components/schemas/LastName.yaml +9 -0
  101. package/fspiop/v2_0/openapi3/components/schemas/Latitude.yaml +7 -0
  102. package/fspiop/v2_0/openapi3/components/schemas/Longitude.yaml +8 -0
  103. package/fspiop/v2_0/openapi3/components/schemas/MerchantClassificationCode.yaml +7 -0
  104. package/fspiop/v2_0/openapi3/components/schemas/MiddleName.yaml +9 -0
  105. package/fspiop/v2_0/openapi3/components/schemas/Money.yaml +11 -0
  106. package/fspiop/v2_0/openapi3/components/schemas/Name.yaml +17 -0
  107. package/fspiop/v2_0/openapi3/components/schemas/Note.yaml +6 -0
  108. package/fspiop/v2_0/openapi3/components/schemas/OtpValue.yaml +7 -0
  109. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsIDPutResponse.yaml +17 -0
  110. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsPostRequest.yaml +20 -0
  111. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDPutResponse.yaml +8 -0
  112. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDSubIDPostRequest.yaml +15 -0
  113. package/fspiop/v2_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +8 -0
  114. package/fspiop/v2_0/openapi3/components/schemas/Party.yaml +21 -0
  115. package/fspiop/v2_0/openapi3/components/schemas/PartyComplexName.yaml +10 -0
  116. package/fspiop/v2_0/openapi3/components/schemas/PartyIdInfo.yaml +19 -0
  117. package/fspiop/v2_0/openapi3/components/schemas/PartyIdType.yaml +54 -0
  118. package/fspiop/v2_0/openapi3/components/schemas/PartyIdentifier.yaml +6 -0
  119. package/fspiop/v2_0/openapi3/components/schemas/PartyName.yaml +5 -0
  120. package/fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml +10 -0
  121. package/fspiop/v2_0/openapi3/components/schemas/PartyResult.yaml +10 -0
  122. package/fspiop/v2_0/openapi3/components/schemas/PartySubIdOrType.yaml +7 -0
  123. package/fspiop/v2_0/openapi3/components/schemas/PersonalIdentifierType.yaml +51 -0
  124. package/fspiop/v2_0/openapi3/components/schemas/QRCODE.yaml +5 -0
  125. package/fspiop/v2_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +27 -0
  126. package/fspiop/v2_0/openapi3/components/schemas/QuotesPostRequest.yaml +53 -0
  127. package/fspiop/v2_0/openapi3/components/schemas/Refund.yaml +10 -0
  128. package/fspiop/v2_0/openapi3/components/schemas/RefundReason.yaml +6 -0
  129. package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPPutResponse.yaml +13 -0
  130. package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPSourceCurrencyTargetCurrencyPutResponse.yaml +13 -0
  131. package/fspiop/v2_0/openapi3/components/schemas/TokenCode.yaml +6 -0
  132. package/fspiop/v2_0/openapi3/components/schemas/Transaction.yaml +50 -0
  133. package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiator.yaml +16 -0
  134. package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiatorType.yaml +14 -0
  135. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestState.yaml +14 -0
  136. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsIDPutResponse.yaml +12 -0
  137. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsPostRequest.yaml +30 -0
  138. package/fspiop/v2_0/openapi3/components/schemas/TransactionScenario.yaml +32 -0
  139. package/fspiop/v2_0/openapi3/components/schemas/TransactionState.yaml +14 -0
  140. package/fspiop/v2_0/openapi3/components/schemas/TransactionSubScenario.yaml +5 -0
  141. package/fspiop/v2_0/openapi3/components/schemas/TransactionType.yaml +20 -0
  142. package/fspiop/v2_0/openapi3/components/schemas/TransactionsIDPutResponse.yaml +14 -0
  143. package/fspiop/v2_0/openapi3/components/schemas/TransferState.yaml +19 -0
  144. package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPatchResponse.yaml +13 -0
  145. package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPutResponse.yaml +14 -0
  146. package/fspiop/v2_0/openapi3/components/schemas/TransfersPostRequest.yaml +28 -0
  147. package/fspiop/v2_0/openapi3/components/schemas/U2FPIN.yaml +8 -0
  148. package/fspiop/v2_0/openapi3/components/schemas/U2FPinValue.yaml +19 -0
  149. package/fspiop/v2_0/openapi3/components/schemas/UndefinedEnum.yaml +6 -0
  150. package/fspiop/v2_0/openapi3/openapi.yaml +126 -0
  151. package/fspiop/v2_0/openapi3/paths/authorizations_ID.yaml +110 -0
  152. package/fspiop/v2_0/openapi3/paths/authorizations_ID_error.yaml +48 -0
  153. package/fspiop/v2_0/openapi3/paths/bulkQuotes.yaml +46 -0
  154. package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID.yaml +79 -0
  155. package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID_error.yaml +49 -0
  156. package/fspiop/v2_0/openapi3/paths/bulkTransfers.yaml +46 -0
  157. package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID.yaml +81 -0
  158. package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID_error.yaml +49 -0
  159. package/fspiop/v2_0/openapi3/paths/fxQuotes.yaml +45 -0
  160. package/fspiop/v2_0/openapi3/paths/fxQuotes_ID.yaml +79 -0
  161. package/fspiop/v2_0/openapi3/paths/fxQuotes_ID_error.yaml +49 -0
  162. package/fspiop/v2_0/openapi3/paths/fxTransfers.yaml +45 -0
  163. package/fspiop/v2_0/openapi3/paths/fxTransfers_ID.yaml +118 -0
  164. package/fspiop/v2_0/openapi3/paths/fxTransfers_ID_error.yaml +49 -0
  165. package/fspiop/v2_0/openapi3/paths/participants.yaml +49 -0
  166. package/fspiop/v2_0/openapi3/paths/participants_ID.yaml +46 -0
  167. package/fspiop/v2_0/openapi3/paths/participants_ID_error.yaml +48 -0
  168. package/fspiop/v2_0/openapi3/paths/participants_Type_ID.yaml +167 -0
  169. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId.yaml +168 -0
  170. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId_error.yaml +50 -0
  171. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_error.yaml +49 -0
  172. package/fspiop/v2_0/openapi3/paths/parties_Type_ID.yaml +81 -0
  173. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId.yaml +82 -0
  174. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId_error.yaml +50 -0
  175. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_error.yaml +49 -0
  176. package/fspiop/v2_0/openapi3/paths/quotes.yaml +46 -0
  177. package/fspiop/v2_0/openapi3/paths/quotes_ID.yaml +79 -0
  178. package/fspiop/v2_0/openapi3/paths/quotes_ID_error.yaml +49 -0
  179. package/fspiop/v2_0/openapi3/paths/services_FXP.yaml +73 -0
  180. package/fspiop/v2_0/openapi3/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +77 -0
  181. package/fspiop/v2_0/openapi3/paths/transactionRequests.yaml +47 -0
  182. package/fspiop/v2_0/openapi3/paths/transactionRequests_ID.yaml +81 -0
  183. package/fspiop/v2_0/openapi3/paths/transactionRequests_ID_error.yaml +50 -0
  184. package/fspiop/v2_0/openapi3/paths/transactions_ID.yaml +80 -0
  185. package/fspiop/v2_0/openapi3/paths/transactions_ID_error.yaml +48 -0
  186. package/fspiop/v2_0/openapi3/paths/transfers.yaml +46 -0
  187. package/fspiop/v2_0/openapi3/paths/transfers_ID.yaml +119 -0
  188. package/fspiop/v2_0/openapi3/paths/transfers_ID_error.yaml +49 -0
  189. package/lib/fspiop/v1_0/openapi.d.ts +2 -3
  190. package/lib/fspiop/v1_1/openapi.d.ts +2 -2
  191. package/lib/fspiop/v2_0/openapi.d.ts +3982 -0
  192. package/lib/fspiop/v2_0/openapi.js +7 -0
  193. package/lib/fspiop/v2_0/openapi.js.map +1 -0
  194. package/lib/scripts/json-schema-generator.js +4 -5
  195. package/lib/scripts/json-schema-generator.js.map +1 -1
  196. package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
  197. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
  198. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
  199. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
  200. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
  201. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
  202. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
  203. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
  204. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
  205. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
  206. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
  207. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
  208. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
  209. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
  210. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
  211. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
  212. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
  213. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
  214. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
  215. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
  216. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
  217. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
  218. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
  219. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
  220. package/lib/thirdparty/openapi.d.ts +18 -18
  221. package/package.json +45 -30
  222. package/sdk-bulk.yaml +1 -1
  223. package/sdk-outbound-old.yaml +1 -1
  224. package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
  225. package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
  226. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
  227. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
  228. package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
  229. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
  230. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
  231. package/sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml +1 -1
  232. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
  233. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
  234. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
  235. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
  236. package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
  237. package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
  238. package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
  239. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
  240. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
  241. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
  242. package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
  243. package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
  244. package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
  245. package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
  246. package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
  247. package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
  248. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
  249. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
  250. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
  251. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
  252. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
  253. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
  254. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
  255. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
  256. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
  257. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
  258. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
  259. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
  260. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
  261. package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
  262. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
  263. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
  264. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
  265. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
  266. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
  267. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
  268. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
  269. package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
  270. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
  271. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
  272. package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
  273. package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
  274. package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
  275. package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
  276. package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
  277. package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
  278. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
  279. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
  280. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
  281. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
  282. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
  283. package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
  284. package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
  285. package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
  286. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
  287. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
  288. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
  289. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
  290. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
  291. package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
  292. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
  293. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
  294. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
  295. package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
  296. package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
  297. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
  298. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
  299. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
  300. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
  301. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
  302. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
  303. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
  304. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
  305. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
  306. package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
  307. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
  308. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
  309. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
  310. package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
  311. package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
  312. package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
  313. package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
  314. package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
  315. package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
  316. package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
  317. package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
  318. package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
  319. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
  320. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
  321. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
  322. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
  323. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
  324. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
  325. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
  326. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
  327. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
  328. package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
  329. package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
  330. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
  331. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
  332. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
  333. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
  334. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
  335. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
  336. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
  337. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
  338. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
  339. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
  340. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
  341. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
  342. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
  343. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
  344. package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
  345. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
  346. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
  347. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
  348. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
  349. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
  350. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
  351. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
  352. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
  353. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
  354. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
  355. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
  356. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
  357. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
  358. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
  359. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
  360. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
  361. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
  362. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
  363. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
  364. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
  365. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
  366. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
  367. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
  368. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
  369. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
  370. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
  371. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
  372. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
  373. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
  374. package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
  375. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
  376. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
  377. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
  378. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
  379. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
  380. package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
  381. package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
  382. package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
  383. package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
  384. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
  385. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
  386. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
  387. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
  388. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
  389. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
  390. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
  391. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
  392. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
  393. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
  394. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
  395. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
  396. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
  397. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
  398. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
  399. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
  400. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
  401. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
  402. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
  403. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
  404. package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
  405. package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
  406. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
  407. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
  408. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
  409. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
  410. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
  411. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
  412. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
  413. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
  414. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
  415. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
  416. package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
  417. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
  418. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
  419. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
  420. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
  421. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
  422. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
  423. package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
  424. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
  425. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
  426. package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
  427. package/thirdparty/v1_0/openapi3/components/schemas/Account.yaml +1 -1
  428. package/thirdparty/v1_0/openapi3/components/schemas/AccountAddress.yaml +1 -1
  429. package/thirdparty/v1_0/openapi3/components/schemas/AccountList.yaml +1 -1
  430. package/thirdparty/v1_0/openapi3/components/schemas/AccountsIDPutResponse.yaml +1 -1
  431. package/thirdparty/v1_0/openapi3/components/schemas/AuthenticatorAssertionResponse.yaml +1 -1
  432. package/thirdparty/v1_0/openapi3/components/schemas/AuthenticatorAttestationResponse.yaml +1 -1
  433. package/thirdparty/v1_0/openapi3/components/schemas/ConsentRequestsIDPatchRequest.yaml +1 -1
  434. package/thirdparty/v1_0/openapi3/components/schemas/ConsentRequestsPostRequest.yaml +1 -1
  435. package/thirdparty/v1_0/openapi3/components/schemas/CredentialType.yaml +1 -1
  436. package/thirdparty/v1_0/openapi3/components/schemas/FIDOPublicKeyCredentialAssertion.yaml +1 -1
  437. package/thirdparty/v1_0/openapi3/components/schemas/Scope.yaml +1 -1
  438. package/thirdparty/v1_0/openapi3/components/schemas/ServiceType.yaml +1 -1
  439. package/thirdparty/v1_0/openapi3/components/schemas/ServicesServiceTypePutResponse.yaml +1 -1
  440. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsPostRequest.yaml +1 -1
  441. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPatchResponse.yaml +1 -1
  442. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPutResponse.yaml +1 -1
  443. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsPostRequest.yaml +1 -1
  444. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsVerificationsIDPutResponse.yaml +1 -1
  445. package/thirdparty/v1_0/openapi3/openapi.yaml +1 -1
  446. package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml +1 -1
  447. package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml +17 -17
  448. package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml +1 -1
  449. package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml +17 -17
  450. package/tsconfig.build.json +1 -1
@@ -0,0 +1,72 @@
1
+ type: object
2
+ required:
3
+ - transactionRequestId
4
+ - from
5
+ - to
6
+ - amountType
7
+ - currency
8
+ - amount
9
+ - transactionType
10
+ properties:
11
+ transferId:
12
+ $ref: ./CorrelationId.yaml
13
+ homeR2PTransactionId:
14
+ type: string
15
+ description: >-
16
+ Transaction ID from the DFSP backend, used to reconcile transactions
17
+ between the Switch and DFSP backend systems.
18
+ transactionRequestId:
19
+ $ref: ./CorrelationId.yaml
20
+ from:
21
+ $ref: ./transferParty.yaml
22
+ to:
23
+ $ref: ./transferParty.yaml
24
+ amountType:
25
+ $ref: ./AmountType.yaml
26
+ currency:
27
+ $ref: ./Currency.yaml
28
+ amount:
29
+ $ref: ./Amount.yaml
30
+ transactionType:
31
+ $ref: ./transferTransactionType.yaml
32
+ note:
33
+ $ref: ./Note.yaml
34
+ currentState:
35
+ $ref: ./transferStatus.yaml
36
+ quoteId:
37
+ $ref: ./CorrelationId.yaml
38
+ quoteResponse:
39
+ type: object
40
+ required:
41
+ - body
42
+ properties:
43
+ body:
44
+ $ref: ./QuotesIDPutResponse.yaml
45
+ headers:
46
+ type: object
47
+ quoteResponseSource:
48
+ type: string
49
+ description: >
50
+ FSPID of the entity that supplied the quote response. This may not be the
51
+ same as the FSPID of the entity which owns the end user account in the
52
+ case of a FOREX transfer. i.e. it may be a FOREX gateway.
53
+ authorizationResponse:
54
+ type: object
55
+ required:
56
+ - body
57
+ properties:
58
+ body:
59
+ $ref: ./AuthorizationIDPutResponse.yaml
60
+ headers:
61
+ type: object
62
+ fulfil:
63
+ type: object
64
+ required:
65
+ - body
66
+ properties:
67
+ body:
68
+ $ref: ./TransfersIDPutResponse.yaml
69
+ headers:
70
+ type: object
71
+ lastError:
72
+ $ref: ./transferError.yaml
@@ -0,0 +1,10 @@
1
+ title: simpleQuotesPostRequest
2
+ type: object
3
+ properties:
4
+ fspId:
5
+ $ref: ./FspId.yaml
6
+ quotesPostRequest:
7
+ $ref: ./QuotesPostRequest.yaml
8
+ required:
9
+ - fspId
10
+ - quotesPostRequest
@@ -0,0 +1,10 @@
1
+ title: SimpleTransfersPostRequest
2
+ type: object
3
+ properties:
4
+ fspId:
5
+ $ref: ./FspId.yaml
6
+ transfersPostRequest:
7
+ $ref: ./TransfersPostRequest.yaml
8
+ required:
9
+ - fspId
10
+ - transfersPostRequest
@@ -0,0 +1,17 @@
1
+ title: SimpleTransfersPostResponse
2
+ type: object
3
+ properties:
4
+ transfer:
5
+ properties:
6
+ body:
7
+ $ref: ./TransfersIDPutResponse.yaml
8
+ headers:
9
+ type: object
10
+ required:
11
+ - body
12
+ - headers
13
+ currentState:
14
+ $ref: ./async2SyncCurrentState.yaml
15
+ required:
16
+ - transfer
17
+ - currentState
@@ -0,0 +1,9 @@
1
+ type: object
2
+ required:
3
+ - acceptConversion
4
+ properties:
5
+ acceptConversion:
6
+ type: boolean
7
+ enum:
8
+ - true
9
+ - false
@@ -0,0 +1,9 @@
1
+ type: object
2
+ required:
3
+ - acceptOTP
4
+ properties:
5
+ acceptOTP:
6
+ type: boolean
7
+ enum:
8
+ - true
9
+ - false
@@ -0,0 +1,9 @@
1
+ type: object
2
+ required:
3
+ - acceptParty
4
+ properties:
5
+ acceptParty:
6
+ type: boolean
7
+ enum:
8
+ - true
9
+ - false
@@ -0,0 +1,9 @@
1
+ type: object
2
+ required:
3
+ - acceptQuote
4
+ properties:
5
+ acceptQuote:
6
+ type: boolean
7
+ enum:
8
+ - true
9
+ - false
@@ -0,0 +1,12 @@
1
+ type: object
2
+ description: >-
3
+ This object represents a Mojaloop API error received at any time during the
4
+ transfer process
5
+ properties:
6
+ httpStatusCode:
7
+ type: integer
8
+ description: >-
9
+ The HTTP status code returned to the caller. This is the same as the
10
+ actual HTTP status code returned with the response.
11
+ mojaloopError:
12
+ $ref: ./mojaloopError.yaml
@@ -0,0 +1,38 @@
1
+ type: object
2
+ required:
3
+ - idType
4
+ - idValue
5
+ properties:
6
+ type:
7
+ $ref: ./TransactionInitiatorType.yaml
8
+ idType:
9
+ $ref: ./PartyIdType.yaml
10
+ idValue:
11
+ $ref: ./PartyIdentifier.yaml
12
+ idSubValue:
13
+ $ref: ./PartySubIdOrType.yaml
14
+ displayName:
15
+ $ref: ./Name.yaml
16
+ firstName:
17
+ $ref: ./FirstName.yaml
18
+ middleName:
19
+ $ref: ./MiddleName.yaml
20
+ lastName:
21
+ $ref: ./LastName.yaml
22
+ dateOfBirth:
23
+ $ref: ./DateOfBirth.yaml
24
+ merchantClassificationCode:
25
+ $ref: ./MerchantClassificationCode.yaml
26
+ fspId:
27
+ $ref: ./FspId.yaml
28
+ supportedCurrencies:
29
+ type: array
30
+ description: Currencies in which the party can receive funds.
31
+ items:
32
+ $ref: ./Currency.yaml
33
+ minItems: 0
34
+ maxItems: 16
35
+ kycInformation:
36
+ $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml#/properties/kycInformation"
37
+ extensionList:
38
+ $ref: ./extensionListEmptiable.yaml
@@ -0,0 +1,41 @@
1
+ type: object
2
+ required:
3
+ - homeTransactionId
4
+ - from
5
+ - to
6
+ - amountType
7
+ - currency
8
+ - amount
9
+ - transactionType
10
+ properties:
11
+ homeTransactionId:
12
+ type: string
13
+ description: >-
14
+ Transaction ID from the DFSP backend, used to reconcile transactions
15
+ between the Switch and DFSP backend systems.
16
+ from:
17
+ $ref: ./transferParty.yaml
18
+ to:
19
+ $ref: ./transferParty.yaml
20
+ amountType:
21
+ $ref: ./AmountType.yaml
22
+ currency:
23
+ $ref: ./Currency.yaml
24
+ amount:
25
+ $ref: ./Amount.yaml
26
+ transactionType:
27
+ $ref: ./transferTransactionType.yaml
28
+ subScenario:
29
+ $ref: ./TransactionSubScenario.yaml
30
+ note:
31
+ $ref: ./Note.yaml
32
+ quoteRequestExtensions:
33
+ $ref: ./extensionListEmptiable.yaml
34
+ transferRequestExtensions:
35
+ $ref: ./extensionListEmptiable.yaml
36
+ skipPartyLookup:
37
+ description: >-
38
+ Set to true if supplying an FSPID for the payee party and no party
39
+ resolution is needed. This may be useful is a previous party resolution
40
+ has been performed.
41
+ type: boolean
@@ -0,0 +1,93 @@
1
+ type: object
2
+ required:
3
+ - homeTransactionId
4
+ - from
5
+ - to
6
+ - amountType
7
+ - currency
8
+ - amount
9
+ - transactionType
10
+ properties:
11
+ transferId:
12
+ $ref: ./CorrelationId.yaml
13
+ homeTransactionId:
14
+ type: string
15
+ description: >-
16
+ Transaction ID from the DFSP backend, used to reconcile transactions
17
+ between the Switch and DFSP backend systems.
18
+ from:
19
+ $ref: ./transferParty.yaml
20
+ to:
21
+ $ref: ./transferParty.yaml
22
+ amountType:
23
+ $ref: ./AmountType.yaml
24
+ currency:
25
+ $ref: ./Currency.yaml
26
+ amount:
27
+ $ref: ./Amount.yaml
28
+ transactionType:
29
+ $ref: ./transferTransactionType.yaml
30
+ subScenario:
31
+ $ref: ./TransactionSubScenario.yaml
32
+ note:
33
+ $ref: ./Note.yaml
34
+ currentState:
35
+ $ref: ./transferStatus.yaml
36
+ quoteId:
37
+ $ref: ./CorrelationId.yaml
38
+ getPartiesResponse:
39
+ type: object
40
+ required:
41
+ - body
42
+ properties:
43
+ body:
44
+ type: object
45
+ headers:
46
+ type: object
47
+ quoteResponse:
48
+ type: object
49
+ required:
50
+ - body
51
+ properties:
52
+ body:
53
+ $ref: ./QuotesIDPutResponse.yaml
54
+ headers:
55
+ type: object
56
+ quoteResponseSource:
57
+ type: string
58
+ description: >
59
+ FSPID of the entity that supplied the quote response. This may not be the
60
+ same as the FSPID of the entity which owns the end user account in the
61
+ case of a FOREX transfer. i.e. it may be a FOREX gateway.
62
+ conversionRequestId:
63
+ $ref: ./CorrelationId.yaml
64
+ fxQuotesResponse:
65
+ type: object
66
+ required:
67
+ - body
68
+ properties:
69
+ body:
70
+ $ref: ./FxQuotesPostOutboundResponse.yaml
71
+ headers:
72
+ type: object
73
+ fxQuotesResponseSource:
74
+ type: string
75
+ description: >
76
+ FXPID of the entity that supplied the fxQuotes response.
77
+ fulfil:
78
+ type: object
79
+ required:
80
+ - body
81
+ properties:
82
+ body:
83
+ $ref: ./TransfersIDPutResponse.yaml
84
+ headers:
85
+ type: object
86
+ lastError:
87
+ $ref: ./transferError.yaml
88
+ skipPartyLookup:
89
+ description: >-
90
+ Set to true if supplying an FSPID for the payee party and no party
91
+ resolution is needed. This may be useful is a previous party resolution
92
+ has been performed.
93
+ type: boolean
@@ -0,0 +1,7 @@
1
+ type: string
2
+ enum:
3
+ - ERROR_OCCURRED
4
+ - WAITING_FOR_PARTY_ACCEPTANCE
5
+ - WAITING_FOR_QUOTE_ACCEPTANCE
6
+ - WAITING_FOR_CONVERSION_ACCEPTANCE
7
+ - COMPLETED
@@ -0,0 +1,19 @@
1
+ type: object
2
+ required:
3
+ - transferId
4
+ - currentState
5
+ - fulfil
6
+ properties:
7
+ transferId:
8
+ $ref: ./CorrelationId.yaml
9
+ currentState:
10
+ $ref: ./transferStatus.yaml
11
+ fulfil:
12
+ type: object
13
+ required:
14
+ - body
15
+ properties:
16
+ body:
17
+ $ref: ./TransfersIDPutResponse.yaml
18
+ headers:
19
+ type: object
@@ -0,0 +1,5 @@
1
+ title: transferTransactionType
2
+ type: string
3
+ enum:
4
+ - TRANSFER
5
+ description: Type of transaction.
@@ -0,0 +1,66 @@
1
+ openapi: 3.0.1
2
+ info:
3
+ title: Mojaloop SDK Outbound Scheme Adapter API
4
+ description: >
5
+ Specification for the Mojaloop SDK Scheme Adapter Outbound Transfers API
6
+
7
+
8
+ This API can be used by DFSP backends to simplify the process of sending
9
+ funds to other parties within a Mojaloop scheme.
10
+
11
+
12
+ Please see other documentation on
13
+ https://github.com/mojaloop/sdk-scheme-adapter for more information.
14
+
15
+
16
+ **Note on terminology:** The term "Switch" is equal to the term "Hub", and
17
+ the term "FSP" is equal to the term "DFSP".
18
+ license:
19
+ name: Apache License Version 2.0, January 2004
20
+ url: https://github.com/mojaloop/documentation/blob/main/LICENSE.md
21
+ version: 2.1.0
22
+ paths:
23
+ /:
24
+ $ref: paths.yaml
25
+ /accounts:
26
+ $ref: paths/accounts.yaml
27
+ /bulkQuotes:
28
+ $ref: paths/bulkQuotes.yaml
29
+ /bulkQuotes/{bulkQuoteId}:
30
+ $ref: paths/bulkQuotes_bulkQuoteId.yaml
31
+ /bulkTransactions:
32
+ $ref: paths/bulkTransactions.yaml
33
+ /bulkTransactions/{bulkTransactionId}:
34
+ $ref: paths/bulkTransactions_bulkTransactionId.yaml
35
+ /bulkTransfers:
36
+ $ref: paths/bulkTransfers.yaml
37
+ /bulkTransfers/{bulkTransferId}:
38
+ $ref: paths/bulkTransfers_bulkTransferId.yaml
39
+ /parties/{Type}/{ID}:
40
+ $ref: paths/parties_Type_ID.yaml
41
+ /parties/{Type}/{ID}/{SubId}:
42
+ $ref: paths/parties_Type_ID_SubId.yaml
43
+ /quotes:
44
+ $ref: paths/quotes.yaml
45
+ /requestToPay:
46
+ $ref: paths/requestToPay.yaml
47
+ /requestToPay/{transactionRequestId}:
48
+ $ref: paths/requestToPay_transactionRequestId.yaml
49
+ /requestToPayTransfer:
50
+ $ref: paths/requestToPayTransfer.yaml
51
+ /requestToPayTransfer/{transactionRequestId}:
52
+ $ref: paths/requestToPayTransfer_transactionRequestId.yaml
53
+ /simpleTransfers:
54
+ $ref: paths/simpleTransfers.yaml
55
+ /transfers:
56
+ $ref: paths/transfers.yaml
57
+ /transfers/{transferId}:
58
+ $ref: paths/transfers_transferId.yaml
59
+ /services/FXP:
60
+ $ref: 'paths/services_FXP.yaml'
61
+ /services/FXP/{SourceCurrency}/{TargetCurrency}:
62
+ $ref: 'paths/services_FXP_SourceCurrency_TargetCurrency.yaml'
63
+ /fxQuotes:
64
+ $ref: 'paths/fxQuotes.yaml'
65
+ /fxTransfers:
66
+ $ref: 'paths/fxTransfers.yaml'
@@ -0,0 +1,26 @@
1
+ post:
2
+ summary: Create accounts on the Account Lookup Service
3
+ description: >-
4
+ The HTTP request `POST /accounts` is used to create account information on
5
+ the Account Lookup Service (ALS) regarding the provided list of identities.
6
+
7
+
8
+ Caller DFSP is used as the account source FSP information
9
+ tags:
10
+ - Accounts
11
+ requestBody:
12
+ description: Identities list request body
13
+ content:
14
+ application/json:
15
+ schema:
16
+ $ref: ../../components/schemas/accountsRequest.yaml
17
+ required: true
18
+ responses:
19
+ '200':
20
+ $ref: ../../components/responses/accountsCreationCompleted.yaml
21
+ '400':
22
+ $ref: ../../components/responses/accountsCreationError.yaml
23
+ '500':
24
+ $ref: ../../components/responses/accountsCreationError.yaml
25
+ '504':
26
+ $ref: ../../components/responses/accountsCreationTimeout.yaml
@@ -0,0 +1,23 @@
1
+ post:
2
+ summary: Request bulk quotes for the provided financial transactions
3
+ description: >
4
+ The HTTP request `POST /bulkQuotes` is used to request a bulk quote to
5
+ fascilitate funds transfer from payer DFSP to payees' DFSP.
6
+ tags:
7
+ - BulkQuotes
8
+ requestBody:
9
+ description: Bulk quote request body
10
+ content:
11
+ application/json:
12
+ schema:
13
+ $ref: ../../components/schemas/bulkQuoteRequest.yaml
14
+ required: true
15
+ responses:
16
+ '200':
17
+ $ref: ../../components/responses/bulkQuoteSuccess.yaml
18
+ '400':
19
+ $ref: ../../components/responses/bulkQuoteBadRequest.yaml
20
+ '500':
21
+ $ref: ../../components/responses/bulkQuoteServerError.yaml
22
+ '504':
23
+ $ref: ../../components/responses/bulkQuoteTimeout.yaml
@@ -0,0 +1,24 @@
1
+ get:
2
+ summary: Retrieves information for a specific bulk quote
3
+ description: >-
4
+ The HTTP request `GET /bulkQuotes/{bulktQuoteId}` is used to get information
5
+ regarding a bulk quote created or requested earlier. The `{bulkQuoteId}` in
6
+ the URI should contain the `bulkQuoteId` that was used for the creation of
7
+ the bulk quote.
8
+ tags:
9
+ - BulkQuotes
10
+ parameters:
11
+ - $ref: ../../components/parameters/bulkQuoteId.yaml
12
+ responses:
13
+ '200':
14
+ description: Bulk quote information successfully retrieved
15
+ content:
16
+ application/json:
17
+ schema:
18
+ $ref: ../../components/schemas/bulkQuoteStatusResponse.yaml
19
+ '500':
20
+ description: An error occurred processing the bulk quote
21
+ content:
22
+ application/json:
23
+ schema:
24
+ $ref: ../../components/schemas/errorResponse.yaml
@@ -0,0 +1,21 @@
1
+ post:
2
+ summary: Sends money from one account to multiple accounts
3
+ description: >
4
+ The HTTP request `POST /bulkTransactions` is used to request the movement of
5
+ funds from payer DFSP to payees' DFSP.
6
+ tags:
7
+ - BulkTransactions
8
+ requestBody:
9
+ description: Bulk transfer request body
10
+ content:
11
+ application/json:
12
+ schema:
13
+ $ref: ../../components/schemas/bulkTransactionRequest.yaml
14
+ required: true
15
+ responses:
16
+ '202':
17
+ $ref: ../../components/responses/bulkTransactionAccepted.yaml
18
+ '400':
19
+ $ref: ../../components/responses/bulkTransferBadRequest.yaml
20
+ '500':
21
+ $ref: ../../components/responses/errorResponse.yaml
@@ -0,0 +1,33 @@
1
+ put:
2
+ summary: Amends the bulk transaction request
3
+ description: >-
4
+ The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend
5
+ information regarding a bulk transaction, i.e. when autoAcceptParty or
6
+ autoAcceptQuote is false then the payer need to provide confirmation to
7
+ proceed with further processing of the request. The `{bulkTransactionId}` in
8
+ the URI should contain the `bulkTransactionId` that was used for the
9
+ creation of the bulk transfer.
10
+ tags:
11
+ - BulkTransactions
12
+ parameters:
13
+ - $ref: ../../components/parameters/bulkTransactionId.yaml
14
+ requestBody:
15
+ description: Bulk transaction request body
16
+ content:
17
+ application/json:
18
+ schema:
19
+ oneOf:
20
+ - $ref: ../../components/schemas/bulkTransactionContinuationAcceptParty.yaml
21
+ - $ref: ../../components/schemas/bulkTransactionContinuationAcceptQuote.yaml
22
+ required: true
23
+ responses:
24
+ '202':
25
+ description: Bulk transaction information successfully amended
26
+ '400':
27
+ $ref: ../../components/responses/bulkTransactionPutBadRequest.yaml
28
+ '500':
29
+ description: An error occurred processing the bulk transaction
30
+ content:
31
+ application/json:
32
+ schema:
33
+ $ref: ../../components/schemas/errorResponse.yaml
@@ -0,0 +1,21 @@
1
+ post:
2
+ summary: Sends money from one account to multiple accounts
3
+ description: >
4
+ The HTTP request `POST /bulkTransfers` is used to request the movement of
5
+ funds from payer DFSP to payees' DFSP.
6
+ tags:
7
+ - BulkTransfers
8
+ requestBody:
9
+ description: Bulk transfer request body
10
+ content:
11
+ application/json:
12
+ schema:
13
+ $ref: ../../components/schemas/bulkTransferRequest.yaml
14
+ required: true
15
+ responses:
16
+ '200':
17
+ $ref: ../../components/responses/bulkTransferSuccess.yaml
18
+ '400':
19
+ $ref: ../../components/responses/bulkTransferBadRequest.yaml
20
+ '500':
21
+ $ref: ../../components/responses/errorResponse.yaml
@@ -0,0 +1,24 @@
1
+ get:
2
+ summary: Retrieves information for a specific bulk transfer
3
+ description: >-
4
+ The HTTP request `GET /bulkTransfers/{bulkTransferId}` is used to get
5
+ information regarding a bulk transfer created or requested earlier. The
6
+ `{bulkTransferId}` in the URI should contain the `bulkTransferId` that
7
+ was used for the creation of the bulk transfer.
8
+ tags:
9
+ - BulkTransfers
10
+ parameters:
11
+ - $ref: ../../components/parameters/bulkTransferId.yaml
12
+ responses:
13
+ '200':
14
+ description: Bulk transfer information successfully retrieved
15
+ content:
16
+ application/json:
17
+ schema:
18
+ $ref: ../../components/responses/bulkTransferStatusResponse.yaml
19
+ '500':
20
+ description: An error occurred processing the bulk transfer
21
+ content:
22
+ application/json:
23
+ schema:
24
+ $ref: ../../components/schemas/errorResponse.yaml
@@ -0,0 +1,26 @@
1
+ post:
2
+ description: >-
3
+ The HTTP request `POST /fxQuotes` is used to ask to provide a quotation for a currency conversion.
4
+ summary: Calculate FX quote
5
+ tags:
6
+ - Fx
7
+ operationId: FxQuotesPost
8
+ requestBody:
9
+ description: Details of the FX quote request.
10
+ required: true
11
+ content:
12
+ application/json:
13
+ schema:
14
+ $ref: ../../components/schemas/FxQuotesPostOutboundRequest.yaml
15
+ responses:
16
+ '200':
17
+ description: Successful response.
18
+ content:
19
+ application/json:
20
+ schema:
21
+ $ref: ../../components/schemas/FxQuotesPostOutboundResponse.yaml
22
+ '400':
23
+ $ref: ../../components/responses/400.yaml
24
+ '500':
25
+ $ref: ../../components/responses/500.yaml
26
+
@@ -0,0 +1,25 @@
1
+ post:
2
+ description: >-
3
+ The HTTP request `POST /fxTransfers` is used to ask to confirm the execution of an agreed currency conversion.
4
+ summary: Perform FX transfer
5
+ tags:
6
+ - Fx
7
+ operationId: FxTransfersPost
8
+ requestBody:
9
+ description: Details of the FX transfer request.
10
+ required: true
11
+ content:
12
+ application/json:
13
+ schema:
14
+ $ref: ../../components/schemas/FxTransfersPostOutboundRequest.yaml
15
+ responses:
16
+ '200':
17
+ description: Successful response.
18
+ content:
19
+ application/json:
20
+ schema:
21
+ $ref: ../../components/schemas/FxTransfersPostOutboundResponse.yaml
22
+ '400':
23
+ $ref: ../../components/responses/400.yaml
24
+ '500':
25
+ $ref: ../../components/responses/500.yaml