@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,1494 +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
- To be implemented by the Digital Financial Service Provider (DFSP) to work in tandem with the Mojaloop SDK (`mojaloop/sdk-scheme-adapter`).
8
-
9
- This API is not to be confused with the Mojaloop SDK's Inbound or Outbound API.
10
-
11
- TODO: More explanation and links about the SDK adapter's Inbound and Outbound API.
12
-
13
- **Note on terminology:** The term "Switch" is equal to the term "Hub", and the term "FSP" is equal to the term "DFSP".
14
- license:
15
- name: Apache License Version 2.0, January 2004
16
- url: http://www.apache.org/licenses/
17
- version: 2.1.0
18
-
19
- paths:
20
- /:
21
- get:
22
- operationId: BackendHealthCheck
23
- responses:
24
- '200':
25
- description: Returns empty body if the service is running.
26
- summary: Health check endpoint.
27
- /bulkQuotes:
28
- post:
29
- operationId: BackendBulkQuotesPost
30
- requestBody:
31
- content:
32
- application/json:
33
- schema:
34
- $ref: '#/components/schemas/bulkQuoteRequest'
35
- description: Incoming request for a bulk quotation.
36
- responses:
37
- '200':
38
- content:
39
- application/json:
40
- schema:
41
- $ref: '#/components/schemas/bulkQuoteResponse'
42
- description: A response to the bulk quote request.
43
- '400':
44
- $ref: ../components/responses/400.yaml
45
- '500':
46
- $ref: ../components/responses/500.yaml
47
- summary: Requests a bulk quote.
48
- tags:
49
- - BulkQuotes
50
- /bulkQuotes/{idValue}:
51
- get:
52
- operationId: BackendBulkQuotesGet
53
- parameters:
54
- - $ref: '#/components/parameters/idValue'
55
- responses:
56
- '200':
57
- content:
58
- application/json:
59
- schema:
60
- $ref: '#/components/schemas/bulkQuoteResponse'
61
- description: Response containing details of the requested bulk quote.
62
- '400':
63
- $ref: ../components/responses/400.yaml
64
- '404':
65
- $ref: ../components/responses/404.yaml
66
- '500':
67
- $ref: ../components/responses/500.yaml
68
- summary: Requests information relating to a bulk quote identified by the specified identifier value.
69
- tags:
70
- - BulkQuotes
71
- /bulkTransactions/{bulkTransactionId}:
72
- put:
73
- description: The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend information regarding a bulk transaction, i.e. when autoAcceptParty or autoAcceptQuote is false then the payer need to provide confirmation to proceed with further processing of the request. The `{bulkTransactionId}` in the URI should contain the `bulkTransactionId` that was used for the creation of the bulk transfer.
74
- operationId: BackendBulkTransactionsPut
75
- parameters:
76
- - $ref: '../components/parameters/bulkTransactionId.yaml'
77
- requestBody:
78
- content:
79
- application/json:
80
- schema:
81
- $ref: '../components/schemas/bulkTransactionResponse.yaml'
82
- responses:
83
- '202':
84
- description: Bulk transaction information successfully amended.
85
- '400':
86
- $ref: ../components/responses/400.yaml
87
- '500':
88
- $ref: ../components/responses/500.yaml
89
- summary: Callbacks for the bulk transaction request.
90
- tags:
91
- - BulkTransactionsPut
92
- /requestToPay/{transactionRequestId}:
93
- put:
94
- description: It is used to notify the DFSP backend about the status of the requestToPayTransfer.
95
- operationId: RequestToPayPut
96
- parameters:
97
- - $ref: '#/components/parameters/transactionRequestId'
98
- requestBody:
99
- content:
100
- application/json:
101
- schema:
102
- $ref: '#/components/schemas/requestToPayCallback'
103
- responses:
104
- '200':
105
- description: OK
106
- '400':
107
- $ref: ../components/responses/400.yaml
108
- '500':
109
- $ref: ../components/responses/500.yaml
110
- summary: Callback for the requestToPay request.
111
- tags:
112
- - RequestToPayPut
113
- /bulkTransfers:
114
- post:
115
- operationId: BackendBulkTransfersPost
116
- requestBody:
117
- content:
118
- application/json:
119
- schema:
120
- $ref: '#/components/schemas/bulkTransferRequest'
121
- description: An incoming bulk transfer request.
122
- responses:
123
- '200':
124
- content:
125
- application/json:
126
- schema:
127
- $ref: '#/components/schemas/bulkTransferResponse'
128
- description: The bulk transfer was accepted.
129
- '400':
130
- $ref: ../components/responses/400.yaml
131
- '500':
132
- $ref: ../components/responses/500.yaml
133
- summary: Execute bulk transfer of funds from an external account to internal accounts.
134
- tags:
135
- - BulkTransfers
136
- /bulkTransfers/{idValue}:
137
- get:
138
- operationId: BackendBulkTransfersGet
139
- parameters:
140
- - $ref: '#/components/parameters/idValue'
141
- responses:
142
- '200':
143
- content:
144
- application/json:
145
- schema:
146
- $ref: '#/components/schemas/bulkTransferResponse'
147
- description: Response containing details of the requested bulk transfer.
148
- '400':
149
- $ref: ../components/responses/400.yaml
150
- '404':
151
- $ref: ../components/responses/404.yaml
152
- '500':
153
- $ref: ../components/responses/500.yaml
154
- summary: Requests information relating to a bulk transfer identified by the specified identifier value.
155
- tags:
156
- - BulkTransfers
157
- /otp/{transactionRequestId}:
158
- get:
159
- operationId: BackendOtpGet
160
- parameters:
161
- - $ref: '#/components/parameters/transactionRequestId'
162
- responses:
163
- '200':
164
- content:
165
- application/json:
166
- schema:
167
- $ref: '#/components/schemas/otpDetails'
168
- description: Response containing details of the OTP.
169
- '400':
170
- $ref: ../components/responses/400.yaml
171
- '404':
172
- $ref: ../components/responses/404.yaml
173
- '500':
174
- $ref: ../components/responses/500.yaml
175
- summary: Requests OTP.
176
- tags:
177
- - OTP
178
- /participants/{idType}/{idValue}:
179
- get:
180
- description: The HTTP request `GET /participants/{idType}/{idValue}` is used to find out in which FSP the requested party, defined by `{idType}` and `{idValue}`, is located.
181
- operationId: BackendParticipantsGetByTypeAndID
182
- parameters:
183
- - $ref: '#/components/parameters/idType'
184
- - $ref: '#/components/parameters/idValue'
185
- responses:
186
- '200':
187
- content:
188
- application/json:
189
- schema:
190
- $ref: '#/components/schemas/participantsResponse'
191
- description: Response containing details of the requested party.
192
- '400':
193
- $ref: ../components/responses/400.yaml
194
- '404':
195
- $ref: ../components/responses/404.yaml
196
- '500':
197
- $ref: ../components/responses/500.yaml
198
- summary: Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
199
- tags:
200
- - Participants
201
- /participants/{idType}/{idValue}/{idSubValue}:
202
- get:
203
- description: The HTTP request `GET /participants/{idType}/{idValue}/{idSubValue}` is used to find out in which FSP the requested party, defined by `{idType}`, `{idValue}` and `{idSubValue}` is located.
204
- operationId: BackendParticipantsGetByTypeIDAndSubId
205
- parameters:
206
- - $ref: '#/components/parameters/idType'
207
- - $ref: '#/components/parameters/idValue'
208
- - $ref: '#/components/parameters/idSubValue'
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.yaml
218
- '404':
219
- $ref: ../components/responses/404.yaml
220
- '500':
221
- $ref: ../components/responses/500.yaml
222
- summary: Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
223
- tags:
224
- - Participants
225
- /parties/{idType}/{idValue}:
226
- get:
227
- description: The HTTP request `GET /parties/{idType}/{idValue}` is used to look up information regarding the requested transfer party, identified by `{idType}` and `{idValue}`.
228
- operationId: BackendPartiesGetByTypeAndID
229
- parameters:
230
- - $ref: '#/components/parameters/idType'
231
- - $ref: '#/components/parameters/idValue'
232
- responses:
233
- '200':
234
- content:
235
- application/json:
236
- schema:
237
- $ref: '#/components/schemas/transferParty'
238
- description: Response containing details of the requested party.
239
- '400':
240
- $ref: ../components/responses/400.yaml
241
- '404':
242
- $ref: ../components/responses/404.yaml
243
- '500':
244
- $ref: ../components/responses/500.yaml
245
- summary: Requests information relating to a transfer party identified by the specified identifier type and value.
246
- tags:
247
- - Parties
248
- /parties/{idType}/{idValue}/{idSubValue}:
249
- get:
250
- description: The HTTP request `GET /parties/{idType}/{idValue}/{idSubValue}` is used to look up information regarding the requested transfer party, identified by `{idType}`, `{idValue}` and `{idSubValue}`.
251
- operationId: BackendPartiesGetByTypeIdAndSubId
252
- parameters:
253
- - $ref: '#/components/parameters/idType'
254
- - $ref: '#/components/parameters/idValue'
255
- - $ref: '#/components/parameters/idSubValue'
256
- responses:
257
- '200':
258
- content:
259
- application/json:
260
- schema:
261
- $ref: '#/components/schemas/transferParty'
262
- description: Response containing details of the requested party.
263
- '400':
264
- $ref: ../components/responses/400.yaml
265
- '404':
266
- $ref: ../components/responses/404.yaml
267
- '500':
268
- $ref: ../components/responses/500.yaml
269
- summary: Requests information relating to a transfer party identified by the specified identifier type, value and subId value.
270
- tags:
271
- - Parties
272
- /quoterequests:
273
- post:
274
- description: The HTTP request `POST /quoterequests` is used to request the creation of a quote for the provided financial transaction.
275
- operationId: BackendQuoteRequest
276
- requestBody:
277
- content:
278
- application/json:
279
- schema:
280
- $ref: '#/components/schemas/quoteRequest'
281
- description: Request for a transfer quotation.
282
- responses:
283
- '200':
284
- content:
285
- application/json:
286
- schema:
287
- $ref: '#/components/schemas/quoteResponse'
288
- description: A response to the transfer quotation request.
289
- '400':
290
- $ref: ../components/responses/400.yaml
291
- '500':
292
- $ref: ../components/responses/500.yaml
293
- summary: Requests a quote for the specified transfer.
294
- tags:
295
- - Quotes
296
- /transactionrequests:
297
- post:
298
- operationId: BackendTransactionRequest
299
- requestBody:
300
- content:
301
- application/json:
302
- schema:
303
- $ref: '#/components/schemas/transactionRequest'
304
- description: Request for Transaction Request.
305
- responses:
306
- '200':
307
- content:
308
- application/json:
309
- schema:
310
- $ref: '#/components/schemas/transactionRequestResponse'
311
- description: A response to the transfer transaction request.
312
- '400':
313
- $ref: ../components/responses/400.yaml
314
- '500':
315
- $ref: ../components/responses/500.yaml
316
- summary: Transaction request that supports pull based transfers.
317
- tags:
318
- - TransactionRequest
319
- /transfers:
320
- post:
321
- description: The HTTP request `POST /transfers` is used to request the creation of a transfer for the transfer party.
322
- operationId: BackendTransfersPost
323
- requestBody:
324
- content:
325
- application/json:
326
- schema:
327
- $ref: '#/components/schemas/transferRequest'
328
- description: An incoming transfer request.
329
- responses:
330
- '200':
331
- content:
332
- application/json:
333
- schema:
334
- $ref: '#/components/schemas/transferResponse'
335
- description: The transfer was accepted.
336
- '400':
337
- $ref: ../components/responses/400.yaml
338
- '500':
339
- $ref: ../components/responses/500.yaml
340
- summary: Transfers funds from an external account to an internal account.
341
- tags:
342
- - Transfers
343
- /transfers/{transferId}:
344
- get:
345
- description: The HTTP request `GET /transfers/{transferId}` is used to get information regarding a transfer created or requested earlier. The `{transferId}` in the URI should contain the `transferId` that was used for the creation of the transfer.
346
- operationId: BackendTransfersGet
347
- parameters:
348
- - $ref: '#/components/parameters/transferId'
349
- responses:
350
- '200':
351
- content:
352
- application/json:
353
- schema:
354
- $ref: '#/components/schemas/transferDetailsResponse'
355
- description: The transfer was accepted.
356
- '500':
357
- $ref: ../components/responses/500.yaml
358
- summary: Retrieves information for a specific transfer.
359
- tags:
360
- - Transfers
361
- put:
362
- description: The HTTP request `PUT /transfers/{transferId}` is used to receive notification for transfer being fulfiled when the FSP is a Payee.
363
- operationId: BackendTransfersPut
364
- parameters:
365
- - $ref: '#/components/parameters/transferId'
366
- requestBody:
367
- content:
368
- application/json:
369
- schema:
370
- $ref: '#/components/schemas/fulfilNotification'
371
- description: An incoming notification for fulfiled transfer.
372
- responses:
373
- '200':
374
- description: The notification was accepted.
375
- '500':
376
- $ref: ../components/responses/500.yaml
377
- summary: Receive notification for a specific transfer.
378
- tags:
379
- - Transfers
380
- /fxQuotes:
381
- $ref: 'paths/fxQuotes.yaml'
382
- /fxTransfers:
383
- $ref: 'paths/fxTransfers.yaml'
384
- /fxTransfers/{commitRequestId}:
385
- $ref: 'paths/fxTransfersById.yaml'
386
- components:
387
- parameters:
388
- idSubValue:
389
- description: A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`.
390
- in: path
391
- name: idSubValue
392
- required: true
393
- schema:
394
- type: string
395
- idType:
396
- description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
397
- in: path
398
- name: idType
399
- required: true
400
- schema:
401
- type: string
402
- idValue:
403
- description: The identifier value.
404
- in: path
405
- name: idValue
406
- required: true
407
- schema:
408
- type: string
409
- transactionRequestId:
410
- in: path
411
- name: transactionRequestId
412
- required: true
413
- schema:
414
- $ref: '#/components/schemas/transactionRequestId'
415
- transferId:
416
- in: path
417
- name: transferId
418
- required: true
419
- schema:
420
- type: string
421
-
422
- schemas:
423
- DateOfBirth:
424
- description: Date of Birth of the Party.
425
- example: '1966-06-16'
426
- pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
427
- title: DateofBirth (type Date)
428
- type: string
429
- FirstName:
430
- description: First name of the Party (Name Type).
431
- example: Henrik
432
- maxLength: 128
433
- minLength: 1
434
- pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
435
- title: FirstName
436
- type: string
437
- FspId:
438
- description: FSP identifier.
439
- maxLength: 32
440
- minLength: 1
441
- title: FspId
442
- type: string
443
- IndividualQuote:
444
- description: Data model for individual quote in a bulk quote request.
445
- properties:
446
- amount:
447
- $ref: '#/components/schemas/money'
448
- amountType:
449
- $ref: '#/components/schemas/amountType'
450
- currency:
451
- $ref: '#/components/schemas/currency'
452
- feesAmount:
453
- $ref: '#/components/schemas/money'
454
- feesCurrency:
455
- $ref: '#/components/schemas/currency'
456
- initiator:
457
- $ref: '#/components/schemas/initiator'
458
- initiatorType:
459
- $ref: '#/components/schemas/initiatorType'
460
- note:
461
- description: An optional note associated with the quote.
462
- maxLength: 128
463
- minLength: 1
464
- type: string
465
- quoteId:
466
- $ref: '#/components/schemas/quoteId'
467
- subScenario:
468
- $ref: '../components/schemas/TransactionSubScenario.yaml'
469
- to:
470
- $ref: '#/components/schemas/transferParty'
471
- transactionId:
472
- $ref: '#/components/schemas/transactionId'
473
- transactionType:
474
- $ref: '#/components/schemas/transactionType'
475
- required:
476
- - quoteId
477
- - transactionId
478
- - to
479
- - amountType
480
- - amount
481
- - currency
482
- - transactionType
483
- - initiator
484
- - initiatorType
485
- type: object
486
- IndividualQuoteResultFailed:
487
- description: Data model for failed individual quote in a bulk quote response.
488
- properties:
489
- errorResponse:
490
- $ref: ../components/schemas/errorResponse.yaml
491
- quoteId:
492
- $ref: '#/components/schemas/quoteId'
493
- required:
494
- - quoteId
495
- - errorResponse
496
- type: object
497
- IndividualQuoteResultSuccess:
498
- description: Data model for successful individual quote in a bulk quote response.
499
- properties:
500
- payeeFspCommissionAmount:
501
- $ref: '#/components/schemas/money'
502
- payeeFspCommissionAmountCurrency:
503
- $ref: '#/components/schemas/currency'
504
- payeeFspFeeAmount:
505
- $ref: '#/components/schemas/money'
506
- payeeFspFeeAmountCurrency:
507
- $ref: '#/components/schemas/currency'
508
- payeeReceiveAmount:
509
- $ref: '#/components/schemas/money'
510
- payeeReceiveAmountCurrency:
511
- $ref: '#/components/schemas/currency'
512
- quoteId:
513
- $ref: '#/components/schemas/quoteId'
514
- transferAmount:
515
- $ref: '#/components/schemas/money'
516
- transferAmountCurrency:
517
- $ref: '#/components/schemas/currency'
518
- required:
519
- - quoteId
520
- type: object
521
- IndividualTransfer:
522
- description: Data model for individual transfer in a bulk transfer request.
523
- properties:
524
- amount:
525
- $ref: '#/components/schemas/money'
526
- amountType:
527
- $ref: '#/components/schemas/amountType'
528
- currency:
529
- $ref: '#/components/schemas/currency'
530
- feesAmount:
531
- $ref: '#/components/schemas/money'
532
- feesCurrency:
533
- $ref: '#/components/schemas/currency'
534
- initiator:
535
- $ref: '#/components/schemas/initiator'
536
- initiatorType:
537
- $ref: '#/components/schemas/initiatorType'
538
- note:
539
- description: An optional note associated with the quote.
540
- maxLength: 128
541
- minLength: 1
542
- type: string
543
- subScenario:
544
- $ref: '../components/schemas/TransactionSubScenario.yaml'
545
- to:
546
- $ref: '#/components/schemas/transferParty'
547
- transactionType:
548
- $ref: '#/components/schemas/transactionType'
549
- transferId:
550
- $ref: '#/components/schemas/transferId'
551
- required:
552
- - transferId
553
- - amount
554
- - currency
555
- type: object
556
- IndividualTransferResult:
557
- description: Data model for individual transfer in a bulk transfer response.
558
- properties:
559
- errorResponse:
560
- $ref: ../components/schemas/errorResponse.yaml
561
- extensionList:
562
- $ref: '#/components/schemas/extensionList'
563
- transferId:
564
- $ref: '#/components/schemas/transferId'
565
- required:
566
- - transferId
567
- type: object
568
- LastName:
569
- description: Last name of the Party (Name Type).
570
- example: Karlsson
571
- maxLength: 128
572
- minLength: 1
573
- pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
574
- title: LastName
575
- type: string
576
- MerchantClassificationCode:
577
- description: A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc.
578
- pattern: ^[\d]{1,4}$
579
- title: MerchantClassificationCode
580
- type: string
581
- MiddleName:
582
- description: Middle name of the Party (Name Type).
583
- example: Johannes
584
- maxLength: 128
585
- minLength: 1
586
- pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
587
- title: MiddleName
588
- type: string
589
- amountCurrency:
590
- description: Object containing Amount and Currency of the transfer.
591
- properties:
592
- amount:
593
- $ref: '#/components/schemas/money'
594
- currency:
595
- $ref: '#/components/schemas/currency'
596
- required:
597
- - amount
598
- - currency
599
- type: object
600
- amountType:
601
- enum:
602
- - SEND
603
- - RECEIVE
604
- type: string
605
- bulkQuoteId:
606
- description: A Mojaloop API bulk quote identifier (UUID).
607
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
608
- type: string
609
- bulkQuoteRequest:
610
- description: A request for a bulk quote.
611
- properties:
612
- bulkQuoteId:
613
- $ref: '#/components/schemas/bulkQuoteId'
614
- expiration:
615
- $ref: '#/components/schemas/timestamp'
616
- from:
617
- $ref: '#/components/schemas/transferParty'
618
- geoCode:
619
- $ref: '#/components/schemas/geoCode'
620
- individualQuotes:
621
- items:
622
- $ref: '#/components/schemas/IndividualQuote'
623
- maxItems: 1000
624
- minItems: 1
625
- type: array
626
- required:
627
- - bulkQuoteId
628
- - from
629
- - individualQuotes
630
- type: object
631
- bulkQuoteResponse:
632
- description: A response to a request for a bulk quote.
633
- properties:
634
- bulkQuoteId:
635
- $ref: '#/components/schemas/bulkQuoteId'
636
- expiration:
637
- $ref: '#/components/schemas/timestamp'
638
- individualQuoteResults:
639
- description: Fees for each individual transaction, if any of them are charged per transaction.
640
- items:
641
- oneOf:
642
- - $ref: '#/components/schemas/IndividualQuoteResultSuccess'
643
- - $ref: '#/components/schemas/IndividualQuoteResultFailed'
644
- maxItems: 1000
645
- minItems: 1
646
- type: array
647
- required:
648
- - bulkQuoteId
649
- - individualQuoteResults
650
- type: object
651
- bulkTransferId:
652
- description: A Mojaloop API transfer identifier (UUID).
653
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
654
- type: string
655
- bulkTransferRequest:
656
- properties:
657
- bulkQuote:
658
- $ref: '#/components/schemas/bulkQuoteResponse'
659
- bulkTransferId:
660
- $ref: '#/components/schemas/bulkTransferId'
661
- from:
662
- $ref: '#/components/schemas/transferParty'
663
- individualTransfers:
664
- items:
665
- $ref: '#/components/schemas/IndividualTransfer'
666
- maxItems: 1000
667
- minItems: 1
668
- type: array
669
- required:
670
- - bulkTransferId
671
- - individualTransfers
672
- type: object
673
- bulkTransferResponse:
674
- properties:
675
- bulkTransferId:
676
- $ref: '#/components/schemas/bulkTransferId'
677
- homeTransactionId:
678
- description: Transaction ID from the DFSP backend, used to reconcile transactions between the switch and DFSP backend systems.
679
- type: string
680
- individualTransferResults:
681
- items:
682
- $ref: '#/components/schemas/IndividualTransferResult'
683
- maxItems: 1000
684
- minItems: 1
685
- type: array
686
- required:
687
- - homeTransactionId
688
- type: object
689
- currency:
690
- enum:
691
- - AED
692
- - AFN
693
- - ALL
694
- - AMD
695
- - ANG
696
- - AOA
697
- - ARS
698
- - AUD
699
- - AWG
700
- - AZN
701
- - BAM
702
- - BBD
703
- - BDT
704
- - BGN
705
- - BHD
706
- - BIF
707
- - BMD
708
- - BND
709
- - BOB
710
- - BRL
711
- - BSD
712
- - BTN
713
- - BWP
714
- - BYN
715
- - BZD
716
- - CAD
717
- - CDF
718
- - CHF
719
- - CLP
720
- - CNY
721
- - COP
722
- - CRC
723
- - CUC
724
- - CUP
725
- - CVE
726
- - CZK
727
- - DJF
728
- - DKK
729
- - DOP
730
- - DZD
731
- - EGP
732
- - ERN
733
- - ETB
734
- - EUR
735
- - FJD
736
- - FKP
737
- - GBP
738
- - GEL
739
- - GGP
740
- - GHS
741
- - GIP
742
- - GMD
743
- - GNF
744
- - GTQ
745
- - GYD
746
- - HKD
747
- - HNL
748
- - HRK
749
- - HTG
750
- - HUF
751
- - IDR
752
- - ILS
753
- - IMP
754
- - INR
755
- - IQD
756
- - IRR
757
- - ISK
758
- - JEP
759
- - JMD
760
- - JOD
761
- - JPY
762
- - KES
763
- - KGS
764
- - KHR
765
- - KMF
766
- - KPW
767
- - KRW
768
- - KWD
769
- - KYD
770
- - KZT
771
- - LAK
772
- - LBP
773
- - LKR
774
- - LRD
775
- - LSL
776
- - LYD
777
- - MAD
778
- - MDL
779
- - MGA
780
- - MKD
781
- - MMK
782
- - MNT
783
- - MOP
784
- - MRO
785
- - MUR
786
- - MVR
787
- - MWK
788
- - MXN
789
- - MYR
790
- - MZN
791
- - NAD
792
- - NGN
793
- - NIO
794
- - NOK
795
- - NPR
796
- - NZD
797
- - OMR
798
- - PAB
799
- - PEN
800
- - PGK
801
- - PHP
802
- - PKR
803
- - PLN
804
- - PYG
805
- - QAR
806
- - RON
807
- - RSD
808
- - RUB
809
- - RWF
810
- - SAR
811
- - SBD
812
- - SCR
813
- - SDG
814
- - SEK
815
- - SGD
816
- - SHP
817
- - SLL
818
- - SOS
819
- - SPL
820
- - SRD
821
- - STD
822
- - SVC
823
- - SYP
824
- - SZL
825
- - THB
826
- - TJS
827
- - TMT
828
- - TND
829
- - TOP
830
- - TRY
831
- - TTD
832
- - TVD
833
- - TWD
834
- - TZS
835
- - UAH
836
- - UGX
837
- - USD
838
- - UYU
839
- - UZS
840
- - VEF
841
- - VND
842
- - VUV
843
- - WST
844
- - XAF
845
- - XCD
846
- - XDR
847
- - XOF
848
- - XPF
849
- - XTS
850
- - XXX
851
- - YER
852
- - ZAR
853
- - ZMW
854
- - ZWD
855
- maxLength: 3
856
- minLength: 3
857
- type: string
858
- dateOfBirth:
859
- description: Date of birth in the form YYYY-MM-DD.
860
- pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
861
- type: string
862
- errorCode:
863
- description: |
864
- The API data type errorCode is a JSON String of four characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. Each error code in the API is a four-digit number, for example, 1234, where the first number (1 in the example) represents the high-level error category, the second number (2 in the example) represents the low-level error category, and the last two numbers (34 in the example) represents the specific error.
865
- pattern: ^[1-9]\d{3}$
866
- title: ErrorCode
867
- type: string
868
- errorDescription:
869
- description: Error description string.
870
- maxLength: 128
871
- minLength: 1
872
- title: ErrorDescription
873
- type: string
874
- errorInformation:
875
- description: A Mojaloop API error information construct.
876
- properties:
877
- errorCode:
878
- $ref: '#/components/schemas/errorCode'
879
- errorDescription:
880
- $ref: '#/components/schemas/errorDescription'
881
- extensionList:
882
- $ref: '#/components/schemas/extensionListComplex'
883
- required:
884
- - errorCode
885
- - errorDescription
886
- title: ErrorInformation
887
- type: object
888
- extensionItem:
889
- properties:
890
- key:
891
- maxLength: 32
892
- minLength: 1
893
- type: string
894
- value:
895
- maxLength: 128
896
- minLength: 1
897
- type: string
898
- type: object
899
- extensionList:
900
- items:
901
- $ref: '#/components/schemas/extensionItem'
902
- maxItems: 16
903
- minItems: 0
904
- type: array
905
- extensionListComplex:
906
- description: Data model for the complex type ExtensionList.
907
- properties:
908
- extension:
909
- description: Number of Extension elements.
910
- items:
911
- $ref: '#/components/schemas/extensionItem'
912
- maxItems: 16
913
- minItems: 1
914
- type: array
915
- required:
916
- - extension
917
- type: object
918
- fspId:
919
- description: FSP identifier.
920
- maxLength: 32
921
- minLength: 1
922
- type: string
923
- fulfilNotification:
924
- description: PUT /transfers/{transferId} object.
925
- properties:
926
- currentState:
927
- $ref: '#/components/schemas/transferStatus'
928
- direction:
929
- enum:
930
- - INBOUND
931
- type: string
932
- finalNotification:
933
- properties:
934
- completedTimestamp:
935
- $ref: '#/components/schemas/timestamp'
936
- extensionList:
937
- $ref: '#/components/schemas/extensionList'
938
- transferState:
939
- $ref: '#/components/schemas/transferState'
940
- required:
941
- - completedTimestamp
942
- - transferState
943
- type: object
944
- fulfil:
945
- properties:
946
- body:
947
- type: object
948
- headers:
949
- type: object
950
- type: object
951
- initiatedTimestamp:
952
- $ref: '#/components/schemas/timestamp'
953
- lastError:
954
- $ref: '../components/schemas/transferError.yaml'
955
- prepare:
956
- properties:
957
- body:
958
- type: object
959
- headers:
960
- type: object
961
- type: object
962
- quote:
963
- properties:
964
- fulfilment:
965
- type: string
966
- internalRequest:
967
- type: object
968
- mojaloopResponse:
969
- type: object
970
- request:
971
- type: object
972
- response:
973
- type: object
974
- type: object
975
- quoteRequest:
976
- properties:
977
- body:
978
- type: object
979
- headers:
980
- type: object
981
- type: object
982
- quoteResponse:
983
- properties:
984
- body:
985
- type: object
986
- headers:
987
- type: object
988
- type: object
989
- transferId:
990
- $ref: '#/components/schemas/transferId'
991
- title: TransfersIDPatchResponse
992
- type: object
993
- generalError:
994
- description: This object may represent a number of different error object types and so its properties may vary significantly.
995
- type: object
996
- geoCode:
997
- description: Indicates the geographic location from where the transaction was initiated.
998
- properties:
999
- latitude:
1000
- $ref: '#/components/schemas/latitude'
1001
- longitude:
1002
- $ref: '#/components/schemas/longitude'
1003
- required:
1004
- - latitude
1005
- - longitude
1006
- type: object
1007
- idSubValue:
1008
- maxLength: 128
1009
- minLength: 1
1010
- type: string
1011
- idType:
1012
- enum:
1013
- - MSISDN
1014
- - ACCOUNT_NO
1015
- - EMAIL
1016
- - PERSONAL_ID
1017
- - BUSINESS
1018
- - DEVICE
1019
- - ACCOUNT_ID
1020
- - IBAN
1021
- - ALIAS
1022
- type: string
1023
- idValue:
1024
- description: Identifier of the party.
1025
- maxLength: 128
1026
- minLength: 1
1027
- type: string
1028
- ilpPacketData:
1029
- description: Object containing transfer object.
1030
- properties:
1031
- amount:
1032
- $ref: '#/components/schemas/amountCurrency'
1033
- payee:
1034
- $ref: '../components/schemas/Party.yaml'
1035
- payer:
1036
- $ref: '../components/schemas/Party.yaml'
1037
- quoteId:
1038
- $ref: '#/components/schemas/quoteId'
1039
- transactionId:
1040
- $ref: '#/components/schemas/transactionId'
1041
- transactionType:
1042
- $ref: '#/components/schemas/transactionTypeObject'
1043
- required:
1044
- - quoteId
1045
- - transactionId
1046
- - payer
1047
- - payee
1048
- - amount
1049
- - transactionType
1050
- type: object
1051
- initiator:
1052
- enum:
1053
- - PAYER
1054
- - PAYEE
1055
- type: string
1056
- initiatorType:
1057
- enum:
1058
- - CONSUMER
1059
- - AGENT
1060
- - BUSINESS
1061
- - DEVICE
1062
- type: string
1063
- latitude:
1064
- description: The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
1065
- pattern: ^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
1066
- type: string
1067
- longitude:
1068
- description: The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
1069
- pattern: ^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$
1070
- type: string
1071
- money:
1072
- pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
1073
- type: string
1074
- otpDetails:
1075
- properties:
1076
- otpValue:
1077
- description: OTP value.
1078
- type: string
1079
- required:
1080
- - otpValue
1081
- type: object
1082
- participantsResponse:
1083
- properties:
1084
- fspId:
1085
- $ref: '#/components/schemas/fspId'
1086
- type: object
1087
- payerType:
1088
- enum:
1089
- - CONSUMER
1090
- - AGENT
1091
- - BUSINESS
1092
- - DEVICE
1093
- type: string
1094
- quoteId:
1095
- description: A Mojaloop API quote identifier (UUID).
1096
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1097
- type: string
1098
- quoteRequest:
1099
- description: A request for a quote for transfer from the DFSP backend.
1100
- properties:
1101
- homeR2PTransactionId:
1102
- type: string
1103
- description: >-
1104
- Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer.
1105
- amount:
1106
- $ref: '#/components/schemas/money'
1107
- amountType:
1108
- $ref: '#/components/schemas/amountType'
1109
- currency:
1110
- $ref: '#/components/schemas/currency'
1111
- expiration:
1112
- $ref: '#/components/schemas/timestamp'
1113
- extensionList:
1114
- $ref: '#/components/schemas/extensionList'
1115
- feesAmount:
1116
- $ref: '#/components/schemas/money'
1117
- feesCurrency:
1118
- $ref: '#/components/schemas/currency'
1119
- from:
1120
- $ref: '#/components/schemas/transferParty'
1121
- geoCode:
1122
- $ref: '#/components/schemas/geoCode'
1123
- initiator:
1124
- $ref: '#/components/schemas/initiator'
1125
- initiatorType:
1126
- $ref: '#/components/schemas/initiatorType'
1127
- note:
1128
- description: An optional note associated with the requested transfer.
1129
- maxLength: 128
1130
- minLength: 1
1131
- type: string
1132
- quoteId:
1133
- $ref: '#/components/schemas/quoteId'
1134
- subScenario:
1135
- $ref: '../components/schemas/TransactionSubScenario.yaml'
1136
- to:
1137
- $ref: '#/components/schemas/transferParty'
1138
- transactionId:
1139
- $ref: '#/components/schemas/transactionId'
1140
- transactionType:
1141
- $ref: '#/components/schemas/transactionType'
1142
- transactionRequestId:
1143
- $ref: '#/components/schemas/transactionRequestId'
1144
- converter:
1145
- allOf:
1146
- - $ref: ../../../fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml
1147
- - description: >-
1148
- An optional field which will allow the payer DFSP to specify which DFSP it wants to undertake currency conversion.
1149
- This is useful incase of if the sender wants the recipient to receive a specified amount of the target currency,
1150
- but the payer DFSP does not want to undertake the currency conversion. In this case, the amount of the transfer
1151
- would be expressed in the target currency and the amountType would be set to RECEIVE.
1152
- currencyConversion:
1153
- allOf:
1154
- - $ref: ../../../fspiop/v2_0/openapi3/components/schemas/FxRate.yaml
1155
- - description: >-
1156
- Used by the debtor party if it wants to share information about the currency conversion it proposes to make; or
1157
- if it is required by scheme rules to share this information. This object contains the amount of the transfer in
1158
- the source and target currencies, but does not identify the FXP being used.
1159
- required:
1160
- - quoteId
1161
- - transactionId
1162
- - to
1163
- - from
1164
- - amountType
1165
- - amount
1166
- - currency
1167
- - transactionType
1168
- - initiator
1169
- - initiatorType
1170
- type: object
1171
- quoteResponse:
1172
- description: A response to a request for a quote.
1173
- properties:
1174
- expiration:
1175
- $ref: '#/components/schemas/timestamp'
1176
- extensionList:
1177
- $ref: '#/components/schemas/extensionList'
1178
- geoCode:
1179
- $ref: '#/components/schemas/geoCode'
1180
- payeeFspCommissionAmount:
1181
- $ref: '#/components/schemas/money'
1182
- payeeFspCommissionAmountCurrency:
1183
- $ref: '#/components/schemas/currency'
1184
- payeeFspFeeAmount:
1185
- $ref: '#/components/schemas/money'
1186
- payeeFspFeeAmountCurrency:
1187
- $ref: '#/components/schemas/currency'
1188
- payeeReceiveAmount:
1189
- $ref: '#/components/schemas/money'
1190
- payeeReceiveAmountCurrency:
1191
- $ref: '#/components/schemas/currency'
1192
- quoteId:
1193
- $ref: '#/components/schemas/quoteId'
1194
- transactionId:
1195
- $ref: '#/components/schemas/transactionId'
1196
- transferAmount:
1197
- $ref: '#/components/schemas/money'
1198
- transferAmountCurrency:
1199
- $ref: '#/components/schemas/currency'
1200
- required:
1201
- - quoteId
1202
- - transactionId
1203
- - transferAmount
1204
- - transferAmountCurrency
1205
- type: object
1206
- scenario:
1207
- enum:
1208
- - TRANSFER
1209
- type: string
1210
- timestamp:
1211
- description: An ISO-8601 formatted timestamp.
1212
- pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:(\.\d{3}))(?:Z|[+-][01]\d:[0-5]\d)$
1213
- type: string
1214
- transactionId:
1215
- description: ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.
1216
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1217
- type: string
1218
- transactionRequest:
1219
- description: A request for a pull based transfer.
1220
- properties:
1221
- amount:
1222
- $ref: '#/components/schemas/money'
1223
- currency:
1224
- $ref: '#/components/schemas/currency'
1225
- expiration:
1226
- $ref: '#/components/schemas/timestamp'
1227
- from:
1228
- $ref: '#/components/schemas/transferParty'
1229
- geoCode:
1230
- $ref: '#/components/schemas/geoCode'
1231
- initiator:
1232
- $ref: '#/components/schemas/initiator'
1233
- initiatorType:
1234
- $ref: '#/components/schemas/initiatorType'
1235
- note:
1236
- description: An optional note associated with the requested transfer.
1237
- maxLength: 128
1238
- minLength: 1
1239
- type: string
1240
- to:
1241
- $ref: '#/components/schemas/transferParty'
1242
- transactionRequestId:
1243
- $ref: '#/components/schemas/transactionRequestId'
1244
- transactionType:
1245
- $ref: '#/components/schemas/transactionType'
1246
- subScenario:
1247
- $ref: '../components/schemas/TransactionSubScenario.yaml'
1248
- authenticationType:
1249
- $ref: '../components/schemas/AuthenticationType.yaml'
1250
- required:
1251
- - transactionRequestId
1252
- - to
1253
- - from
1254
- - amount
1255
- - currency
1256
- - transactionType
1257
- - initiator
1258
- - initiatorType
1259
- type: object
1260
- transactionRequestId:
1261
- description: A Mojaloop API transaction request identifier (UUID).
1262
- pattern: ^[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
- transactionRequestResponse:
1265
- description: A response to a request for a quote.
1266
- properties:
1267
- homeR2PTransactionId:
1268
- type: string
1269
- description: >-
1270
- Transaction ID from the DFSP backend, used to reconcile transactions
1271
- between the Switch and DFSP backend systems.
1272
- transactionId:
1273
- $ref: '#/components/schemas/transactionId'
1274
- transactionRequestState:
1275
- $ref: '#/components/schemas/transactionRequestState'
1276
- required:
1277
- - transactionId
1278
- - transactionRequestState
1279
- type: object
1280
- transactionRequestState:
1281
- enum:
1282
- - RECEIVED
1283
- - PENDING
1284
- - ACCEPTED
1285
- - REJECTED
1286
- type: string
1287
- transactionSubScenario:
1288
- description: Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type). Based on FSPIOP TransactionSubScenario.
1289
- example: LOCALLY_DEFINED_SUBSCENARIO
1290
- pattern: ^[A-Z_]{1,32}$
1291
- title: transactionSubScenario
1292
- type: string
1293
- transactionType:
1294
- enum:
1295
- - TRANSFER
1296
- - DEPOSIT
1297
- - PAYMENT
1298
- type: string
1299
- transactionTypeObject:
1300
- description: Object containing transfer object.
1301
- properties:
1302
- initiator:
1303
- $ref: '#/components/schemas/initiator'
1304
- initiatorType:
1305
- $ref: '#/components/schemas/initiatorType'
1306
- scenario:
1307
- $ref: '#/components/schemas/scenario'
1308
- subScenario:
1309
- $ref: '../components/schemas/TransactionSubScenario.yaml'
1310
- required:
1311
- - scenario
1312
- - initiator
1313
- - initiatorType
1314
- type: object
1315
- transferDetailsResponse:
1316
- properties:
1317
- amount:
1318
- $ref: '#/components/schemas/money'
1319
- amountType:
1320
- $ref: '#/components/schemas/amountType'
1321
- currency:
1322
- $ref: '#/components/schemas/currency'
1323
- extensions:
1324
- $ref: '#/components/schemas/extensionList'
1325
- from:
1326
- $ref: '#/components/schemas/transferParty'
1327
- homeTransactionId:
1328
- description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
1329
- type: string
1330
- note:
1331
- maxLength: 128
1332
- type: string
1333
- subScenario:
1334
- $ref: '../components/schemas/TransactionSubScenario.yaml'
1335
- timestamp:
1336
- $ref: '#/components/schemas/timestamp'
1337
- to:
1338
- $ref: '#/components/schemas/transferParty'
1339
- transactionType:
1340
- $ref: '#/components/schemas/transactionType'
1341
- transferState:
1342
- $ref: '#/components/schemas/transferState'
1343
- required:
1344
- - homeTransactionId
1345
- - from
1346
- - to
1347
- - amountType
1348
- - currency
1349
- - amount
1350
- - transferState
1351
- - transactionType
1352
- - timestamp
1353
- type: object
1354
- transferId:
1355
- description: A Mojaloop API transfer identifier (UUID).
1356
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1357
- type: string
1358
- transferParty:
1359
- properties:
1360
- dateOfBirth:
1361
- $ref: '#/components/schemas/dateOfBirth'
1362
- displayName:
1363
- description: Display name of the sender, if known.
1364
- type: string
1365
- extensionList:
1366
- $ref: '#/components/schemas/extensionList'
1367
- firstName:
1368
- description: Party first name.
1369
- type: string
1370
- fspId:
1371
- description: Mojaloop scheme FSPID of the DFSP which owns the party account.
1372
- type: string
1373
- idSubValue:
1374
- $ref: '#/components/schemas/idSubValue'
1375
- idType:
1376
- $ref: '#/components/schemas/idType'
1377
- idValue:
1378
- description: The identifier string used to identify the sender.
1379
- type: string
1380
- lastName:
1381
- description: Party last name.
1382
- type: string
1383
- merchantClassificationCode:
1384
- description: Up to 4 digits specifying the sender's merchant classification, if known and applicable.
1385
- type: string
1386
- middleName:
1387
- description: Party middle name.
1388
- type: string
1389
- type:
1390
- $ref: '#/components/schemas/payerType'
1391
- supportedCurrencies:
1392
- type: array
1393
- description: Currencies in which the party can receive funds.
1394
- items:
1395
- $ref: '#/components/schemas/currency'
1396
- minItems: 0
1397
- maxItems: 16
1398
- kycInformation:
1399
- $ref: ../../../fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml
1400
- required:
1401
- - idType
1402
- - idValue
1403
- type: object
1404
- transferRequest:
1405
- properties:
1406
- homeR2PTransactionId:
1407
- type: string
1408
- description: >-
1409
- Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer.
1410
- amount:
1411
- $ref: '#/components/schemas/money'
1412
- amountType:
1413
- $ref: '#/components/schemas/amountType'
1414
- currency:
1415
- $ref: '#/components/schemas/currency'
1416
- from:
1417
- $ref: '#/components/schemas/transferParty'
1418
- ilpPacket:
1419
- properties:
1420
- data:
1421
- $ref: '#/components/schemas/ilpPacketData'
1422
- required:
1423
- - data
1424
- type: object
1425
- note:
1426
- maxLength: 128
1427
- type: string
1428
- quote:
1429
- $ref: '#/components/schemas/quoteResponse'
1430
- quoteRequestExtensions:
1431
- $ref: '#/components/schemas/extensionList'
1432
- subScenario:
1433
- $ref: '../components/schemas/TransactionSubScenario.yaml'
1434
- to:
1435
- $ref: '#/components/schemas/transferParty'
1436
- transactionType:
1437
- $ref: '#/components/schemas/transactionType'
1438
- transferId:
1439
- $ref: '#/components/schemas/transferId'
1440
- transactionRequestId:
1441
- $ref: '#/components/schemas/transactionRequestId'
1442
- required:
1443
- - transferId
1444
- - quote
1445
- - from
1446
- - to
1447
- - amountType
1448
- - currency
1449
- - amount
1450
- - transactionType
1451
- - ilpPacket
1452
- type: object
1453
- transferResponse:
1454
- properties:
1455
- completedTimestamp:
1456
- $ref: '#/components/schemas/timestamp'
1457
- fulfilment:
1458
- $ref: '../components/schemas/IlpFulfilment.yaml'
1459
- homeTransactionId:
1460
- description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
1461
- type: string
1462
- transferState:
1463
- $ref: '#/components/schemas/transferState'
1464
- required:
1465
- - homeTransactionId
1466
- type: object
1467
- transferState:
1468
- description: |
1469
- Below are the allowed values for the enumeration - RECEIVED DFSP has received the transfer. - RESERVED DFSP has reserved the transfer. - COMMITTED DFSP has successfully performed the transfer. - ABORTED DFSP has aborted the transfer due a rejection or failure to perform the transfer.
1470
- enum:
1471
- - RECEIVED
1472
- - RESERVED
1473
- - COMMITTED
1474
- - ABORTED
1475
- type: string
1476
- transferStatus:
1477
- enum:
1478
- - ERROR_OCCURRED
1479
- - WAITING_FOR_PARTY_ACCEPTANCE
1480
- - WAITING_FOR_QUOTE_ACCEPTANCE
1481
- - COMPLETED
1482
- type: string
1483
- requestToPayCallback:
1484
- description: Callback for requestToPay.
1485
- properties:
1486
- homeR2PTransactionId:
1487
- type: string
1488
- description: >-
1489
- Transaction ID from the DFSP backend, used to reconcile transactions
1490
- between the Switch and DFSP backend systems.
1491
- transactionRequestState:
1492
- $ref: '#/components/schemas/transactionRequestState'
1493
- required:
1494
- - transactionRequestState