@mojaloop/api-snippets 17.2.5 → 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 (413) hide show
  1. package/README.md +12 -0
  2. package/audit-ci.jsonc +1 -0
  3. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +0 -1
  4. package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +4855 -0
  5. package/docs/index.html +5 -0
  6. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +3 -2
  7. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2837 -0
  8. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +3 -20
  9. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3451 -0
  10. package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
  11. package/fspiop/v2_0/openapi3/components/headers/Content-Length.yaml +9 -0
  12. package/fspiop/v2_0/openapi3/components/headers/Content-Type.yaml +6 -0
  13. package/fspiop/v2_0/openapi3/components/parameters/Accept.yaml +8 -0
  14. package/fspiop/v2_0/openapi3/components/parameters/Content-Length.yaml +11 -0
  15. package/fspiop/v2_0/openapi3/components/parameters/Content-Type.yaml +8 -0
  16. package/fspiop/v2_0/openapi3/components/parameters/Date.yaml +6 -0
  17. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Destination.yaml +13 -0
  18. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Encryption.yaml +8 -0
  19. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +11 -0
  20. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Signature.yaml +8 -0
  21. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Source.yaml +10 -0
  22. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-URI.yaml +10 -0
  23. package/fspiop/v2_0/openapi3/components/parameters/ID.yaml +6 -0
  24. package/fspiop/v2_0/openapi3/components/parameters/SourceCurrency.yaml +6 -0
  25. package/fspiop/v2_0/openapi3/components/parameters/SubId.yaml +8 -0
  26. package/fspiop/v2_0/openapi3/components/parameters/TargetCurrency.yaml +6 -0
  27. package/fspiop/v2_0/openapi3/components/parameters/Type.yaml +6 -0
  28. package/fspiop/v2_0/openapi3/components/parameters/X-Forwarded-For.yaml +15 -0
  29. package/fspiop/v2_0/openapi3/components/responses/200.yaml +1 -0
  30. package/fspiop/v2_0/openapi3/components/responses/202.yaml +1 -0
  31. package/fspiop/v2_0/openapi3/components/responses/400.yaml +10 -0
  32. package/fspiop/v2_0/openapi3/components/responses/401.yaml +10 -0
  33. package/fspiop/v2_0/openapi3/components/responses/403.yaml +10 -0
  34. package/fspiop/v2_0/openapi3/components/responses/404.yaml +10 -0
  35. package/fspiop/v2_0/openapi3/components/responses/405.yaml +10 -0
  36. package/fspiop/v2_0/openapi3/components/responses/406.yaml +10 -0
  37. package/fspiop/v2_0/openapi3/components/responses/501.yaml +10 -0
  38. package/fspiop/v2_0/openapi3/components/responses/503.yaml +10 -0
  39. package/fspiop/v2_0/openapi3/components/schemas/Amount.yaml +11 -0
  40. package/fspiop/v2_0/openapi3/components/schemas/AmountType.yaml +14 -0
  41. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationInfo.yaml +11 -0
  42. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationType.yaml +12 -0
  43. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationValue.yaml +9 -0
  44. package/fspiop/v2_0/openapi3/components/schemas/AuthorizationResponse.yaml +12 -0
  45. package/fspiop/v2_0/openapi3/components/schemas/AuthorizationsIDPutResponse.yaml +10 -0
  46. package/fspiop/v2_0/openapi3/components/schemas/BalanceOfPayments.yaml +9 -0
  47. package/fspiop/v2_0/openapi3/components/schemas/BinaryString.yaml +7 -0
  48. package/fspiop/v2_0/openapi3/components/schemas/BinaryString32.yaml +7 -0
  49. package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesIDPutResponse.yaml +18 -0
  50. package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +25 -0
  51. package/fspiop/v2_0/openapi3/components/schemas/BulkTransferState.yaml +18 -0
  52. package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersIDPutResponse.yaml +18 -0
  53. package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersPostRequest.yaml +30 -0
  54. package/fspiop/v2_0/openapi3/components/schemas/Code.yaml +5 -0
  55. package/fspiop/v2_0/openapi3/components/schemas/CorrelationId.yaml +10 -0
  56. package/fspiop/v2_0/openapi3/components/schemas/Currency.yaml +174 -0
  57. package/fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml +9 -0
  58. package/fspiop/v2_0/openapi3/components/schemas/Date.yaml +9 -0
  59. package/fspiop/v2_0/openapi3/components/schemas/DateOfBirth.yaml +6 -0
  60. package/fspiop/v2_0/openapi3/components/schemas/DateTime.yaml +14 -0
  61. package/fspiop/v2_0/openapi3/components/schemas/ErrorCode.yaml +11 -0
  62. package/fspiop/v2_0/openapi3/components/schemas/ErrorDescription.yaml +5 -0
  63. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformation.yaml +13 -0
  64. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml +8 -0
  65. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationResponse.yaml +8 -0
  66. package/fspiop/v2_0/openapi3/components/schemas/Extension.yaml +11 -0
  67. package/fspiop/v2_0/openapi3/components/schemas/ExtensionKey.yaml +5 -0
  68. package/fspiop/v2_0/openapi3/components/schemas/ExtensionList.yaml +15 -0
  69. package/fspiop/v2_0/openapi3/components/schemas/ExtensionValue.yaml +5 -0
  70. package/fspiop/v2_0/openapi3/components/schemas/FirstName.yaml +9 -0
  71. package/fspiop/v2_0/openapi3/components/schemas/FspId.yaml +5 -0
  72. package/fspiop/v2_0/openapi3/components/schemas/FxCharge.yaml +19 -0
  73. package/fspiop/v2_0/openapi3/components/schemas/FxConversion.yaml +57 -0
  74. package/fspiop/v2_0/openapi3/components/schemas/FxMoney.yaml +10 -0
  75. package/fspiop/v2_0/openapi3/components/schemas/FxQuotesIDPutResponse.yaml +15 -0
  76. package/fspiop/v2_0/openapi3/components/schemas/FxQuotesPostRequest.yaml +15 -0
  77. package/fspiop/v2_0/openapi3/components/schemas/FxRate.yaml +15 -0
  78. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPatchResponse.yaml +16 -0
  79. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml +20 -0
  80. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersPostRequest.yaml +41 -0
  81. package/fspiop/v2_0/openapi3/components/schemas/GeoCode.yaml +13 -0
  82. package/fspiop/v2_0/openapi3/components/schemas/IlpCondition.yaml +5 -0
  83. package/fspiop/v2_0/openapi3/components/schemas/IlpFulfilment.yaml +6 -0
  84. package/fspiop/v2_0/openapi3/components/schemas/IlpPacket.yaml +7 -0
  85. package/fspiop/v2_0/openapi3/components/schemas/IndividualQuote.yaml +29 -0
  86. package/fspiop/v2_0/openapi3/components/schemas/IndividualQuoteResult.yaml +26 -0
  87. package/fspiop/v2_0/openapi3/components/schemas/IndividualTransfer.yaml +19 -0
  88. package/fspiop/v2_0/openapi3/components/schemas/IndividualTransferResult.yaml +14 -0
  89. package/fspiop/v2_0/openapi3/components/schemas/Integer.yaml +7 -0
  90. package/fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml +33 -0
  91. package/fspiop/v2_0/openapi3/components/schemas/LastName.yaml +9 -0
  92. package/fspiop/v2_0/openapi3/components/schemas/Latitude.yaml +7 -0
  93. package/fspiop/v2_0/openapi3/components/schemas/Longitude.yaml +8 -0
  94. package/fspiop/v2_0/openapi3/components/schemas/MerchantClassificationCode.yaml +7 -0
  95. package/fspiop/v2_0/openapi3/components/schemas/MiddleName.yaml +9 -0
  96. package/fspiop/v2_0/openapi3/components/schemas/Money.yaml +11 -0
  97. package/fspiop/v2_0/openapi3/components/schemas/Name.yaml +17 -0
  98. package/fspiop/v2_0/openapi3/components/schemas/Note.yaml +6 -0
  99. package/fspiop/v2_0/openapi3/components/schemas/OtpValue.yaml +7 -0
  100. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsIDPutResponse.yaml +17 -0
  101. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsPostRequest.yaml +20 -0
  102. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDPutResponse.yaml +8 -0
  103. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDSubIDPostRequest.yaml +15 -0
  104. package/fspiop/v2_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +8 -0
  105. package/fspiop/v2_0/openapi3/components/schemas/Party.yaml +21 -0
  106. package/fspiop/v2_0/openapi3/components/schemas/PartyComplexName.yaml +10 -0
  107. package/fspiop/v2_0/openapi3/components/schemas/PartyIdInfo.yaml +19 -0
  108. package/fspiop/v2_0/openapi3/components/schemas/PartyIdType.yaml +54 -0
  109. package/fspiop/v2_0/openapi3/components/schemas/PartyIdentifier.yaml +6 -0
  110. package/fspiop/v2_0/openapi3/components/schemas/PartyName.yaml +5 -0
  111. package/fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml +10 -0
  112. package/fspiop/v2_0/openapi3/components/schemas/PartyResult.yaml +10 -0
  113. package/fspiop/v2_0/openapi3/components/schemas/PartySubIdOrType.yaml +7 -0
  114. package/fspiop/v2_0/openapi3/components/schemas/PersonalIdentifierType.yaml +51 -0
  115. package/fspiop/v2_0/openapi3/components/schemas/QRCODE.yaml +5 -0
  116. package/fspiop/v2_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +27 -0
  117. package/fspiop/v2_0/openapi3/components/schemas/QuotesPostRequest.yaml +53 -0
  118. package/fspiop/v2_0/openapi3/components/schemas/Refund.yaml +10 -0
  119. package/fspiop/v2_0/openapi3/components/schemas/RefundReason.yaml +6 -0
  120. package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPPutResponse.yaml +13 -0
  121. package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPSourceCurrencyTargetCurrencyPutResponse.yaml +13 -0
  122. package/fspiop/v2_0/openapi3/components/schemas/TokenCode.yaml +6 -0
  123. package/fspiop/v2_0/openapi3/components/schemas/Transaction.yaml +50 -0
  124. package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiator.yaml +16 -0
  125. package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiatorType.yaml +14 -0
  126. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestState.yaml +14 -0
  127. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsIDPutResponse.yaml +12 -0
  128. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsPostRequest.yaml +30 -0
  129. package/fspiop/v2_0/openapi3/components/schemas/TransactionScenario.yaml +32 -0
  130. package/fspiop/v2_0/openapi3/components/schemas/TransactionState.yaml +14 -0
  131. package/fspiop/v2_0/openapi3/components/schemas/TransactionSubScenario.yaml +5 -0
  132. package/fspiop/v2_0/openapi3/components/schemas/TransactionType.yaml +20 -0
  133. package/fspiop/v2_0/openapi3/components/schemas/TransactionsIDPutResponse.yaml +14 -0
  134. package/fspiop/v2_0/openapi3/components/schemas/TransferState.yaml +19 -0
  135. package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPatchResponse.yaml +13 -0
  136. package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPutResponse.yaml +14 -0
  137. package/fspiop/v2_0/openapi3/components/schemas/TransfersPostRequest.yaml +28 -0
  138. package/fspiop/v2_0/openapi3/components/schemas/U2FPIN.yaml +8 -0
  139. package/fspiop/v2_0/openapi3/components/schemas/U2FPinValue.yaml +19 -0
  140. package/fspiop/v2_0/openapi3/components/schemas/UndefinedEnum.yaml +6 -0
  141. package/fspiop/v2_0/openapi3/openapi.yaml +126 -0
  142. package/fspiop/v2_0/openapi3/paths/authorizations_ID.yaml +110 -0
  143. package/fspiop/v2_0/openapi3/paths/authorizations_ID_error.yaml +48 -0
  144. package/fspiop/v2_0/openapi3/paths/bulkQuotes.yaml +46 -0
  145. package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID.yaml +79 -0
  146. package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID_error.yaml +49 -0
  147. package/fspiop/v2_0/openapi3/paths/bulkTransfers.yaml +46 -0
  148. package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID.yaml +81 -0
  149. package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID_error.yaml +49 -0
  150. package/fspiop/v2_0/openapi3/paths/fxQuotes.yaml +45 -0
  151. package/fspiop/v2_0/openapi3/paths/fxQuotes_ID.yaml +79 -0
  152. package/fspiop/v2_0/openapi3/paths/fxQuotes_ID_error.yaml +49 -0
  153. package/fspiop/v2_0/openapi3/paths/fxTransfers.yaml +45 -0
  154. package/fspiop/v2_0/openapi3/paths/fxTransfers_ID.yaml +118 -0
  155. package/fspiop/v2_0/openapi3/paths/fxTransfers_ID_error.yaml +49 -0
  156. package/fspiop/v2_0/openapi3/paths/participants.yaml +49 -0
  157. package/fspiop/v2_0/openapi3/paths/participants_ID.yaml +46 -0
  158. package/fspiop/v2_0/openapi3/paths/participants_ID_error.yaml +48 -0
  159. package/fspiop/v2_0/openapi3/paths/participants_Type_ID.yaml +167 -0
  160. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId.yaml +168 -0
  161. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId_error.yaml +50 -0
  162. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_error.yaml +49 -0
  163. package/fspiop/v2_0/openapi3/paths/parties_Type_ID.yaml +81 -0
  164. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId.yaml +82 -0
  165. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId_error.yaml +50 -0
  166. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_error.yaml +49 -0
  167. package/fspiop/v2_0/openapi3/paths/quotes.yaml +46 -0
  168. package/fspiop/v2_0/openapi3/paths/quotes_ID.yaml +79 -0
  169. package/fspiop/v2_0/openapi3/paths/quotes_ID_error.yaml +49 -0
  170. package/fspiop/v2_0/openapi3/paths/services_FXP.yaml +73 -0
  171. package/fspiop/v2_0/openapi3/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +77 -0
  172. package/fspiop/v2_0/openapi3/paths/transactionRequests.yaml +47 -0
  173. package/fspiop/v2_0/openapi3/paths/transactionRequests_ID.yaml +81 -0
  174. package/fspiop/v2_0/openapi3/paths/transactionRequests_ID_error.yaml +50 -0
  175. package/fspiop/v2_0/openapi3/paths/transactions_ID.yaml +80 -0
  176. package/fspiop/v2_0/openapi3/paths/transactions_ID_error.yaml +48 -0
  177. package/fspiop/v2_0/openapi3/paths/transfers.yaml +46 -0
  178. package/fspiop/v2_0/openapi3/paths/transfers_ID.yaml +119 -0
  179. package/fspiop/v2_0/openapi3/paths/transfers_ID_error.yaml +49 -0
  180. package/lib/fspiop/v1_0/openapi.d.ts +0 -1
  181. package/lib/fspiop/v2_0/openapi.d.ts +3982 -0
  182. package/lib/fspiop/v2_0/openapi.js +7 -0
  183. package/lib/fspiop/v2_0/openapi.js.map +1 -0
  184. package/lib/scripts/json-schema-generator.js +4 -5
  185. package/lib/scripts/json-schema-generator.js.map +1 -1
  186. package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
  187. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
  188. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
  189. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
  190. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
  191. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
  192. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
  193. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
  194. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
  195. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
  196. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
  197. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
  198. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
  199. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
  200. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
  201. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
  202. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
  203. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
  204. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
  205. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
  206. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
  207. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
  208. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
  209. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
  210. package/package.json +42 -28
  211. package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
  212. package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
  213. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
  214. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
  215. package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
  216. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
  217. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
  218. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
  219. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
  220. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
  221. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
  222. package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
  223. package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
  224. package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
  225. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
  226. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
  227. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
  228. package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
  229. package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
  230. package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
  231. package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
  232. package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
  233. package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
  234. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
  235. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
  236. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
  237. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
  238. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
  239. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
  240. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
  241. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
  242. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
  243. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
  244. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
  245. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
  246. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
  247. package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
  248. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
  249. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
  250. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
  251. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
  252. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
  253. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
  254. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
  255. package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
  256. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
  257. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
  258. package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
  259. package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
  260. package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
  261. package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
  262. package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
  263. package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
  264. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
  265. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
  266. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
  267. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
  268. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
  269. package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
  270. package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
  271. package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
  272. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
  273. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
  274. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
  275. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
  276. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
  277. package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
  278. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
  279. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
  280. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
  281. package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
  282. package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
  283. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
  284. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
  285. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
  286. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
  287. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
  288. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
  289. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
  290. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
  291. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
  292. package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
  293. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
  294. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
  295. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
  296. package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
  297. package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
  298. package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
  299. package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
  300. package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
  301. package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
  302. package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
  303. package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
  304. package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
  305. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
  306. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
  307. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
  308. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
  309. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
  310. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
  311. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
  312. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
  313. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
  314. package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
  315. package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
  316. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
  317. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
  318. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
  319. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
  320. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
  321. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
  322. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
  323. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
  324. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
  325. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
  326. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
  327. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
  328. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
  329. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
  330. package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
  331. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
  332. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
  333. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
  334. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
  335. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
  336. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
  337. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
  338. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
  339. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
  340. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
  341. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
  342. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
  343. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
  344. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
  345. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
  346. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
  347. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
  348. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
  349. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
  350. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
  351. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
  352. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
  353. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
  354. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
  355. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
  356. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
  357. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
  358. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
  359. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
  360. package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
  361. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
  362. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
  363. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
  364. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
  365. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
  366. package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
  367. package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
  368. package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
  369. package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
  370. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
  371. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
  372. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
  373. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
  374. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
  375. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
  376. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
  377. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
  378. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
  379. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
  380. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
  381. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
  382. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
  383. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
  384. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
  385. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
  386. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
  387. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
  388. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
  389. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
  390. package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
  391. package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
  392. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
  393. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
  394. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
  395. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
  396. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
  397. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
  398. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
  399. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
  400. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
  401. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
  402. package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
  403. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
  404. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
  405. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
  406. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
  407. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
  408. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
  409. package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
  410. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
  411. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
  412. package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
  413. package/tsconfig.build.json +1 -1
