@mojaloop/api-snippets 17.3.0 → 17.4.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 (237) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -0
  3. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +0 -1
  4. package/docs/index.html +4 -0
  5. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +1 -1
  6. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2519 -0
  7. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +1 -10
  8. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3024 -0
  9. package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
  10. package/lib/fspiop/v1_0/openapi.d.ts +0 -1
  11. package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
  12. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
  13. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
  14. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
  15. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
  16. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
  17. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
  18. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
  19. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
  20. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
  21. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
  22. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
  23. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
  24. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
  25. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
  26. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
  27. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
  28. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
  29. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
  30. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
  31. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
  32. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
  33. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
  34. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
  35. package/package.json +23 -12
  36. package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
  37. package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
  38. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
  39. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
  40. package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
  41. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
  42. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
  43. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
  44. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
  45. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
  46. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
  47. package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
  48. package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
  49. package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
  50. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
  51. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
  52. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
  53. package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
  54. package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
  55. package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
  56. package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
  57. package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
  58. package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
  59. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
  60. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
  61. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
  62. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
  63. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
  64. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
  65. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
  66. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
  67. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
  68. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
  69. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
  70. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
  71. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
  72. package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
  73. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
  74. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
  75. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
  76. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
  77. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
  78. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
  79. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
  80. package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
  81. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
  82. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
  83. package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
  84. package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
  85. package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
  86. package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
  87. package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
  88. package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
  89. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
  90. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
  91. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
  92. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
  93. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
  94. package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
  95. package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
  96. package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
  97. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
  98. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
  99. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
  100. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
  101. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
  102. package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
  103. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
  104. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
  105. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
  106. package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
  107. package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
  108. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
  109. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
  110. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
  111. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
  112. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
  113. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
  114. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
  115. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
  116. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
  117. package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
  118. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
  119. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
  120. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
  121. package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
  122. package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
  123. package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
  124. package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
  125. package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
  126. package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
  127. package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
  128. package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
  129. package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
  130. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
  131. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
  132. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
  133. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
  134. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
  135. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
  136. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
  137. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
  138. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
  139. package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
  140. package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
  141. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
  142. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
  143. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
  144. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
  145. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
  146. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
  147. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
  148. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
  149. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
  150. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
  151. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
  152. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
  153. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
  154. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
  155. package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
  156. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
  157. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
  158. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
  159. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
  160. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
  161. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
  162. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
  163. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
  164. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
  165. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
  166. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
  167. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
  168. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
  169. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
  170. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
  171. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
  172. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
  173. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
  174. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
  175. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
  176. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
  177. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
  178. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
  179. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
  180. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
  181. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
  182. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
  183. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
  184. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
  185. package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
  186. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
  187. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
  188. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
  189. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
  190. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
  191. package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
  192. package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
  193. package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
  194. package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
  195. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
  196. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
  197. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
  198. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
  199. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
  200. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
  201. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
  202. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
  203. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
  204. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
  205. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
  206. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
  207. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
  208. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
  209. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
  210. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
  211. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
  212. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
  213. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
  214. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
  215. package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
  216. package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
  217. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
  218. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
  219. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
  220. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
  221. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
  222. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
  223. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
  224. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
  225. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
  226. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
  227. package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
  228. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
  229. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
  230. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
  231. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
  232. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
  233. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
  234. package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
  235. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
  236. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
  237. package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
