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