@@ -0,0 +1,14 @@
1
+ title: TransactionInitiatorType
2
+ type: string
3
+ enum:
4
+ - CONSUMER
5
+ - AGENT
6
+ - BUSINESS
7
+ - DEVICE
8
+ description: |-
9
+ Below are the allowed values for the enumeration.
10
+ - CONSUMER - Consumer is the initiator of the transaction.
11
+ - AGENT - Agent is the initiator of the transaction.
12
+ - BUSINESS - Business is the initiator of the transaction.
13
+ - DEVICE - Device is the initiator of the transaction.
14
+ example: 'CONSUMER'
@@ -0,0 +1,14 @@
1
+ title: TransactionRequestState
2
+ type: string
3
+ enum:
4
+ - RECEIVED
5
+ - PENDING
6
+ - ACCEPTED
7
+ - REJECTED
8
+ description: |-
9
+ Below are the allowed values for the enumeration.
10
+ - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
11
+ - PENDING - Payer FSP has sent the transaction request to the Payer.
12
+ - ACCEPTED - Payer has approved the transaction.
13
+ - REJECTED - Payer has rejected the transaction.
14
+ example: 'RECEIVED'
@@ -0,0 +1,12 @@
1
+ title: TransactionRequestsIDPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /transactionRequests/{ID} callback.'
4
+ properties:
5
+ transactionId:
6
+ $ref: ./CorrelationId.yaml
7
+ transactionRequestState:
8
+ $ref: ./TransactionRequestState.yaml
9
+ extensionList:
10
+ $ref: ./ExtensionList.yaml
11
+ required:
12
+ - transactionRequestState
@@ -0,0 +1,30 @@
1
+ title: TransactionRequestsPostRequest
2
+ type: object
3
+ description: The object sent in the POST /transactionRequests request.
4
+ properties:
5
+ transactionRequestId:
6
+ $ref: ./CorrelationId.yaml
7
+ payee:
8
+ $ref: ./Party.yaml
9
+ payer:
10
+ $ref: ./PartyIdInfo.yaml
11
+ amount:
12
+ $ref: ./Money.yaml
13
+ transactionType:
14
+ $ref: ./TransactionType.yaml
15
+ note:
16
+ $ref: ./Note.yaml
17
+ geoCode:
18
+ $ref: ./GeoCode.yaml
19
+ authenticationType:
20
+ $ref: ./AuthenticationType.yaml
21
+ expiration:
22
+ $ref: ./DateTime.yaml
23
+ extensionList:
24
+ $ref: ./ExtensionList.yaml
25
+ required:
26
+ - transactionRequestId
27
+ - payee
28
+ - payer
29
+ - amount
30
+ - transactionType
@@ -0,0 +1,32 @@
1
+ title: TransactionScenario
2
+ type: string
3
+ enum:
4
+ - DEPOSIT
5
+ - WITHDRAWAL
6
+ - TRANSFER
7
+ - PAYMENT
8
+ - REFUND
9
+ description: >-
10
+ Below are the allowed values for the enumeration.
11
+
12
+ - DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal
13
+ scenario, electronic funds are transferred from a Business account to a
14
+ Consumer account, and physical cash is given from the Consumer to the Business
15
+ User.
16
+
17
+ - WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a
18
+ normal scenario, electronic funds are transferred from a Consumer’s account to
19
+ a Business account, and physical cash is given from the Business User to the
20
+ Consumer.
21
+
22
+ - TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer)
23
+ transaction.
24
+
25
+ - PAYMENT - Usually used for performing a transaction from a Consumer to a
26
+ Merchant or Organization, but could also be for a B2B (Business to Business)
27
+ payment. The transaction could be online for a purchase in an Internet store,
28
+ in a physical store where both the Consumer and Business User are present, a
29
+ bill payment, a donation, and so on.
30
+
31
+ - REFUND - Used for performing a refund of transaction.
32
+ example: 'DEPOSIT'
@@ -0,0 +1,14 @@
1
+ title: TransactionState
2
+ type: string
3
+ enum:
4
+ - RECEIVED
5
+ - PENDING
6
+ - COMPLETED
7
+ - REJECTED
8
+ description: |-
9
+ Below are the allowed values for the enumeration.
10
+ - RECEIVED - Payee FSP has received the transaction from the Payer FSP.
11
+ - PENDING - Payee FSP has validated the transaction.
12
+ - COMPLETED - Payee FSP has successfully performed the transaction.
13
+ - REJECTED - Payee FSP has failed to perform the transaction.
14
+ example: 'RECEIVED'
@@ -0,0 +1,5 @@
1
+ title: TransactionSubScenario
2
+ type: string
3
+ pattern: '^[A-Z_]{1,32}$'
4
+ description: 'Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).'
5
+ example: 'LOCALLY_DEFINED_SUBSCENARIO'
@@ -0,0 +1,20 @@
1
+ title: TransactionType
2
+ type: object
3
+ description: Data model for the complex type TransactionType.
4
+ properties:
5
+ scenario:
6
+ $ref: ./TransactionScenario.yaml
7
+ subScenario:
8
+ $ref: ./TransactionSubScenario.yaml
9
+ initiator:
10
+ $ref: ./TransactionInitiator.yaml
11
+ initiatorType:
12
+ $ref: ./TransactionInitiatorType.yaml
13
+ refundInfo:
14
+ $ref: ./Refund.yaml
15
+ balanceOfPayments:
16
+ $ref: ./BalanceOfPayments.yaml
17
+ required:
18
+ - scenario
19
+ - initiator
20
+ - initiatorType
@@ -0,0 +1,14 @@
1
+ title: TransactionsIDPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /transactions/{ID} callback.'
4
+ properties:
5
+ completedTimestamp:
6
+ $ref: ./DateTime.yaml
7
+ transactionState:
8
+ $ref: ./TransactionState.yaml
9
+ code:
10
+ $ref: ./Code.yaml
11
+ extensionList:
12
+ $ref: ./ExtensionList.yaml
13
+ required:
14
+ - transactionState
@@ -0,0 +1,19 @@
1
+ title: TransferState
2
+ type: string
3
+ enum:
4
+ - RECEIVED
5
+ - RESERVED
6
+ - COMMITTED
7
+ - ABORTED
8
+ description: >-
9
+ Below are the allowed values for the enumeration.
10
+
11
+ - RECEIVED - Next ledger has received the transfer.
12
+
13
+ - RESERVED - Next ledger has reserved the transfer.
14
+
15
+ - COMMITTED - Next ledger has successfully performed the transfer.
16
+
17
+ - ABORTED - Next ledger has aborted the transfer due to a rejection or failure
18
+ to perform the transfer.
19
+ example: 'RESERVED'
@@ -0,0 +1,13 @@
1
+ title: TransfersIDPatchResponse
2
+ type: object
3
+ description: 'PATCH /transfers/{ID} object'
4
+ properties:
5
+ completedTimestamp:
6
+ $ref: ./DateTime.yaml
7
+ transferState:
8
+ $ref: ./TransferState.yaml
9
+ extensionList:
10
+ $ref: ./ExtensionList.yaml
11
+ required:
12
+ - completedTimestamp
13
+ - transferState
@@ -0,0 +1,14 @@
1
+ title: TransfersIDPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /transfers/{ID} callback.'
4
+ properties:
5
+ fulfilment:
6
+ $ref: ./IlpFulfilment.yaml
7
+ completedTimestamp:
8
+ $ref: ./DateTime.yaml
9
+ transferState:
10
+ $ref: ./TransferState.yaml
11
+ extensionList:
12
+ $ref: ./ExtensionList.yaml
13
+ required:
14
+ - transferState
@@ -0,0 +1,28 @@
1
+ title: TransfersPostRequest
2
+ type: object
3
+ description: The object sent in the POST /transfers request.
4
+ properties:
5
+ transferId:
6
+ $ref: ./CorrelationId.yaml
7
+ payeeFsp:
8
+ $ref: ./FspId.yaml
9
+ payerFsp:
10
+ $ref: ./FspId.yaml
11
+ amount:
12
+ $ref: ./Money.yaml
13
+ ilpPacket:
14
+ $ref: ./IlpPacket.yaml
15
+ condition:
16
+ $ref: ./IlpCondition.yaml
17
+ expiration:
18
+ $ref: ./DateTime.yaml
19
+ extensionList:
20
+ $ref: ./ExtensionList.yaml
21
+ required:
22
+ - transferId
23
+ - payeeFsp
24
+ - payerFsp
25
+ - amount
26
+ - ilpPacket
27
+ - condition
28
+ - expiration
@@ -0,0 +1,8 @@
1
+ title: U2FPIN
2
+ type: string
3
+ pattern: '^\S{1,64}$'
4
+ minLength: 1
5
+ maxLength: 64
6
+ description: >
7
+ U2F challenge-response, where payer FSP verifies if the response
8
+ provided by end-user device matches the previously registered key.
@@ -0,0 +1,19 @@
1
+ title: U2FPinValue
2
+ type: object
3
+ description: >
4
+ U2F challenge-response, where payer FSP verifies if the response
5
+ provided by end-user device matches the previously registered key.
6
+ properties:
7
+ pinValue:
8
+ allOf:
9
+ - $ref: ./U2FPIN.yaml
10
+ description: U2F challenge-response.
11
+ counter:
12
+ allOf:
13
+ - $ref: './Integer.yaml'
14
+ description: >-
15
+ Sequential counter used for cloning detection. Present only for U2F
16
+ authentication.
17
+ required:
18
+ - pinValue
19
+ - counter
@@ -0,0 +1,6 @@
1
+ title: UndefinedEnum
2
+ type: string
3
+ pattern: '^[A-Z_]{1,32}$'
4
+ description: >-
5
+ The API data type UndefinedEnum is a JSON String consisting of 1 to 32
6
+ uppercase characters including an underscore character (_).
@@ -0,0 +1,126 @@
1
+ openapi: 3.0.2
2
+ info:
3
+ version: '2.0'
4
+ title: Open API for FSP Interoperability (FSPIOP)
5
+ description: >-
6
+ Based on [API Definition updated on 2020-05-19 Version
7
+ 1.1](https://github.com/mojaloop/mojaloop-specification/blob/main/documents/v1.1-document-set/API%20Definition_v1.1.pdf).
8
+
9
+
10
+ **Note:** The API supports a maximum size of 65536 bytes (64 Kilobytes) in
11
+ the HTTP header.
12
+ license:
13
+ name: CC BY-ND 4.0
14
+ url: 'https://github.com/mojaloop/mojaloop-specification/blob/main/LICENSE.md'
15
+ contact:
16
+ name: Sam Kummary
17
+ url: 'https://github.com/mojaloop/mojaloop-specification/issues'
18
+ servers:
19
+ - url: 'protocol://hostname:<port>/switch/'
20
+ variables:
21
+ protocol:
22
+ enum:
23
+ - http
24
+ - https
25
+ default: https
26
+ paths:
27
+ /interface:
28
+ post:
29
+ description: >-
30
+ Essential path to include schema definitions that are not used so that
31
+ these definitions get included into the openapi-cli bundle api
32
+ definition so that they get converted into typescript definitions.
33
+ operationId: test
34
+ requestBody:
35
+ content:
36
+ application/json:
37
+ schema:
38
+ oneOf:
39
+ - $ref: './components/schemas/BinaryString.yaml'
40
+ - $ref: './components/schemas/BinaryString32.yaml'
41
+ - $ref: './components/schemas/Date.yaml'
42
+ - $ref: './components/schemas/Integer.yaml'
43
+ - $ref: './components/schemas/Name.yaml'
44
+ - $ref: './components/schemas/PersonalIdentifierType.yaml'
45
+ - $ref: './components/schemas/TokenCode.yaml'
46
+ - $ref: './components/schemas/Transaction.yaml'
47
+ - $ref: './components/schemas/UndefinedEnum.yaml'
48
+ responses:
49
+ 200:
50
+ description: Ok
51
+ /participants/{Type}/{ID}:
52
+ $ref: 'paths/participants_Type_ID.yaml'
53
+ /participants/{Type}/{ID}/error:
54
+ $ref: 'paths/participants_Type_ID_error.yaml'
55
+ /participants/{Type}/{ID}/{SubId}:
56
+ $ref: 'paths/participants_Type_ID_SubId.yaml'
57
+ /participants/{Type}/{ID}/{SubId}/error:
58
+ $ref: 'paths/participants_Type_ID_SubId_error.yaml'
59
+ /participants:
60
+ $ref: 'paths/participants.yaml'
61
+ /participants/{ID}:
62
+ $ref: 'paths/participants_ID.yaml'
63
+ /participants/{ID}/error:
64
+ $ref: 'paths/participants_ID_error.yaml'
65
+ /parties/{Type}/{ID}:
66
+ $ref: 'paths/parties_Type_ID.yaml'
67
+ /parties/{Type}/{ID}/error:
68
+ $ref: 'paths/parties_Type_ID_error.yaml'
69
+ /parties/{Type}/{ID}/{SubId}:
70
+ $ref: 'paths/parties_Type_ID_SubId.yaml'
71
+ /parties/{Type}/{ID}/{SubId}/error:
72
+ $ref: 'paths/parties_Type_ID_SubId_error.yaml'
73
+ /transactionRequests:
74
+ $ref: 'paths/transactionRequests.yaml'
75
+ /transactionRequests/{ID}:
76
+ $ref: 'paths/transactionRequests_ID.yaml'
77
+ /transactionRequests/{ID}/error:
78
+ $ref: 'paths/transactionRequests_ID_error.yaml'
79
+ /quotes:
80
+ $ref: 'paths/quotes.yaml'
81
+ /quotes/{ID}:
82
+ $ref: 'paths/quotes_ID.yaml'
83
+ /quotes/{ID}/error:
84
+ $ref: 'paths/quotes_ID_error.yaml'
85
+ /authorizations/{ID}:
86
+ $ref: 'paths/authorizations_ID.yaml'
87
+ /authorizations/{ID}/error:
88
+ $ref: 'paths/authorizations_ID_error.yaml'
89
+ /transfers:
90
+ $ref: 'paths/transfers.yaml'
91
+ /transfers/{ID}:
92
+ $ref: 'paths/transfers_ID.yaml'
93
+ /transfers/{ID}/error:
94
+ $ref: 'paths/transfers_ID_error.yaml'
95
+ /transactions/{ID}:
96
+ $ref: 'paths/transactions_ID.yaml'
97
+ /transactions/{ID}/error:
98
+ $ref: 'paths/transactions_ID_error.yaml'
99
+ /bulkQuotes:
100
+ $ref: 'paths/bulkQuotes.yaml'
101
+ /bulkQuotes/{ID}:
102
+ $ref: 'paths/bulkQuotes_ID.yaml'
103
+ /bulkQuotes/{ID}/error:
104
+ $ref: 'paths/bulkQuotes_ID_error.yaml'
105
+ /bulkTransfers:
106
+ $ref: 'paths/bulkTransfers.yaml'
107
+ /bulkTransfers/{ID}:
108
+ $ref: 'paths/bulkTransfers_ID.yaml'
109
+ /bulkTransfers/{ID}/error:
110
+ $ref: 'paths/bulkTransfers_ID_error.yaml'
111
+ /fxQuotes:
112
+ $ref: 'paths/fxQuotes.yaml'
113
+ /fxQuotes/{ID}:
114
+ $ref: 'paths/fxQuotes_ID.yaml'
115
+ /fxQuotes/{ID}/error:
116
+ $ref: 'paths/fxQuotes_ID_error.yaml'
117
+ /fxTransfers:
118
+ $ref: 'paths/fxTransfers.yaml'
119
+ /fxTransfers/{ID}:
120
+ $ref: 'paths/fxTransfers_ID.yaml'
121
+ /fxTransfers/{ID}/error:
122
+ $ref: 'paths/fxTransfers_ID_error.yaml'
123
+ /services/FXP:
124
+ $ref: 'paths/services_FXP.yaml'
125
+ /services/FXP/{SourceCurrency}/{TargetCurrency}:
126
+ $ref: 'paths/services_FXP_SourceCurrency_TargetCurrency.yaml'
@@ -0,0 +1,110 @@
1
+ parameters:
2
+ - $ref: ../components/parameters/ID.yaml
3
+ - $ref: ../components/parameters/Content-Type.yaml
4
+ - $ref: ../components/parameters/Date.yaml
5
+ - $ref: ../components/parameters/X-Forwarded-For.yaml
6
+ - $ref: ../components/parameters/FSPIOP-Source.yaml
7
+ - $ref: ../components/parameters/FSPIOP-Destination.yaml
8
+ - $ref: ../components/parameters/FSPIOP-Encryption.yaml
9
+ - $ref: ../components/parameters/FSPIOP-Signature.yaml
10
+ - $ref: ../components/parameters/FSPIOP-URI.yaml
11
+ - $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
12
+ get:
13
+ description: >-
14
+ The HTTP request `GET /authorizations/{ID}` is used to request the Payer to
15
+ enter the applicable credentials in the Payee FSP system. The `{ID}` in the
16
+ URI should contain the `transactionRequestID`, received from the `POST
17
+ /transactionRequests` service earlier in the process. This request requires
18
+ a query string to be included in the URI, with the following key-value
19
+ pairs*:*
20
+
21
+
22
+ - `authenticationType={Type}`, where `{Type}` value is a valid
23
+ authentication type from the enumeration `AuthenticationType`.
24
+
25
+
26
+ - `retriesLeft=={NrOfRetries}`, where `{NrOfRetries}` is the number of
27
+ retries left before the financial transaction is rejected. `{NrOfRetries}`
28
+ must be expressed in the form of the data type `Integer`. `retriesLeft=1`
29
+ means that this is the last retry before the financial transaction is
30
+ rejected.
31
+
32
+
33
+ - `amount={Amount}`, where `{Amount}` is the transaction amount that will be
34
+ withdrawn from the Payer’s account. `{Amount}` must be expressed in the form
35
+ of the data type `Amount`.
36
+
37
+
38
+ - `currency={Currency}`, where `{Currency}` is the transaction currency for
39
+ the amount that will be withdrawn from the Payer’s account. The `{Currency}`
40
+ value must be expressed in the form of the enumeration `CurrencyCode`.
41
+
42
+
43
+ The following is an example URI containing all the required key-value pairs
44
+ in the query string*:*
45
+
46
+
47
+ `GET
48
+ /authorization/3d492671-b7af-4f3f-88de-76169b1bdf88?authenticationType=OTP&retriesLeft=2&amount=102&currency=USD`
49
+ summary: Perform authorization
50
+ tags:
51
+ - authorizations
52
+ operationId: AuthorizationsByIDGet
53
+ parameters:
54
+ - $ref: ../components/parameters/Accept.yaml
55
+ responses:
56
+ '202':
57
+ $ref: ../components/responses/202.yaml
58
+ '400':
59
+ $ref: ../components/responses/400.yaml
60
+ '401':
61
+ $ref: ../components/responses/401.yaml
62
+ '403':
63
+ $ref: ../components/responses/403.yaml
64
+ '404':
65
+ $ref: ../components/responses/404.yaml
66
+ '405':
67
+ $ref: ../components/responses/405.yaml
68
+ '406':
69
+ $ref: ../components/responses/406.yaml
70
+ '501':
71
+ $ref: ../components/responses/501.yaml
72
+ '503':
73
+ $ref: ../components/responses/503.yaml
74
+ put:
75
+ description: >-
76
+ The callback `PUT /authorizations/{ID}` is used to inform the client of the
77
+ result of a previously-requested authorization. The `{ID}` in the URI should
78
+ contain the `{ID}` that was used in the `GET /authorizations/{ID}` request.
79
+ summary: Return authorization result
80
+ tags:
81
+ - authorizations
82
+ operationId: AuthorizationsByIDPut
83
+ parameters:
84
+ - $ref: ../components/parameters/Content-Length.yaml
85
+ requestBody:
86
+ description: Authorization result returned.
87
+ required: true
88
+ content:
89
+ application/json:
90
+ schema:
91
+ $ref: ../components/schemas/AuthorizationsIDPutResponse.yaml
92
+ responses:
93
+ '200':
94
+ $ref: ../components/responses/200.yaml
95
+ '400':
96
+ $ref: ../components/responses/400.yaml
97
+ '401':
98
+ $ref: ../components/responses/401.yaml
99
+ '403':
100
+ $ref: ../components/responses/403.yaml
101
+ '404':
102
+ $ref: ../components/responses/404.yaml
103
+ '405':
104
+ $ref: ../components/responses/405.yaml
105
+ '406':
106
+ $ref: ../components/responses/406.yaml
107
+ '501':
108
+ $ref: ../components/responses/501.yaml
109
+ '503':
110
+ $ref: ../components/responses/503.yaml
@@ -0,0 +1,48 @@
1
+ put:
2
+ description: >-
3
+ If the server is unable to find the transaction request, or another
4
+ processing error occurs, the error callback `PUT /authorizations/{ID}/error`
5
+ is used. The `{ID}` in the URI should contain the `{ID}` that was used in
6
+ the `GET /authorizations/{ID}`.
7
+ summary: Return authorization error
8
+ tags:
9
+ - authorizations
10
+ operationId: AuthorizationsByIDAndError
11
+ parameters:
12
+ - $ref: ../components/parameters/ID.yaml
13
+ - $ref: ../components/parameters/Content-Length.yaml
14
+ - $ref: ../components/parameters/Content-Type.yaml
15
+ - $ref: ../components/parameters/Date.yaml
16
+ - $ref: ../components/parameters/X-Forwarded-For.yaml
17
+ - $ref: ../components/parameters/FSPIOP-Source.yaml
18
+ - $ref: ../components/parameters/FSPIOP-Destination.yaml
19
+ - $ref: ../components/parameters/FSPIOP-Encryption.yaml
20
+ - $ref: ../components/parameters/FSPIOP-Signature.yaml
21
+ - $ref: ../components/parameters/FSPIOP-URI.yaml
22
+ - $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
23
+ requestBody:
24
+ description: Details of the error returned.
25
+ required: true
26
+ content:
27
+ application/json:
28
+ schema:
29
+ $ref: ../components/schemas/ErrorInformationObject.yaml
30
+ responses:
31
+ '200':
32
+ $ref: ../components/responses/200.yaml
33
+ '400':
34
+ $ref: ../components/responses/400.yaml
35
+ '401':
36
+ $ref: ../components/responses/401.yaml
37
+ '403':
38
+ $ref: ../components/responses/403.yaml
39
+ '404':
40
+ $ref: ../components/responses/404.yaml
41
+ '405':
42
+ $ref: ../components/responses/405.yaml
43
+ '406':
44
+ $ref: ../components/responses/406.yaml
45
+ '501':
46
+ $ref: ../components/responses/501.yaml
47
+ '503':
48
+ $ref: ../components/responses/503.yaml
@@ -0,0 +1,46 @@
1
+ post:
2
+ description: >-
3
+ The HTTP request `POST /bulkQuotes` is used to request the creation of a
4
+ bulk quote for the provided financial transactions in the server.
5
+ summary: Calculate bulk quote
6
+ tags:
7
+ - bulkQuotes
8
+ operationId: BulkQuotes
9
+ parameters:
10
+ - $ref: ../components/parameters/Accept.yaml
11
+ - $ref: ../components/parameters/Content-Length.yaml
12
+ - $ref: ../components/parameters/Content-Type.yaml
13
+ - $ref: ../components/parameters/Date.yaml
14
+ - $ref: ../components/parameters/X-Forwarded-For.yaml
15
+ - $ref: ../components/parameters/FSPIOP-Source.yaml
16
+ - $ref: ../components/parameters/FSPIOP-Destination.yaml
17
+ - $ref: ../components/parameters/FSPIOP-Encryption.yaml
18
+ - $ref: ../components/parameters/FSPIOP-Signature.yaml
19
+ - $ref: ../components/parameters/FSPIOP-URI.yaml
20
+ - $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
21
+ requestBody:
22
+ description: Details of the bulk quote to be created.
23
+ required: true
24
+ content:
25
+ application/json:
26
+ schema:
27
+ $ref: ../components/schemas/BulkQuotesPostRequest.yaml
28
+ responses:
29
+ '202':
30
+ $ref: ../components/responses/202.yaml
31
+ '400':
32
+ $ref: ../components/responses/400.yaml
33
+ '401':
34
+ $ref: ../components/responses/401.yaml
35
+ '403':
36
+ $ref: ../components/responses/403.yaml
37
+ '404':
38
+ $ref: ../components/responses/404.yaml
39
+ '405':
40
+ $ref: ../components/responses/405.yaml
41
+ '406':
42
+ $ref: ../components/responses/406.yaml
43
+ '501':
44
+ $ref: ../components/responses/501.yaml
45
+ '503':
46
+ $ref: ../components/responses/503.yaml