@@ -0,0 +1,1476 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/": {
7
+ /** Health check endpoint. */
8
+ get: operations["BackendHealthCheck"];
9
+ };
10
+ "/bulkQuotes": {
11
+ /** Requests a bulk quote. */
12
+ post: operations["BackendBulkQuotesPost"];
13
+ };
14
+ "/bulkQuotes/{idValue}": {
15
+ /** Requests information relating to a bulk quote identified by the specified identifier value. */
16
+ get: operations["BackendBulkQuotesGet"];
17
+ };
18
+ "/bulkTransactions/{bulkTransactionId}": {
19
+ /**
20
+ * Callbacks for the bulk transaction request.
21
+ * @description The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend information regarding a bulk transaction, i.e. when autoAcceptParty or autoAcceptQuote is false then the payer need to provide confirmation to proceed with further processing of the request. The `{bulkTransactionId}` in the URI should contain the `bulkTransactionId` that was used for the creation of the bulk transfer.
22
+ */
23
+ put: operations["BackendBulkTransactionsPut"];
24
+ };
25
+ "/requestToPay/{transactionRequestId}": {
26
+ /**
27
+ * Callback for the requestToPay request.
28
+ * @description It is used to notify the DFSP backend about the status of the requestToPayTransfer.
29
+ */
30
+ put: operations["RequestToPayPut"];
31
+ };
32
+ "/bulkTransfers": {
33
+ /** Execute bulk transfer of funds from an external account to internal accounts. */
34
+ post: operations["BackendBulkTransfersPost"];
35
+ };
36
+ "/bulkTransfers/{idValue}": {
37
+ /** Requests information relating to a bulk transfer identified by the specified identifier value. */
38
+ get: operations["BackendBulkTransfersGet"];
39
+ };
40
+ "/otp/{transactionRequestId}": {
41
+ /** Requests OTP. */
42
+ get: operations["BackendOtpGet"];
43
+ };
44
+ "/participants/{idType}/{idValue}": {
45
+ /**
46
+ * Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
47
+ * @description The HTTP request `GET /participants/{idType}/{idValue}` is used to find out in which FSP the requested party, defined by `{idType}` and `{idValue}`, is located.
48
+ */
49
+ get: operations["BackendParticipantsGetByTypeAndID"];
50
+ };
51
+ "/participants/{idType}/{idValue}/{idSubValue}": {
52
+ /**
53
+ * Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
54
+ * @description The HTTP request `GET /participants/{idType}/{idValue}/{idSubValue}` is used to find out in which FSP the requested party, defined by `{idType}`, `{idValue}` and `{idSubValue}` is located.
55
+ */
56
+ get: operations["BackendParticipantsGetByTypeIDAndSubId"];
57
+ };
58
+ "/parties/{idType}/{idValue}": {
59
+ /**
60
+ * Requests information relating to a transfer party identified by the specified identifier type and value.
61
+ * @description The HTTP request `GET /parties/{idType}/{idValue}` is used to look up information regarding the requested transfer party, identified by `{idType}` and `{idValue}`.
62
+ */
63
+ get: operations["BackendPartiesGetByTypeAndID"];
64
+ };
65
+ "/parties/{idType}/{idValue}/{idSubValue}": {
66
+ /**
67
+ * Requests information relating to a transfer party identified by the specified identifier type, value and subId value.
68
+ * @description The HTTP request `GET /parties/{idType}/{idValue}/{idSubValue}` is used to look up information regarding the requested transfer party, identified by `{idType}`, `{idValue}` and `{idSubValue}`.
69
+ */
70
+ get: operations["BackendPartiesGetByTypeIdAndSubId"];
71
+ };
72
+ "/quoterequests": {
73
+ /**
74
+ * Requests a quote for the specified transfer.
75
+ * @description The HTTP request `POST /quoterequests` is used to request the creation of a quote for the provided financial transaction.
76
+ */
77
+ post: operations["BackendQuoteRequest"];
78
+ };
79
+ "/transactionrequests": {
80
+ /** Transaction request that supports pull based transfers. */
81
+ post: operations["BackendTransactionRequest"];
82
+ };
83
+ "/transfers": {
84
+ /**
85
+ * Transfers funds from an external account to an internal account.
86
+ * @description The HTTP request `POST /transfers` is used to request the creation of a transfer for the transfer party.
87
+ */
88
+ post: operations["BackendTransfersPost"];
89
+ };
90
+ "/transfers/{transferId}": {
91
+ /**
92
+ * Retrieves information for a specific transfer.
93
+ * @description The HTTP request `GET /transfers/{transferId}` is used to get information regarding a transfer created or requested earlier. The `{transferId}` in the URI should contain the `transferId` that was used for the creation of the transfer.
94
+ */
95
+ get: operations["BackendTransfersGet"];
96
+ /**
97
+ * Receive notification for a specific transfer.
98
+ * @description The HTTP request `PUT /transfers/{transferId}` is used to receive notification for transfer being fulfiled when the FSP is a Payee.
99
+ */
100
+ put: operations["BackendTransfersPut"];
101
+ };
102
+ "/fxQuotes": {
103
+ /**
104
+ * Calculate FX quote
105
+ * @description The HTTP request `POST /fxQuotes` is used to ask an FXP backend to provide a quotation for a currency conversion.
106
+ */
107
+ post: operations["FxQuotesPost"];
108
+ };
109
+ "/fxTransfers": {
110
+ /**
111
+ * Perform FX transfer
112
+ * @description The HTTP request `POST /fxTransfers` is used to ask an FXP backend to confirm the execution of an agreed currency conversion.
113
+ */
114
+ post: operations["FxTransfersPost"];
115
+ };
116
+ "/fxTransfers/{commitRequestId}": {
117
+ /**
118
+ * FX Commit Notification
119
+ * @description The HTTP request `PUT /fxTransfers/{commitRequestId}` is used to notify an FXP backend about the status of currency conversion.
120
+ */
121
+ put: operations["FxTransfersById"];
122
+ };
123
+ }
124
+ export type webhooks = Record<string, never>;
125
+ export interface components {
126
+ schemas: {
127
+ /**
128
+ * DateofBirth (type Date)
129
+ * @description Date of Birth of the Party.
130
+ * @example 1966-06-16
131
+ */
132
+ DateOfBirth: string;
133
+ /**
134
+ * FirstName
135
+ * @description First name of the Party (Name Type).
136
+ * @example Henrik
137
+ */
138
+ FirstName: string;
139
+ /**
140
+ * FspId
141
+ * @description FSP identifier.
142
+ */
143
+ FspId: string;
144
+ /** @description Data model for individual quote in a bulk quote request. */
145
+ IndividualQuote: {
146
+ amount: components["schemas"]["money"];
147
+ amountType: components["schemas"]["amountType"];
148
+ currency: components["schemas"]["currency"];
149
+ feesAmount?: components["schemas"]["money"];
150
+ feesCurrency?: components["schemas"]["currency"];
151
+ initiator: components["schemas"]["initiator"];
152
+ initiatorType: components["schemas"]["initiatorType"];
153
+ /** @description An optional note associated with the quote. */
154
+ note?: string;
155
+ quoteId: components["schemas"]["quoteId"];
156
+ subScenario?: components["schemas"]["TransactionSubScenario"];
157
+ to: components["schemas"]["transferParty"];
158
+ transactionId: components["schemas"]["transactionId"];
159
+ transactionType: components["schemas"]["transactionType"];
160
+ };
161
+ /** @description Data model for failed individual quote in a bulk quote response. */
162
+ IndividualQuoteResultFailed: {
163
+ errorResponse: components["schemas"]["errorResponse"];
164
+ quoteId: components["schemas"]["quoteId"];
165
+ };
166
+ /** @description Data model for successful individual quote in a bulk quote response. */
167
+ IndividualQuoteResultSuccess: {
168
+ payeeFspCommissionAmount?: components["schemas"]["money"];
169
+ payeeFspCommissionAmountCurrency?: components["schemas"]["currency"];
170
+ payeeFspFeeAmount?: components["schemas"]["money"];
171
+ payeeFspFeeAmountCurrency?: components["schemas"]["currency"];
172
+ payeeReceiveAmount?: components["schemas"]["money"];
173
+ payeeReceiveAmountCurrency?: components["schemas"]["currency"];
174
+ quoteId: components["schemas"]["quoteId"];
175
+ transferAmount?: components["schemas"]["money"];
176
+ transferAmountCurrency?: components["schemas"]["currency"];
177
+ };
178
+ /** @description Data model for individual transfer in a bulk transfer request. */
179
+ IndividualTransfer: {
180
+ amount: components["schemas"]["money"];
181
+ amountType?: components["schemas"]["amountType"];
182
+ currency: components["schemas"]["currency"];
183
+ feesAmount?: components["schemas"]["money"];
184
+ feesCurrency?: components["schemas"]["currency"];
185
+ initiator?: components["schemas"]["initiator"];
186
+ initiatorType?: components["schemas"]["initiatorType"];
187
+ /** @description An optional note associated with the quote. */
188
+ note?: string;
189
+ subScenario?: components["schemas"]["TransactionSubScenario"];
190
+ to?: components["schemas"]["transferParty"];
191
+ transactionType?: components["schemas"]["transactionType"];
192
+ transferId: components["schemas"]["transferId"];
193
+ };
194
+ /** @description Data model for individual transfer in a bulk transfer response. */
195
+ IndividualTransferResult: {
196
+ errorResponse?: components["schemas"]["errorResponse"];
197
+ extensionList?: components["schemas"]["extensionList"];
198
+ transferId: components["schemas"]["transferId"];
199
+ };
200
+ /**
201
+ * LastName
202
+ * @description Last name of the Party (Name Type).
203
+ * @example Karlsson
204
+ */
205
+ LastName: string;
206
+ /**
207
+ * MerchantClassificationCode
208
+ * @description A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc.
209
+ */
210
+ MerchantClassificationCode: string;
211
+ /**
212
+ * MiddleName
213
+ * @description Middle name of the Party (Name Type).
214
+ * @example Johannes
215
+ */
216
+ MiddleName: string;
217
+ /** @description Object containing Amount and Currency of the transfer. */
218
+ amountCurrency: {
219
+ amount: components["schemas"]["money"];
220
+ currency: components["schemas"]["currency"];
221
+ };
222
+ /** @enum {string} */
223
+ amountType: "SEND" | "RECEIVE";
224
+ /** @description A Mojaloop API bulk quote identifier (UUID). */
225
+ bulkQuoteId: string;
226
+ /** @description A request for a bulk quote. */
227
+ bulkQuoteRequest: {
228
+ bulkQuoteId: components["schemas"]["bulkQuoteId"];
229
+ expiration?: components["schemas"]["timestamp"];
230
+ from: components["schemas"]["transferParty"];
231
+ geoCode?: components["schemas"]["geoCode"];
232
+ individualQuotes: components["schemas"]["IndividualQuote"][];
233
+ };
234
+ /** @description A response to a request for a bulk quote. */
235
+ bulkQuoteResponse: {
236
+ bulkQuoteId: components["schemas"]["bulkQuoteId"];
237
+ expiration?: components["schemas"]["timestamp"];
238
+ /** @description Fees for each individual transaction, if any of them are charged per transaction. */
239
+ individualQuoteResults: (components["schemas"]["IndividualQuoteResultSuccess"] | components["schemas"]["IndividualQuoteResultFailed"])[];
240
+ };
241
+ /** @description A Mojaloop API transfer identifier (UUID). */
242
+ bulkTransferId: string;
243
+ bulkTransferRequest: {
244
+ bulkQuote?: components["schemas"]["bulkQuoteResponse"];
245
+ bulkTransferId: components["schemas"]["bulkTransferId"];
246
+ from?: components["schemas"]["transferParty"];
247
+ individualTransfers: components["schemas"]["IndividualTransfer"][];
248
+ };
249
+ bulkTransferResponse: {
250
+ bulkTransferId?: components["schemas"]["bulkTransferId"];
251
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the switch and DFSP backend systems. */
252
+ homeTransactionId: string;
253
+ individualTransferResults?: components["schemas"]["IndividualTransferResult"][];
254
+ };
255
+ /** @enum {string} */
256
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "XTS" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWD";
257
+ /** @description Date of birth in the form YYYY-MM-DD. */
258
+ dateOfBirth: string;
259
+ /**
260
+ * ErrorCode
261
+ * @description The API data type errorCode is a JSON String of four characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. Each error code in the API is a four-digit number, for example, 1234, where the first number (1 in the example) represents the high-level error category, the second number (2 in the example) represents the low-level error category, and the last two numbers (34 in the example) represents the specific error.
262
+ */
263
+ errorCode: string;
264
+ /**
265
+ * ErrorDescription
266
+ * @description Error description string.
267
+ */
268
+ errorDescription: string;
269
+ /**
270
+ * ErrorInformation
271
+ * @description A Mojaloop API error information construct.
272
+ */
273
+ errorInformation: {
274
+ errorCode: components["schemas"]["errorCode"];
275
+ errorDescription: components["schemas"]["errorDescription"];
276
+ extensionList?: components["schemas"]["extensionListComplex"];
277
+ };
278
+ extensionItem: {
279
+ key?: string;
280
+ value?: string;
281
+ };
282
+ extensionList: components["schemas"]["extensionItem"][];
283
+ /** @description Data model for the complex type ExtensionList. */
284
+ extensionListComplex: {
285
+ /** @description Number of Extension elements. */
286
+ extension: components["schemas"]["extensionItem"][];
287
+ };
288
+ /** @description FSP identifier. */
289
+ fspId: string;
290
+ /**
291
+ * TransfersIDPatchResponse
292
+ * @description PUT /transfers/{transferId} object.
293
+ */
294
+ fulfilNotification: {
295
+ currentState?: components["schemas"]["transferStatus"];
296
+ /** @enum {string} */
297
+ direction?: "INBOUND";
298
+ finalNotification?: {
299
+ completedTimestamp: components["schemas"]["timestamp"];
300
+ extensionList?: components["schemas"]["extensionList"];
301
+ transferState: components["schemas"]["transferState"];
302
+ };
303
+ fulfil?: {
304
+ body?: Record<string, never>;
305
+ headers?: Record<string, never>;
306
+ };
307
+ initiatedTimestamp?: components["schemas"]["timestamp"];
308
+ lastError?: components["schemas"]["transferError"];
309
+ prepare?: {
310
+ body?: Record<string, never>;
311
+ headers?: Record<string, never>;
312
+ };
313
+ quote?: {
314
+ fulfilment?: string;
315
+ internalRequest?: Record<string, never>;
316
+ mojaloopResponse?: Record<string, never>;
317
+ request?: Record<string, never>;
318
+ response?: Record<string, never>;
319
+ };
320
+ quoteRequest?: {
321
+ body?: Record<string, never>;
322
+ headers?: Record<string, never>;
323
+ };
324
+ quoteResponse?: {
325
+ body?: Record<string, never>;
326
+ headers?: Record<string, never>;
327
+ };
328
+ transferId?: components["schemas"]["transferId"];
329
+ };
330
+ /** @description This object may represent a number of different error object types and so its properties may vary significantly. */
331
+ generalError: Record<string, never>;
332
+ /** @description Indicates the geographic location from where the transaction was initiated. */
333
+ geoCode: {
334
+ latitude: components["schemas"]["latitude"];
335
+ longitude: components["schemas"]["longitude"];
336
+ };
337
+ idSubValue: string;
338
+ /** @enum {string} */
339
+ idType: "MSISDN" | "ACCOUNT_NO" | "EMAIL" | "PERSONAL_ID" | "BUSINESS" | "DEVICE" | "ACCOUNT_ID" | "IBAN" | "ALIAS";
340
+ /** @description Identifier of the party. */
341
+ idValue: string;
342
+ /** @description Object containing transfer object. */
343
+ ilpPacketData: {
344
+ amount: components["schemas"]["amountCurrency"];
345
+ payee: components["schemas"]["Party"];
346
+ payer: components["schemas"]["Party"];
347
+ quoteId: components["schemas"]["quoteId"];
348
+ transactionId: components["schemas"]["transactionId"];
349
+ transactionType: components["schemas"]["transactionTypeObject"];
350
+ };
351
+ /** @enum {string} */
352
+ initiator: "PAYER" | "PAYEE";
353
+ /** @enum {string} */
354
+ initiatorType: "CONSUMER" | "AGENT" | "BUSINESS" | "DEVICE";
355
+ /** @description The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. */
356
+ latitude: string;
357
+ /** @description The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. */
358
+ longitude: string;
359
+ money: string;
360
+ otpDetails: {
361
+ /** @description OTP value. */
362
+ otpValue: string;
363
+ };
364
+ participantsResponse: {
365
+ fspId?: components["schemas"]["fspId"];
366
+ };
367
+ /** @enum {string} */
368
+ payerType: "CONSUMER" | "AGENT" | "BUSINESS" | "DEVICE";
369
+ /** @description A Mojaloop API quote identifier (UUID). */
370
+ quoteId: string;
371
+ /** @description A request for a quote for transfer from the DFSP backend. */
372
+ quoteRequest: {
373
+ /** @description Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer. */
374
+ homeR2PTransactionId?: string;
375
+ amount: components["schemas"]["money"];
376
+ amountType: components["schemas"]["amountType"];
377
+ currency: components["schemas"]["currency"];
378
+ expiration?: components["schemas"]["timestamp"];
379
+ extensionList?: components["schemas"]["extensionList"];
380
+ feesAmount?: components["schemas"]["money"];
381
+ feesCurrency?: components["schemas"]["currency"];
382
+ from: components["schemas"]["transferParty"];
383
+ geoCode?: components["schemas"]["geoCode"];
384
+ initiator: components["schemas"]["initiator"];
385
+ initiatorType: components["schemas"]["initiatorType"];
386
+ /** @description An optional note associated with the requested transfer. */
387
+ note?: string;
388
+ quoteId: components["schemas"]["quoteId"];
389
+ subScenario?: components["schemas"]["TransactionSubScenario"];
390
+ to: components["schemas"]["transferParty"];
391
+ transactionId: components["schemas"]["transactionId"];
392
+ transactionType: components["schemas"]["transactionType"];
393
+ transactionRequestId?: components["schemas"]["transactionRequestId"];
394
+ converter?: components["schemas"]["CurrencyConverter"];
395
+ currencyConversion?: components["schemas"]["FxRate"];
396
+ };
397
+ /** @description A response to a request for a quote. */
398
+ quoteResponse: {
399
+ expiration?: components["schemas"]["timestamp"];
400
+ extensionList?: components["schemas"]["extensionList"];
401
+ geoCode?: components["schemas"]["geoCode"];
402
+ payeeFspCommissionAmount?: components["schemas"]["money"];
403
+ payeeFspCommissionAmountCurrency?: components["schemas"]["currency"];
404
+ payeeFspFeeAmount?: components["schemas"]["money"];
405
+ payeeFspFeeAmountCurrency?: components["schemas"]["currency"];
406
+ payeeReceiveAmount?: components["schemas"]["money"];
407
+ payeeReceiveAmountCurrency?: components["schemas"]["currency"];
408
+ quoteId: components["schemas"]["quoteId"];
409
+ transactionId: components["schemas"]["transactionId"];
410
+ transferAmount: components["schemas"]["money"];
411
+ transferAmountCurrency: components["schemas"]["currency"];
412
+ };
413
+ /** @enum {string} */
414
+ scenario: "TRANSFER";
415
+ /** @description An ISO-8601 formatted timestamp. */
416
+ timestamp: string;
417
+ /** @description ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote. */
418
+ transactionId: string;
419
+ /** @description A request for a pull based transfer. */
420
+ transactionRequest: {
421
+ amount: components["schemas"]["money"];
422
+ currency: components["schemas"]["currency"];
423
+ expiration?: components["schemas"]["timestamp"];
424
+ from: components["schemas"]["transferParty"];
425
+ geoCode?: components["schemas"]["geoCode"];
426
+ initiator: components["schemas"]["initiator"];
427
+ initiatorType: components["schemas"]["initiatorType"];
428
+ /** @description An optional note associated with the requested transfer. */
429
+ note?: string;
430
+ to: components["schemas"]["transferParty"];
431
+ transactionRequestId: components["schemas"]["transactionRequestId"];
432
+ transactionType: components["schemas"]["transactionType"];
433
+ subScenario?: components["schemas"]["TransactionSubScenario"];
434
+ authenticationType?: components["schemas"]["AuthenticationType"];
435
+ };
436
+ /** @description A Mojaloop API transaction request identifier (UUID). */
437
+ transactionRequestId: string;
438
+ /** @description A response to a request for a quote. */
439
+ transactionRequestResponse: {
440
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
441
+ homeR2PTransactionId?: string;
442
+ transactionId: components["schemas"]["transactionId"];
443
+ transactionRequestState: components["schemas"]["transactionRequestState"];
444
+ };
445
+ /** @enum {string} */
446
+ transactionRequestState: "RECEIVED" | "PENDING" | "ACCEPTED" | "REJECTED";
447
+ /**
448
+ * transactionSubScenario
449
+ * @description Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type). Based on FSPIOP TransactionSubScenario.
450
+ * @example LOCALLY_DEFINED_SUBSCENARIO
451
+ */
452
+ transactionSubScenario: string;
453
+ /** @enum {string} */
454
+ transactionType: "TRANSFER" | "DEPOSIT" | "PAYMENT";
455
+ /** @description Object containing transfer object. */
456
+ transactionTypeObject: {
457
+ initiator: components["schemas"]["initiator"];
458
+ initiatorType: components["schemas"]["initiatorType"];
459
+ scenario: components["schemas"]["scenario"];
460
+ subScenario?: components["schemas"]["TransactionSubScenario"];
461
+ };
462
+ transferDetailsResponse: {
463
+ amount: components["schemas"]["money"];
464
+ amountType: components["schemas"]["amountType"];
465
+ currency: components["schemas"]["currency"];
466
+ extensions?: components["schemas"]["extensionList"];
467
+ from: components["schemas"]["transferParty"];
468
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
469
+ homeTransactionId: string;
470
+ note?: string;
471
+ subScenario?: components["schemas"]["TransactionSubScenario"];
472
+ timestamp: components["schemas"]["timestamp"];
473
+ to: components["schemas"]["transferParty"];
474
+ transactionType: components["schemas"]["transactionType"];
475
+ transferState: components["schemas"]["transferState"];
476
+ };
477
+ /** @description A Mojaloop API transfer identifier (UUID). */
478
+ transferId: string;
479
+ transferParty: {
480
+ dateOfBirth?: components["schemas"]["dateOfBirth"];
481
+ /** @description Display name of the sender, if known. */
482
+ displayName?: string;
483
+ extensionList?: components["schemas"]["extensionList"];
484
+ /** @description Party first name. */
485
+ firstName?: string;
486
+ /** @description Mojaloop scheme FSPID of the DFSP which owns the party account. */
487
+ fspId?: string;
488
+ idSubValue?: components["schemas"]["idSubValue"];
489
+ idType: components["schemas"]["idType"];
490
+ /** @description The identifier string used to identify the sender. */
491
+ idValue: string;
492
+ /** @description Party last name. */
493
+ lastName?: string;
494
+ /** @description Up to 4 digits specifying the sender's merchant classification, if known and applicable. */
495
+ merchantClassificationCode?: string;
496
+ /** @description Party middle name. */
497
+ middleName?: string;
498
+ type?: components["schemas"]["payerType"];
499
+ /** @description Currencies in which the party can receive funds. */
500
+ supportedCurrencies?: components["schemas"]["currency"][];
501
+ kycInformation?: components["schemas"]["KYCInformation"];
502
+ };
503
+ transferRequest: {
504
+ /** @description Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer. */
505
+ homeR2PTransactionId?: string;
506
+ amount: components["schemas"]["money"];
507
+ amountType: components["schemas"]["amountType"];
508
+ currency: components["schemas"]["currency"];
509
+ from: components["schemas"]["transferParty"];
510
+ ilpPacket: {
511
+ data: components["schemas"]["ilpPacketData"];
512
+ };
513
+ note?: string;
514
+ quote: components["schemas"]["quoteResponse"];
515
+ quoteRequestExtensions?: components["schemas"]["extensionList"];
516
+ subScenario?: components["schemas"]["TransactionSubScenario"];
517
+ to: components["schemas"]["transferParty"];
518
+ transactionType: components["schemas"]["transactionType"];
519
+ transferId: components["schemas"]["transferId"];
520
+ transactionRequestId?: components["schemas"]["transactionRequestId"];
521
+ };
522
+ transferResponse: {
523
+ completedTimestamp?: components["schemas"]["timestamp"];
524
+ fulfilment?: components["schemas"]["IlpFulfilment"];
525
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
526
+ homeTransactionId: string;
527
+ transferState?: components["schemas"]["transferState"];
528
+ };
529
+ /**
530
+ * @description Below are the allowed values for the enumeration - RECEIVED DFSP has received the transfer. - RESERVED DFSP has reserved the transfer. - COMMITTED DFSP has successfully performed the transfer. - ABORTED DFSP has aborted the transfer due a rejection or failure to perform the transfer.
531
+ *
532
+ * @enum {string}
533
+ */
534
+ transferState: "RECEIVED" | "RESERVED" | "COMMITTED" | "ABORTED";
535
+ /** @enum {string} */
536
+ transferStatus: "ERROR_OCCURRED" | "WAITING_FOR_PARTY_ACCEPTANCE" | "WAITING_FOR_QUOTE_ACCEPTANCE" | "COMPLETED";
537
+ /** @description Callback for requestToPay. */
538
+ requestToPayCallback: {
539
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
540
+ homeR2PTransactionId?: string;
541
+ transactionRequestState: components["schemas"]["transactionRequestState"];
542
+ };
543
+ /**
544
+ * KYCInformation
545
+ * @description KYC information for the party in a form mandated by an individual scheme.
546
+ * @example {
547
+ * "metadata": {
548
+ * "format": "JSON",
549
+ * "version": "1.0",
550
+ * "description": "Data containing KYC Information"
551
+ * },
552
+ * "data": {
553
+ * "name": "John Doe",
554
+ * "dob": "1980-05-15",
555
+ * "gender": "Male",
556
+ * "address": "123 Main Street, Anytown, USA",
557
+ * "email": "johndoe@example.com",
558
+ * "phone": "+1 555-123-4567",
559
+ * "nationality": "US",
560
+ * "passport_number": "AB1234567",
561
+ * "issue_date": "2010-02-20",
562
+ * "expiry_date": "2025-02-20",
563
+ * "bank_account_number": "1234567890",
564
+ * "bank_name": "Example Bank",
565
+ * "employer": "ABC Company",
566
+ * "occupation": "Software Engineer",
567
+ * "income": "$80,000 per year",
568
+ * "marital_status": "Single",
569
+ * "dependents": 0,
570
+ * "risk_level": "Low"
571
+ * }
572
+ * }
573
+ */
574
+ KYCInformation: string;
575
+ /**
576
+ * TransactionSubScenario
577
+ * @description Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).
578
+ * @example LOCALLY_DEFINED_SUBSCENARIO
579
+ */
580
+ TransactionSubScenario: string;
581
+ errorResponse: {
582
+ /**
583
+ * @description Backend error code from FSP. Ideally, statusCode is FSPIOP conforming. SDK will use status code to retrieve an FSPIOP error with the same code.
584
+ * Otherwise, a suitable generic FSPIOP will be used with the errorResponse in the FSPIOP error message.
585
+ */
586
+ statusCode?: string;
587
+ /** @description Error message text. */
588
+ message?: string;
589
+ };
590
+ /**
591
+ * CorrelationId
592
+ * @description Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
593
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
594
+ */
595
+ CorrelationId: string;
596
+ /** @enum {string} */
597
+ bulkTransactionStatus: "ERROR_OCCURRED" | "WAITING_FOR_PARTY_ACCEPTANCE" | "WAITING_FOR_QUOTE_ACCEPTANCE" | "COMPLETED";
598
+ autoAcceptPartyOption: {
599
+ /** @enum {boolean} */
600
+ enabled: false | true;
601
+ };
602
+ /**
603
+ * Currency
604
+ * @description The currency codes defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter alphabetic codes are used as the standard naming representation for currencies.
605
+ * @enum {string}
606
+ */
607
+ Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "XTS" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWD";
608
+ /**
609
+ * Amount
610
+ * @description The API data type Amount is a JSON String in a canonical format that is restricted by a regular expression for interoperability reasons. This pattern does not allow any trailing zeroes at all, but allows an amount without a minor currency unit. It also only allows four digits in the minor currency unit; a negative value is not allowed. Using more than 18 digits in the major currency unit is not allowed.
611
+ * @example 123.45
612
+ */
613
+ Amount: string;
614
+ bulkPerTransferFeeLimit: {
615
+ currency: components["schemas"]["Currency"];
616
+ amount: components["schemas"]["Amount"];
617
+ };
618
+ autoAcceptQuote: {
619
+ /** @enum {boolean} */
620
+ enabled: true | false;
621
+ perTransferFeeLimits?: components["schemas"]["bulkPerTransferFeeLimit"][];
622
+ };
623
+ /**
624
+ * DateTime
625
+ * @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
626
+ * @example 2016-05-24T08:38:08.699-04:00
627
+ */
628
+ DateTime: string;
629
+ bulkTransactionOptions: {
630
+ /** @description Set to true if only party validation is required. This means the quotes and transfers will not run. This is useful for only party resolution. */
631
+ onlyValidateParty?: boolean;
632
+ autoAcceptParty: components["schemas"]["autoAcceptPartyOption"];
633
+ /** @description Set to true if the quote response is accepted without confirmation from the payer. The fees applied by the payee will be acceptable to the payer abiding by the limits set by optional 'perTransferFeeLimits' array. */
634
+ autoAcceptQuote: components["schemas"]["autoAcceptQuote"];
635
+ /** @description Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful if a previous party resolution has been performed. */
636
+ skipPartyLookup?: boolean;
637
+ /** @description Set to true if the bulkTransfer requests need be handled synchronous. Otherwise the requests will be handled asynchronously, meaning there will be callbacks whenever the processing is done */
638
+ synchronous?: boolean;
639
+ bulkExpiration: components["schemas"]["DateTime"];
640
+ };
641
+ /**
642
+ * PartyIdType
643
+ * @description Below are the allowed values for the enumeration.
644
+ * - MSISDN - An MSISDN (Mobile Station International Subscriber Directory Number, that is, the phone number) is used as reference to a participant. The MSISDN identifier should be in international format according to the [ITU-T E.164 standard](https://www.itu.int/rec/T-REC-E.164/en). Optionally, the MSISDN may be prefixed by a single plus sign, indicating the international prefix.
645
+ * - EMAIL - An email is used as reference to a participant. The format of the email should be according to the informational [RFC 3696](https://tools.ietf.org/html/rfc3696).
646
+ * - PERSONAL_ID - A personal identifier is used as reference to a participant. Examples of personal identification are passport number, birth certificate number, and national registration number. The identifier number is added in the PartyIdentifier element. The personal identifier type is added in the PartySubIdOrType element.
647
+ * - BUSINESS - A specific Business (for example, an organization or a company) is used as reference to a participant. The BUSINESS identifier can be in any format. To make a transaction connected to a specific username or bill number in a Business, the PartySubIdOrType element should be used.
648
+ * - DEVICE - A specific device (for example, a POS or ATM) ID connected to a specific business or organization is used as reference to a Party. For referencing a specific device under a specific business or organization, use the PartySubIdOrType element.
649
+ * - ACCOUNT_ID - A bank account number or FSP account ID should be used as reference to a participant. The ACCOUNT_ID identifier can be in any format, as formats can greatly differ depending on country and FSP.
650
+ * - IBAN - A bank account number or FSP account ID is used as reference to a participant. The IBAN identifier can consist of up to 34 alphanumeric characters and should be entered without whitespace.
651
+ * - ALIAS An alias is used as reference to a participant. The alias should be created in the FSP as an alternative reference to an account owner. Another example of an alias is a username in the FSP system. The ALIAS identifier can be in any format. It is also possible to use the PartySubIdOrType element for identifying an account under an Alias defined by the PartyIdentifier.
652
+ * @enum {string}
653
+ */
654
+ PartyIdType: "MSISDN" | "EMAIL" | "PERSONAL_ID" | "BUSINESS" | "DEVICE" | "ACCOUNT_ID" | "IBAN" | "ALIAS";
655
+ /**
656
+ * PartyIdentifier
657
+ * @description Identifier of the Party.
658
+ * @example 16135551212
659
+ */
660
+ PartyIdentifier: string;
661
+ /**
662
+ * PartySubIdOrType
663
+ * @description Either a sub-identifier of a PartyIdentifier, or a sub-type of the PartyIdType, normally a PersonalIdentifierType.
664
+ */
665
+ PartySubIdOrType: string;
666
+ /**
667
+ * ExtensionKey
668
+ * @description Extension key.
669
+ */
670
+ ExtensionKey: string;
671
+ /**
672
+ * ExtensionValue
673
+ * @description Extension value.
674
+ */
675
+ ExtensionValue: string;
676
+ /**
677
+ * Extension
678
+ * @description Data model for the complex type Extension.
679
+ */
680
+ Extension: {
681
+ key: components["schemas"]["ExtensionKey"];
682
+ value: components["schemas"]["ExtensionValue"];
683
+ };
684
+ /**
685
+ * ExtensionList
686
+ * @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
687
+ */
688
+ ExtensionList: {
689
+ /** @description Number of Extension elements. */
690
+ extension: components["schemas"]["Extension"][];
691
+ };
692
+ /**
693
+ * PartyIdInfo
694
+ * @description Data model for the complex type PartyIdInfo. An ExtensionList element has been added to this reqeust in version v1.1
695
+ */
696
+ PartyIdInfo: {
697
+ partyIdType: components["schemas"]["PartyIdType"];
698
+ partyIdentifier: components["schemas"]["PartyIdentifier"];
699
+ partySubIdOrType?: components["schemas"]["PartySubIdOrType"];
700
+ fspId?: components["schemas"]["FspId"];
701
+ extensionList?: components["schemas"]["ExtensionList"];
702
+ };
703
+ /**
704
+ * PartyName
705
+ * @description Name of the Party. Could be a real name or a nickname.
706
+ */
707
+ PartyName: string;
708
+ /**
709
+ * PartyComplexName
710
+ * @description Data model for the complex type PartyComplexName.
711
+ */
712
+ PartyComplexName: {
713
+ firstName?: components["schemas"]["FirstName"];
714
+ middleName?: components["schemas"]["MiddleName"];
715
+ lastName?: components["schemas"]["LastName"];
716
+ };
717
+ /**
718
+ * PartyPersonalInfo
719
+ * @description Data model for the complex type PartyPersonalInfo.
720
+ */
721
+ PartyPersonalInfo: {
722
+ complexName?: components["schemas"]["PartyComplexName"];
723
+ dateOfBirth?: components["schemas"]["DateOfBirth"];
724
+ kycInformation?: components["schemas"]["KYCInformation"];
725
+ };
726
+ /**
727
+ * Party
728
+ * @description Data model for the complex type Party.
729
+ */
730
+ Party: {
731
+ partyIdInfo: components["schemas"]["PartyIdInfo"];
732
+ merchantClassificationCode?: components["schemas"]["MerchantClassificationCode"];
733
+ name?: components["schemas"]["PartyName"];
734
+ personalInfo?: components["schemas"]["PartyPersonalInfo"];
735
+ /** @description Currencies in which the party can receive funds. */
736
+ supportedCurrencies?: components["schemas"]["Currency"][];
737
+ };
738
+ /**
739
+ * AmountType
740
+ * @description Below are the allowed values for the enumeration AmountType.
741
+ * - SEND - Amount the Payer would like to send, that is, the amount that should be withdrawn from the Payer account including any fees.
742
+ * - RECEIVE - Amount the Payer would like the Payee to receive, that is, the amount that should be sent to the receiver exclusive of any fees.
743
+ * @example RECEIVE
744
+ * @enum {string}
745
+ */
746
+ AmountType: "SEND" | "RECEIVE";
747
+ /**
748
+ * Note
749
+ * @description Memo assigned to transaction.
750
+ * @example Note sent to Payee.
751
+ */
752
+ Note: string;
753
+ /**
754
+ * Money
755
+ * @description Data model for the complex type Money.
756
+ */
757
+ Money: {
758
+ currency: components["schemas"]["Currency"];
759
+ amount: components["schemas"]["Amount"];
760
+ };
761
+ /**
762
+ * Latitude
763
+ * @description The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
764
+ * @example +45.4215
765
+ */
766
+ Latitude: string;
767
+ /**
768
+ * Longitude
769
+ * @description The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
770
+ * @example +75.6972
771
+ */
772
+ Longitude: string;
773
+ /**
774
+ * GeoCode
775
+ * @description Data model for the complex type GeoCode. Indicates the geographic location from where the transaction was initiated.
776
+ */
777
+ GeoCode: {
778
+ latitude: components["schemas"]["Latitude"];
779
+ longitude: components["schemas"]["Longitude"];
780
+ };
781
+ /**
782
+ * IlpPacket
783
+ * @description Information for recipient (transport layer information).
784
+ * @example AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
785
+ */
786
+ IlpPacket: string;
787
+ /**
788
+ * IlpCondition
789
+ * @description Condition that must be attached to the transfer by the Payer.
790
+ */
791
+ IlpCondition: string;
792
+ /**
793
+ * ErrorCode
794
+ * @description The API data type ErrorCode is a JSON String of four characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. Each error code in the API is a four-digit number, for example, 1234, where the first number (1 in the example) represents the high-level error category, the second number (2 in the example) represents the low-level error category, and the last two numbers (34 in the example) represent the specific error.
795
+ * @example 5100
796
+ */
797
+ ErrorCode: string;
798
+ /**
799
+ * ErrorDescription
800
+ * @description Error description string.
801
+ */
802
+ ErrorDescription: string;
803
+ /**
804
+ * ErrorInformation
805
+ * @description Data model for the complex type ErrorInformation.
806
+ */
807
+ ErrorInformation: {
808
+ errorCode: components["schemas"]["ErrorCode"];
809
+ errorDescription: components["schemas"]["ErrorDescription"];
810
+ extensionList?: components["schemas"]["ExtensionList"];
811
+ };
812
+ mojaloopError: {
813
+ errorInformation?: components["schemas"]["ErrorInformation"];
814
+ };
815
+ /** @description This object represents a Mojaloop API error received at any time during the quote process */
816
+ quoteError: {
817
+ /** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
818
+ httpStatusCode?: number;
819
+ mojaloopError?: components["schemas"]["mojaloopError"];
820
+ };
821
+ individualQuoteResult: {
822
+ quoteId: components["schemas"]["CorrelationId"];
823
+ transferAmount?: components["schemas"]["Money"];
824
+ payeeReceiveAmount?: components["schemas"]["Money"];
825
+ payeeFspFee?: components["schemas"]["Money"];
826
+ payeeFspCommission?: components["schemas"]["Money"];
827
+ geoCode?: components["schemas"]["GeoCode"];
828
+ ilpPacket?: components["schemas"]["IlpPacket"];
829
+ condition?: components["schemas"]["IlpCondition"];
830
+ extensionList?: components["schemas"]["ExtensionList"];
831
+ lastError?: components["schemas"]["quoteError"];
832
+ };
833
+ /**
834
+ * IlpFulfilment
835
+ * @description Fulfilment that must be attached to the transfer by the Payee.
836
+ * @example WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
837
+ */
838
+ IlpFulfilment: string;
839
+ /**
840
+ * TransferState
841
+ * @description Below are the allowed values for the enumeration.
842
+ * - RECEIVED - Next ledger has received the transfer.
843
+ * - RESERVED - Next ledger has reserved the transfer.
844
+ * - COMMITTED - Next ledger has successfully performed the transfer.
845
+ * - ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.
846
+ * @example RESERVED
847
+ * @enum {string}
848
+ */
849
+ TransferState: "RECEIVED" | "RESERVED" | "COMMITTED" | "ABORTED";
850
+ /** @description This object represents a Mojaloop API error received at any time during the transfer process */
851
+ transferError: {
852
+ /** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
853
+ httpStatusCode?: number;
854
+ mojaloopError?: components["schemas"]["mojaloopError"];
855
+ };
856
+ individualTransferResult: {
857
+ transferId: components["schemas"]["CorrelationId"];
858
+ fulfilment?: components["schemas"]["IlpFulfilment"];
859
+ extensionList?: components["schemas"]["ExtensionList"];
860
+ transferState?: components["schemas"]["TransferState"];
861
+ lastError?: components["schemas"]["transferError"];
862
+ };
863
+ bulkTransactionIndividualTransferResult: {
864
+ transferId?: components["schemas"]["CorrelationId"];
865
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
866
+ homeTransactionId: string;
867
+ transactionId?: components["schemas"]["CorrelationId"];
868
+ to?: components["schemas"]["Party"];
869
+ /** @description Payer Loan reference */
870
+ reference?: string;
871
+ amountType?: components["schemas"]["AmountType"];
872
+ currency?: components["schemas"]["Currency"];
873
+ amount?: components["schemas"]["Amount"];
874
+ note?: components["schemas"]["Note"];
875
+ quoteId?: components["schemas"]["CorrelationId"];
876
+ quoteResponse?: components["schemas"]["individualQuoteResult"];
877
+ fulfil?: components["schemas"]["individualTransferResult"];
878
+ quoteExtensions?: components["schemas"]["ExtensionList"];
879
+ transferExtensions?: components["schemas"]["ExtensionList"];
880
+ lastError?: components["schemas"]["transferError"];
881
+ };
882
+ /** BulkTransactionResponse */
883
+ bulkTransactionResponse: {
884
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
885
+ bulkHomeTransactionID: string;
886
+ bulkTransactionId: components["schemas"]["CorrelationId"];
887
+ currentState: components["schemas"]["bulkTransactionStatus"];
888
+ options?: components["schemas"]["bulkTransactionOptions"];
889
+ /** @description List of individual transfer result in a bulk transfer response. */
890
+ individualTransferResults: components["schemas"]["bulkTransactionIndividualTransferResult"][];
891
+ extensions?: components["schemas"]["ExtensionList"];
892
+ };
893
+ /**
894
+ * CurrencyConverter
895
+ * @description Below are the allowed values for the enumeration CurrencyConverter. - PAYER - Currency conversion should be performed by the payer. - PAYEE - Currency conversion should be performed by the payee.
896
+ * @enum {string}
897
+ */
898
+ CurrencyConverter: "PAYER" | "PAYEE";
899
+ /**
900
+ * FxRate
901
+ * @description The FxRate object contains information about a currency conversion in the transfer. It can be used by parties to the transfer to exchange information with each other about the exchange rate for the transfer, to ensure that the best rate can be agreed on.
902
+ */
903
+ FxRate: {
904
+ sourceAmount: components["schemas"]["Money"];
905
+ targetAmount: components["schemas"]["Money"];
906
+ };
907
+ /**
908
+ * AuthenticationType
909
+ * @description Below are the allowed values for the enumeration AuthenticationType.
910
+ * - OTP - One-time password generated by the Payer FSP.
911
+ * - QRCODE - QR code used as One Time Password.
912
+ * - U2F - U2F is a new addition isolated to Thirdparty stream.
913
+ * @example OTP
914
+ * @enum {string}
915
+ */
916
+ AuthenticationType: "OTP" | "QRCODE" | "U2F";
917
+ /**
918
+ * FxMoney
919
+ * @description Data model for the complex type FxMoney; This is based on the type Money but allows the amount to be optional to support FX quotations.
920
+ */
921
+ FxMoney: {
922
+ currency: components["schemas"]["Currency"];
923
+ amount?: components["schemas"]["Amount"];
924
+ };
925
+ /**
926
+ * FxCharge
927
+ * @description An FXP will be able to specify a charge which it proposes to levy on the currency conversion operation using a FxCharge object.
928
+ */
929
+ FxCharge: {
930
+ /** @description A description of the charge which is being levied. */
931
+ chargeType: string;
932
+ sourceAmount?: components["schemas"]["Money"];
933
+ targetAmount?: components["schemas"]["Money"];
934
+ };
935
+ /**
936
+ * FxConversion
937
+ * @description A DFSP will be able to request a currency conversion, and an FX provider will be able to describe its involvement in a proposed transfer, using a FxConversion object.
938
+ */
939
+ FxConversion: {
940
+ conversionId: components["schemas"]["CorrelationId"];
941
+ determiningTransferId?: components["schemas"]["CorrelationId"];
942
+ initiatingFsp: components["schemas"]["FspId"];
943
+ counterPartyFsp: components["schemas"]["FspId"];
944
+ amountType: components["schemas"]["AmountType"];
945
+ sourceAmount: components["schemas"]["FxMoney"];
946
+ targetAmount: components["schemas"]["FxMoney"];
947
+ expiration: components["schemas"]["DateTime"];
948
+ /** @description One or more charges which the FXP intends to levy as part of the currency conversion, or which the payee DFSP intends to add to the amount transferred. */
949
+ charges?: components["schemas"]["FxCharge"][];
950
+ extensionList?: components["schemas"]["ExtensionList"];
951
+ };
952
+ /**
953
+ * FxQuotesPostBackendRequest
954
+ * @description The object sent in the POST /fxQuotes request.
955
+ */
956
+ FxQuotesPostBackendRequest: {
957
+ conversionRequestId: components["schemas"]["CorrelationId"];
958
+ conversionTerms: components["schemas"]["FxConversion"];
959
+ };
960
+ /**
961
+ * FxQuotesPostBackendResponse
962
+ * @description The object sent as a response for the POST /fxQuotes request. The terms under which the FXP will undertake the currency conversion proposed by the requester.
963
+ */
964
+ FxQuotesPostBackendResponse: {
965
+ /** @description Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems. */
966
+ homeTransactionId?: string;
967
+ conversionTerms: components["schemas"]["FxConversion"];
968
+ };
969
+ commitRequestId: components["schemas"]["CorrelationId"];
970
+ determiningTransferId: components["schemas"]["CorrelationId"];
971
+ initiatingFsp: components["schemas"]["FspId"];
972
+ counterPartyFsp: components["schemas"]["FspId"];
973
+ sourceAmount: components["schemas"]["Money"];
974
+ targetAmount: components["schemas"]["Money"];
975
+ condition: components["schemas"]["IlpCondition"];
976
+ /**
977
+ * FxTransfersPostBackendRequest
978
+ * @description The object sent in the POST /fxTransfers request.
979
+ */
980
+ FxTransfersPostBackendRequest: {
981
+ /** @description Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems. */
982
+ homeTransactionId?: string;
983
+ commitRequestId: components["schemas"]["commitRequestId"];
984
+ determiningTransferId?: components["schemas"]["determiningTransferId"];
985
+ initiatingFsp: components["schemas"]["initiatingFsp"];
986
+ counterPartyFsp: components["schemas"]["counterPartyFsp"];
987
+ sourceAmount: components["schemas"]["sourceAmount"];
988
+ targetAmount: components["schemas"]["targetAmount"];
989
+ condition?: components["schemas"]["condition"];
990
+ };
991
+ fulfilment: components["schemas"]["IlpFulfilment"];
992
+ completedTimestamp: components["schemas"]["DateTime"];
993
+ conversionState: components["schemas"]["TransferState"];
994
+ /**
995
+ * FxTransfersPostBackendResponse
996
+ * @description The object sent as a response for the POST /fxTransfers request.
997
+ */
998
+ FxTransfersPostBackendResponse: {
999
+ /** @description Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems. */
1000
+ homeTransactionId?: string;
1001
+ fulfilment?: components["schemas"]["fulfilment"];
1002
+ completedTimestamp?: components["schemas"]["completedTimestamp"];
1003
+ conversionState: components["schemas"]["conversionState"];
1004
+ extensionList?: components["schemas"]["ExtensionList"];
1005
+ };
1006
+ /**
1007
+ * FxTransfersPutBackendRequest
1008
+ * @description PUT /fxTransfers/{commitRequestId} object
1009
+ */
1010
+ FxTransfersPutBackendRequest: {
1011
+ /** @description Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems. */
1012
+ homeTransactionId?: string;
1013
+ fulfilment?: components["schemas"]["fulfilment"];
1014
+ completedTimestamp?: components["schemas"]["completedTimestamp"];
1015
+ conversionState: components["schemas"]["conversionState"];
1016
+ extensionList?: components["schemas"]["ExtensionList"];
1017
+ };
1018
+ };
1019
+ responses: {
1020
+ /** @description OK */
1021
+ 200: {
1022
+ content: never;
1023
+ };
1024
+ /** @description Malformed or missing required headers or parameters. */
1025
+ 400: {
1026
+ content: {
1027
+ "application/json": components["schemas"]["errorResponse"];
1028
+ };
1029
+ };
1030
+ /** @description Not Found */
1031
+ 404: {
1032
+ content: {
1033
+ "application/json": components["schemas"]["errorResponse"];
1034
+ };
1035
+ };
1036
+ /** @description An error occurred processing the request. */
1037
+ 500: {
1038
+ content: {
1039
+ "application/json": components["schemas"]["errorResponse"];
1040
+ };
1041
+ };
1042
+ };
1043
+ parameters: {
1044
+ /** @description A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`. */
1045
+ idSubValue: string;
1046
+ /** @description The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
1047
+ idType: string;
1048
+ /** @description The identifier value. */
1049
+ idValue: string;
1050
+ transactionRequestId: components["schemas"]["transactionRequestId"];
1051
+ transferId: string;
1052
+ /** @description Identifier of the bulk transaction to continue as returned in the response to a `POST /bulkTransaction` request. */
1053
+ bulkTransactionId: components["schemas"]["CorrelationId"];
1054
+ };
1055
+ requestBodies: never;
1056
+ headers: never;
1057
+ pathItems: never;
1058
+ }
1059
+ export type $defs = Record<string, never>;
1060
+ export type external = Record<string, never>;
1061
+ export interface operations {
1062
+ /** Health check endpoint. */
1063
+ BackendHealthCheck: {
1064
+ responses: {
1065
+ /** @description Returns empty body if the service is running. */
1066
+ 200: {
1067
+ content: never;
1068
+ };
1069
+ };
1070
+ };
1071
+ /** Requests a bulk quote. */
1072
+ BackendBulkQuotesPost: {
1073
+ /** @description Incoming request for a bulk quotation. */
1074
+ requestBody?: {
1075
+ content: {
1076
+ "application/json": components["schemas"]["bulkQuoteRequest"];
1077
+ };
1078
+ };
1079
+ responses: {
1080
+ /** @description A response to the bulk quote request. */
1081
+ 200: {
1082
+ content: {
1083
+ "application/json": components["schemas"]["bulkQuoteResponse"];
1084
+ };
1085
+ };
1086
+ 400: components["responses"]["400"];
1087
+ 500: components["responses"]["500"];
1088
+ };
1089
+ };
1090
+ /** Requests information relating to a bulk quote identified by the specified identifier value. */
1091
+ BackendBulkQuotesGet: {
1092
+ parameters: {
1093
+ path: {
1094
+ idValue: components["parameters"]["idValue"];
1095
+ };
1096
+ };
1097
+ responses: {
1098
+ /** @description Response containing details of the requested bulk quote. */
1099
+ 200: {
1100
+ content: {
1101
+ "application/json": components["schemas"]["bulkQuoteResponse"];
1102
+ };
1103
+ };
1104
+ 400: components["responses"]["400"];
1105
+ 404: components["responses"]["404"];
1106
+ 500: components["responses"]["500"];
1107
+ };
1108
+ };
1109
+ /**
1110
+ * Callbacks for the bulk transaction request.
1111
+ * @description The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend information regarding a bulk transaction, i.e. when autoAcceptParty or autoAcceptQuote is false then the payer need to provide confirmation to proceed with further processing of the request. The `{bulkTransactionId}` in the URI should contain the `bulkTransactionId` that was used for the creation of the bulk transfer.
1112
+ */
1113
+ BackendBulkTransactionsPut: {
1114
+ parameters: {
1115
+ path: {
1116
+ bulkTransactionId: components["parameters"]["bulkTransactionId"];
1117
+ };
1118
+ };
1119
+ requestBody?: {
1120
+ content: {
1121
+ "application/json": components["schemas"]["bulkTransactionResponse"];
1122
+ };
1123
+ };
1124
+ responses: {
1125
+ /** @description Bulk transaction information successfully amended. */
1126
+ 202: {
1127
+ content: never;
1128
+ };
1129
+ 400: components["responses"]["400"];
1130
+ 500: components["responses"]["500"];
1131
+ };
1132
+ };
1133
+ /**
1134
+ * Callback for the requestToPay request.
1135
+ * @description It is used to notify the DFSP backend about the status of the requestToPayTransfer.
1136
+ */
1137
+ RequestToPayPut: {
1138
+ parameters: {
1139
+ path: {
1140
+ transactionRequestId: components["parameters"]["transactionRequestId"];
1141
+ };
1142
+ };
1143
+ requestBody?: {
1144
+ content: {
1145
+ "application/json": components["schemas"]["requestToPayCallback"];
1146
+ };
1147
+ };
1148
+ responses: {
1149
+ /** @description OK */
1150
+ 200: {
1151
+ content: never;
1152
+ };
1153
+ 400: components["responses"]["400"];
1154
+ 500: components["responses"]["500"];
1155
+ };
1156
+ };
1157
+ /** Execute bulk transfer of funds from an external account to internal accounts. */
1158
+ BackendBulkTransfersPost: {
1159
+ /** @description An incoming bulk transfer request. */
1160
+ requestBody?: {
1161
+ content: {
1162
+ "application/json": components["schemas"]["bulkTransferRequest"];
1163
+ };
1164
+ };
1165
+ responses: {
1166
+ /** @description The bulk transfer was accepted. */
1167
+ 200: {
1168
+ content: {
1169
+ "application/json": components["schemas"]["bulkTransferResponse"];
1170
+ };
1171
+ };
1172
+ 400: components["responses"]["400"];
1173
+ 500: components["responses"]["500"];
1174
+ };
1175
+ };
1176
+ /** Requests information relating to a bulk transfer identified by the specified identifier value. */
1177
+ BackendBulkTransfersGet: {
1178
+ parameters: {
1179
+ path: {
1180
+ idValue: components["parameters"]["idValue"];
1181
+ };
1182
+ };
1183
+ responses: {
1184
+ /** @description Response containing details of the requested bulk transfer. */
1185
+ 200: {
1186
+ content: {
1187
+ "application/json": components["schemas"]["bulkTransferResponse"];
1188
+ };
1189
+ };
1190
+ 400: components["responses"]["400"];
1191
+ 404: components["responses"]["404"];
1192
+ 500: components["responses"]["500"];
1193
+ };
1194
+ };
1195
+ /** Requests OTP. */
1196
+ BackendOtpGet: {
1197
+ parameters: {
1198
+ path: {
1199
+ transactionRequestId: components["parameters"]["transactionRequestId"];
1200
+ };
1201
+ };
1202
+ responses: {
1203
+ /** @description Response containing details of the OTP. */
1204
+ 200: {
1205
+ content: {
1206
+ "application/json": components["schemas"]["otpDetails"];
1207
+ };
1208
+ };
1209
+ 400: components["responses"]["400"];
1210
+ 404: components["responses"]["404"];
1211
+ 500: components["responses"]["500"];
1212
+ };
1213
+ };
1214
+ /**
1215
+ * Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
1216
+ * @description The HTTP request `GET /participants/{idType}/{idValue}` is used to find out in which FSP the requested party, defined by `{idType}` and `{idValue}`, is located.
1217
+ */
1218
+ BackendParticipantsGetByTypeAndID: {
1219
+ parameters: {
1220
+ path: {
1221
+ idType: components["parameters"]["idType"];
1222
+ idValue: components["parameters"]["idValue"];
1223
+ };
1224
+ };
1225
+ responses: {
1226
+ /** @description Response containing details of the requested party. */
1227
+ 200: {
1228
+ content: {
1229
+ "application/json": components["schemas"]["participantsResponse"];
1230
+ };
1231
+ };
1232
+ 400: components["responses"]["400"];
1233
+ 404: components["responses"]["404"];
1234
+ 500: components["responses"]["500"];
1235
+ };
1236
+ };
1237
+ /**
1238
+ * Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
1239
+ * @description The HTTP request `GET /participants/{idType}/{idValue}/{idSubValue}` is used to find out in which FSP the requested party, defined by `{idType}`, `{idValue}` and `{idSubValue}` is located.
1240
+ */
1241
+ BackendParticipantsGetByTypeIDAndSubId: {
1242
+ parameters: {
1243
+ path: {
1244
+ idType: components["parameters"]["idType"];
1245
+ idValue: components["parameters"]["idValue"];
1246
+ idSubValue: components["parameters"]["idSubValue"];
1247
+ };
1248
+ };
1249
+ responses: {
1250
+ /** @description Response containing details of the requested party. */
1251
+ 200: {
1252
+ content: {
1253
+ "application/json": components["schemas"]["participantsResponse"];
1254
+ };
1255
+ };
1256
+ 400: components["responses"]["400"];
1257
+ 404: components["responses"]["404"];
1258
+ 500: components["responses"]["500"];
1259
+ };
1260
+ };
1261
+ /**
1262
+ * Requests information relating to a transfer party identified by the specified identifier type and value.
1263
+ * @description The HTTP request `GET /parties/{idType}/{idValue}` is used to look up information regarding the requested transfer party, identified by `{idType}` and `{idValue}`.
1264
+ */
1265
+ BackendPartiesGetByTypeAndID: {
1266
+ parameters: {
1267
+ path: {
1268
+ idType: components["parameters"]["idType"];
1269
+ idValue: components["parameters"]["idValue"];
1270
+ };
1271
+ };
1272
+ responses: {
1273
+ /** @description Response containing details of the requested party. */
1274
+ 200: {
1275
+ content: {
1276
+ "application/json": components["schemas"]["transferParty"];
1277
+ };
1278
+ };
1279
+ 400: components["responses"]["400"];
1280
+ 404: components["responses"]["404"];
1281
+ 500: components["responses"]["500"];
1282
+ };
1283
+ };
1284
+ /**
1285
+ * Requests information relating to a transfer party identified by the specified identifier type, value and subId value.
1286
+ * @description The HTTP request `GET /parties/{idType}/{idValue}/{idSubValue}` is used to look up information regarding the requested transfer party, identified by `{idType}`, `{idValue}` and `{idSubValue}`.
1287
+ */
1288
+ BackendPartiesGetByTypeIdAndSubId: {
1289
+ parameters: {
1290
+ path: {
1291
+ idType: components["parameters"]["idType"];
1292
+ idValue: components["parameters"]["idValue"];
1293
+ idSubValue: components["parameters"]["idSubValue"];
1294
+ };
1295
+ };
1296
+ responses: {
1297
+ /** @description Response containing details of the requested party. */
1298
+ 200: {
1299
+ content: {
1300
+ "application/json": components["schemas"]["transferParty"];
1301
+ };
1302
+ };
1303
+ 400: components["responses"]["400"];
1304
+ 404: components["responses"]["404"];
1305
+ 500: components["responses"]["500"];
1306
+ };
1307
+ };
1308
+ /**
1309
+ * Requests a quote for the specified transfer.
1310
+ * @description The HTTP request `POST /quoterequests` is used to request the creation of a quote for the provided financial transaction.
1311
+ */
1312
+ BackendQuoteRequest: {
1313
+ /** @description Request for a transfer quotation. */
1314
+ requestBody?: {
1315
+ content: {
1316
+ "application/json": components["schemas"]["quoteRequest"];
1317
+ };
1318
+ };
1319
+ responses: {
1320
+ /** @description A response to the transfer quotation request. */
1321
+ 200: {
1322
+ content: {
1323
+ "application/json": components["schemas"]["quoteResponse"];
1324
+ };
1325
+ };
1326
+ 400: components["responses"]["400"];
1327
+ 500: components["responses"]["500"];
1328
+ };
1329
+ };
1330
+ /** Transaction request that supports pull based transfers. */
1331
+ BackendTransactionRequest: {
1332
+ /** @description Request for Transaction Request. */
1333
+ requestBody?: {
1334
+ content: {
1335
+ "application/json": components["schemas"]["transactionRequest"];
1336
+ };
1337
+ };
1338
+ responses: {
1339
+ /** @description A response to the transfer transaction request. */
1340
+ 200: {
1341
+ content: {
1342
+ "application/json": components["schemas"]["transactionRequestResponse"];
1343
+ };
1344
+ };
1345
+ 400: components["responses"]["400"];
1346
+ 500: components["responses"]["500"];
1347
+ };
1348
+ };
1349
+ /**
1350
+ * Transfers funds from an external account to an internal account.
1351
+ * @description The HTTP request `POST /transfers` is used to request the creation of a transfer for the transfer party.
1352
+ */
1353
+ BackendTransfersPost: {
1354
+ /** @description An incoming transfer request. */
1355
+ requestBody?: {
1356
+ content: {
1357
+ "application/json": components["schemas"]["transferRequest"];
1358
+ };
1359
+ };
1360
+ responses: {
1361
+ /** @description The transfer was accepted. */
1362
+ 200: {
1363
+ content: {
1364
+ "application/json": components["schemas"]["transferResponse"];
1365
+ };
1366
+ };
1367
+ 400: components["responses"]["400"];
1368
+ 500: components["responses"]["500"];
1369
+ };
1370
+ };
1371
+ /**
1372
+ * Retrieves information for a specific transfer.
1373
+ * @description The HTTP request `GET /transfers/{transferId}` is used to get information regarding a transfer created or requested earlier. The `{transferId}` in the URI should contain the `transferId` that was used for the creation of the transfer.
1374
+ */
1375
+ BackendTransfersGet: {
1376
+ parameters: {
1377
+ path: {
1378
+ transferId: components["parameters"]["transferId"];
1379
+ };
1380
+ };
1381
+ responses: {
1382
+ /** @description The transfer was accepted. */
1383
+ 200: {
1384
+ content: {
1385
+ "application/json": components["schemas"]["transferDetailsResponse"];
1386
+ };
1387
+ };
1388
+ 500: components["responses"]["500"];
1389
+ };
1390
+ };
1391
+ /**
1392
+ * Receive notification for a specific transfer.
1393
+ * @description The HTTP request `PUT /transfers/{transferId}` is used to receive notification for transfer being fulfiled when the FSP is a Payee.
1394
+ */
1395
+ BackendTransfersPut: {
1396
+ parameters: {
1397
+ path: {
1398
+ transferId: components["parameters"]["transferId"];
1399
+ };
1400
+ };
1401
+ /** @description An incoming notification for fulfiled transfer. */
1402
+ requestBody?: {
1403
+ content: {
1404
+ "application/json": components["schemas"]["fulfilNotification"];
1405
+ };
1406
+ };
1407
+ responses: {
1408
+ /** @description The notification was accepted. */
1409
+ 200: {
1410
+ content: never;
1411
+ };
1412
+ 500: components["responses"]["500"];
1413
+ };
1414
+ };
1415
+ /**
1416
+ * Calculate FX quote
1417
+ * @description The HTTP request `POST /fxQuotes` is used to ask an FXP backend to provide a quotation for a currency conversion.
1418
+ */
1419
+ FxQuotesPost: {
1420
+ /** @description Details of the FX quote request. */
1421
+ requestBody: {
1422
+ content: {
1423
+ "application/json": components["schemas"]["FxQuotesPostBackendRequest"];
1424
+ };
1425
+ };
1426
+ responses: {
1427
+ /** @description Successful response. */
1428
+ 200: {
1429
+ content: {
1430
+ "application/json": components["schemas"]["FxQuotesPostBackendResponse"];
1431
+ };
1432
+ };
1433
+ 400: components["responses"]["400"];
1434
+ 500: components["responses"]["500"];
1435
+ };
1436
+ };
1437
+ /**
1438
+ * Perform FX transfer
1439
+ * @description The HTTP request `POST /fxTransfers` is used to ask an FXP backend to confirm the execution of an agreed currency conversion.
1440
+ */
1441
+ FxTransfersPost: {
1442
+ /** @description Details of the FX transfer request. */
1443
+ requestBody: {
1444
+ content: {
1445
+ "application/json": components["schemas"]["FxTransfersPostBackendRequest"];
1446
+ };
1447
+ };
1448
+ responses: {
1449
+ /** @description Successful response. */
1450
+ 200: {
1451
+ content: {
1452
+ "application/json": components["schemas"]["FxTransfersPostBackendResponse"];
1453
+ };
1454
+ };
1455
+ 400: components["responses"]["400"];
1456
+ 500: components["responses"]["500"];
1457
+ };
1458
+ };
1459
+ /**
1460
+ * FX Commit Notification
1461
+ * @description The HTTP request `PUT /fxTransfers/{commitRequestId}` is used to notify an FXP backend about the status of currency conversion.
1462
+ */
1463
+ FxTransfersById: {
1464
+ /** @description Status of the FX transfer. */
1465
+ requestBody: {
1466
+ content: {
1467
+ "application/json": components["schemas"]["FxTransfersPutBackendRequest"];
1468
+ };
1469
+ };
1470
+ responses: {
1471
+ 200: components["responses"]["200"];
1472
+ 400: components["responses"]["400"];
1473
+ 500: components["responses"]["500"];
1474
+ };
1475
+ };
1476
+ }