@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,2519 @@
1
+ openapi: 3.0.1
2
+ info:
3
+ title: Mojaloop SDK Backend API
4
+ description: |
5
+ API specification for the SDK Backend API.
6
+
7
+ To be implemented by the Digital Financial Service Provider (DFSP) to work in tandem with the Mojaloop SDK (`mojaloop/sdk-scheme-adapter`).
8
+
9
+ This API is not to be confused with the Mojaloop SDK's Inbound or Outbound API.
10
+
11
+ TODO: More explanation and links about the SDK adapter's Inbound and Outbound API.
12
+
13
+ **Note on terminology:** The term "Switch" is equal to the term "Hub", and the term "FSP" is equal to the term "DFSP".
14
+ license:
15
+ name: Apache License Version 2.0, January 2004
16
+ url: http://www.apache.org/licenses/
17
+ version: 2.1.0
18
+ paths:
19
+ /:
20
+ get:
21
+ operationId: BackendHealthCheck
22
+ responses:
23
+ '200':
24
+ description: Returns empty body if the service is running.
25
+ summary: Health check endpoint.
26
+ /bulkQuotes:
27
+ post:
28
+ operationId: BackendBulkQuotesPost
29
+ requestBody:
30
+ content:
31
+ application/json:
32
+ schema:
33
+ $ref: '#/components/schemas/bulkQuoteRequest'
34
+ description: Incoming request for a bulk quotation.
35
+ responses:
36
+ '200':
37
+ content:
38
+ application/json:
39
+ schema:
40
+ $ref: '#/components/schemas/bulkQuoteResponse'
41
+ description: A response to the bulk quote request.
42
+ '400':
43
+ $ref: '#/components/responses/400'
44
+ '500':
45
+ $ref: '#/components/responses/500'
46
+ summary: Requests a bulk quote.
47
+ tags:
48
+ - BulkQuotes
49
+ /bulkQuotes/{idValue}:
50
+ get:
51
+ operationId: BackendBulkQuotesGet
52
+ parameters:
53
+ - $ref: '#/components/parameters/idValue'
54
+ responses:
55
+ '200':
56
+ content:
57
+ application/json:
58
+ schema:
59
+ $ref: '#/components/schemas/bulkQuoteResponse'
60
+ description: Response containing details of the requested bulk quote.
61
+ '400':
62
+ $ref: '#/components/responses/400'
63
+ '404':
64
+ $ref: '#/components/responses/404'
65
+ '500':
66
+ $ref: '#/components/responses/500'
67
+ summary: Requests information relating to a bulk quote identified by the specified identifier value.
68
+ tags:
69
+ - BulkQuotes
70
+ /bulkTransactions/{bulkTransactionId}:
71
+ put:
72
+ 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.
73
+ operationId: BackendBulkTransactionsPut
74
+ parameters:
75
+ - $ref: '#/components/parameters/bulkTransactionId'
76
+ requestBody:
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: '#/components/schemas/bulkTransactionResponse'
81
+ responses:
82
+ '202':
83
+ description: Bulk transaction information successfully amended.
84
+ '400':
85
+ $ref: '#/components/responses/400'
86
+ '500':
87
+ $ref: '#/components/responses/500'
88
+ summary: Callbacks for the bulk transaction request.
89
+ tags:
90
+ - BulkTransactionsPut
91
+ /requestToPay/{transactionRequestId}:
92
+ put:
93
+ description: It is used to notify the DFSP backend about the status of the requestToPayTransfer.
94
+ operationId: RequestToPayPut
95
+ parameters:
96
+ - $ref: '#/components/parameters/transactionRequestId'
97
+ requestBody:
98
+ content:
99
+ application/json:
100
+ schema:
101
+ $ref: '#/components/schemas/requestToPayCallback'
102
+ responses:
103
+ '200':
104
+ description: OK
105
+ '400':
106
+ $ref: '#/components/responses/400'
107
+ '500':
108
+ $ref: '#/components/responses/500'
109
+ summary: Callback for the requestToPay request.
110
+ tags:
111
+ - RequestToPayPut
112
+ /bulkTransfers:
113
+ post:
114
+ operationId: BackendBulkTransfersPost
115
+ requestBody:
116
+ content:
117
+ application/json:
118
+ schema:
119
+ $ref: '#/components/schemas/bulkTransferRequest'
120
+ description: An incoming bulk transfer request.
121
+ responses:
122
+ '200':
123
+ content:
124
+ application/json:
125
+ schema:
126
+ $ref: '#/components/schemas/bulkTransferResponse'
127
+ description: The bulk transfer was accepted.
128
+ '400':
129
+ $ref: '#/components/responses/400'
130
+ '500':
131
+ $ref: '#/components/responses/500'
132
+ summary: Execute bulk transfer of funds from an external account to internal accounts.
133
+ tags:
134
+ - BulkTransfers
135
+ /bulkTransfers/{idValue}:
136
+ get:
137
+ operationId: BackendBulkTransfersGet
138
+ parameters:
139
+ - $ref: '#/components/parameters/idValue'
140
+ responses:
141
+ '200':
142
+ content:
143
+ application/json:
144
+ schema:
145
+ $ref: '#/components/schemas/bulkTransferResponse'
146
+ description: Response containing details of the requested bulk transfer.
147
+ '400':
148
+ $ref: '#/components/responses/400'
149
+ '404':
150
+ $ref: '#/components/responses/404'
151
+ '500':
152
+ $ref: '#/components/responses/500'
153
+ summary: Requests information relating to a bulk transfer identified by the specified identifier value.
154
+ tags:
155
+ - BulkTransfers
156
+ /otp/{transactionRequestId}:
157
+ get:
158
+ operationId: BackendOtpGet
159
+ parameters:
160
+ - $ref: '#/components/parameters/transactionRequestId'
161
+ responses:
162
+ '200':
163
+ content:
164
+ application/json:
165
+ schema:
166
+ $ref: '#/components/schemas/otpDetails'
167
+ description: Response containing details of the OTP.
168
+ '400':
169
+ $ref: '#/components/responses/400'
170
+ '404':
171
+ $ref: '#/components/responses/404'
172
+ '500':
173
+ $ref: '#/components/responses/500'
174
+ summary: Requests OTP.
175
+ tags:
176
+ - OTP
177
+ /participants/{idType}/{idValue}:
178
+ get:
179
+ 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.
180
+ operationId: BackendParticipantsGetByTypeAndID
181
+ parameters:
182
+ - $ref: '#/components/parameters/idType'
183
+ - $ref: '#/components/parameters/idValue'
184
+ responses:
185
+ '200':
186
+ content:
187
+ application/json:
188
+ schema:
189
+ $ref: '#/components/schemas/participantsResponse'
190
+ description: Response containing details of the requested party.
191
+ '400':
192
+ $ref: '#/components/responses/400'
193
+ '404':
194
+ $ref: '#/components/responses/404'
195
+ '500':
196
+ $ref: '#/components/responses/500'
197
+ summary: Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
198
+ tags:
199
+ - Participants
200
+ /participants/{idType}/{idValue}/{idSubValue}:
201
+ get:
202
+ 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.
203
+ operationId: BackendParticipantsGetByTypeIDAndSubId
204
+ parameters:
205
+ - $ref: '#/components/parameters/idType'
206
+ - $ref: '#/components/parameters/idValue'
207
+ - $ref: '#/components/parameters/idSubValue'
208
+ responses:
209
+ '200':
210
+ content:
211
+ application/json:
212
+ schema:
213
+ $ref: '#/components/schemas/participantsResponse'
214
+ description: Response containing details of the requested party.
215
+ '400':
216
+ $ref: '#/components/responses/400'
217
+ '404':
218
+ $ref: '#/components/responses/404'
219
+ '500':
220
+ $ref: '#/components/responses/500'
221
+ summary: Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
222
+ tags:
223
+ - Participants
224
+ /parties/{idType}/{idValue}:
225
+ get:
226
+ description: The HTTP request `GET /parties/{idType}/{idValue}` is used to look up information regarding the requested transfer party, identified by `{idType}` and `{idValue}`.
227
+ operationId: BackendPartiesGetByTypeAndID
228
+ parameters:
229
+ - $ref: '#/components/parameters/idType'
230
+ - $ref: '#/components/parameters/idValue'
231
+ responses:
232
+ '200':
233
+ content:
234
+ application/json:
235
+ schema:
236
+ $ref: '#/components/schemas/transferParty'
237
+ description: Response containing details of the requested party.
238
+ '400':
239
+ $ref: '#/components/responses/400'
240
+ '404':
241
+ $ref: '#/components/responses/404'
242
+ '500':
243
+ $ref: '#/components/responses/500'
244
+ summary: Requests information relating to a transfer party identified by the specified identifier type and value.
245
+ tags:
246
+ - Parties
247
+ /parties/{idType}/{idValue}/{idSubValue}:
248
+ get:
249
+ 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}`.
250
+ operationId: BackendPartiesGetByTypeIdAndSubId
251
+ parameters:
252
+ - $ref: '#/components/parameters/idType'
253
+ - $ref: '#/components/parameters/idValue'
254
+ - $ref: '#/components/parameters/idSubValue'
255
+ responses:
256
+ '200':
257
+ content:
258
+ application/json:
259
+ schema:
260
+ $ref: '#/components/schemas/transferParty'
261
+ description: Response containing details of the requested party.
262
+ '400':
263
+ $ref: '#/components/responses/400'
264
+ '404':
265
+ $ref: '#/components/responses/404'
266
+ '500':
267
+ $ref: '#/components/responses/500'
268
+ summary: Requests information relating to a transfer party identified by the specified identifier type, value and subId value.
269
+ tags:
270
+ - Parties
271
+ /quoterequests:
272
+ post:
273
+ description: The HTTP request `POST /quoterequests` is used to request the creation of a quote for the provided financial transaction.
274
+ operationId: BackendQuoteRequest
275
+ requestBody:
276
+ content:
277
+ application/json:
278
+ schema:
279
+ $ref: '#/components/schemas/quoteRequest'
280
+ description: Request for a transfer quotation.
281
+ responses:
282
+ '200':
283
+ content:
284
+ application/json:
285
+ schema:
286
+ $ref: '#/components/schemas/quoteResponse'
287
+ description: A response to the transfer quotation request.
288
+ '400':
289
+ $ref: '#/components/responses/400'
290
+ '500':
291
+ $ref: '#/components/responses/500'
292
+ summary: Requests a quote for the specified transfer.
293
+ tags:
294
+ - Quotes
295
+ /transactionrequests:
296
+ post:
297
+ operationId: BackendTransactionRequest
298
+ requestBody:
299
+ content:
300
+ application/json:
301
+ schema:
302
+ $ref: '#/components/schemas/transactionRequest'
303
+ description: Request for Transaction Request.
304
+ responses:
305
+ '200':
306
+ content:
307
+ application/json:
308
+ schema:
309
+ $ref: '#/components/schemas/transactionRequestResponse'
310
+ description: A response to the transfer transaction request.
311
+ '400':
312
+ $ref: '#/components/responses/400'
313
+ '500':
314
+ $ref: '#/components/responses/500'
315
+ summary: Transaction request that supports pull based transfers.
316
+ tags:
317
+ - TransactionRequest
318
+ /transfers:
319
+ post:
320
+ description: The HTTP request `POST /transfers` is used to request the creation of a transfer for the transfer party.
321
+ operationId: BackendTransfersPost
322
+ requestBody:
323
+ content:
324
+ application/json:
325
+ schema:
326
+ $ref: '#/components/schemas/transferRequest'
327
+ description: An incoming transfer request.
328
+ responses:
329
+ '200':
330
+ content:
331
+ application/json:
332
+ schema:
333
+ $ref: '#/components/schemas/transferResponse'
334
+ description: The transfer was accepted.
335
+ '400':
336
+ $ref: '#/components/responses/400'
337
+ '500':
338
+ $ref: '#/components/responses/500'
339
+ summary: Transfers funds from an external account to an internal account.
340
+ tags:
341
+ - Transfers
342
+ /transfers/{transferId}:
343
+ get:
344
+ 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.
345
+ operationId: BackendTransfersGet
346
+ parameters:
347
+ - $ref: '#/components/parameters/transferId'
348
+ responses:
349
+ '200':
350
+ content:
351
+ application/json:
352
+ schema:
353
+ $ref: '#/components/schemas/transferDetailsResponse'
354
+ description: The transfer was accepted.
355
+ '500':
356
+ $ref: '#/components/responses/500'
357
+ summary: Retrieves information for a specific transfer.
358
+ tags:
359
+ - Transfers
360
+ put:
361
+ description: The HTTP request `PUT /transfers/{transferId}` is used to receive notification for transfer being fulfiled when the FSP is a Payee.
362
+ operationId: BackendTransfersPut
363
+ parameters:
364
+ - $ref: '#/components/parameters/transferId'
365
+ requestBody:
366
+ content:
367
+ application/json:
368
+ schema:
369
+ $ref: '#/components/schemas/fulfilNotification'
370
+ description: An incoming notification for fulfiled transfer.
371
+ responses:
372
+ '200':
373
+ description: The notification was accepted.
374
+ '500':
375
+ $ref: '#/components/responses/500'
376
+ summary: Receive notification for a specific transfer.
377
+ tags:
378
+ - Transfers
379
+ /fxQuotes:
380
+ post:
381
+ description: The HTTP request `POST /fxQuotes` is used to ask an FXP backend to provide a quotation for a currency conversion.
382
+ summary: Calculate FX quote
383
+ tags:
384
+ - Fx
385
+ operationId: FxQuotesPost
386
+ requestBody:
387
+ description: Details of the FX quote request.
388
+ required: true
389
+ content:
390
+ application/json:
391
+ schema:
392
+ $ref: '#/components/schemas/FxQuotesPostBackendRequest'
393
+ responses:
394
+ '200':
395
+ description: Successful response.
396
+ content:
397
+ application/json:
398
+ schema:
399
+ $ref: '#/components/schemas/FxQuotesPostBackendResponse'
400
+ '400':
401
+ $ref: '#/components/responses/400'
402
+ '500':
403
+ $ref: '#/components/responses/500'
404
+ /fxTransfers:
405
+ post:
406
+ description: The HTTP request `POST /fxTransfers` is used to ask an FXP backend to confirm the execution of an agreed currency conversion.
407
+ summary: Perform FX transfer
408
+ tags:
409
+ - Fx
410
+ operationId: FxTransfersPost
411
+ requestBody:
412
+ description: Details of the FX transfer request.
413
+ required: true
414
+ content:
415
+ application/json:
416
+ schema:
417
+ $ref: '#/components/schemas/FxTransfersPostBackendRequest'
418
+ responses:
419
+ '200':
420
+ description: Successful response.
421
+ content:
422
+ application/json:
423
+ schema:
424
+ $ref: '#/components/schemas/FxTransfersPostBackendResponse'
425
+ '400':
426
+ $ref: '#/components/responses/400'
427
+ '500':
428
+ $ref: '#/components/responses/500'
429
+ /fxTransfers/{commitRequestId}:
430
+ put:
431
+ description: The HTTP request `PUT /fxTransfers/{commitRequestId}` is used to notify an FXP backend about the status of currency conversion.
432
+ summary: FX Commit Notification
433
+ tags:
434
+ - Fx
435
+ operationId: FxTransfersById
436
+ requestBody:
437
+ description: Status of the FX transfer.
438
+ required: true
439
+ content:
440
+ application/json:
441
+ schema:
442
+ $ref: '#/components/schemas/FxTransfersPutBackendRequest'
443
+ responses:
444
+ '200':
445
+ $ref: '#/components/responses/200'
446
+ '400':
447
+ $ref: '#/components/responses/400'
448
+ '500':
449
+ $ref: '#/components/responses/500'
450
+ components:
451
+ parameters:
452
+ idSubValue:
453
+ description: A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`.
454
+ in: path
455
+ name: idSubValue
456
+ required: true
457
+ schema:
458
+ type: string
459
+ idType:
460
+ description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
461
+ in: path
462
+ name: idType
463
+ required: true
464
+ schema:
465
+ type: string
466
+ idValue:
467
+ description: The identifier value.
468
+ in: path
469
+ name: idValue
470
+ required: true
471
+ schema:
472
+ type: string
473
+ transactionRequestId:
474
+ in: path
475
+ name: transactionRequestId
476
+ required: true
477
+ schema:
478
+ $ref: '#/components/schemas/transactionRequestId'
479
+ transferId:
480
+ in: path
481
+ name: transferId
482
+ required: true
483
+ schema:
484
+ type: string
485
+ bulkTransactionId:
486
+ name: bulkTransactionId
487
+ in: path
488
+ required: true
489
+ schema:
490
+ $ref: '#/components/schemas/CorrelationId'
491
+ description: Identifier of the bulk transaction to continue as returned in the response to a `POST /bulkTransaction` request.
492
+ schemas:
493
+ DateOfBirth:
494
+ title: DateofBirth (type Date)
495
+ type: string
496
+ pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
497
+ description: Date of Birth of the Party.
498
+ example: '1966-06-16'
499
+ FirstName:
500
+ title: FirstName
501
+ type: string
502
+ minLength: 1
503
+ maxLength: 128
504
+ pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
505
+ description: First name of the Party (Name Type).
506
+ example: Henrik
507
+ FspId:
508
+ title: FspId
509
+ type: string
510
+ minLength: 1
511
+ maxLength: 32
512
+ description: FSP identifier.
513
+ IndividualQuote:
514
+ description: Data model for individual quote in a bulk quote request.
515
+ properties:
516
+ amount:
517
+ $ref: '#/components/schemas/money'
518
+ amountType:
519
+ $ref: '#/components/schemas/amountType'
520
+ currency:
521
+ $ref: '#/components/schemas/currency'
522
+ feesAmount:
523
+ $ref: '#/components/schemas/money'
524
+ feesCurrency:
525
+ $ref: '#/components/schemas/currency'
526
+ initiator:
527
+ $ref: '#/components/schemas/initiator'
528
+ initiatorType:
529
+ $ref: '#/components/schemas/initiatorType'
530
+ note:
531
+ description: An optional note associated with the quote.
532
+ maxLength: 128
533
+ minLength: 1
534
+ type: string
535
+ quoteId:
536
+ $ref: '#/components/schemas/quoteId'
537
+ subScenario:
538
+ $ref: '#/components/schemas/TransactionSubScenario'
539
+ to:
540
+ $ref: '#/components/schemas/transferParty'
541
+ transactionId:
542
+ $ref: '#/components/schemas/transactionId'
543
+ transactionType:
544
+ $ref: '#/components/schemas/transactionType'
545
+ required:
546
+ - quoteId
547
+ - transactionId
548
+ - to
549
+ - amountType
550
+ - amount
551
+ - currency
552
+ - transactionType
553
+ - initiator
554
+ - initiatorType
555
+ type: object
556
+ IndividualQuoteResultFailed:
557
+ description: Data model for failed individual quote in a bulk quote response.
558
+ properties:
559
+ errorResponse:
560
+ $ref: '#/components/schemas/errorResponse'
561
+ quoteId:
562
+ $ref: '#/components/schemas/quoteId'
563
+ required:
564
+ - quoteId
565
+ - errorResponse
566
+ type: object
567
+ IndividualQuoteResultSuccess:
568
+ description: Data model for successful individual quote in a bulk quote response.
569
+ properties:
570
+ payeeFspCommissionAmount:
571
+ $ref: '#/components/schemas/money'
572
+ payeeFspCommissionAmountCurrency:
573
+ $ref: '#/components/schemas/currency'
574
+ payeeFspFeeAmount:
575
+ $ref: '#/components/schemas/money'
576
+ payeeFspFeeAmountCurrency:
577
+ $ref: '#/components/schemas/currency'
578
+ payeeReceiveAmount:
579
+ $ref: '#/components/schemas/money'
580
+ payeeReceiveAmountCurrency:
581
+ $ref: '#/components/schemas/currency'
582
+ quoteId:
583
+ $ref: '#/components/schemas/quoteId'
584
+ transferAmount:
585
+ $ref: '#/components/schemas/money'
586
+ transferAmountCurrency:
587
+ $ref: '#/components/schemas/currency'
588
+ required:
589
+ - quoteId
590
+ type: object
591
+ IndividualTransfer:
592
+ description: Data model for individual transfer in a bulk transfer request.
593
+ properties:
594
+ amount:
595
+ $ref: '#/components/schemas/money'
596
+ amountType:
597
+ $ref: '#/components/schemas/amountType'
598
+ currency:
599
+ $ref: '#/components/schemas/currency'
600
+ feesAmount:
601
+ $ref: '#/components/schemas/money'
602
+ feesCurrency:
603
+ $ref: '#/components/schemas/currency'
604
+ initiator:
605
+ $ref: '#/components/schemas/initiator'
606
+ initiatorType:
607
+ $ref: '#/components/schemas/initiatorType'
608
+ note:
609
+ description: An optional note associated with the quote.
610
+ maxLength: 128
611
+ minLength: 1
612
+ type: string
613
+ subScenario:
614
+ $ref: '#/components/schemas/TransactionSubScenario'
615
+ to:
616
+ $ref: '#/components/schemas/transferParty'
617
+ transactionType:
618
+ $ref: '#/components/schemas/transactionType'
619
+ transferId:
620
+ $ref: '#/components/schemas/transferId'
621
+ required:
622
+ - transferId
623
+ - amount
624
+ - currency
625
+ type: object
626
+ IndividualTransferResult:
627
+ description: Data model for individual transfer in a bulk transfer response.
628
+ properties:
629
+ errorResponse:
630
+ $ref: '#/components/schemas/errorResponse'
631
+ extensionList:
632
+ $ref: '#/components/schemas/extensionList'
633
+ transferId:
634
+ $ref: '#/components/schemas/transferId'
635
+ required:
636
+ - transferId
637
+ type: object
638
+ LastName:
639
+ title: LastName
640
+ type: string
641
+ minLength: 1
642
+ maxLength: 128
643
+ pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
644
+ description: Last name of the Party (Name Type).
645
+ example: Karlsson
646
+ MerchantClassificationCode:
647
+ title: MerchantClassificationCode
648
+ type: string
649
+ pattern: ^[\d]{1,4}$
650
+ 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.
651
+ MiddleName:
652
+ title: MiddleName
653
+ type: string
654
+ minLength: 1
655
+ maxLength: 128
656
+ pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
657
+ description: Middle name of the Party (Name Type).
658
+ example: Johannes
659
+ amountCurrency:
660
+ description: Object containing Amount and Currency of the transfer.
661
+ properties:
662
+ amount:
663
+ $ref: '#/components/schemas/money'
664
+ currency:
665
+ $ref: '#/components/schemas/currency'
666
+ required:
667
+ - amount
668
+ - currency
669
+ type: object
670
+ amountType:
671
+ enum:
672
+ - SEND
673
+ - RECEIVE
674
+ type: string
675
+ bulkQuoteId:
676
+ description: A Mojaloop API bulk quote identifier (UUID).
677
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
678
+ type: string
679
+ bulkQuoteRequest:
680
+ description: A request for a bulk quote.
681
+ properties:
682
+ bulkQuoteId:
683
+ $ref: '#/components/schemas/bulkQuoteId'
684
+ expiration:
685
+ $ref: '#/components/schemas/timestamp'
686
+ from:
687
+ $ref: '#/components/schemas/transferParty'
688
+ geoCode:
689
+ $ref: '#/components/schemas/geoCode'
690
+ individualQuotes:
691
+ items:
692
+ $ref: '#/components/schemas/IndividualQuote'
693
+ maxItems: 1000
694
+ minItems: 1
695
+ type: array
696
+ required:
697
+ - bulkQuoteId
698
+ - from
699
+ - individualQuotes
700
+ type: object
701
+ bulkQuoteResponse:
702
+ description: A response to a request for a bulk quote.
703
+ properties:
704
+ bulkQuoteId:
705
+ $ref: '#/components/schemas/bulkQuoteId'
706
+ expiration:
707
+ $ref: '#/components/schemas/timestamp'
708
+ individualQuoteResults:
709
+ description: Fees for each individual transaction, if any of them are charged per transaction.
710
+ items:
711
+ oneOf:
712
+ - $ref: '#/components/schemas/IndividualQuoteResultSuccess'
713
+ - $ref: '#/components/schemas/IndividualQuoteResultFailed'
714
+ maxItems: 1000
715
+ minItems: 1
716
+ type: array
717
+ required:
718
+ - bulkQuoteId
719
+ - individualQuoteResults
720
+ type: object
721
+ bulkTransferId:
722
+ description: A Mojaloop API transfer identifier (UUID).
723
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
724
+ type: string
725
+ bulkTransferRequest:
726
+ properties:
727
+ bulkQuote:
728
+ $ref: '#/components/schemas/bulkQuoteResponse'
729
+ bulkTransferId:
730
+ $ref: '#/components/schemas/bulkTransferId'
731
+ from:
732
+ $ref: '#/components/schemas/transferParty'
733
+ individualTransfers:
734
+ items:
735
+ $ref: '#/components/schemas/IndividualTransfer'
736
+ maxItems: 1000
737
+ minItems: 1
738
+ type: array
739
+ required:
740
+ - bulkTransferId
741
+ - individualTransfers
742
+ type: object
743
+ bulkTransferResponse:
744
+ properties:
745
+ bulkTransferId:
746
+ $ref: '#/components/schemas/bulkTransferId'
747
+ homeTransactionId:
748
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the switch and DFSP backend systems.
749
+ type: string
750
+ individualTransferResults:
751
+ items:
752
+ $ref: '#/components/schemas/IndividualTransferResult'
753
+ maxItems: 1000
754
+ minItems: 1
755
+ type: array
756
+ required:
757
+ - homeTransactionId
758
+ type: object
759
+ currency:
760
+ enum:
761
+ - AED
762
+ - AFN
763
+ - ALL
764
+ - AMD
765
+ - ANG
766
+ - AOA
767
+ - ARS
768
+ - AUD
769
+ - AWG
770
+ - AZN
771
+ - BAM
772
+ - BBD
773
+ - BDT
774
+ - BGN
775
+ - BHD
776
+ - BIF
777
+ - BMD
778
+ - BND
779
+ - BOB
780
+ - BRL
781
+ - BSD
782
+ - BTN
783
+ - BWP
784
+ - BYN
785
+ - BZD
786
+ - CAD
787
+ - CDF
788
+ - CHF
789
+ - CLP
790
+ - CNY
791
+ - COP
792
+ - CRC
793
+ - CUC
794
+ - CUP
795
+ - CVE
796
+ - CZK
797
+ - DJF
798
+ - DKK
799
+ - DOP
800
+ - DZD
801
+ - EGP
802
+ - ERN
803
+ - ETB
804
+ - EUR
805
+ - FJD
806
+ - FKP
807
+ - GBP
808
+ - GEL
809
+ - GGP
810
+ - GHS
811
+ - GIP
812
+ - GMD
813
+ - GNF
814
+ - GTQ
815
+ - GYD
816
+ - HKD
817
+ - HNL
818
+ - HRK
819
+ - HTG
820
+ - HUF
821
+ - IDR
822
+ - ILS
823
+ - IMP
824
+ - INR
825
+ - IQD
826
+ - IRR
827
+ - ISK
828
+ - JEP
829
+ - JMD
830
+ - JOD
831
+ - JPY
832
+ - KES
833
+ - KGS
834
+ - KHR
835
+ - KMF
836
+ - KPW
837
+ - KRW
838
+ - KWD
839
+ - KYD
840
+ - KZT
841
+ - LAK
842
+ - LBP
843
+ - LKR
844
+ - LRD
845
+ - LSL
846
+ - LYD
847
+ - MAD
848
+ - MDL
849
+ - MGA
850
+ - MKD
851
+ - MMK
852
+ - MNT
853
+ - MOP
854
+ - MRO
855
+ - MUR
856
+ - MVR
857
+ - MWK
858
+ - MXN
859
+ - MYR
860
+ - MZN
861
+ - NAD
862
+ - NGN
863
+ - NIO
864
+ - NOK
865
+ - NPR
866
+ - NZD
867
+ - OMR
868
+ - PAB
869
+ - PEN
870
+ - PGK
871
+ - PHP
872
+ - PKR
873
+ - PLN
874
+ - PYG
875
+ - QAR
876
+ - RON
877
+ - RSD
878
+ - RUB
879
+ - RWF
880
+ - SAR
881
+ - SBD
882
+ - SCR
883
+ - SDG
884
+ - SEK
885
+ - SGD
886
+ - SHP
887
+ - SLL
888
+ - SOS
889
+ - SPL
890
+ - SRD
891
+ - STD
892
+ - SVC
893
+ - SYP
894
+ - SZL
895
+ - THB
896
+ - TJS
897
+ - TMT
898
+ - TND
899
+ - TOP
900
+ - TRY
901
+ - TTD
902
+ - TVD
903
+ - TWD
904
+ - TZS
905
+ - UAH
906
+ - UGX
907
+ - USD
908
+ - UYU
909
+ - UZS
910
+ - VEF
911
+ - VND
912
+ - VUV
913
+ - WST
914
+ - XAF
915
+ - XCD
916
+ - XDR
917
+ - XOF
918
+ - XPF
919
+ - XTS
920
+ - XXX
921
+ - YER
922
+ - ZAR
923
+ - ZMW
924
+ - ZWD
925
+ maxLength: 3
926
+ minLength: 3
927
+ type: string
928
+ dateOfBirth:
929
+ description: Date of birth in the form YYYY-MM-DD.
930
+ pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
931
+ type: string
932
+ errorCode:
933
+ description: |
934
+ 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.
935
+ pattern: ^[1-9]\d{3}$
936
+ title: ErrorCode
937
+ type: string
938
+ errorDescription:
939
+ description: Error description string.
940
+ maxLength: 128
941
+ minLength: 1
942
+ title: ErrorDescription
943
+ type: string
944
+ errorInformation:
945
+ description: A Mojaloop API error information construct.
946
+ properties:
947
+ errorCode:
948
+ $ref: '#/components/schemas/errorCode'
949
+ errorDescription:
950
+ $ref: '#/components/schemas/errorDescription'
951
+ extensionList:
952
+ $ref: '#/components/schemas/extensionListComplex'
953
+ required:
954
+ - errorCode
955
+ - errorDescription
956
+ title: ErrorInformation
957
+ type: object
958
+ extensionItem:
959
+ properties:
960
+ key:
961
+ maxLength: 32
962
+ minLength: 1
963
+ type: string
964
+ value:
965
+ maxLength: 128
966
+ minLength: 1
967
+ type: string
968
+ type: object
969
+ extensionList:
970
+ items:
971
+ $ref: '#/components/schemas/extensionItem'
972
+ maxItems: 16
973
+ minItems: 0
974
+ type: array
975
+ extensionListComplex:
976
+ description: Data model for the complex type ExtensionList.
977
+ properties:
978
+ extension:
979
+ description: Number of Extension elements.
980
+ items:
981
+ $ref: '#/components/schemas/extensionItem'
982
+ maxItems: 16
983
+ minItems: 1
984
+ type: array
985
+ required:
986
+ - extension
987
+ type: object
988
+ fspId:
989
+ description: FSP identifier.
990
+ maxLength: 32
991
+ minLength: 1
992
+ type: string
993
+ fulfilNotification:
994
+ description: PUT /transfers/{transferId} object.
995
+ properties:
996
+ currentState:
997
+ $ref: '#/components/schemas/transferStatus'
998
+ direction:
999
+ enum:
1000
+ - INBOUND
1001
+ type: string
1002
+ finalNotification:
1003
+ properties:
1004
+ completedTimestamp:
1005
+ $ref: '#/components/schemas/timestamp'
1006
+ extensionList:
1007
+ $ref: '#/components/schemas/extensionList'
1008
+ transferState:
1009
+ $ref: '#/components/schemas/transferState'
1010
+ required:
1011
+ - completedTimestamp
1012
+ - transferState
1013
+ type: object
1014
+ fulfil:
1015
+ properties:
1016
+ body:
1017
+ type: object
1018
+ headers:
1019
+ type: object
1020
+ type: object
1021
+ initiatedTimestamp:
1022
+ $ref: '#/components/schemas/timestamp'
1023
+ lastError:
1024
+ $ref: '#/components/schemas/transferError'
1025
+ prepare:
1026
+ properties:
1027
+ body:
1028
+ type: object
1029
+ headers:
1030
+ type: object
1031
+ type: object
1032
+ quote:
1033
+ properties:
1034
+ fulfilment:
1035
+ type: string
1036
+ internalRequest:
1037
+ type: object
1038
+ mojaloopResponse:
1039
+ type: object
1040
+ request:
1041
+ type: object
1042
+ response:
1043
+ type: object
1044
+ type: object
1045
+ quoteRequest:
1046
+ properties:
1047
+ body:
1048
+ type: object
1049
+ headers:
1050
+ type: object
1051
+ type: object
1052
+ quoteResponse:
1053
+ properties:
1054
+ body:
1055
+ type: object
1056
+ headers:
1057
+ type: object
1058
+ type: object
1059
+ transferId:
1060
+ $ref: '#/components/schemas/transferId'
1061
+ title: TransfersIDPatchResponse
1062
+ type: object
1063
+ generalError:
1064
+ description: This object may represent a number of different error object types and so its properties may vary significantly.
1065
+ type: object
1066
+ geoCode:
1067
+ description: Indicates the geographic location from where the transaction was initiated.
1068
+ properties:
1069
+ latitude:
1070
+ $ref: '#/components/schemas/latitude'
1071
+ longitude:
1072
+ $ref: '#/components/schemas/longitude'
1073
+ required:
1074
+ - latitude
1075
+ - longitude
1076
+ type: object
1077
+ idSubValue:
1078
+ maxLength: 128
1079
+ minLength: 1
1080
+ type: string
1081
+ idType:
1082
+ enum:
1083
+ - MSISDN
1084
+ - ACCOUNT_NO
1085
+ - EMAIL
1086
+ - PERSONAL_ID
1087
+ - BUSINESS
1088
+ - DEVICE
1089
+ - ACCOUNT_ID
1090
+ - IBAN
1091
+ - ALIAS
1092
+ type: string
1093
+ idValue:
1094
+ description: Identifier of the party.
1095
+ maxLength: 128
1096
+ minLength: 1
1097
+ type: string
1098
+ ilpPacketData:
1099
+ description: Object containing transfer object.
1100
+ properties:
1101
+ amount:
1102
+ $ref: '#/components/schemas/amountCurrency'
1103
+ payee:
1104
+ $ref: '#/components/schemas/Party'
1105
+ payer:
1106
+ $ref: '#/components/schemas/Party'
1107
+ quoteId:
1108
+ $ref: '#/components/schemas/quoteId'
1109
+ transactionId:
1110
+ $ref: '#/components/schemas/transactionId'
1111
+ transactionType:
1112
+ $ref: '#/components/schemas/transactionTypeObject'
1113
+ required:
1114
+ - quoteId
1115
+ - transactionId
1116
+ - payer
1117
+ - payee
1118
+ - amount
1119
+ - transactionType
1120
+ type: object
1121
+ initiator:
1122
+ enum:
1123
+ - PAYER
1124
+ - PAYEE
1125
+ type: string
1126
+ initiatorType:
1127
+ enum:
1128
+ - CONSUMER
1129
+ - AGENT
1130
+ - BUSINESS
1131
+ - DEVICE
1132
+ type: string
1133
+ latitude:
1134
+ description: The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
1135
+ pattern: ^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
1136
+ type: string
1137
+ longitude:
1138
+ description: The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
1139
+ pattern: ^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$
1140
+ type: string
1141
+ money:
1142
+ pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
1143
+ type: string
1144
+ otpDetails:
1145
+ properties:
1146
+ otpValue:
1147
+ description: OTP value.
1148
+ type: string
1149
+ required:
1150
+ - otpValue
1151
+ type: object
1152
+ participantsResponse:
1153
+ properties:
1154
+ fspId:
1155
+ $ref: '#/components/schemas/fspId'
1156
+ type: object
1157
+ payerType:
1158
+ enum:
1159
+ - CONSUMER
1160
+ - AGENT
1161
+ - BUSINESS
1162
+ - DEVICE
1163
+ type: string
1164
+ quoteId:
1165
+ description: A Mojaloop API quote identifier (UUID).
1166
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1167
+ type: string
1168
+ quoteRequest:
1169
+ description: A request for a quote for transfer from the DFSP backend.
1170
+ properties:
1171
+ homeR2PTransactionId:
1172
+ type: string
1173
+ description: Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer.
1174
+ amount:
1175
+ $ref: '#/components/schemas/money'
1176
+ amountType:
1177
+ $ref: '#/components/schemas/amountType'
1178
+ currency:
1179
+ $ref: '#/components/schemas/currency'
1180
+ expiration:
1181
+ $ref: '#/components/schemas/timestamp'
1182
+ extensionList:
1183
+ $ref: '#/components/schemas/extensionList'
1184
+ feesAmount:
1185
+ $ref: '#/components/schemas/money'
1186
+ feesCurrency:
1187
+ $ref: '#/components/schemas/currency'
1188
+ from:
1189
+ $ref: '#/components/schemas/transferParty'
1190
+ geoCode:
1191
+ $ref: '#/components/schemas/geoCode'
1192
+ initiator:
1193
+ $ref: '#/components/schemas/initiator'
1194
+ initiatorType:
1195
+ $ref: '#/components/schemas/initiatorType'
1196
+ note:
1197
+ description: An optional note associated with the requested transfer.
1198
+ maxLength: 128
1199
+ minLength: 1
1200
+ type: string
1201
+ quoteId:
1202
+ $ref: '#/components/schemas/quoteId'
1203
+ subScenario:
1204
+ $ref: '#/components/schemas/TransactionSubScenario'
1205
+ to:
1206
+ $ref: '#/components/schemas/transferParty'
1207
+ transactionId:
1208
+ $ref: '#/components/schemas/transactionId'
1209
+ transactionType:
1210
+ $ref: '#/components/schemas/transactionType'
1211
+ transactionRequestId:
1212
+ $ref: '#/components/schemas/transactionRequestId'
1213
+ converter:
1214
+ allOf:
1215
+ - $ref: '#/components/schemas/CurrencyConverter'
1216
+ - description: An optional field which will allow the payer DFSP to specify which DFSP it wants to undertake currency conversion. This is useful incase of if the sender wants the recipient to receive a specified amount of the target currency, but the payer DFSP does not want to undertake the currency conversion. In this case, the amount of the transfer would be expressed in the target currency and the amountType would be set to RECEIVE.
1217
+ currencyConversion:
1218
+ allOf:
1219
+ - $ref: '#/components/schemas/FxRate'
1220
+ - description: Used by the debtor party if it wants to share information about the currency conversion it proposes to make; or if it is required by scheme rules to share this information. This object contains the amount of the transfer in the source and target currencies, but does not identify the FXP being used.
1221
+ required:
1222
+ - quoteId
1223
+ - transactionId
1224
+ - to
1225
+ - from
1226
+ - amountType
1227
+ - amount
1228
+ - currency
1229
+ - transactionType
1230
+ - initiator
1231
+ - initiatorType
1232
+ type: object
1233
+ quoteResponse:
1234
+ description: A response to a request for a quote.
1235
+ properties:
1236
+ expiration:
1237
+ $ref: '#/components/schemas/timestamp'
1238
+ extensionList:
1239
+ $ref: '#/components/schemas/extensionList'
1240
+ geoCode:
1241
+ $ref: '#/components/schemas/geoCode'
1242
+ payeeFspCommissionAmount:
1243
+ $ref: '#/components/schemas/money'
1244
+ payeeFspCommissionAmountCurrency:
1245
+ $ref: '#/components/schemas/currency'
1246
+ payeeFspFeeAmount:
1247
+ $ref: '#/components/schemas/money'
1248
+ payeeFspFeeAmountCurrency:
1249
+ $ref: '#/components/schemas/currency'
1250
+ payeeReceiveAmount:
1251
+ $ref: '#/components/schemas/money'
1252
+ payeeReceiveAmountCurrency:
1253
+ $ref: '#/components/schemas/currency'
1254
+ quoteId:
1255
+ $ref: '#/components/schemas/quoteId'
1256
+ transactionId:
1257
+ $ref: '#/components/schemas/transactionId'
1258
+ transferAmount:
1259
+ $ref: '#/components/schemas/money'
1260
+ transferAmountCurrency:
1261
+ $ref: '#/components/schemas/currency'
1262
+ required:
1263
+ - quoteId
1264
+ - transactionId
1265
+ - transferAmount
1266
+ - transferAmountCurrency
1267
+ type: object
1268
+ scenario:
1269
+ enum:
1270
+ - TRANSFER
1271
+ type: string
1272
+ timestamp:
1273
+ description: An ISO-8601 formatted timestamp.
1274
+ pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:(\.\d{3}))(?:Z|[+-][01]\d:[0-5]\d)$
1275
+ type: string
1276
+ transactionId:
1277
+ description: ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.
1278
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1279
+ type: string
1280
+ transactionRequest:
1281
+ description: A request for a pull based transfer.
1282
+ properties:
1283
+ amount:
1284
+ $ref: '#/components/schemas/money'
1285
+ currency:
1286
+ $ref: '#/components/schemas/currency'
1287
+ expiration:
1288
+ $ref: '#/components/schemas/timestamp'
1289
+ from:
1290
+ $ref: '#/components/schemas/transferParty'
1291
+ geoCode:
1292
+ $ref: '#/components/schemas/geoCode'
1293
+ initiator:
1294
+ $ref: '#/components/schemas/initiator'
1295
+ initiatorType:
1296
+ $ref: '#/components/schemas/initiatorType'
1297
+ note:
1298
+ description: An optional note associated with the requested transfer.
1299
+ maxLength: 128
1300
+ minLength: 1
1301
+ type: string
1302
+ to:
1303
+ $ref: '#/components/schemas/transferParty'
1304
+ transactionRequestId:
1305
+ $ref: '#/components/schemas/transactionRequestId'
1306
+ transactionType:
1307
+ $ref: '#/components/schemas/transactionType'
1308
+ subScenario:
1309
+ $ref: '#/components/schemas/TransactionSubScenario'
1310
+ authenticationType:
1311
+ $ref: '#/components/schemas/AuthenticationType'
1312
+ required:
1313
+ - transactionRequestId
1314
+ - to
1315
+ - from
1316
+ - amount
1317
+ - currency
1318
+ - transactionType
1319
+ - initiator
1320
+ - initiatorType
1321
+ type: object
1322
+ transactionRequestId:
1323
+ description: A Mojaloop API transaction request identifier (UUID).
1324
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1325
+ type: string
1326
+ transactionRequestResponse:
1327
+ description: A response to a request for a quote.
1328
+ properties:
1329
+ homeR2PTransactionId:
1330
+ type: string
1331
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
1332
+ transactionId:
1333
+ $ref: '#/components/schemas/transactionId'
1334
+ transactionRequestState:
1335
+ $ref: '#/components/schemas/transactionRequestState'
1336
+ required:
1337
+ - transactionId
1338
+ - transactionRequestState
1339
+ type: object
1340
+ transactionRequestState:
1341
+ enum:
1342
+ - RECEIVED
1343
+ - PENDING
1344
+ - ACCEPTED
1345
+ - REJECTED
1346
+ type: string
1347
+ transactionSubScenario:
1348
+ description: Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type). Based on FSPIOP TransactionSubScenario.
1349
+ example: LOCALLY_DEFINED_SUBSCENARIO
1350
+ pattern: ^[A-Z_]{1,32}$
1351
+ title: transactionSubScenario
1352
+ type: string
1353
+ transactionType:
1354
+ enum:
1355
+ - TRANSFER
1356
+ - DEPOSIT
1357
+ - PAYMENT
1358
+ type: string
1359
+ transactionTypeObject:
1360
+ description: Object containing transfer object.
1361
+ properties:
1362
+ initiator:
1363
+ $ref: '#/components/schemas/initiator'
1364
+ initiatorType:
1365
+ $ref: '#/components/schemas/initiatorType'
1366
+ scenario:
1367
+ $ref: '#/components/schemas/scenario'
1368
+ subScenario:
1369
+ $ref: '#/components/schemas/TransactionSubScenario'
1370
+ required:
1371
+ - scenario
1372
+ - initiator
1373
+ - initiatorType
1374
+ type: object
1375
+ transferDetailsResponse:
1376
+ properties:
1377
+ amount:
1378
+ $ref: '#/components/schemas/money'
1379
+ amountType:
1380
+ $ref: '#/components/schemas/amountType'
1381
+ currency:
1382
+ $ref: '#/components/schemas/currency'
1383
+ extensions:
1384
+ $ref: '#/components/schemas/extensionList'
1385
+ from:
1386
+ $ref: '#/components/schemas/transferParty'
1387
+ homeTransactionId:
1388
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
1389
+ type: string
1390
+ note:
1391
+ maxLength: 128
1392
+ type: string
1393
+ subScenario:
1394
+ $ref: '#/components/schemas/TransactionSubScenario'
1395
+ timestamp:
1396
+ $ref: '#/components/schemas/timestamp'
1397
+ to:
1398
+ $ref: '#/components/schemas/transferParty'
1399
+ transactionType:
1400
+ $ref: '#/components/schemas/transactionType'
1401
+ transferState:
1402
+ $ref: '#/components/schemas/transferState'
1403
+ required:
1404
+ - homeTransactionId
1405
+ - from
1406
+ - to
1407
+ - amountType
1408
+ - currency
1409
+ - amount
1410
+ - transferState
1411
+ - transactionType
1412
+ - timestamp
1413
+ type: object
1414
+ transferId:
1415
+ description: A Mojaloop API transfer identifier (UUID).
1416
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1417
+ type: string
1418
+ transferParty:
1419
+ properties:
1420
+ dateOfBirth:
1421
+ $ref: '#/components/schemas/dateOfBirth'
1422
+ displayName:
1423
+ description: Display name of the sender, if known.
1424
+ type: string
1425
+ extensionList:
1426
+ $ref: '#/components/schemas/extensionList'
1427
+ firstName:
1428
+ description: Party first name.
1429
+ type: string
1430
+ fspId:
1431
+ description: Mojaloop scheme FSPID of the DFSP which owns the party account.
1432
+ type: string
1433
+ idSubValue:
1434
+ $ref: '#/components/schemas/idSubValue'
1435
+ idType:
1436
+ $ref: '#/components/schemas/idType'
1437
+ idValue:
1438
+ description: The identifier string used to identify the sender.
1439
+ type: string
1440
+ lastName:
1441
+ description: Party last name.
1442
+ type: string
1443
+ merchantClassificationCode:
1444
+ description: Up to 4 digits specifying the sender's merchant classification, if known and applicable.
1445
+ type: string
1446
+ middleName:
1447
+ description: Party middle name.
1448
+ type: string
1449
+ type:
1450
+ $ref: '#/components/schemas/payerType'
1451
+ supportedCurrencies:
1452
+ type: array
1453
+ description: Currencies in which the party can receive funds.
1454
+ items:
1455
+ $ref: '#/components/schemas/currency'
1456
+ minItems: 0
1457
+ maxItems: 16
1458
+ kycInformation:
1459
+ $ref: '#/components/schemas/KYCInformation'
1460
+ required:
1461
+ - idType
1462
+ - idValue
1463
+ type: object
1464
+ transferRequest:
1465
+ properties:
1466
+ homeR2PTransactionId:
1467
+ type: string
1468
+ description: Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer.
1469
+ amount:
1470
+ $ref: '#/components/schemas/money'
1471
+ amountType:
1472
+ $ref: '#/components/schemas/amountType'
1473
+ currency:
1474
+ $ref: '#/components/schemas/currency'
1475
+ from:
1476
+ $ref: '#/components/schemas/transferParty'
1477
+ ilpPacket:
1478
+ properties:
1479
+ data:
1480
+ $ref: '#/components/schemas/ilpPacketData'
1481
+ required:
1482
+ - data
1483
+ type: object
1484
+ note:
1485
+ maxLength: 128
1486
+ type: string
1487
+ quote:
1488
+ $ref: '#/components/schemas/quoteResponse'
1489
+ quoteRequestExtensions:
1490
+ $ref: '#/components/schemas/extensionList'
1491
+ subScenario:
1492
+ $ref: '#/components/schemas/TransactionSubScenario'
1493
+ to:
1494
+ $ref: '#/components/schemas/transferParty'
1495
+ transactionType:
1496
+ $ref: '#/components/schemas/transactionType'
1497
+ transferId:
1498
+ $ref: '#/components/schemas/transferId'
1499
+ transactionRequestId:
1500
+ $ref: '#/components/schemas/transactionRequestId'
1501
+ required:
1502
+ - transferId
1503
+ - quote
1504
+ - from
1505
+ - to
1506
+ - amountType
1507
+ - currency
1508
+ - amount
1509
+ - transactionType
1510
+ - ilpPacket
1511
+ type: object
1512
+ transferResponse:
1513
+ properties:
1514
+ completedTimestamp:
1515
+ $ref: '#/components/schemas/timestamp'
1516
+ fulfilment:
1517
+ $ref: '#/components/schemas/IlpFulfilment'
1518
+ homeTransactionId:
1519
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
1520
+ type: string
1521
+ transferState:
1522
+ $ref: '#/components/schemas/transferState'
1523
+ required:
1524
+ - homeTransactionId
1525
+ type: object
1526
+ transferState:
1527
+ description: |
1528
+ 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.
1529
+ enum:
1530
+ - RECEIVED
1531
+ - RESERVED
1532
+ - COMMITTED
1533
+ - ABORTED
1534
+ type: string
1535
+ transferStatus:
1536
+ enum:
1537
+ - ERROR_OCCURRED
1538
+ - WAITING_FOR_PARTY_ACCEPTANCE
1539
+ - WAITING_FOR_QUOTE_ACCEPTANCE
1540
+ - COMPLETED
1541
+ type: string
1542
+ requestToPayCallback:
1543
+ description: Callback for requestToPay.
1544
+ properties:
1545
+ homeR2PTransactionId:
1546
+ type: string
1547
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
1548
+ transactionRequestState:
1549
+ $ref: '#/components/schemas/transactionRequestState'
1550
+ required:
1551
+ - transactionRequestState
1552
+ KYCInformation:
1553
+ title: KYCInformation
1554
+ type: string
1555
+ minLength: 1
1556
+ maxLength: 2048
1557
+ description: KYC information for the party in a form mandated by an individual scheme.
1558
+ example: |-
1559
+ {
1560
+ "metadata": {
1561
+ "format": "JSON",
1562
+ "version": "1.0",
1563
+ "description": "Data containing KYC Information"
1564
+ },
1565
+ "data": {
1566
+ "name": "John Doe",
1567
+ "dob": "1980-05-15",
1568
+ "gender": "Male",
1569
+ "address": "123 Main Street, Anytown, USA",
1570
+ "email": "johndoe@example.com",
1571
+ "phone": "+1 555-123-4567",
1572
+ "nationality": "US",
1573
+ "passport_number": "AB1234567",
1574
+ "issue_date": "2010-02-20",
1575
+ "expiry_date": "2025-02-20",
1576
+ "bank_account_number": "1234567890",
1577
+ "bank_name": "Example Bank",
1578
+ "employer": "ABC Company",
1579
+ "occupation": "Software Engineer",
1580
+ "income": "$80,000 per year",
1581
+ "marital_status": "Single",
1582
+ "dependents": 0,
1583
+ "risk_level": "Low"
1584
+ }
1585
+ }
1586
+ TransactionSubScenario:
1587
+ title: TransactionSubScenario
1588
+ type: string
1589
+ pattern: ^[A-Z_]{1,32}$
1590
+ description: Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).
1591
+ example: LOCALLY_DEFINED_SUBSCENARIO
1592
+ errorResponse:
1593
+ type: object
1594
+ properties:
1595
+ statusCode:
1596
+ type: string
1597
+ description: |
1598
+ Backend error code from FSP. Ideally, statusCode is FSPIOP conforming. SDK will use status code to retrieve an FSPIOP error with the same code.
1599
+ Otherwise, a suitable generic FSPIOP will be used with the errorResponse in the FSPIOP error message.
1600
+ message:
1601
+ type: string
1602
+ description: Error message text.
1603
+ CorrelationId:
1604
+ title: CorrelationId
1605
+ type: string
1606
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1607
+ 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 (‘-‘).
1608
+ example: b51ec534-ee48-4575-b6a9-ead2955b8069
1609
+ bulkTransactionStatus:
1610
+ type: string
1611
+ enum:
1612
+ - ERROR_OCCURRED
1613
+ - WAITING_FOR_PARTY_ACCEPTANCE
1614
+ - WAITING_FOR_QUOTE_ACCEPTANCE
1615
+ - COMPLETED
1616
+ autoAcceptPartyOption:
1617
+ type: object
1618
+ required:
1619
+ - enabled
1620
+ properties:
1621
+ enabled:
1622
+ type: boolean
1623
+ enum:
1624
+ - false
1625
+ - true
1626
+ Currency:
1627
+ title: Currency
1628
+ 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.
1629
+ type: string
1630
+ minLength: 3
1631
+ maxLength: 3
1632
+ enum:
1633
+ - AED
1634
+ - AFN
1635
+ - ALL
1636
+ - AMD
1637
+ - ANG
1638
+ - AOA
1639
+ - ARS
1640
+ - AUD
1641
+ - AWG
1642
+ - AZN
1643
+ - BAM
1644
+ - BBD
1645
+ - BDT
1646
+ - BGN
1647
+ - BHD
1648
+ - BIF
1649
+ - BMD
1650
+ - BND
1651
+ - BOB
1652
+ - BRL
1653
+ - BSD
1654
+ - BTN
1655
+ - BWP
1656
+ - BYN
1657
+ - BZD
1658
+ - CAD
1659
+ - CDF
1660
+ - CHF
1661
+ - CLP
1662
+ - CNY
1663
+ - COP
1664
+ - CRC
1665
+ - CUC
1666
+ - CUP
1667
+ - CVE
1668
+ - CZK
1669
+ - DJF
1670
+ - DKK
1671
+ - DOP
1672
+ - DZD
1673
+ - EGP
1674
+ - ERN
1675
+ - ETB
1676
+ - EUR
1677
+ - FJD
1678
+ - FKP
1679
+ - GBP
1680
+ - GEL
1681
+ - GGP
1682
+ - GHS
1683
+ - GIP
1684
+ - GMD
1685
+ - GNF
1686
+ - GTQ
1687
+ - GYD
1688
+ - HKD
1689
+ - HNL
1690
+ - HRK
1691
+ - HTG
1692
+ - HUF
1693
+ - IDR
1694
+ - ILS
1695
+ - IMP
1696
+ - INR
1697
+ - IQD
1698
+ - IRR
1699
+ - ISK
1700
+ - JEP
1701
+ - JMD
1702
+ - JOD
1703
+ - JPY
1704
+ - KES
1705
+ - KGS
1706
+ - KHR
1707
+ - KMF
1708
+ - KPW
1709
+ - KRW
1710
+ - KWD
1711
+ - KYD
1712
+ - KZT
1713
+ - LAK
1714
+ - LBP
1715
+ - LKR
1716
+ - LRD
1717
+ - LSL
1718
+ - LYD
1719
+ - MAD
1720
+ - MDL
1721
+ - MGA
1722
+ - MKD
1723
+ - MMK
1724
+ - MNT
1725
+ - MOP
1726
+ - MRO
1727
+ - MUR
1728
+ - MVR
1729
+ - MWK
1730
+ - MXN
1731
+ - MYR
1732
+ - MZN
1733
+ - NAD
1734
+ - NGN
1735
+ - NIO
1736
+ - NOK
1737
+ - NPR
1738
+ - NZD
1739
+ - OMR
1740
+ - PAB
1741
+ - PEN
1742
+ - PGK
1743
+ - PHP
1744
+ - PKR
1745
+ - PLN
1746
+ - PYG
1747
+ - QAR
1748
+ - RON
1749
+ - RSD
1750
+ - RUB
1751
+ - RWF
1752
+ - SAR
1753
+ - SBD
1754
+ - SCR
1755
+ - SDG
1756
+ - SEK
1757
+ - SGD
1758
+ - SHP
1759
+ - SLL
1760
+ - SOS
1761
+ - SPL
1762
+ - SRD
1763
+ - STD
1764
+ - SVC
1765
+ - SYP
1766
+ - SZL
1767
+ - THB
1768
+ - TJS
1769
+ - TMT
1770
+ - TND
1771
+ - TOP
1772
+ - TRY
1773
+ - TTD
1774
+ - TVD
1775
+ - TWD
1776
+ - TZS
1777
+ - UAH
1778
+ - UGX
1779
+ - USD
1780
+ - UYU
1781
+ - UZS
1782
+ - VEF
1783
+ - VND
1784
+ - VUV
1785
+ - WST
1786
+ - XAF
1787
+ - XCD
1788
+ - XDR
1789
+ - XOF
1790
+ - XPF
1791
+ - XTS
1792
+ - XXX
1793
+ - YER
1794
+ - ZAR
1795
+ - ZMW
1796
+ - ZWD
1797
+ Amount:
1798
+ title: Amount
1799
+ type: string
1800
+ pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
1801
+ 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.
1802
+ example: '123.45'
1803
+ bulkPerTransferFeeLimit:
1804
+ type: object
1805
+ required:
1806
+ - currency
1807
+ - amount
1808
+ properties:
1809
+ currency:
1810
+ $ref: '#/components/schemas/Currency'
1811
+ amount:
1812
+ $ref: '#/components/schemas/Amount'
1813
+ autoAcceptQuote:
1814
+ type: object
1815
+ required:
1816
+ - enabled
1817
+ properties:
1818
+ enabled:
1819
+ type: boolean
1820
+ enum:
1821
+ - true
1822
+ - false
1823
+ perTransferFeeLimits:
1824
+ type: array
1825
+ minItems: 0
1826
+ items:
1827
+ $ref: '#/components/schemas/bulkPerTransferFeeLimit'
1828
+ DateTime:
1829
+ title: DateTime
1830
+ type: string
1831
+ pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:(\.\d{3}))(?:Z|[+-][01]\d:[0-5]\d)$
1832
+ 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).
1833
+ example: '2016-05-24T08:38:08.699-04:00'
1834
+ bulkTransactionOptions:
1835
+ type: object
1836
+ required:
1837
+ - autoAcceptParty
1838
+ - autoAcceptQuote
1839
+ - bulkExpiration
1840
+ properties:
1841
+ onlyValidateParty:
1842
+ 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.
1843
+ type: boolean
1844
+ autoAcceptParty:
1845
+ $ref: '#/components/schemas/autoAcceptPartyOption'
1846
+ autoAcceptQuote:
1847
+ 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.
1848
+ type: object
1849
+ oneOf:
1850
+ - $ref: '#/components/schemas/autoAcceptQuote'
1851
+ skipPartyLookup:
1852
+ 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.
1853
+ type: boolean
1854
+ synchronous:
1855
+ 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
1856
+ type: boolean
1857
+ bulkExpiration:
1858
+ $ref: '#/components/schemas/DateTime'
1859
+ PartyIdType:
1860
+ title: PartyIdType
1861
+ type: string
1862
+ enum:
1863
+ - MSISDN
1864
+ - EMAIL
1865
+ - PERSONAL_ID
1866
+ - BUSINESS
1867
+ - DEVICE
1868
+ - ACCOUNT_ID
1869
+ - IBAN
1870
+ - ALIAS
1871
+ description: |-
1872
+ Below are the allowed values for the enumeration.
1873
+ - 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.
1874
+ - 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).
1875
+ - 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.
1876
+ - 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.
1877
+ - 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.
1878
+ - 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.
1879
+ - 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.
1880
+ - 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.
1881
+ PartyIdentifier:
1882
+ title: PartyIdentifier
1883
+ type: string
1884
+ minLength: 1
1885
+ maxLength: 128
1886
+ description: Identifier of the Party.
1887
+ example: '16135551212'
1888
+ PartySubIdOrType:
1889
+ title: PartySubIdOrType
1890
+ type: string
1891
+ minLength: 1
1892
+ maxLength: 128
1893
+ description: Either a sub-identifier of a PartyIdentifier, or a sub-type of the PartyIdType, normally a PersonalIdentifierType.
1894
+ ExtensionKey:
1895
+ title: ExtensionKey
1896
+ type: string
1897
+ minLength: 1
1898
+ maxLength: 32
1899
+ description: Extension key.
1900
+ ExtensionValue:
1901
+ title: ExtensionValue
1902
+ type: string
1903
+ minLength: 1
1904
+ maxLength: 128
1905
+ description: Extension value.
1906
+ Extension:
1907
+ title: Extension
1908
+ type: object
1909
+ description: Data model for the complex type Extension.
1910
+ properties:
1911
+ key:
1912
+ $ref: '#/components/schemas/ExtensionKey'
1913
+ value:
1914
+ $ref: '#/components/schemas/ExtensionValue'
1915
+ required:
1916
+ - key
1917
+ - value
1918
+ ExtensionList:
1919
+ title: ExtensionList
1920
+ type: object
1921
+ description: Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
1922
+ properties:
1923
+ extension:
1924
+ type: array
1925
+ items:
1926
+ $ref: '#/components/schemas/Extension'
1927
+ minItems: 1
1928
+ maxItems: 16
1929
+ description: Number of Extension elements.
1930
+ required:
1931
+ - extension
1932
+ PartyIdInfo:
1933
+ title: PartyIdInfo
1934
+ type: object
1935
+ description: Data model for the complex type PartyIdInfo. An ExtensionList element has been added to this reqeust in version v1.1
1936
+ properties:
1937
+ partyIdType:
1938
+ $ref: '#/components/schemas/PartyIdType'
1939
+ partyIdentifier:
1940
+ $ref: '#/components/schemas/PartyIdentifier'
1941
+ partySubIdOrType:
1942
+ $ref: '#/components/schemas/PartySubIdOrType'
1943
+ fspId:
1944
+ $ref: '#/components/schemas/FspId'
1945
+ extensionList:
1946
+ $ref: '#/components/schemas/ExtensionList'
1947
+ required:
1948
+ - partyIdType
1949
+ - partyIdentifier
1950
+ PartyName:
1951
+ title: PartyName
1952
+ type: string
1953
+ minLength: 1
1954
+ maxLength: 128
1955
+ description: Name of the Party. Could be a real name or a nickname.
1956
+ PartyComplexName:
1957
+ title: PartyComplexName
1958
+ type: object
1959
+ description: Data model for the complex type PartyComplexName.
1960
+ properties:
1961
+ firstName:
1962
+ $ref: '#/components/schemas/FirstName'
1963
+ middleName:
1964
+ $ref: '#/components/schemas/MiddleName'
1965
+ lastName:
1966
+ $ref: '#/components/schemas/LastName'
1967
+ PartyPersonalInfo:
1968
+ title: PartyPersonalInfo
1969
+ type: object
1970
+ description: Data model for the complex type PartyPersonalInfo.
1971
+ properties:
1972
+ complexName:
1973
+ $ref: '#/components/schemas/PartyComplexName'
1974
+ dateOfBirth:
1975
+ $ref: '#/components/schemas/DateOfBirth'
1976
+ kycInformation:
1977
+ $ref: '#/components/schemas/KYCInformation'
1978
+ Party:
1979
+ title: Party
1980
+ type: object
1981
+ description: Data model for the complex type Party.
1982
+ properties:
1983
+ partyIdInfo:
1984
+ $ref: '#/components/schemas/PartyIdInfo'
1985
+ merchantClassificationCode:
1986
+ $ref: '#/components/schemas/MerchantClassificationCode'
1987
+ name:
1988
+ $ref: '#/components/schemas/PartyName'
1989
+ personalInfo:
1990
+ $ref: '#/components/schemas/PartyPersonalInfo'
1991
+ supportedCurrencies:
1992
+ type: array
1993
+ description: Currencies in which the party can receive funds.
1994
+ items:
1995
+ $ref: '#/components/schemas/Currency'
1996
+ minItems: 0
1997
+ maxItems: 16
1998
+ required:
1999
+ - partyIdInfo
2000
+ AmountType:
2001
+ title: AmountType
2002
+ type: string
2003
+ enum:
2004
+ - SEND
2005
+ - RECEIVE
2006
+ description: |-
2007
+ Below are the allowed values for the enumeration AmountType.
2008
+ - SEND - Amount the Payer would like to send, that is, the amount that should be withdrawn from the Payer account including any fees.
2009
+ - 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.
2010
+ example: RECEIVE
2011
+ Note:
2012
+ title: Note
2013
+ type: string
2014
+ minLength: 1
2015
+ maxLength: 128
2016
+ description: Memo assigned to transaction.
2017
+ example: Note sent to Payee.
2018
+ Money:
2019
+ title: Money
2020
+ type: object
2021
+ description: Data model for the complex type Money.
2022
+ properties:
2023
+ currency:
2024
+ $ref: '#/components/schemas/Currency'
2025
+ amount:
2026
+ $ref: '#/components/schemas/Amount'
2027
+ required:
2028
+ - currency
2029
+ - amount
2030
+ Latitude:
2031
+ title: Latitude
2032
+ type: string
2033
+ pattern: ^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
2034
+ description: The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
2035
+ example: '+45.4215'
2036
+ Longitude:
2037
+ title: Longitude
2038
+ type: string
2039
+ pattern: ^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$
2040
+ description: The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
2041
+ example: '+75.6972'
2042
+ GeoCode:
2043
+ title: GeoCode
2044
+ type: object
2045
+ description: Data model for the complex type GeoCode. Indicates the geographic location from where the transaction was initiated.
2046
+ properties:
2047
+ latitude:
2048
+ $ref: '#/components/schemas/Latitude'
2049
+ longitude:
2050
+ $ref: '#/components/schemas/Longitude'
2051
+ required:
2052
+ - latitude
2053
+ - longitude
2054
+ IlpPacket:
2055
+ title: IlpPacket
2056
+ type: string
2057
+ pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
2058
+ minLength: 1
2059
+ maxLength: 32768
2060
+ description: Information for recipient (transport layer information).
2061
+ example: AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
2062
+ IlpCondition:
2063
+ title: IlpCondition
2064
+ type: string
2065
+ pattern: ^[A-Za-z0-9-_]{43}$
2066
+ maxLength: 48
2067
+ description: Condition that must be attached to the transfer by the Payer.
2068
+ ErrorCode:
2069
+ title: ErrorCode
2070
+ type: string
2071
+ pattern: ^[1-9]\d{3}$
2072
+ 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.
2073
+ example: '5100'
2074
+ ErrorDescription:
2075
+ title: ErrorDescription
2076
+ type: string
2077
+ minLength: 1
2078
+ maxLength: 128
2079
+ description: Error description string.
2080
+ ErrorInformation:
2081
+ title: ErrorInformation
2082
+ type: object
2083
+ description: Data model for the complex type ErrorInformation.
2084
+ properties:
2085
+ errorCode:
2086
+ $ref: '#/components/schemas/ErrorCode'
2087
+ errorDescription:
2088
+ $ref: '#/components/schemas/ErrorDescription'
2089
+ extensionList:
2090
+ $ref: '#/components/schemas/ExtensionList'
2091
+ required:
2092
+ - errorCode
2093
+ - errorDescription
2094
+ mojaloopError:
2095
+ type: object
2096
+ properties:
2097
+ errorInformation:
2098
+ $ref: '#/components/schemas/ErrorInformation'
2099
+ quoteError:
2100
+ type: object
2101
+ description: This object represents a Mojaloop API error received at any time during the quote process
2102
+ properties:
2103
+ httpStatusCode:
2104
+ type: integer
2105
+ description: The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response.
2106
+ mojaloopError:
2107
+ $ref: '#/components/schemas/mojaloopError'
2108
+ individualQuoteResult:
2109
+ type: object
2110
+ properties:
2111
+ quoteId:
2112
+ $ref: '#/components/schemas/CorrelationId'
2113
+ transferAmount:
2114
+ $ref: '#/components/schemas/Money'
2115
+ payeeReceiveAmount:
2116
+ $ref: '#/components/schemas/Money'
2117
+ payeeFspFee:
2118
+ $ref: '#/components/schemas/Money'
2119
+ payeeFspCommission:
2120
+ $ref: '#/components/schemas/Money'
2121
+ geoCode:
2122
+ $ref: '#/components/schemas/GeoCode'
2123
+ ilpPacket:
2124
+ $ref: '#/components/schemas/IlpPacket'
2125
+ condition:
2126
+ $ref: '#/components/schemas/IlpCondition'
2127
+ extensionList:
2128
+ $ref: '#/components/schemas/ExtensionList'
2129
+ lastError:
2130
+ $ref: '#/components/schemas/quoteError'
2131
+ required:
2132
+ - quoteId
2133
+ IlpFulfilment:
2134
+ title: IlpFulfilment
2135
+ type: string
2136
+ pattern: ^[A-Za-z0-9-_]{43}$
2137
+ maxLength: 48
2138
+ description: Fulfilment that must be attached to the transfer by the Payee.
2139
+ example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
2140
+ TransferState:
2141
+ title: TransferState
2142
+ type: string
2143
+ enum:
2144
+ - RECEIVED
2145
+ - RESERVED
2146
+ - COMMITTED
2147
+ - ABORTED
2148
+ description: |-
2149
+ Below are the allowed values for the enumeration.
2150
+ - RECEIVED - Next ledger has received the transfer.
2151
+ - RESERVED - Next ledger has reserved the transfer.
2152
+ - COMMITTED - Next ledger has successfully performed the transfer.
2153
+ - ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.
2154
+ example: RESERVED
2155
+ transferError:
2156
+ type: object
2157
+ description: This object represents a Mojaloop API error received at any time during the transfer process
2158
+ properties:
2159
+ httpStatusCode:
2160
+ type: integer
2161
+ description: The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response.
2162
+ mojaloopError:
2163
+ $ref: '#/components/schemas/mojaloopError'
2164
+ individualTransferResult:
2165
+ type: object
2166
+ required:
2167
+ - transferId
2168
+ properties:
2169
+ transferId:
2170
+ $ref: '#/components/schemas/CorrelationId'
2171
+ fulfilment:
2172
+ $ref: '#/components/schemas/IlpFulfilment'
2173
+ extensionList:
2174
+ $ref: '#/components/schemas/ExtensionList'
2175
+ transferState:
2176
+ $ref: '#/components/schemas/TransferState'
2177
+ lastError:
2178
+ $ref: '#/components/schemas/transferError'
2179
+ bulkTransactionIndividualTransferResult:
2180
+ type: object
2181
+ required:
2182
+ - homeTransactionId
2183
+ properties:
2184
+ transferId:
2185
+ $ref: '#/components/schemas/CorrelationId'
2186
+ homeTransactionId:
2187
+ type: string
2188
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
2189
+ transactionId:
2190
+ $ref: '#/components/schemas/CorrelationId'
2191
+ to:
2192
+ $ref: '#/components/schemas/Party'
2193
+ reference:
2194
+ description: Payer Loan reference
2195
+ type: string
2196
+ amountType:
2197
+ $ref: '#/components/schemas/AmountType'
2198
+ currency:
2199
+ $ref: '#/components/schemas/Currency'
2200
+ amount:
2201
+ $ref: '#/components/schemas/Amount'
2202
+ note:
2203
+ $ref: '#/components/schemas/Note'
2204
+ quoteId:
2205
+ $ref: '#/components/schemas/CorrelationId'
2206
+ quoteResponse:
2207
+ $ref: '#/components/schemas/individualQuoteResult'
2208
+ fulfil:
2209
+ $ref: '#/components/schemas/individualTransferResult'
2210
+ quoteExtensions:
2211
+ $ref: '#/components/schemas/ExtensionList'
2212
+ transferExtensions:
2213
+ $ref: '#/components/schemas/ExtensionList'
2214
+ lastError:
2215
+ $ref: '#/components/schemas/transferError'
2216
+ bulkTransactionResponse:
2217
+ title: BulkTransactionResponse
2218
+ type: object
2219
+ required:
2220
+ - bulkHomeTransactionID
2221
+ - bulkTransactionId
2222
+ - currentState
2223
+ - individualTransferResults
2224
+ properties:
2225
+ bulkHomeTransactionID:
2226
+ type: string
2227
+ description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
2228
+ bulkTransactionId:
2229
+ $ref: '#/components/schemas/CorrelationId'
2230
+ currentState:
2231
+ $ref: '#/components/schemas/bulkTransactionStatus'
2232
+ options:
2233
+ $ref: '#/components/schemas/bulkTransactionOptions'
2234
+ individualTransferResults:
2235
+ description: List of individual transfer result in a bulk transfer response.
2236
+ type: array
2237
+ minItems: 1
2238
+ items:
2239
+ $ref: '#/components/schemas/bulkTransactionIndividualTransferResult'
2240
+ extensions:
2241
+ $ref: '#/components/schemas/ExtensionList'
2242
+ CurrencyConverter:
2243
+ title: CurrencyConverter
2244
+ type: string
2245
+ enum:
2246
+ - PAYER
2247
+ - PAYEE
2248
+ 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.
2249
+ FxRate:
2250
+ title: FxRate
2251
+ type: object
2252
+ 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.
2253
+ properties:
2254
+ sourceAmount:
2255
+ allOf:
2256
+ - $ref: '#/components/schemas/Money'
2257
+ - description: The amount of the transfer in the source currency.
2258
+ targetAmount:
2259
+ allOf:
2260
+ - $ref: '#/components/schemas/Money'
2261
+ - description: The amount of the transfer in the target currency.
2262
+ required:
2263
+ - sourceAmount
2264
+ - targetAmount
2265
+ AuthenticationType:
2266
+ title: AuthenticationType
2267
+ type: string
2268
+ enum:
2269
+ - OTP
2270
+ - QRCODE
2271
+ - U2F
2272
+ description: |-
2273
+ Below are the allowed values for the enumeration AuthenticationType.
2274
+ - OTP - One-time password generated by the Payer FSP.
2275
+ - QRCODE - QR code used as One Time Password.
2276
+ - U2F - U2F is a new addition isolated to Thirdparty stream.
2277
+ example: OTP
2278
+ FxMoney:
2279
+ title: FxMoney
2280
+ type: object
2281
+ 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.
2282
+ properties:
2283
+ currency:
2284
+ $ref: '#/components/schemas/Currency'
2285
+ amount:
2286
+ $ref: '#/components/schemas/Amount'
2287
+ required:
2288
+ - currency
2289
+ FxCharge:
2290
+ title: FxCharge
2291
+ type: object
2292
+ description: An FXP will be able to specify a charge which it proposes to levy on the currency conversion operation using a FxCharge object.
2293
+ properties:
2294
+ chargeType:
2295
+ type: string
2296
+ minLength: 1
2297
+ maxLength: 32
2298
+ description: A description of the charge which is being levied.
2299
+ sourceAmount:
2300
+ allOf:
2301
+ - $ref: '#/components/schemas/Money'
2302
+ - description: The amount of the charge which is being levied, expressed in the source currency.
2303
+ targetAmount:
2304
+ allOf:
2305
+ - $ref: '#/components/schemas/Money'
2306
+ - description: The amount of the charge which is being levied, expressed in the target currency.
2307
+ required:
2308
+ - chargeType
2309
+ FxConversion:
2310
+ title: FxConversion
2311
+ type: object
2312
+ 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.
2313
+ properties:
2314
+ conversionId:
2315
+ allOf:
2316
+ - $ref: '#/components/schemas/CorrelationId'
2317
+ - description: An end-to-end identifier for the conversion request.
2318
+ determiningTransferId:
2319
+ allOf:
2320
+ - $ref: '#/components/schemas/CorrelationId'
2321
+ - description: The transaction ID of the transfer on whose success this currency conversion depends.
2322
+ initiatingFsp:
2323
+ allOf:
2324
+ - $ref: '#/components/schemas/FspId'
2325
+ - description: The id of the participant who is requesting a currency conversion.
2326
+ counterPartyFsp:
2327
+ allOf:
2328
+ - $ref: '#/components/schemas/FspId'
2329
+ - description: The ID of the FXP performing the conversion.
2330
+ amountType:
2331
+ allOf:
2332
+ - $ref: '#/components/schemas/AmountType'
2333
+ - description: This is the AmountType for the base transaction - If SEND - then any charges levied by the FXP as part of the transaction will be deducted by the FXP from the amount shown for the target party in the conversion. If RECEIVE - then any charges levied by the FXP as part of the transaction will be added by the FXP to the amount shown for the source party in the conversion.
2334
+ sourceAmount:
2335
+ allOf:
2336
+ - $ref: '#/components/schemas/FxMoney'
2337
+ - description: The amount to be converted, expressed in the source currency.
2338
+ targetAmount:
2339
+ allOf:
2340
+ - $ref: '#/components/schemas/FxMoney'
2341
+ - description: The converted amount, expressed in the target currency.
2342
+ expiration:
2343
+ allOf:
2344
+ - $ref: '#/components/schemas/DateTime'
2345
+ - description: The end of the period for which the currency conversion is required to remain valid.
2346
+ charges:
2347
+ type: array
2348
+ 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.
2349
+ items:
2350
+ $ref: '#/components/schemas/FxCharge'
2351
+ minItems: 0
2352
+ maxItems: 16
2353
+ extensionList:
2354
+ allOf:
2355
+ - $ref: '#/components/schemas/ExtensionList'
2356
+ - description: The extension list for the currency conversion request.
2357
+ required:
2358
+ - conversionId
2359
+ - initiatingFsp
2360
+ - counterPartyFsp
2361
+ - amountType
2362
+ - sourceAmount
2363
+ - targetAmount
2364
+ - expiration
2365
+ FxQuotesPostBackendRequest:
2366
+ title: FxQuotesPostBackendRequest
2367
+ type: object
2368
+ description: The object sent in the POST /fxQuotes request.
2369
+ properties:
2370
+ conversionRequestId:
2371
+ allOf:
2372
+ - $ref: '#/components/schemas/CorrelationId'
2373
+ - description: An end-to-end identifier for the conversion quotation request.
2374
+ conversionTerms:
2375
+ allOf:
2376
+ - $ref: '#/components/schemas/FxConversion'
2377
+ - description: The terms of the currency conversion for which a quotation is sought.
2378
+ required:
2379
+ - conversionRequestId
2380
+ - conversionTerms
2381
+ FxQuotesPostBackendResponse:
2382
+ title: FxQuotesPostBackendResponse
2383
+ type: object
2384
+ 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.
2385
+ properties:
2386
+ homeTransactionId:
2387
+ description: Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems.
2388
+ type: string
2389
+ conversionTerms:
2390
+ allOf:
2391
+ - $ref: '#/components/schemas/FxConversion'
2392
+ - description: The terms under which the FXP will undertake the currency conversion proposed by the requester.
2393
+ required:
2394
+ - conversionTerms
2395
+ commitRequestId:
2396
+ allOf:
2397
+ - $ref: '#/components/schemas/CorrelationId'
2398
+ - description: An end-to-end identifier for the confirmation request.
2399
+ determiningTransferId:
2400
+ allOf:
2401
+ - $ref: '#/components/schemas/CorrelationId'
2402
+ - description: The transaction ID of the transfer to which this currency conversion relates, if the conversion is part of a transfer. If the conversion is a bulk currency purchase, this field should be omitted.
2403
+ initiatingFsp:
2404
+ allOf:
2405
+ - $ref: '#/components/schemas/FspId'
2406
+ - description: Identifier for the FSP who is requesting a currency conversion.
2407
+ counterPartyFsp:
2408
+ allOf:
2409
+ - $ref: '#/components/schemas/FspId'
2410
+ - description: Identifier for the FXP who is performing the currency conversion.
2411
+ sourceAmount:
2412
+ allOf:
2413
+ - $ref: '#/components/schemas/Money'
2414
+ - description: The amount being offered for conversion by the requesting FSP.
2415
+ targetAmount:
2416
+ allOf:
2417
+ - $ref: '#/components/schemas/Money'
2418
+ - description: The amount which the FXP is to credit to the requesting FSP in the target currency.
2419
+ condition:
2420
+ allOf:
2421
+ - $ref: '#/components/schemas/IlpCondition'
2422
+ - description: ILP condition received by the requesting FSP when the quote was approved.
2423
+ FxTransfersPostBackendRequest:
2424
+ title: FxTransfersPostBackendRequest
2425
+ type: object
2426
+ description: The object sent in the POST /fxTransfers request.
2427
+ properties:
2428
+ homeTransactionId:
2429
+ description: Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems.
2430
+ type: string
2431
+ commitRequestId:
2432
+ $ref: '#/components/schemas/commitRequestId'
2433
+ determiningTransferId:
2434
+ $ref: '#/components/schemas/determiningTransferId'
2435
+ initiatingFsp:
2436
+ $ref: '#/components/schemas/initiatingFsp'
2437
+ counterPartyFsp:
2438
+ $ref: '#/components/schemas/counterPartyFsp'
2439
+ sourceAmount:
2440
+ $ref: '#/components/schemas/sourceAmount'
2441
+ targetAmount:
2442
+ $ref: '#/components/schemas/targetAmount'
2443
+ condition:
2444
+ $ref: '#/components/schemas/condition'
2445
+ required:
2446
+ - commitRequestId
2447
+ - initiatingFsp
2448
+ - counterPartyFsp
2449
+ - sourceAmount
2450
+ - targetAmount
2451
+ fulfilment:
2452
+ allOf:
2453
+ - $ref: '#/components/schemas/IlpFulfilment'
2454
+ - description: The fulfilment of the condition specified for the currency conversion. Mandatory if the conversion has been executed successfully.
2455
+ completedTimestamp:
2456
+ allOf:
2457
+ - $ref: '#/components/schemas/DateTime'
2458
+ - description: Time and date when the conversion was executed.
2459
+ conversionState:
2460
+ allOf:
2461
+ - $ref: '#/components/schemas/TransferState'
2462
+ - description: The current status of the conversion request.
2463
+ FxTransfersPostBackendResponse:
2464
+ title: FxTransfersPostBackendResponse
2465
+ type: object
2466
+ description: The object sent as a response for the POST /fxTransfers request.
2467
+ properties:
2468
+ homeTransactionId:
2469
+ description: Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems.
2470
+ type: string
2471
+ fulfilment:
2472
+ $ref: '#/components/schemas/fulfilment'
2473
+ completedTimestamp:
2474
+ $ref: '#/components/schemas/completedTimestamp'
2475
+ conversionState:
2476
+ $ref: '#/components/schemas/conversionState'
2477
+ extensionList:
2478
+ $ref: '#/components/schemas/ExtensionList'
2479
+ required:
2480
+ - conversionState
2481
+ FxTransfersPutBackendRequest:
2482
+ title: FxTransfersPutBackendRequest
2483
+ type: object
2484
+ description: PUT /fxTransfers/{commitRequestId} object
2485
+ properties:
2486
+ homeTransactionId:
2487
+ description: Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems.
2488
+ type: string
2489
+ fulfilment:
2490
+ $ref: '#/components/schemas/fulfilment'
2491
+ completedTimestamp:
2492
+ $ref: '#/components/schemas/completedTimestamp'
2493
+ conversionState:
2494
+ $ref: '#/components/schemas/conversionState'
2495
+ extensionList:
2496
+ $ref: '#/components/schemas/ExtensionList'
2497
+ required:
2498
+ - conversionState
2499
+ responses:
2500
+ '200':
2501
+ description: OK
2502
+ '400':
2503
+ description: Malformed or missing required headers or parameters.
2504
+ content:
2505
+ application/json:
2506
+ schema:
2507
+ $ref: '#/components/schemas/errorResponse'
2508
+ '404':
2509
+ description: Not Found
2510
+ content:
2511
+ application/json:
2512
+ schema:
2513
+ $ref: '#/components/schemas/errorResponse'
2514
+ '500':
2515
+ description: An error occurred processing the request.
2516
+ content:
2517
+ application/json:
2518
+ schema:
2519
+ $ref: '#/components/schemas/errorResponse'