@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,3451 +0,0 @@
1
- openapi: 3.0.1
2
- info:
3
- title: Mojaloop SDK Outbound Scheme Adapter API
4
- description: >
5
- Specification for the Mojaloop SDK Scheme Adapter Outbound Transfers API
6
-
7
-
8
- This API can be used by DFSP backends to simplify the process of sending
9
- funds to other parties within a Mojaloop scheme.
10
-
11
-
12
- Please see other documentation on
13
- https://github.com/mojaloop/sdk-scheme-adapter for more information.
14
-
15
-
16
- **Note on terminology:** The term "Switch" is equal to the term "Hub", and
17
- the term "FSP" is equal to the term "DFSP".
18
- license:
19
- name: Apache License Version 2.0, January 2004
20
- url: https://github.com/mojaloop/documentation/blob/main/LICENSE.md
21
- version: 2.1.0
22
- paths:
23
- /:
24
- get:
25
- summary: Health check endpoint
26
- description: >-
27
- This endpoint allows a user of the SDK scheme adapter to check the
28
- outbound transfers service is listening.
29
- tags:
30
- - Health
31
- responses:
32
- '200':
33
- description: >-
34
- Returns empty body if the scheme adapter outbound transfers service
35
- is running.
36
- /accounts:
37
- post:
38
- summary: Create accounts on the Account Lookup Service
39
- description: >-
40
- The HTTP request `POST /accounts` is used to create account information
41
- on the Account Lookup Service (ALS) regarding the provided list of
42
- identities.
43
-
44
-
45
- Caller DFSP is used as the account source FSP information
46
- tags:
47
- - Accounts
48
- requestBody:
49
- description: Identities list request body
50
- content:
51
- application/json:
52
- schema:
53
- $ref: '#/components/schemas/accountsRequest'
54
- required: true
55
- responses:
56
- '200':
57
- $ref: '#/components/responses/accountsCreationCompleted'
58
- '400':
59
- $ref: '#/components/responses/accountsCreationError'
60
- '500':
61
- $ref: '#/components/responses/accountsCreationError'
62
- '504':
63
- $ref: '#/components/responses/accountsCreationTimeout'
64
- /bulkQuotes:
65
- post:
66
- summary: Request bulk quotes for the provided financial transactions
67
- description: >
68
- The HTTP request `POST /bulkQuotes` is used to request a bulk quote to
69
- fascilitate funds transfer from payer DFSP to payees' DFSP.
70
- tags:
71
- - BulkQuotes
72
- requestBody:
73
- description: Bulk quote request body
74
- content:
75
- application/json:
76
- schema:
77
- $ref: '#/components/schemas/bulkQuoteRequest'
78
- required: true
79
- responses:
80
- '200':
81
- $ref: '#/components/responses/bulkQuoteSuccess'
82
- '400':
83
- $ref: '#/components/responses/bulkQuoteBadRequest'
84
- '500':
85
- $ref: '#/components/responses/bulkQuoteServerError'
86
- '504':
87
- $ref: '#/components/responses/bulkQuoteTimeout'
88
- /bulkQuotes/{bulkQuoteId}:
89
- get:
90
- summary: Retrieves information for a specific bulk quote
91
- description: >-
92
- The HTTP request `GET /bulkQuotes/{bulktQuoteId}` is used to get
93
- information regarding a bulk quote created or requested earlier. The
94
- `{bulkQuoteId}` in the URI should contain the `bulkQuoteId` that was
95
- used for the creation of the bulk quote.
96
- tags:
97
- - BulkQuotes
98
- parameters:
99
- - $ref: '#/components/parameters/bulkQuoteId'
100
- responses:
101
- '200':
102
- description: Bulk quote information successfully retrieved
103
- content:
104
- application/json:
105
- schema:
106
- $ref: '#/components/schemas/bulkQuoteStatusResponse'
107
- '500':
108
- description: An error occurred processing the bulk quote
109
- content:
110
- application/json:
111
- schema:
112
- $ref: '#/components/schemas/errorResponse'
113
- /bulkTransactions:
114
- post:
115
- summary: Sends money from one account to multiple accounts
116
- description: >
117
- The HTTP request `POST /bulkTransactions` is used to request the
118
- movement of funds from payer DFSP to payees' DFSP.
119
- tags:
120
- - BulkTransactions
121
- requestBody:
122
- description: Bulk transfer request body
123
- content:
124
- application/json:
125
- schema:
126
- $ref: '#/components/schemas/bulkTransactionRequest'
127
- required: true
128
- responses:
129
- '202':
130
- $ref: '#/components/responses/bulkTransactionAccepted'
131
- '400':
132
- $ref: '#/components/responses/bulkTransferBadRequest'
133
- '500':
134
- $ref: '#/components/responses/errorResponse'
135
- /bulkTransactions/{bulkTransactionId}:
136
- put:
137
- summary: Amends the bulk transaction request
138
- description: >-
139
- The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to
140
- amend information regarding a bulk transaction, i.e. when
141
- autoAcceptParty or autoAcceptQuote is false then the payer need to
142
- provide confirmation to proceed with further processing of the request.
143
- The `{bulkTransactionId}` in the URI should contain the
144
- `bulkTransactionId` that was used for the creation of the bulk transfer.
145
- tags:
146
- - BulkTransactions
147
- parameters:
148
- - $ref: '#/components/parameters/bulkTransactionId'
149
- requestBody:
150
- description: Bulk transaction request body
151
- content:
152
- application/json:
153
- schema:
154
- oneOf:
155
- - $ref: '#/components/schemas/bulkTransactionContinuationAcceptParty'
156
- - $ref: '#/components/schemas/bulkTransactionContinuationAcceptQuote'
157
- required: true
158
- responses:
159
- '202':
160
- description: Bulk transaction information successfully amended
161
- '400':
162
- $ref: '#/components/responses/bulkTransactionPutBadRequest'
163
- '500':
164
- description: An error occurred processing the bulk transaction
165
- content:
166
- application/json:
167
- schema:
168
- $ref: '#/components/schemas/errorResponse'
169
- /bulkTransfers:
170
- post:
171
- summary: Sends money from one account to multiple accounts
172
- description: >
173
- The HTTP request `POST /bulkTransfers` is used to request the movement
174
- of funds from payer DFSP to payees' DFSP.
175
- tags:
176
- - BulkTransfers
177
- requestBody:
178
- description: Bulk transfer request body
179
- content:
180
- application/json:
181
- schema:
182
- $ref: '#/components/schemas/bulkTransferRequest'
183
- required: true
184
- responses:
185
- '200':
186
- $ref: '#/components/responses/bulkTransferSuccess'
187
- '400':
188
- $ref: '#/components/responses/bulkTransferBadRequest'
189
- '500':
190
- $ref: '#/components/responses/errorResponse'
191
- /bulkTransfers/{bulkTransferId}:
192
- get:
193
- summary: Retrieves information for a specific bulk transfer
194
- description: >-
195
- The HTTP request `GET /bulkTransfers/{bulkTransferId}` is used to get
196
- information regarding a bulk transfer created or requested earlier. The
197
- `{bulkTransferId}` in the URI should contain the `bulkTransferId` that
198
- was used for the creation of the bulk transfer.
199
- tags:
200
- - BulkTransfers
201
- parameters:
202
- - $ref: '#/components/parameters/bulkTransferId'
203
- responses:
204
- '200':
205
- description: Bulk transfer information successfully retrieved
206
- content:
207
- application/json:
208
- schema:
209
- $ref: '#/components/schemas/bulkTransferStatusResponse'
210
- '500':
211
- description: An error occurred processing the bulk transfer
212
- content:
213
- application/json:
214
- schema:
215
- $ref: '#/components/schemas/errorResponse'
216
- /parties/{Type}/{ID}:
217
- parameters:
218
- - $ref: '#/components/parameters/Type'
219
- - $ref: '#/components/parameters/ID'
220
- get:
221
- description: >-
222
- The HTTP request GET /parties// (or GET /parties///) is used to lookup
223
- information regarding the requested Party, defined by , and optionally
224
- (for example, GET /parties/MSISDN/123456789, or GET
225
- /parties/BUSINESS/shoecompany/employee1).
226
- summary: PartiesByTypeAndID
227
- tags:
228
- - parties
229
- operationId: PartiesByTypeAndID
230
- responses:
231
- '200':
232
- $ref: '#/components/responses/partiesByIdSuccess'
233
- '404':
234
- $ref: '#/components/responses/partiesByIdError404'
235
- /parties/{Type}/{ID}/{SubId}:
236
- parameters:
237
- - $ref: '#/components/parameters/Type'
238
- - $ref: '#/components/parameters/ID'
239
- - $ref: '#/components/parameters/SubId'
240
- get:
241
- description: >-
242
- The HTTP request GET /parties// (or GET /parties///) is used to lookup
243
- information regarding the requested Party, defined by , and optionally
244
- (for example, GET /parties/MSISDN/123456789, or GET
245
- /parties/BUSINESS/shoecompany/employee1).
246
- summary: PartiesSubIdByTypeAndID
247
- tags:
248
- - parties
249
- operationId: PartiesSubIdByTypeAndID
250
- responses:
251
- '200':
252
- $ref: '#/components/responses/partiesByIdSuccess'
253
- '404':
254
- $ref: '#/components/responses/partiesByIdError404'
255
- /quotes:
256
- post:
257
- summary: Quotes endpoint
258
- description: is used to request quotes from other DFSP
259
- tags:
260
- - quotes
261
- operationId: QuotesPost
262
- requestBody:
263
- description: Quotes request payload
264
- content:
265
- application/json:
266
- schema:
267
- $ref: '#/components/schemas/simpleQuotesPostRequest'
268
- required: true
269
- responses:
270
- '200':
271
- $ref: '#/components/responses/quotesPostSuccess'
272
- '500':
273
- $ref: '#/components/responses/quotesServerError'
274
- /requestToPay:
275
- post:
276
- summary: Receiver requesting funds from Sender
277
- description: >
278
- The HTTP request `POST /requestToPay` is used to support Pull Funds
279
- pattern where in a receiver can request for funds from the Sender.
280
-
281
- The underlying API has two stages:
282
-
283
- 1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
284
- 2. Transaction Request. This request enables a Payee to request Payer to send electronic funds to the Payee.
285
- tags:
286
- - RequestToPay
287
- requestBody:
288
- description: RequestToPay request body
289
- content:
290
- application/json:
291
- schema:
292
- $ref: '#/components/schemas/requestToPayRequest'
293
- required: true
294
- responses:
295
- '200':
296
- $ref: '#/components/responses/requestToPaySuccess'
297
- /requestToPay/{transactionRequestId}:
298
- put:
299
- summary: >-
300
- Continues a request funds from sender that has paused at the party
301
- resolution stage in order to accept or reject party information
302
- description: >
303
- The HTTP request `PUT /requestToPay/{transactionRequestId}` is used to
304
- continue a transfer initiated via the `POST /requestToPay` method that
305
- has halted after party lookup stage.
306
-
307
- The request body should contain the "acceptParty" property set to `true`
308
- as required to continue the transfer.
309
-
310
- See the description of the `POST /requestToPay` HTTP method for more
311
- information on modes of transfer.
312
- tags:
313
- - RequestToPay
314
- requestBody:
315
- content:
316
- application/json:
317
- schema:
318
- $ref: '#/components/schemas/transferContinuationAcceptParty'
319
- parameters:
320
- - $ref: '#/components/parameters/transactionRequestId'
321
- responses:
322
- '200':
323
- $ref: '#/components/responses/requestToPaySuccess'
324
- '500':
325
- $ref: '#/components/responses/transferServerError'
326
- '504':
327
- $ref: '#/components/responses/transferTimeout'
328
- /requestToPayTransfer:
329
- post:
330
- summary: >-
331
- Used to trigger funds from customer fsp account to merchant fsp account.
332
- This is a follow-up request to requestToPay.
333
- description: >
334
- The HTTP request `POST /requestToPayTransfer` is used to request the
335
- movement of funds from payer DFSP to payee DFSP.
336
-
337
- The underlying Mojaloop API has three stages for money transfer:
338
-
339
- 1. Quotation. This facilitates the exchange of fee information and the construction of a cryptographic "contract" between payee and payer DFSPs before funds are transferred.
340
- 2. Authorization. This facilitates getting OTP from payee DFSP.
341
- 3. Transfer. The enactment of the previously agreed "contract"
342
-
343
- This method has several modes of operation.
344
-
345
- - If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"`
346
- this method will terminate and return the quotation when it has been
347
- received from the payee DFSP.
348
- If the payee wished to proceed with the otp, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
349
- The scheme adapter will then proceed with the transfer state.
350
-
351
- - If the configuration variable `AUTO_ACCEPT_OTP` is set to `"false"`
352
- this method will terminate and return the otp when it has been received
353
- from the payee DFSP.
354
- If the payer wished to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
355
- The scheme adapter will then proceed with the transfer state.
356
-
357
- If the configuration variables `AUTO_ACCEPT_PARTIES` and
358
- `AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block
359
- until all three transfer stages are complete. Upon completion it will
360
- return the entire set of transfer details received during the operation.
361
-
362
-
363
- Combinations of settings for `AUTO_ACCEPT...` configuration variables
364
- allow the scheme adapter user to decide which mode of operation best
365
- suits their use cases. i.e. the scheme adapter can be configured to
366
- "break" the three stage transfer at these points in order to execute
367
- backend logic such as party verification, quoted fees assessments etc...
368
- tags:
369
- - RequestToPayTransfer
370
- requestBody:
371
- description: Request To Pay Transfer request body
372
- content:
373
- application/json:
374
- schema:
375
- $ref: '#/components/schemas/requestToPayTransferRequest'
376
- required: true
377
- responses:
378
- '200':
379
- $ref: '#/components/responses/requestToPayTransferSuccess'
380
- '400':
381
- $ref: '#/components/responses/requestToPayTransferBadRequest'
382
- '500':
383
- $ref: '#/components/responses/transferServerError'
384
- '504':
385
- $ref: '#/components/responses/transferTimeout'
386
- /requestToPayTransfer/{transactionRequestId}:
387
- put:
388
- summary: >-
389
- Continues a transfer that has paused at the otp stage in order to accept
390
- or reject quote
391
- description: >
392
- This request is used to continue a requestToPayTransfer initiated via
393
- the `POST /requestToPayTransfer` method that has halted after quotation
394
- stage and/or otp stage.
395
-
396
-
397
- The request body should contain either the "acceptOTP" or "acceptQuote"
398
- property set to `true` as required to continue the transfer.
399
-
400
-
401
- See the description of the `POST /requestToPayTransfer` HTTP method for
402
- more information on modes of transfer.
403
- tags:
404
- - RequestToPayTransferID
405
- requestBody:
406
- content:
407
- application/json:
408
- schema:
409
- oneOf:
410
- - $ref: '#/components/schemas/transferContinuationAcceptQuote'
411
- - $ref: '#/components/schemas/transferContinuationAcceptOTP'
412
- parameters:
413
- - $ref: '#/components/parameters/transactionRequestId'
414
- responses:
415
- '200':
416
- $ref: '#/components/responses/transferSuccess'
417
- '500':
418
- $ref: '#/components/responses/transferServerError'
419
- '504':
420
- $ref: '#/components/responses/transferTimeout'
421
- /simpleTransfers:
422
- post:
423
- summary: Simple Transfers endpoint
424
- description: is used to request a transfer
425
- tags:
426
- - transfers
427
- operationId: SimpleTransfersPost
428
- requestBody:
429
- description: Simple Transfer request payload
430
- content:
431
- application/json:
432
- schema:
433
- $ref: '#/components/schemas/simpleTransfersPostRequest'
434
- required: true
435
- responses:
436
- '200':
437
- $ref: '#/components/responses/simpleTransfersPostSuccess'
438
- '500':
439
- $ref: '#/components/responses/simpleTransfersServerError'
440
- /transfers:
441
- post:
442
- summary: Sends money from one account to another
443
- description: >
444
- The HTTP request `POST /transfers` is used to request the movement of
445
- funds from payer DFSP to payee DFSP.
446
-
447
- The underlying Mojaloop API has three stages for money transfer:
448
-
449
- 1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
450
- 2. Quotation. This facilitates the exchange of fee information and the construction of a cryptographic "contract" between payee and payer DFSPs before funds are transferred.
451
- 3. Transfer. The enactment of the previously agreed "contract"
452
-
453
- This method has several modes of operation.
454
-
455
- - If the configuration variables `AUTO_ACCEPT_PARTIES` is set to
456
- `"false"` this method will terminate when the payee party has been
457
- resolved and return the payee party details.
458
- If the payee wishes to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the payee party) is required to continue the operation.
459
- The scheme adapter will then proceed with quotation stage...
460
-
461
- - If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"`
462
- this method will terminate and return the quotation when it has been
463
- received from the payee DFSP.
464
- If the payee wished to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
465
- The scheme adapter will then proceed with the transfer state.
466
-
467
- If the configuration variables `AUTO_ACCEPT_PARTIES` and
468
- `AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block
469
- until all three transfer stages are complete. Upon completion it will
470
- return the entire set of transfer details received during the operation.
471
-
472
-
473
- Combinations of settings for `AUTO_ACCEPT...` configuration variables
474
- allow the scheme adapter user to decide which mode of operation best
475
- suits their use cases. i.e. the scheme adapter can be configured to
476
- "break" the three stage transfer at these points in order to execute
477
- backend logic such as party verification, quoted fees assessments etc...
478
- tags:
479
- - Transfers
480
- requestBody:
481
- description: Transfer request body
482
- content:
483
- application/json:
484
- schema:
485
- $ref: '#/components/schemas/transferRequest'
486
- required: true
487
- responses:
488
- '200':
489
- $ref: '#/components/responses/transferSuccess'
490
- '400':
491
- $ref: '#/components/responses/transferBadRequest'
492
- '500':
493
- $ref: '#/components/responses/transferServerError'
494
- '504':
495
- $ref: '#/components/responses/transferTimeout'
496
- /transfers/{transferId}:
497
- put:
498
- summary: >-
499
- Continues a transfer that has paused at the quote stage in order to
500
- accept or reject payee party and/or quote and/or conversion
501
- description: >
502
- The HTTP request `PUT /transfers/{transferId}` is used to continue a
503
- transfer initiated via the `POST /transfers` method that has halted
504
- after party lookup and/or quotation stage and/or currency conversion
505
- stage.
506
-
507
-
508
- The request body should contain either the "acceptParty" or
509
- "acceptQuote" or "acceptConversion" property set to `true` as required
510
- to continue the transfer.
511
-
512
-
513
- See the description of the `POST /transfers` HTTP method for more
514
- information on modes of transfer.
515
- tags:
516
- - Transfers
517
- requestBody:
518
- content:
519
- application/json:
520
- schema:
521
- oneOf:
522
- - $ref: '#/components/schemas/transferContinuationAcceptParty'
523
- - $ref: '#/components/schemas/transferContinuationAcceptQuote'
524
- - $ref: '#/components/schemas/transferContinuationAcceptConversion'
525
- parameters:
526
- - $ref: '#/components/parameters/transferId'
527
- responses:
528
- '200':
529
- $ref: '#/components/responses/transferSuccess'
530
- '500':
531
- $ref: '#/components/responses/transferServerError'
532
- '504':
533
- $ref: '#/components/responses/transferTimeout'
534
- get:
535
- summary: Retrieves information for a specific transfer
536
- description: >-
537
- The HTTP request `GET /transfers/{transferId}` is used to get
538
- information regarding a transfer created or requested earlier. The
539
- `{transferId}` in the URI should contain the `transferId` that was used
540
- for the creation of the transfer.
541
- tags:
542
- - Transfers
543
- parameters:
544
- - $ref: '#/components/parameters/transferId'
545
- responses:
546
- '200':
547
- description: Transfer information successfully retrieved
548
- content:
549
- application/json:
550
- schema:
551
- $ref: '#/components/schemas/transferStatusResponse'
552
- '500':
553
- description: An error occurred processing the transfer
554
- content:
555
- application/json:
556
- schema:
557
- $ref: '#/components/schemas/errorResponse'
558
- /services/FXP:
559
- get:
560
- description: >-
561
- The HTTP request `GET /services/FXP` is used to request information
562
- about the participants in a scheme who offer currency conversion
563
- services.
564
- summary: Obtain a list of the DFSPs in the scheme who provide FXP service
565
- tags:
566
- - servicesFXP
567
- operationId: ServicesFXPGet
568
- responses:
569
- '200':
570
- $ref: '#/components/responses/servicesFXPSucess'
571
- '400':
572
- $ref: '#/components/responses/400'
573
- '500':
574
- $ref: '#/components/responses/500'
575
- /services/FXP/{SourceCurrency}/{TargetCurrency}:
576
- get:
577
- description: >-
578
- The HTTP request `GET /services/FXP/{SourceCurrency}/{TargetCurrency}`
579
- is used to request information about the participants in a scheme who
580
- offer currency conversion services in a particular currency corridor.
581
- The required corridor is specified by giving the ISO 4217 currency code
582
- for the SourceCurrency and the TargetCurrency.
583
- summary: Obtain a list of the DFSPs in the scheme who provide FXP service
584
- tags:
585
- - servicesFXP
586
- operationId: ServicesFXPSourceCurrencyTargetCurrencyGet
587
- parameters:
588
- - $ref: '#/components/parameters/SourceCurrency'
589
- - $ref: '#/components/parameters/TargetCurrency'
590
- responses:
591
- '200':
592
- $ref: '#/components/responses/servicesFXPSucess'
593
- '400':
594
- $ref: '#/components/responses/400'
595
- '500':
596
- $ref: '#/components/responses/500'
597
- /fxQuotes:
598
- post:
599
- description: >-
600
- The HTTP request `POST /fxQuotes` is used to ask to provide a quotation
601
- for a currency conversion.
602
- summary: Calculate FX quote
603
- tags:
604
- - Fx
605
- operationId: FxQuotesPost
606
- requestBody:
607
- description: Details of the FX quote request.
608
- required: true
609
- content:
610
- application/json:
611
- schema:
612
- $ref: '#/components/schemas/FxQuotesPostOutboundRequest'
613
- responses:
614
- '200':
615
- description: Successful response.
616
- content:
617
- application/json:
618
- schema:
619
- $ref: '#/components/schemas/FxQuotesPostOutboundResponse'
620
- '400':
621
- $ref: '#/components/responses/400'
622
- '500':
623
- $ref: '#/components/responses/500'
624
- /fxTransfers:
625
- post:
626
- description: >-
627
- The HTTP request `POST /fxTransfers` is used to ask to confirm the
628
- execution of an agreed currency conversion.
629
- summary: Perform FX transfer
630
- tags:
631
- - Fx
632
- operationId: FxTransfersPost
633
- requestBody:
634
- description: Details of the FX transfer request.
635
- required: true
636
- content:
637
- application/json:
638
- schema:
639
- $ref: '#/components/schemas/FxTransfersPostOutboundRequest'
640
- responses:
641
- '200':
642
- description: Successful response.
643
- content:
644
- application/json:
645
- schema:
646
- $ref: '#/components/schemas/FxTransfersPostOutboundResponse'
647
- '400':
648
- $ref: '#/components/responses/400'
649
- '500':
650
- $ref: '#/components/responses/500'
651
- components:
652
- schemas:
653
- PartyIdType:
654
- title: PartyIdType
655
- type: string
656
- enum:
657
- - MSISDN
658
- - EMAIL
659
- - PERSONAL_ID
660
- - BUSINESS
661
- - DEVICE
662
- - ACCOUNT_ID
663
- - IBAN
664
- - ALIAS
665
- description: >-
666
- Below are the allowed values for the enumeration.
667
-
668
- - MSISDN - An MSISDN (Mobile Station International Subscriber Directory
669
- Number, that is, the phone number) is used as reference to a
670
- participant. The MSISDN identifier should be in international format
671
- according to the [ITU-T E.164
672
- standard](https://www.itu.int/rec/T-REC-E.164/en). Optionally, the
673
- MSISDN may be prefixed by a single plus sign, indicating the
674
- international prefix.
675
-
676
- - EMAIL - An email is used as reference to a participant. The format of
677
- the email should be according to the informational [RFC
678
- 3696](https://tools.ietf.org/html/rfc3696).
679
-
680
- - PERSONAL_ID - A personal identifier is used as reference to a
681
- participant. Examples of personal identification are passport number,
682
- birth certificate number, and national registration number. The
683
- identifier number is added in the PartyIdentifier element. The personal
684
- identifier type is added in the PartySubIdOrType element.
685
-
686
- - BUSINESS - A specific Business (for example, an organization or a
687
- company) is used as reference to a participant. The BUSINESS identifier
688
- can be in any format. To make a transaction connected to a specific
689
- username or bill number in a Business, the PartySubIdOrType element
690
- should be used.
691
-
692
- - DEVICE - A specific device (for example, a POS or ATM) ID connected to
693
- a specific business or organization is used as reference to a Party. For
694
- referencing a specific device under a specific business or organization,
695
- use the PartySubIdOrType element.
696
-
697
- - ACCOUNT_ID - A bank account number or FSP account ID should be used as
698
- reference to a participant. The ACCOUNT_ID identifier can be in any
699
- format, as formats can greatly differ depending on country and FSP.
700
-
701
- - IBAN - A bank account number or FSP account ID is used as reference to
702
- a participant. The IBAN identifier can consist of up to 34 alphanumeric
703
- characters and should be entered without whitespace.
704
-
705
- - ALIAS An alias is used as reference to a participant. The alias should
706
- be created in the FSP as an alternative reference to an account owner.
707
- Another example of an alias is a username in the FSP system. The ALIAS
708
- identifier can be in any format. It is also possible to use the
709
- PartySubIdOrType element for identifying an account under an Alias
710
- defined by the PartyIdentifier.
711
- PartyIdentifier:
712
- title: PartyIdentifier
713
- type: string
714
- minLength: 1
715
- maxLength: 128
716
- description: Identifier of the Party.
717
- example: '16135551212'
718
- PartySubIdOrType:
719
- title: PartySubIdOrType
720
- type: string
721
- minLength: 1
722
- maxLength: 128
723
- description: >-
724
- Either a sub-identifier of a PartyIdentifier, or a sub-type of the
725
- PartyIdType, normally a PersonalIdentifierType.
726
- Currency:
727
- title: Currency
728
- description: >-
729
- The currency codes defined in [ISO
730
- 4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter
731
- alphabetic codes are used as the standard naming representation for
732
- currencies.
733
- type: string
734
- minLength: 3
735
- maxLength: 3
736
- enum:
737
- - AED
738
- - AFN
739
- - ALL
740
- - AMD
741
- - ANG
742
- - AOA
743
- - ARS
744
- - AUD
745
- - AWG
746
- - AZN
747
- - BAM
748
- - BBD
749
- - BDT
750
- - BGN
751
- - BHD
752
- - BIF
753
- - BMD
754
- - BND
755
- - BOB
756
- - BRL
757
- - BSD
758
- - BTN
759
- - BWP
760
- - BYN
761
- - BZD
762
- - CAD
763
- - CDF
764
- - CHF
765
- - CLP
766
- - CNY
767
- - COP
768
- - CRC
769
- - CUC
770
- - CUP
771
- - CVE
772
- - CZK
773
- - DJF
774
- - DKK
775
- - DOP
776
- - DZD
777
- - EGP
778
- - ERN
779
- - ETB
780
- - EUR
781
- - FJD
782
- - FKP
783
- - GBP
784
- - GEL
785
- - GGP
786
- - GHS
787
- - GIP
788
- - GMD
789
- - GNF
790
- - GTQ
791
- - GYD
792
- - HKD
793
- - HNL
794
- - HRK
795
- - HTG
796
- - HUF
797
- - IDR
798
- - ILS
799
- - IMP
800
- - INR
801
- - IQD
802
- - IRR
803
- - ISK
804
- - JEP
805
- - JMD
806
- - JOD
807
- - JPY
808
- - KES
809
- - KGS
810
- - KHR
811
- - KMF
812
- - KPW
813
- - KRW
814
- - KWD
815
- - KYD
816
- - KZT
817
- - LAK
818
- - LBP
819
- - LKR
820
- - LRD
821
- - LSL
822
- - LYD
823
- - MAD
824
- - MDL
825
- - MGA
826
- - MKD
827
- - MMK
828
- - MNT
829
- - MOP
830
- - MRO
831
- - MUR
832
- - MVR
833
- - MWK
834
- - MXN
835
- - MYR
836
- - MZN
837
- - NAD
838
- - NGN
839
- - NIO
840
- - NOK
841
- - NPR
842
- - NZD
843
- - OMR
844
- - PAB
845
- - PEN
846
- - PGK
847
- - PHP
848
- - PKR
849
- - PLN
850
- - PYG
851
- - QAR
852
- - RON
853
- - RSD
854
- - RUB
855
- - RWF
856
- - SAR
857
- - SBD
858
- - SCR
859
- - SDG
860
- - SEK
861
- - SGD
862
- - SHP
863
- - SLL
864
- - SOS
865
- - SPL
866
- - SRD
867
- - STD
868
- - SVC
869
- - SYP
870
- - SZL
871
- - THB
872
- - TJS
873
- - TMT
874
- - TND
875
- - TOP
876
- - TRY
877
- - TTD
878
- - TVD
879
- - TWD
880
- - TZS
881
- - UAH
882
- - UGX
883
- - USD
884
- - UYU
885
- - UZS
886
- - VEF
887
- - VND
888
- - VUV
889
- - WST
890
- - XAF
891
- - XCD
892
- - XDR
893
- - XOF
894
- - XPF
895
- - XTS
896
- - XXX
897
- - YER
898
- - ZAR
899
- - ZMW
900
- - ZWD
901
- accountsRequest:
902
- type: array
903
- items:
904
- type: object
905
- required:
906
- - idType
907
- - idValue
908
- - currency
909
- properties:
910
- idType:
911
- $ref: '#/components/schemas/PartyIdType'
912
- idValue:
913
- $ref: '#/components/schemas/PartyIdentifier'
914
- idSubValue:
915
- $ref: '#/components/schemas/PartySubIdOrType'
916
- currency:
917
- $ref: '#/components/schemas/Currency'
918
- CorrelationId:
919
- title: CorrelationId
920
- type: string
921
- pattern: >-
922
- ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
923
- description: >-
924
- Identifier that correlates all messages of the same sequence. The API
925
- data type UUID (Universally Unique Identifier) is a JSON String in
926
- canonical format, conforming to [RFC
927
- 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a
928
- regular expression for interoperability reasons. A UUID is always 36
929
- characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
930
- example: b51ec534-ee48-4575-b6a9-ead2955b8069
931
- errorResponse:
932
- type: object
933
- properties:
934
- statusCode:
935
- type: string
936
- description: >
937
- Backend error code from FSP. Ideally, statusCode is FSPIOP
938
- conforming. SDK will use status code to retrieve an FSPIOP error
939
- with the same code.
940
-
941
- Otherwise, a suitable generic FSPIOP will be used with the
942
- errorResponse in the FSPIOP error message.
943
- message:
944
- type: string
945
- description: Error message text.
946
- accountCreationStatus:
947
- type: array
948
- items:
949
- type: object
950
- required:
951
- - idType
952
- - idValue
953
- properties:
954
- idType:
955
- $ref: '#/components/schemas/PartyIdType'
956
- idValue:
957
- $ref: '#/components/schemas/PartyIdentifier'
958
- idSubValue:
959
- $ref: '#/components/schemas/PartySubIdOrType'
960
- error:
961
- $ref: '#/components/schemas/errorResponse'
962
- accountsCreationState:
963
- type: string
964
- enum:
965
- - ERROR_OCCURRED
966
- - COMPLETED
967
- ErrorCode:
968
- title: ErrorCode
969
- type: string
970
- pattern: ^[1-9]\d{3}$
971
- description: >-
972
- The API data type ErrorCode is a JSON String of four characters,
973
- consisting of digits only. Negative numbers are not allowed. A leading
974
- zero is not allowed. Each error code in the API is a four-digit number,
975
- for example, 1234, where the first number (1 in the example) represents
976
- the high-level error category, the second number (2 in the example)
977
- represents the low-level error category, and the last two numbers (34 in
978
- the example) represent the specific error.
979
- example: '5100'
980
- ErrorDescription:
981
- title: ErrorDescription
982
- type: string
983
- minLength: 1
984
- maxLength: 128
985
- description: Error description string.
986
- ExtensionKey:
987
- title: ExtensionKey
988
- type: string
989
- minLength: 1
990
- maxLength: 32
991
- description: Extension key.
992
- ExtensionValue:
993
- title: ExtensionValue
994
- type: string
995
- minLength: 1
996
- maxLength: 128
997
- description: Extension value.
998
- Extension:
999
- title: Extension
1000
- type: object
1001
- description: Data model for the complex type Extension.
1002
- properties:
1003
- key:
1004
- $ref: '#/components/schemas/ExtensionKey'
1005
- value:
1006
- $ref: '#/components/schemas/ExtensionValue'
1007
- required:
1008
- - key
1009
- - value
1010
- ExtensionList:
1011
- title: ExtensionList
1012
- type: object
1013
- description: >-
1014
- Data model for the complex type ExtensionList. An optional list of
1015
- extensions, specific to deployment.
1016
- properties:
1017
- extension:
1018
- type: array
1019
- items:
1020
- $ref: '#/components/schemas/Extension'
1021
- minItems: 1
1022
- maxItems: 16
1023
- description: Number of Extension elements.
1024
- required:
1025
- - extension
1026
- ErrorInformation:
1027
- title: ErrorInformation
1028
- type: object
1029
- description: Data model for the complex type ErrorInformation.
1030
- properties:
1031
- errorCode:
1032
- $ref: '#/components/schemas/ErrorCode'
1033
- errorDescription:
1034
- $ref: '#/components/schemas/ErrorDescription'
1035
- extensionList:
1036
- $ref: '#/components/schemas/ExtensionList'
1037
- required:
1038
- - errorCode
1039
- - errorDescription
1040
- mojaloopError:
1041
- type: object
1042
- properties:
1043
- errorInformation:
1044
- $ref: '#/components/schemas/ErrorInformation'
1045
- transferError:
1046
- type: object
1047
- description: >-
1048
- This object represents a Mojaloop API error received at any time during
1049
- the transfer process
1050
- properties:
1051
- httpStatusCode:
1052
- type: integer
1053
- description: >-
1054
- The HTTP status code returned to the caller. This is the same as the
1055
- actual HTTP status code returned with the response.
1056
- mojaloopError:
1057
- $ref: '#/components/schemas/mojaloopError'
1058
- accountsResponse:
1059
- type: object
1060
- required:
1061
- - accounts
1062
- properties:
1063
- modelId:
1064
- $ref: '#/components/schemas/CorrelationId'
1065
- accounts:
1066
- $ref: '#/components/schemas/accountsRequest'
1067
- response:
1068
- $ref: '#/components/schemas/accountCreationStatus'
1069
- currentState:
1070
- $ref: '#/components/schemas/accountsCreationState'
1071
- lastError:
1072
- $ref: '#/components/schemas/transferError'
1073
- postAccountsResponse:
1074
- type: object
1075
- required:
1076
- - body
1077
- properties:
1078
- body:
1079
- type: object
1080
- headers:
1081
- type: object
1082
- errorAccountsResponse:
1083
- allOf:
1084
- - $ref: '#/components/schemas/errorResponse'
1085
- - type: object
1086
- required:
1087
- - executionState
1088
- properties:
1089
- executionState:
1090
- $ref: '#/components/schemas/accountsResponse'
1091
- TransactionInitiatorType:
1092
- title: TransactionInitiatorType
1093
- type: string
1094
- enum:
1095
- - CONSUMER
1096
- - AGENT
1097
- - BUSINESS
1098
- - DEVICE
1099
- description: |-
1100
- Below are the allowed values for the enumeration.
1101
- - CONSUMER - Consumer is the initiator of the transaction.
1102
- - AGENT - Agent is the initiator of the transaction.
1103
- - BUSINESS - Business is the initiator of the transaction.
1104
- - DEVICE - Device is the initiator of the transaction.
1105
- example: CONSUMER
1106
- Name:
1107
- title: Name
1108
- type: string
1109
- pattern: ^(?!\s*$)[\w .,'-]{1,128}$
1110
- description: >-
1111
- The API data type Name is a JSON String, restricted by a regular
1112
- expression to avoid characters which are generally not used in a name.
1113
-
1114
-
1115
- Regular Expression - The regular expression for restricting the Name
1116
- type is "^(?!\s*$)[\w .,'-]{1,128}$". The restriction does not allow a
1117
- string consisting of whitespace only, all Unicode characters are
1118
- allowed, as well as the period (.) (apostrophe (‘), dash (-), comma (,)
1119
- and space characters ( ).
1120
-
1121
-
1122
- **Note:** In some programming languages, Unicode support must be
1123
- specifically enabled. For example, if Java is used, the flag
1124
- UNICODE_CHARACTER_CLASS must be enabled to allow Unicode characters.
1125
- FirstName:
1126
- title: FirstName
1127
- type: string
1128
- minLength: 1
1129
- maxLength: 128
1130
- pattern: >-
1131
- ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control}
1132
- .,''-]{1,128}$
1133
- description: First name of the Party (Name Type).
1134
- example: Henrik
1135
- MiddleName:
1136
- title: MiddleName
1137
- type: string
1138
- minLength: 1
1139
- maxLength: 128
1140
- pattern: >-
1141
- ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control}
1142
- .,''-]{1,128}$
1143
- description: Middle name of the Party (Name Type).
1144
- example: Johannes
1145
- LastName:
1146
- title: LastName
1147
- type: string
1148
- minLength: 1
1149
- maxLength: 128
1150
- pattern: >-
1151
- ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control}
1152
- .,''-]{1,128}$
1153
- description: Last name of the Party (Name Type).
1154
- example: Karlsson
1155
- DateOfBirth:
1156
- title: DateofBirth (type Date)
1157
- type: string
1158
- pattern: >-
1159
- ^(?:[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)$
1160
- description: Date of Birth of the Party.
1161
- example: '1966-06-16'
1162
- MerchantClassificationCode:
1163
- title: MerchantClassificationCode
1164
- type: string
1165
- pattern: ^[\d]{1,4}$
1166
- description: >-
1167
- A limited set of pre-defined numbers. This list would be a limited set
1168
- of numbers identifying a set of popular merchant types like School Fees,
1169
- Pubs and Restaurants, Groceries, etc.
1170
- FspId:
1171
- title: FspId
1172
- type: string
1173
- minLength: 1
1174
- maxLength: 32
1175
- description: FSP identifier.
1176
- KYCInformation:
1177
- title: KYCInformation
1178
- type: string
1179
- minLength: 1
1180
- maxLength: 2048
1181
- description: >-
1182
- KYC information for the party in a form mandated by an individual
1183
- scheme.
1184
- example: |-
1185
- {
1186
- "metadata": {
1187
- "format": "JSON",
1188
- "version": "1.0",
1189
- "description": "Data containing KYC Information"
1190
- },
1191
- "data": {
1192
- "name": "John Doe",
1193
- "dob": "1980-05-15",
1194
- "gender": "Male",
1195
- "address": "123 Main Street, Anytown, USA",
1196
- "email": "johndoe@example.com",
1197
- "phone": "+1 555-123-4567",
1198
- "nationality": "US",
1199
- "passport_number": "AB1234567",
1200
- "issue_date": "2010-02-20",
1201
- "expiry_date": "2025-02-20",
1202
- "bank_account_number": "1234567890",
1203
- "bank_name": "Example Bank",
1204
- "employer": "ABC Company",
1205
- "occupation": "Software Engineer",
1206
- "income": "$80,000 per year",
1207
- "marital_status": "Single",
1208
- "dependents": 0,
1209
- "risk_level": "Low"
1210
- }
1211
- }
1212
- extensionListEmptiable:
1213
- type: array
1214
- items:
1215
- $ref: '#/components/schemas/Extension'
1216
- minItems: 0
1217
- maxItems: 16
1218
- transferParty:
1219
- type: object
1220
- required:
1221
- - idType
1222
- - idValue
1223
- properties:
1224
- type:
1225
- $ref: '#/components/schemas/TransactionInitiatorType'
1226
- idType:
1227
- $ref: '#/components/schemas/PartyIdType'
1228
- idValue:
1229
- $ref: '#/components/schemas/PartyIdentifier'
1230
- idSubValue:
1231
- $ref: '#/components/schemas/PartySubIdOrType'
1232
- displayName:
1233
- $ref: '#/components/schemas/Name'
1234
- firstName:
1235
- $ref: '#/components/schemas/FirstName'
1236
- middleName:
1237
- $ref: '#/components/schemas/MiddleName'
1238
- lastName:
1239
- $ref: '#/components/schemas/LastName'
1240
- dateOfBirth:
1241
- $ref: '#/components/schemas/DateOfBirth'
1242
- merchantClassificationCode:
1243
- $ref: '#/components/schemas/MerchantClassificationCode'
1244
- fspId:
1245
- $ref: '#/components/schemas/FspId'
1246
- supportedCurrencies:
1247
- type: array
1248
- description: Currencies in which the party can receive funds.
1249
- items:
1250
- $ref: '#/components/schemas/Currency'
1251
- minItems: 0
1252
- maxItems: 16
1253
- kycInformation:
1254
- $ref: '#/components/schemas/KYCInformation'
1255
- extensionList:
1256
- $ref: '#/components/schemas/extensionListEmptiable'
1257
- AmountType:
1258
- title: AmountType
1259
- type: string
1260
- enum:
1261
- - SEND
1262
- - RECEIVE
1263
- description: >-
1264
- Below are the allowed values for the enumeration AmountType.
1265
-
1266
- - SEND - Amount the Payer would like to send, that is, the amount that
1267
- should be withdrawn from the Payer account including any fees.
1268
-
1269
- - RECEIVE - Amount the Payer would like the Payee to receive, that is,
1270
- the amount that should be sent to the receiver exclusive of any fees.
1271
- example: RECEIVE
1272
- Amount:
1273
- title: Amount
1274
- type: string
1275
- pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
1276
- description: >-
1277
- The API data type Amount is a JSON String in a canonical format that is
1278
- restricted by a regular expression for interoperability reasons. This
1279
- pattern does not allow any trailing zeroes at all, but allows an amount
1280
- without a minor currency unit. It also only allows four digits in the
1281
- minor currency unit; a negative value is not allowed. Using more than 18
1282
- digits in the major currency unit is not allowed.
1283
- example: '123.45'
1284
- transferTransactionType:
1285
- title: transferTransactionType
1286
- type: string
1287
- enum:
1288
- - TRANSFER
1289
- description: Type of transaction.
1290
- TransactionSubScenario:
1291
- title: TransactionSubScenario
1292
- type: string
1293
- pattern: ^[A-Z_]{1,32}$
1294
- description: >-
1295
- Possible sub-scenario, defined locally within the scheme (UndefinedEnum
1296
- Type).
1297
- example: LOCALLY_DEFINED_SUBSCENARIO
1298
- Note:
1299
- title: Note
1300
- type: string
1301
- minLength: 1
1302
- maxLength: 128
1303
- description: Memo assigned to transaction.
1304
- example: Note sent to Payee.
1305
- individualQuote:
1306
- title: IndividualQuote
1307
- type: object
1308
- description: Data model for the complex type 'individualQuote'.
1309
- properties:
1310
- quoteId:
1311
- $ref: '#/components/schemas/CorrelationId'
1312
- to:
1313
- $ref: '#/components/schemas/transferParty'
1314
- amountType:
1315
- $ref: '#/components/schemas/AmountType'
1316
- currency:
1317
- $ref: '#/components/schemas/Currency'
1318
- amount:
1319
- $ref: '#/components/schemas/Amount'
1320
- transactionType:
1321
- $ref: '#/components/schemas/transferTransactionType'
1322
- subScenario:
1323
- $ref: '#/components/schemas/TransactionSubScenario'
1324
- note:
1325
- $ref: '#/components/schemas/Note'
1326
- extensions:
1327
- $ref: '#/components/schemas/ExtensionList'
1328
- required:
1329
- - quoteId
1330
- - to
1331
- - amountType
1332
- - currency
1333
- - transactionType
1334
- - amount
1335
- bulkQuoteRequest:
1336
- type: object
1337
- required:
1338
- - homeTransactionId
1339
- - from
1340
- - individualQuotes
1341
- properties:
1342
- homeTransactionId:
1343
- type: string
1344
- description: >-
1345
- Transaction ID from the DFSP backend, used to reconcile transactions
1346
- between the Switch and DFSP backend systems.
1347
- bulkQuoteId:
1348
- $ref: '#/components/schemas/CorrelationId'
1349
- from:
1350
- $ref: '#/components/schemas/transferParty'
1351
- individualQuotes:
1352
- description: List of individual quotes in a bulk quote.
1353
- type: array
1354
- minItems: 1
1355
- maxItems: 1000
1356
- items:
1357
- $ref: '#/components/schemas/individualQuote'
1358
- extensions:
1359
- $ref: '#/components/schemas/ExtensionList'
1360
- DateTime:
1361
- title: DateTime
1362
- type: string
1363
- pattern: >-
1364
- ^(?:[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)$
1365
- description: >-
1366
- The API data type DateTime is a JSON String in a lexical format that is
1367
- restricted by a regular expression for interoperability reasons. The
1368
- format is according to [ISO
1369
- 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed
1370
- in a combined date, time and time zone format. A more readable version
1371
- of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are
1372
- "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z
1373
- indicates Zulu time zone, same as UTC).
1374
- example: '2016-05-24T08:38:08.699-04:00'
1375
- bulkTransferStatus:
1376
- type: string
1377
- enum:
1378
- - ERROR_OCCURRED
1379
- - COMPLETED
1380
- Money:
1381
- title: Money
1382
- type: object
1383
- description: Data model for the complex type Money.
1384
- properties:
1385
- currency:
1386
- $ref: '#/components/schemas/Currency'
1387
- amount:
1388
- $ref: '#/components/schemas/Amount'
1389
- required:
1390
- - currency
1391
- - amount
1392
- Latitude:
1393
- title: Latitude
1394
- type: string
1395
- pattern: >-
1396
- ^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
1397
- description: >-
1398
- The API data type Latitude is a JSON String in a lexical format that is
1399
- restricted by a regular expression for interoperability reasons.
1400
- example: '+45.4215'
1401
- Longitude:
1402
- title: Longitude
1403
- type: string
1404
- pattern: >-
1405
- ^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$
1406
- description: >-
1407
- The API data type Longitude is a JSON String in a lexical format that is
1408
- restricted by a regular expression for interoperability reasons.
1409
- example: '+75.6972'
1410
- GeoCode:
1411
- title: GeoCode
1412
- type: object
1413
- description: >-
1414
- Data model for the complex type GeoCode. Indicates the geographic
1415
- location from where the transaction was initiated.
1416
- properties:
1417
- latitude:
1418
- $ref: '#/components/schemas/Latitude'
1419
- longitude:
1420
- $ref: '#/components/schemas/Longitude'
1421
- required:
1422
- - latitude
1423
- - longitude
1424
- IlpPacket:
1425
- title: IlpPacket
1426
- type: string
1427
- pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
1428
- minLength: 1
1429
- maxLength: 32768
1430
- description: Information for recipient (transport layer information).
1431
- example: >-
1432
- AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
1433
- IlpCondition:
1434
- title: IlpCondition
1435
- type: string
1436
- pattern: ^[A-Za-z0-9-_]{43}$
1437
- maxLength: 48
1438
- description: Condition that must be attached to the transfer by the Payer.
1439
- quoteError:
1440
- type: object
1441
- description: >-
1442
- This object represents a Mojaloop API error received at any time during
1443
- the quote process
1444
- properties:
1445
- httpStatusCode:
1446
- type: integer
1447
- description: >-
1448
- The HTTP status code returned to the caller. This is the same as the
1449
- actual HTTP status code returned with the response.
1450
- mojaloopError:
1451
- $ref: '#/components/schemas/mojaloopError'
1452
- individualQuoteResult:
1453
- type: object
1454
- properties:
1455
- quoteId:
1456
- $ref: '#/components/schemas/CorrelationId'
1457
- transferAmount:
1458
- $ref: '#/components/schemas/Money'
1459
- payeeReceiveAmount:
1460
- $ref: '#/components/schemas/Money'
1461
- payeeFspFee:
1462
- $ref: '#/components/schemas/Money'
1463
- payeeFspCommission:
1464
- $ref: '#/components/schemas/Money'
1465
- geoCode:
1466
- $ref: '#/components/schemas/GeoCode'
1467
- ilpPacket:
1468
- $ref: '#/components/schemas/IlpPacket'
1469
- condition:
1470
- $ref: '#/components/schemas/IlpCondition'
1471
- extensionList:
1472
- $ref: '#/components/schemas/ExtensionList'
1473
- lastError:
1474
- $ref: '#/components/schemas/quoteError'
1475
- required:
1476
- - quoteId
1477
- bulkQuoteResponse:
1478
- type: object
1479
- required:
1480
- - bulkQuoteId
1481
- - individualQuoteResults
1482
- - currentState
1483
- - expiration
1484
- properties:
1485
- bulkQuoteId:
1486
- $ref: '#/components/schemas/CorrelationId'
1487
- homeTransactionId:
1488
- type: string
1489
- description: >-
1490
- Transaction ID from the DFSP backend, used to reconcile transactions
1491
- between the Switch and DFSP backend systems.
1492
- expiration:
1493
- $ref: '#/components/schemas/DateTime'
1494
- extensionList:
1495
- $ref: '#/components/schemas/ExtensionList'
1496
- currentState:
1497
- $ref: '#/components/schemas/bulkTransferStatus'
1498
- individualQuoteResults:
1499
- type: array
1500
- maxItems: 1000
1501
- items:
1502
- $ref: '#/components/schemas/individualQuoteResult'
1503
- description: List of individualQuoteResults in a bulk transfer response.
1504
- bulkQuoteErrorResponse:
1505
- allOf:
1506
- - $ref: '#/components/schemas/errorResponse'
1507
- - type: object
1508
- required:
1509
- - bulkQuoteState
1510
- properties:
1511
- bulkQuoteState:
1512
- $ref: '#/components/schemas/bulkQuoteResponse'
1513
- bulkQuoteStatus:
1514
- type: string
1515
- enum:
1516
- - ERROR_OCCURRED
1517
- - COMPLETED
1518
- bulkQuoteStatusResponse:
1519
- type: object
1520
- required:
1521
- - bulkQuoteId
1522
- - currentState
1523
- - individualQuotes
1524
- properties:
1525
- bulkQuoteId:
1526
- $ref: '#/components/schemas/CorrelationId'
1527
- currentState:
1528
- $ref: '#/components/schemas/bulkQuoteStatus'
1529
- individualQuotes:
1530
- type: array
1531
- minItems: 1
1532
- maxItems: 1000
1533
- items:
1534
- $ref: '#/components/schemas/individualQuote'
1535
- autoAcceptPartyOption:
1536
- type: object
1537
- required:
1538
- - enabled
1539
- properties:
1540
- enabled:
1541
- type: boolean
1542
- enum:
1543
- - false
1544
- - true
1545
- bulkPerTransferFeeLimit:
1546
- type: object
1547
- required:
1548
- - currency
1549
- - amount
1550
- properties:
1551
- currency:
1552
- $ref: '#/components/schemas/Currency'
1553
- amount:
1554
- $ref: '#/components/schemas/Amount'
1555
- autoAcceptQuote:
1556
- type: object
1557
- required:
1558
- - enabled
1559
- properties:
1560
- enabled:
1561
- type: boolean
1562
- enum:
1563
- - true
1564
- - false
1565
- perTransferFeeLimits:
1566
- type: array
1567
- minItems: 0
1568
- items:
1569
- $ref: '#/components/schemas/bulkPerTransferFeeLimit'
1570
- bulkTransactionOptions:
1571
- type: object
1572
- required:
1573
- - autoAcceptParty
1574
- - autoAcceptQuote
1575
- - bulkExpiration
1576
- properties:
1577
- onlyValidateParty:
1578
- description: >-
1579
- Set to true if only party validation is required. This means the
1580
- quotes and transfers will not run. This is useful for only party
1581
- resolution.
1582
- type: boolean
1583
- autoAcceptParty:
1584
- $ref: '#/components/schemas/autoAcceptPartyOption'
1585
- autoAcceptQuote:
1586
- description: >-
1587
- Set to true if the quote response is accepted without confirmation
1588
- from the payer. The fees applied by the payee will be acceptable to
1589
- the payer abiding by the limits set by optional
1590
- 'perTransferFeeLimits' array.
1591
- type: object
1592
- oneOf:
1593
- - $ref: '#/components/schemas/autoAcceptQuote'
1594
- skipPartyLookup:
1595
- description: >-
1596
- Set to true if supplying an FSPID for the payee party and no party
1597
- resolution is needed. This may be useful if a previous party
1598
- resolution has been performed.
1599
- type: boolean
1600
- synchronous:
1601
- description: >-
1602
- Set to true if the bulkTransfer requests need be handled
1603
- synchronous. Otherwise the requests will be handled asynchronously,
1604
- meaning there will be callbacks whenever the processing is done
1605
- type: boolean
1606
- bulkExpiration:
1607
- $ref: '#/components/schemas/DateTime'
1608
- PartyIdInfo:
1609
- title: PartyIdInfo
1610
- type: object
1611
- description: >-
1612
- Data model for the complex type PartyIdInfo. An ExtensionList element
1613
- has been added to this reqeust in version v1.1
1614
- properties:
1615
- partyIdType:
1616
- $ref: '#/components/schemas/PartyIdType'
1617
- partyIdentifier:
1618
- $ref: '#/components/schemas/PartyIdentifier'
1619
- partySubIdOrType:
1620
- $ref: '#/components/schemas/PartySubIdOrType'
1621
- fspId:
1622
- $ref: '#/components/schemas/FspId'
1623
- extensionList:
1624
- $ref: '#/components/schemas/ExtensionList'
1625
- required:
1626
- - partyIdType
1627
- - partyIdentifier
1628
- PartyName:
1629
- title: PartyName
1630
- type: string
1631
- minLength: 1
1632
- maxLength: 128
1633
- description: Name of the Party. Could be a real name or a nickname.
1634
- PartyComplexName:
1635
- title: PartyComplexName
1636
- type: object
1637
- description: Data model for the complex type PartyComplexName.
1638
- properties:
1639
- firstName:
1640
- $ref: '#/components/schemas/FirstName'
1641
- middleName:
1642
- $ref: '#/components/schemas/MiddleName'
1643
- lastName:
1644
- $ref: '#/components/schemas/LastName'
1645
- PartyPersonalInfo:
1646
- title: PartyPersonalInfo
1647
- type: object
1648
- description: Data model for the complex type PartyPersonalInfo.
1649
- properties:
1650
- complexName:
1651
- $ref: '#/components/schemas/PartyComplexName'
1652
- dateOfBirth:
1653
- $ref: '#/components/schemas/DateOfBirth'
1654
- kycInformation:
1655
- $ref: '#/components/schemas/KYCInformation'
1656
- Party:
1657
- title: Party
1658
- type: object
1659
- description: Data model for the complex type Party.
1660
- properties:
1661
- partyIdInfo:
1662
- $ref: '#/components/schemas/PartyIdInfo'
1663
- merchantClassificationCode:
1664
- $ref: '#/components/schemas/MerchantClassificationCode'
1665
- name:
1666
- $ref: '#/components/schemas/PartyName'
1667
- personalInfo:
1668
- $ref: '#/components/schemas/PartyPersonalInfo'
1669
- supportedCurrencies:
1670
- type: array
1671
- description: Currencies in which the party can receive funds.
1672
- items:
1673
- $ref: '#/components/schemas/Currency'
1674
- minItems: 0
1675
- maxItems: 16
1676
- required:
1677
- - partyIdInfo
1678
- bulkTransactionIndividualTransfer:
1679
- title: BulkTransactionIndividualTransfer
1680
- type: object
1681
- description: Data model for the complex type 'bulkTransactionIndividualTransfer'.
1682
- properties:
1683
- homeTransactionId:
1684
- type: string
1685
- description: >-
1686
- Transaction ID from the DFSP backend, used to reconcile transactions
1687
- between the Switch and DFSP backend systems.
1688
- to:
1689
- $ref: '#/components/schemas/Party'
1690
- reference:
1691
- description: Payer Loan reference
1692
- type: string
1693
- amountType:
1694
- $ref: '#/components/schemas/AmountType'
1695
- currency:
1696
- $ref: '#/components/schemas/Currency'
1697
- amount:
1698
- $ref: '#/components/schemas/Amount'
1699
- note:
1700
- $ref: '#/components/schemas/Note'
1701
- quoteExtensions:
1702
- $ref: '#/components/schemas/ExtensionList'
1703
- transferExtensions:
1704
- $ref: '#/components/schemas/ExtensionList'
1705
- lastError:
1706
- $ref: '#/components/schemas/transferError'
1707
- required:
1708
- - homeTransactionId
1709
- - to
1710
- - amountType
1711
- - currency
1712
- - amount
1713
- bulkTransactionRequest:
1714
- type: object
1715
- required:
1716
- - bulkTransactionId
1717
- - bulkHomeTransactionID
1718
- - options
1719
- - from
1720
- - individualTransfers
1721
- properties:
1722
- bulkHomeTransactionID:
1723
- type: string
1724
- description: >-
1725
- Transaction ID from the DFSP backend, used to reconcile transactions
1726
- between the Switch and DFSP backend systems.
1727
- bulkTransactionId:
1728
- $ref: '#/components/schemas/CorrelationId'
1729
- options:
1730
- $ref: '#/components/schemas/bulkTransactionOptions'
1731
- from:
1732
- $ref: '#/components/schemas/Party'
1733
- individualTransfers:
1734
- description: List of individual transfers in a bulk transfer.
1735
- type: array
1736
- minItems: 1
1737
- items:
1738
- $ref: '#/components/schemas/bulkTransactionIndividualTransfer'
1739
- extensions:
1740
- $ref: '#/components/schemas/ExtensionList'
1741
- TransferState:
1742
- title: TransferState
1743
- type: string
1744
- enum:
1745
- - RECEIVED
1746
- - RESERVED
1747
- - COMMITTED
1748
- - ABORTED
1749
- description: >-
1750
- Below are the allowed values for the enumeration.
1751
-
1752
- - RECEIVED - Next ledger has received the transfer.
1753
-
1754
- - RESERVED - Next ledger has reserved the transfer.
1755
-
1756
- - COMMITTED - Next ledger has successfully performed the transfer.
1757
-
1758
- - ABORTED - Next ledger has aborted the transfer due to a rejection or
1759
- failure to perform the transfer.
1760
- example: RESERVED
1761
- IlpFulfilment:
1762
- title: IlpFulfilment
1763
- type: string
1764
- pattern: ^[A-Za-z0-9-_]{43}$
1765
- maxLength: 48
1766
- description: Fulfilment that must be attached to the transfer by the Payee.
1767
- example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
1768
- individualTransferResult:
1769
- type: object
1770
- required:
1771
- - transferId
1772
- properties:
1773
- transferId:
1774
- $ref: '#/components/schemas/CorrelationId'
1775
- fulfilment:
1776
- $ref: '#/components/schemas/IlpFulfilment'
1777
- extensionList:
1778
- $ref: '#/components/schemas/ExtensionList'
1779
- transferState:
1780
- $ref: '#/components/schemas/TransferState'
1781
- lastError:
1782
- $ref: '#/components/schemas/transferError'
1783
- bulkTransferResponse:
1784
- type: object
1785
- required:
1786
- - bulkTransferId
1787
- - individualTransferResults
1788
- - currentState
1789
- properties:
1790
- bulkTransferId:
1791
- $ref: '#/components/schemas/CorrelationId'
1792
- bulkQuoteId:
1793
- $ref: '#/components/schemas/CorrelationId'
1794
- homeTransactionId:
1795
- type: string
1796
- description: >-
1797
- Transaction ID from the DFSP backend, used to reconcile transactions
1798
- between the Switch and DFSP backend systems.
1799
- bulkTransferState:
1800
- $ref: '#/components/schemas/TransferState'
1801
- completedTimestamp:
1802
- $ref: '#/components/schemas/DateTime'
1803
- extensionList:
1804
- $ref: '#/components/schemas/ExtensionList'
1805
- currentState:
1806
- $ref: '#/components/schemas/bulkTransferStatus'
1807
- individualTransferResults:
1808
- type: array
1809
- maxItems: 1000
1810
- items:
1811
- $ref: '#/components/schemas/individualTransferResult'
1812
- description: List of individual transfer result in a bulk transfer response.
1813
- bulkTransferErrorResponse:
1814
- allOf:
1815
- - $ref: '#/components/schemas/errorResponse'
1816
- - type: object
1817
- required:
1818
- - bulkTransferState
1819
- properties:
1820
- bulkTransferState:
1821
- $ref: '#/components/schemas/bulkTransferResponse'
1822
- bulkTransactionIndividualTransferAccept:
1823
- type: object
1824
- description: Data model for the 'individualTransfer' while accepting party or quote.
1825
- properties:
1826
- transferId:
1827
- $ref: '#/components/schemas/CorrelationId'
1828
- required:
1829
- - transferId
1830
- transferContinuationAcceptParty:
1831
- type: object
1832
- required:
1833
- - acceptParty
1834
- properties:
1835
- acceptParty:
1836
- type: boolean
1837
- enum:
1838
- - true
1839
- - false
1840
- bulkTransactionContinuationAcceptParty:
1841
- description: >-
1842
- The object sent back as confirmation of payee parties when
1843
- autoAcceptParty is false.
1844
- type: object
1845
- required:
1846
- - individualTransfers
1847
- properties:
1848
- individualTransfers:
1849
- description: >-
1850
- List of individual transfers in a bulk transfer with accept party
1851
- information.
1852
- type: array
1853
- minItems: 1
1854
- items:
1855
- allOf:
1856
- - $ref: '#/components/schemas/bulkTransactionIndividualTransferAccept'
1857
- - $ref: '#/components/schemas/transferContinuationAcceptParty'
1858
- transferContinuationAcceptQuote:
1859
- type: object
1860
- required:
1861
- - acceptQuote
1862
- properties:
1863
- acceptQuote:
1864
- type: boolean
1865
- enum:
1866
- - true
1867
- - false
1868
- bulkTransactionContinuationAcceptQuote:
1869
- description: >-
1870
- The object sent back as confirmation of quotes when autoAcceptQuotes is
1871
- false.
1872
- type: object
1873
- required:
1874
- - individualTransfers
1875
- properties:
1876
- individualTransfers:
1877
- description: List of individual transfers in a bulk transfer.
1878
- type: array
1879
- minItems: 1
1880
- items:
1881
- allOf:
1882
- - $ref: '#/components/schemas/bulkTransactionIndividualTransferAccept'
1883
- - $ref: '#/components/schemas/transferContinuationAcceptQuote'
1884
- partyError:
1885
- type: object
1886
- description: >-
1887
- This object represents a Mojaloop API error received at any time during
1888
- the party discovery process
1889
- properties:
1890
- httpStatusCode:
1891
- type: integer
1892
- description: >-
1893
- The HTTP status code returned to the caller. This is the same as the
1894
- actual HTTP status code returned with the response.
1895
- mojaloopError:
1896
- $ref: '#/components/schemas/mojaloopError'
1897
- bulkTransactionAcceptPartyErrorResponse:
1898
- allOf:
1899
- - $ref: '#/components/schemas/errorResponse'
1900
- - type: object
1901
- required:
1902
- - bulkTransferState
1903
- properties:
1904
- bulkTransferState:
1905
- allOf:
1906
- - $ref: '#/components/schemas/bulkTransactionContinuationAcceptParty'
1907
- - $ref: '#/components/schemas/partyError'
1908
- bulkTransactionAcceptQuoteErrorResponse:
1909
- allOf:
1910
- - $ref: '#/components/schemas/errorResponse'
1911
- - type: object
1912
- required:
1913
- - bulkTansferState
1914
- properties:
1915
- bulkTransferState:
1916
- allOf:
1917
- - $ref: '#/components/schemas/bulkTransactionContinuationAcceptQuote'
1918
- - $ref: '#/components/schemas/quoteError'
1919
- individualTransfer:
1920
- title: IndividualTransfer
1921
- type: object
1922
- description: Data model for the complex type 'individualTransfer'.
1923
- properties:
1924
- transferId:
1925
- $ref: '#/components/schemas/CorrelationId'
1926
- to:
1927
- $ref: '#/components/schemas/transferParty'
1928
- amountType:
1929
- $ref: '#/components/schemas/AmountType'
1930
- currency:
1931
- $ref: '#/components/schemas/Currency'
1932
- amount:
1933
- $ref: '#/components/schemas/Amount'
1934
- transactionType:
1935
- $ref: '#/components/schemas/transferTransactionType'
1936
- subScenario:
1937
- $ref: '#/components/schemas/TransactionSubScenario'
1938
- ilpPacket:
1939
- $ref: '#/components/schemas/IlpPacket'
1940
- condition:
1941
- $ref: '#/components/schemas/IlpCondition'
1942
- note:
1943
- $ref: '#/components/schemas/Note'
1944
- extensions:
1945
- $ref: '#/components/schemas/ExtensionList'
1946
- required:
1947
- - transferId
1948
- - to
1949
- - amountType
1950
- - currency
1951
- - amount
1952
- - ilpPacket
1953
- - condition
1954
- bulkTransferRequest:
1955
- type: object
1956
- required:
1957
- - bulkTransferId
1958
- - homeTransactionId
1959
- - bulkQuoteId
1960
- - from
1961
- - individualTransfers
1962
- properties:
1963
- homeTransactionId:
1964
- type: string
1965
- description: >-
1966
- Transaction ID from the DFSP backend, used to reconcile transactions
1967
- between the Switch and DFSP backend systems.
1968
- bulkTransferId:
1969
- $ref: '#/components/schemas/CorrelationId'
1970
- bulkQuoteId:
1971
- $ref: '#/components/schemas/CorrelationId'
1972
- from:
1973
- $ref: '#/components/schemas/transferParty'
1974
- individualTransfers:
1975
- description: List of individual transfers in a bulk transfer.
1976
- type: array
1977
- minItems: 1
1978
- maxItems: 1000
1979
- items:
1980
- $ref: '#/components/schemas/individualTransfer'
1981
- extensions:
1982
- $ref: '#/components/schemas/ExtensionList'
1983
- individualTransferFulfilment:
1984
- type: object
1985
- description: >-
1986
- A Mojaloop API transfer fulfilment for individual transfers in a bulk
1987
- transfer
1988
- properties:
1989
- fulfilment:
1990
- $ref: '#/components/schemas/IlpFulfilment'
1991
- extensionList:
1992
- $ref: '#/components/schemas/ExtensionList'
1993
- bulkTransferStatusResponse:
1994
- type: object
1995
- required:
1996
- - bulkTransferId
1997
- - currentState
1998
- - fulfils
1999
- properties:
2000
- bulkTransferId:
2001
- $ref: '#/components/schemas/CorrelationId'
2002
- currentState:
2003
- $ref: '#/components/schemas/bulkTransferStatus'
2004
- fulfils:
2005
- type: array
2006
- minItems: 1
2007
- maxItems: 1000
2008
- items:
2009
- $ref: '#/components/schemas/individualTransferFulfilment'
2010
- async2SyncCurrentState:
2011
- type: string
2012
- enum:
2013
- - WAITING_FOR_ACTION
2014
- - COMPLETED
2015
- - ERROR_OCCURRED
2016
- partiesByIdResponse:
2017
- title: partiesByIdResponse
2018
- type: object
2019
- description: GET /parties/{Type}/{ID} response object
2020
- properties:
2021
- party:
2022
- properties:
2023
- body:
2024
- $ref: '#/components/schemas/Party'
2025
- headers:
2026
- type: object
2027
- required:
2028
- - body
2029
- - headers
2030
- currentState:
2031
- $ref: '#/components/schemas/async2SyncCurrentState'
2032
- required:
2033
- - party
2034
- - currentState
2035
- TransactionScenario:
2036
- title: TransactionScenario
2037
- type: string
2038
- enum:
2039
- - DEPOSIT
2040
- - WITHDRAWAL
2041
- - TRANSFER
2042
- - PAYMENT
2043
- - REFUND
2044
- description: >-
2045
- Below are the allowed values for the enumeration.
2046
-
2047
- - DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a
2048
- normal scenario, electronic funds are transferred from a Business
2049
- account to a Consumer account, and physical cash is given from the
2050
- Consumer to the Business User.
2051
-
2052
- - WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction.
2053
- In a normal scenario, electronic funds are transferred from a Consumer’s
2054
- account to a Business account, and physical cash is given from the
2055
- Business User to the Consumer.
2056
-
2057
- - TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to
2058
- Consumer) transaction.
2059
-
2060
- - PAYMENT - Usually used for performing a transaction from a Consumer to
2061
- a Merchant or Organization, but could also be for a B2B (Business to
2062
- Business) payment. The transaction could be online for a purchase in an
2063
- Internet store, in a physical store where both the Consumer and Business
2064
- User are present, a bill payment, a donation, and so on.
2065
-
2066
- - REFUND - Used for performing a refund of transaction.
2067
- example: DEPOSIT
2068
- TransactionInitiator:
2069
- title: TransactionInitiator
2070
- type: string
2071
- enum:
2072
- - PAYER
2073
- - PAYEE
2074
- description: >-
2075
- Below are the allowed values for the enumeration.
2076
-
2077
- - PAYER - Sender of funds is initiating the transaction. The account to
2078
- send from is either owned by the Payer or is connected to the Payer in
2079
- some way.
2080
-
2081
- - PAYEE - Recipient of the funds is initiating the transaction by
2082
- sending a transaction request. The Payer must approve the transaction,
2083
- either automatically by a pre-generated OTP or by pre-approval of the
2084
- Payee, or by manually approving in his or her own Device.
2085
- example: PAYEE
2086
- RefundReason:
2087
- title: RefundReason
2088
- type: string
2089
- minLength: 1
2090
- maxLength: 128
2091
- description: Reason for the refund.
2092
- example: Free text indicating reason for the refund.
2093
- Refund:
2094
- title: Refund
2095
- type: object
2096
- description: Data model for the complex type Refund.
2097
- properties:
2098
- originalTransactionId:
2099
- $ref: '#/components/schemas/CorrelationId'
2100
- refundReason:
2101
- $ref: '#/components/schemas/RefundReason'
2102
- required:
2103
- - originalTransactionId
2104
- BalanceOfPayments:
2105
- title: BalanceOfPayments
2106
- type: string
2107
- pattern: ^[1-9]\d{2}$
2108
- description: >-
2109
- (BopCode) The API data type
2110
- [BopCode](https://www.imf.org/external/np/sta/bopcode/) is a JSON String
2111
- of 3 characters, consisting of digits only. Negative numbers are not
2112
- allowed. A leading zero is not allowed.
2113
- example: '123'
2114
- TransactionType:
2115
- title: TransactionType
2116
- type: object
2117
- description: Data model for the complex type TransactionType.
2118
- properties:
2119
- scenario:
2120
- $ref: '#/components/schemas/TransactionScenario'
2121
- subScenario:
2122
- $ref: '#/components/schemas/TransactionSubScenario'
2123
- initiator:
2124
- $ref: '#/components/schemas/TransactionInitiator'
2125
- initiatorType:
2126
- $ref: '#/components/schemas/TransactionInitiatorType'
2127
- refundInfo:
2128
- $ref: '#/components/schemas/Refund'
2129
- balanceOfPayments:
2130
- $ref: '#/components/schemas/BalanceOfPayments'
2131
- required:
2132
- - scenario
2133
- - initiator
2134
- - initiatorType
2135
- CurrencyConverter:
2136
- title: CurrencyConverter
2137
- type: string
2138
- enum:
2139
- - PAYER
2140
- - PAYEE
2141
- description: >-
2142
- Below are the allowed values for the enumeration CurrencyConverter. -
2143
- PAYER - Currency conversion should be performed by the payer. - PAYEE -
2144
- Currency conversion should be performed by the payee.
2145
- FxRate:
2146
- title: FxRate
2147
- type: object
2148
- description: >-
2149
- The FxRate object contains information about a currency conversion in
2150
- the transfer. It can be used by parties to the transfer to exchange
2151
- information with each other about the exchange rate for the transfer, to
2152
- ensure that the best rate can be agreed on.
2153
- properties:
2154
- sourceAmount:
2155
- allOf:
2156
- - $ref: '#/components/schemas/Money'
2157
- - description: The amount of the transfer in the source currency.
2158
- targetAmount:
2159
- allOf:
2160
- - $ref: '#/components/schemas/Money'
2161
- - description: The amount of the transfer in the target currency.
2162
- required:
2163
- - sourceAmount
2164
- - targetAmount
2165
- QuotesPostRequest:
2166
- title: QuotesPostRequest
2167
- type: object
2168
- description: The object sent in the POST /quotes request.
2169
- properties:
2170
- quoteId:
2171
- $ref: '#/components/schemas/CorrelationId'
2172
- transactionId:
2173
- $ref: '#/components/schemas/CorrelationId'
2174
- transactionRequestId:
2175
- $ref: '#/components/schemas/CorrelationId'
2176
- payee:
2177
- $ref: '#/components/schemas/Party'
2178
- payer:
2179
- $ref: '#/components/schemas/Party'
2180
- amountType:
2181
- $ref: '#/components/schemas/AmountType'
2182
- amount:
2183
- $ref: '#/components/schemas/Money'
2184
- fees:
2185
- $ref: '#/components/schemas/Money'
2186
- transactionType:
2187
- $ref: '#/components/schemas/TransactionType'
2188
- converter:
2189
- allOf:
2190
- - $ref: '#/components/schemas/CurrencyConverter'
2191
- - description: >-
2192
- An optional field which will allow the payer DFSP to specify
2193
- which DFSP it wants to undertake currency conversion. This is
2194
- useful incase of if the sender wants the recipient to receive a
2195
- specified amount of the target currency, but the payer DFSP does
2196
- not want to undertake the currency conversion. In this case, the
2197
- amount of the transfer would be expressed in the target currency
2198
- and the amountType would be set to RECEIVE.
2199
- currencyConversion:
2200
- allOf:
2201
- - $ref: '#/components/schemas/FxRate'
2202
- - description: >-
2203
- Used by the debtor party if it wants to share information about
2204
- the currency conversion it proposes to make; or if it is
2205
- required by scheme rules to share this information. This object
2206
- contains the amount of the transfer in the source and target
2207
- currencies, but does not identify the FXP being used.
2208
- geoCode:
2209
- $ref: '#/components/schemas/GeoCode'
2210
- note:
2211
- $ref: '#/components/schemas/Note'
2212
- expiration:
2213
- $ref: '#/components/schemas/DateTime'
2214
- extensionList:
2215
- $ref: '#/components/schemas/ExtensionList'
2216
- required:
2217
- - quoteId
2218
- - transactionId
2219
- - payee
2220
- - payer
2221
- - amountType
2222
- - amount
2223
- - transactionType
2224
- simpleQuotesPostRequest:
2225
- title: simpleQuotesPostRequest
2226
- type: object
2227
- properties:
2228
- fspId:
2229
- $ref: '#/components/schemas/FspId'
2230
- quotesPostRequest:
2231
- $ref: '#/components/schemas/QuotesPostRequest'
2232
- required:
2233
- - fspId
2234
- - quotesPostRequest
2235
- quotesPostResponse:
2236
- title: QuotesPostResponse
2237
- type: object
2238
- properties:
2239
- quotes:
2240
- title: QuotesIDPutResponse
2241
- type: object
2242
- description: The object sent in the PUT /quotes/{ID} callback.
2243
- properties:
2244
- body:
2245
- type: object
2246
- properties:
2247
- transferAmount:
2248
- $ref: '#/components/schemas/Money'
2249
- payeeReceiveAmount:
2250
- $ref: '#/components/schemas/Money'
2251
- payeeFspFee:
2252
- $ref: '#/components/schemas/Money'
2253
- payeeFspCommission:
2254
- $ref: '#/components/schemas/Money'
2255
- expiration:
2256
- type: string
2257
- description: >-
2258
- Date and time until when the quotation is valid and can be
2259
- honored when used in the subsequent transaction.
2260
- example: '2016-05-24T08:38:08.699-04:00'
2261
- geoCode:
2262
- $ref: '#/components/schemas/GeoCode'
2263
- ilpPacket:
2264
- $ref: '#/components/schemas/IlpPacket'
2265
- condition:
2266
- $ref: '#/components/schemas/IlpCondition'
2267
- extensionList:
2268
- $ref: '#/components/schemas/ExtensionList'
2269
- required:
2270
- - transferAmount
2271
- - expiration
2272
- - ilpPacket
2273
- - condition
2274
- headers:
2275
- type: object
2276
- required:
2277
- - body
2278
- - headers
2279
- currentState:
2280
- $ref: '#/components/schemas/async2SyncCurrentState'
2281
- required:
2282
- - quotes
2283
- - currentState
2284
- errorQuotesResponse:
2285
- allOf:
2286
- - $ref: '#/components/schemas/errorResponse'
2287
- - type: object
2288
- AuthenticationType:
2289
- title: AuthenticationType
2290
- type: string
2291
- enum:
2292
- - OTP
2293
- - QRCODE
2294
- - U2F
2295
- description: |-
2296
- Below are the allowed values for the enumeration AuthenticationType.
2297
- - OTP - One-time password generated by the Payer FSP.
2298
- - QRCODE - QR code used as One Time Password.
2299
- - U2F - U2F is a new addition isolated to Thirdparty stream.
2300
- example: OTP
2301
- requestToPayRequest:
2302
- type: object
2303
- required:
2304
- - homeR2PTransactionId
2305
- - from
2306
- - to
2307
- - amountType
2308
- - currency
2309
- - amount
2310
- - transactionType
2311
- properties:
2312
- homeR2PTransactionId:
2313
- type: string
2314
- description: >-
2315
- Transaction ID from the DFSP backend, used to reconcile transactions
2316
- between the Switch and DFSP backend systems.
2317
- from:
2318
- $ref: '#/components/schemas/transferParty'
2319
- to:
2320
- $ref: '#/components/schemas/transferParty'
2321
- amountType:
2322
- $ref: '#/components/schemas/AmountType'
2323
- currency:
2324
- $ref: '#/components/schemas/Currency'
2325
- amount:
2326
- $ref: '#/components/schemas/Amount'
2327
- transactionType:
2328
- $ref: '#/components/schemas/TransactionScenario'
2329
- subScenario:
2330
- $ref: '#/components/schemas/TransactionSubScenario'
2331
- authenticationType:
2332
- $ref: '#/components/schemas/AuthenticationType'
2333
- requestToPayStatus:
2334
- type: string
2335
- enum:
2336
- - ERROR_OCCURRED
2337
- - WAITING_FOR_PARTY_ACCEPTANCE
2338
- - COMPLETED
2339
- getPartiesResponse:
2340
- title: getPartiesResponse
2341
- type: object
2342
- description: The object sent in the GET /parties/{Type}/{ID} callback.
2343
- properties:
2344
- body:
2345
- $ref: '#/components/schemas/Party'
2346
- headers:
2347
- type: object
2348
- required:
2349
- - body
2350
- - headers
2351
- TransactionRequestState:
2352
- title: TransactionRequestState
2353
- type: string
2354
- enum:
2355
- - RECEIVED
2356
- - PENDING
2357
- - ACCEPTED
2358
- - REJECTED
2359
- description: |-
2360
- Below are the allowed values for the enumeration.
2361
- - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
2362
- - PENDING - Payer FSP has sent the transaction request to the Payer.
2363
- - ACCEPTED - Payer has approved the transaction.
2364
- - REJECTED - Payer has rejected the transaction.
2365
- example: RECEIVED
2366
- TransactionRequestResponse:
2367
- title: TransactionRequestResponse
2368
- type: object
2369
- description: The object sent in the PUT /transactionRequests/{ID} callback.
2370
- properties:
2371
- body:
2372
- type: object
2373
- properties:
2374
- transactionId:
2375
- $ref: '#/components/schemas/CorrelationId'
2376
- transactionRequestState:
2377
- $ref: '#/components/schemas/TransactionRequestState'
2378
- extensionList:
2379
- $ref: '#/components/schemas/ExtensionList'
2380
- required:
2381
- - transactionRequestState
2382
- headers:
2383
- type: object
2384
- required:
2385
- - body
2386
- - headers
2387
- requestToPayResponse:
2388
- type: object
2389
- required:
2390
- - transactionRequestId
2391
- - from
2392
- - to
2393
- - amountType
2394
- - currency
2395
- - amount
2396
- - transactionType
2397
- - currentState
2398
- properties:
2399
- transactionRequestId:
2400
- $ref: '#/components/schemas/CorrelationId'
2401
- from:
2402
- $ref: '#/components/schemas/transferParty'
2403
- to:
2404
- $ref: '#/components/schemas/transferParty'
2405
- amountType:
2406
- $ref: '#/components/schemas/AmountType'
2407
- currency:
2408
- $ref: '#/components/schemas/Currency'
2409
- amount:
2410
- $ref: '#/components/schemas/Amount'
2411
- transactionType:
2412
- $ref: '#/components/schemas/TransactionScenario'
2413
- subScenario:
2414
- $ref: '#/components/schemas/TransactionSubScenario'
2415
- currentState:
2416
- $ref: '#/components/schemas/requestToPayStatus'
2417
- getPartiesResponse:
2418
- $ref: '#/components/schemas/getPartiesResponse'
2419
- transactionRequestResponse:
2420
- $ref: '#/components/schemas/TransactionRequestResponse'
2421
- lastError:
2422
- $ref: '#/components/schemas/transferError'
2423
- transferStatus:
2424
- type: string
2425
- enum:
2426
- - ERROR_OCCURRED
2427
- - WAITING_FOR_PARTY_ACCEPTANCE
2428
- - WAITING_FOR_QUOTE_ACCEPTANCE
2429
- - WAITING_FOR_CONVERSION_ACCEPTANCE
2430
- - COMPLETED
2431
- QuotesIDPutResponse:
2432
- title: QuotesIDPutResponse
2433
- type: object
2434
- description: The object sent in the PUT /quotes/{ID} callback.
2435
- properties:
2436
- transferAmount:
2437
- $ref: '#/components/schemas/Money'
2438
- payeeReceiveAmount:
2439
- $ref: '#/components/schemas/Money'
2440
- payeeFspFee:
2441
- $ref: '#/components/schemas/Money'
2442
- payeeFspCommission:
2443
- $ref: '#/components/schemas/Money'
2444
- expiration:
2445
- $ref: '#/components/schemas/DateTime'
2446
- geoCode:
2447
- $ref: '#/components/schemas/GeoCode'
2448
- ilpPacket:
2449
- $ref: '#/components/schemas/IlpPacket'
2450
- condition:
2451
- $ref: '#/components/schemas/IlpCondition'
2452
- extensionList:
2453
- $ref: '#/components/schemas/ExtensionList'
2454
- required:
2455
- - transferAmount
2456
- - expiration
2457
- - ilpPacket
2458
- - condition
2459
- FxMoney:
2460
- title: FxMoney
2461
- type: object
2462
- description: >-
2463
- Data model for the complex type FxMoney; This is based on the type Money
2464
- but allows the amount to be optional to support FX quotations.
2465
- properties:
2466
- currency:
2467
- $ref: '#/components/schemas/Currency'
2468
- amount:
2469
- $ref: '#/components/schemas/Amount'
2470
- required:
2471
- - currency
2472
- FxCharge:
2473
- title: FxCharge
2474
- type: object
2475
- description: >-
2476
- An FXP will be able to specify a charge which it proposes to levy on the
2477
- currency conversion operation using a FxCharge object.
2478
- properties:
2479
- chargeType:
2480
- type: string
2481
- minLength: 1
2482
- maxLength: 32
2483
- description: A description of the charge which is being levied.
2484
- sourceAmount:
2485
- allOf:
2486
- - $ref: '#/components/schemas/Money'
2487
- - description: >-
2488
- The amount of the charge which is being levied, expressed in the
2489
- source currency.
2490
- targetAmount:
2491
- allOf:
2492
- - $ref: '#/components/schemas/Money'
2493
- - description: >-
2494
- The amount of the charge which is being levied, expressed in the
2495
- target currency.
2496
- required:
2497
- - chargeType
2498
- FxConversion:
2499
- title: FxConversion
2500
- type: object
2501
- description: >-
2502
- A DFSP will be able to request a currency conversion, and an FX provider
2503
- will be able to describe its involvement in a proposed transfer, using a
2504
- FxConversion object.
2505
- properties:
2506
- conversionId:
2507
- allOf:
2508
- - $ref: '#/components/schemas/CorrelationId'
2509
- - description: An end-to-end identifier for the conversion request.
2510
- determiningTransferId:
2511
- allOf:
2512
- - $ref: '#/components/schemas/CorrelationId'
2513
- - description: >-
2514
- The transaction ID of the transfer on whose success this
2515
- currency conversion depends.
2516
- initiatingFsp:
2517
- allOf:
2518
- - $ref: '#/components/schemas/FspId'
2519
- - description: >-
2520
- The id of the participant who is requesting a currency
2521
- conversion.
2522
- counterPartyFsp:
2523
- allOf:
2524
- - $ref: '#/components/schemas/FspId'
2525
- - description: The ID of the FXP performing the conversion.
2526
- amountType:
2527
- allOf:
2528
- - $ref: '#/components/schemas/AmountType'
2529
- - description: >-
2530
- This is the AmountType for the base transaction - If SEND - then
2531
- any charges levied by the FXP as part of the transaction will be
2532
- deducted by the FXP from the amount shown for the target party
2533
- in the conversion. If RECEIVE - then any charges levied by the
2534
- FXP as part of the transaction will be added by the FXP to the
2535
- amount shown for the source party in the conversion.
2536
- sourceAmount:
2537
- allOf:
2538
- - $ref: '#/components/schemas/FxMoney'
2539
- - description: The amount to be converted, expressed in the source currency.
2540
- targetAmount:
2541
- allOf:
2542
- - $ref: '#/components/schemas/FxMoney'
2543
- - description: The converted amount, expressed in the target currency.
2544
- expiration:
2545
- allOf:
2546
- - $ref: '#/components/schemas/DateTime'
2547
- - description: >-
2548
- The end of the period for which the currency conversion is
2549
- required to remain valid.
2550
- charges:
2551
- type: array
2552
- description: >-
2553
- One or more charges which the FXP intends to levy as part of the
2554
- currency conversion, or which the payee DFSP intends to add to the
2555
- amount transferred.
2556
- items:
2557
- $ref: '#/components/schemas/FxCharge'
2558
- minItems: 0
2559
- maxItems: 16
2560
- extensionList:
2561
- allOf:
2562
- - $ref: '#/components/schemas/ExtensionList'
2563
- - description: The extension list for the currency conversion request.
2564
- required:
2565
- - conversionId
2566
- - initiatingFsp
2567
- - counterPartyFsp
2568
- - amountType
2569
- - sourceAmount
2570
- - targetAmount
2571
- - expiration
2572
- FxQuotesPostOutboundResponse:
2573
- title: FxQuotesPostOutboundResponse
2574
- type: object
2575
- description: >-
2576
- The object sent as a response for the POST /fxQuotes request. The terms
2577
- under which the FXP will undertake the currency conversion proposed by
2578
- the requester.
2579
- properties:
2580
- homeTransactionId:
2581
- description: >-
2582
- Transaction ID for the FXP backend, used to reconcile transactions
2583
- between the Switch and FXP backend systems.
2584
- type: string
2585
- condition:
2586
- allOf:
2587
- - $ref: '#/components/schemas/IlpCondition'
2588
- - description: The ILP condition for the conversion.
2589
- conversionTerms:
2590
- allOf:
2591
- - $ref: '#/components/schemas/FxConversion'
2592
- - description: >-
2593
- The terms under which the FXP will undertake the currency
2594
- conversion proposed by the requester.
2595
- required:
2596
- - conversionTerms
2597
- TransfersIDPutResponse:
2598
- title: TransfersIDPutResponse
2599
- type: object
2600
- description: The object sent in the PUT /transfers/{ID} callback.
2601
- properties:
2602
- fulfilment:
2603
- $ref: '#/components/schemas/IlpFulfilment'
2604
- completedTimestamp:
2605
- $ref: '#/components/schemas/DateTime'
2606
- transferState:
2607
- $ref: '#/components/schemas/TransferState'
2608
- extensionList:
2609
- $ref: '#/components/schemas/ExtensionList'
2610
- required:
2611
- - transferState
2612
- transferResponse:
2613
- type: object
2614
- required:
2615
- - homeTransactionId
2616
- - from
2617
- - to
2618
- - amountType
2619
- - currency
2620
- - amount
2621
- - transactionType
2622
- properties:
2623
- transferId:
2624
- $ref: '#/components/schemas/CorrelationId'
2625
- homeTransactionId:
2626
- type: string
2627
- description: >-
2628
- Transaction ID from the DFSP backend, used to reconcile transactions
2629
- between the Switch and DFSP backend systems.
2630
- from:
2631
- $ref: '#/components/schemas/transferParty'
2632
- to:
2633
- $ref: '#/components/schemas/transferParty'
2634
- amountType:
2635
- $ref: '#/components/schemas/AmountType'
2636
- currency:
2637
- $ref: '#/components/schemas/Currency'
2638
- amount:
2639
- $ref: '#/components/schemas/Amount'
2640
- transactionType:
2641
- $ref: '#/components/schemas/transferTransactionType'
2642
- subScenario:
2643
- $ref: '#/components/schemas/TransactionSubScenario'
2644
- note:
2645
- $ref: '#/components/schemas/Note'
2646
- currentState:
2647
- $ref: '#/components/schemas/transferStatus'
2648
- quoteId:
2649
- $ref: '#/components/schemas/CorrelationId'
2650
- getPartiesResponse:
2651
- type: object
2652
- required:
2653
- - body
2654
- properties:
2655
- body:
2656
- type: object
2657
- headers:
2658
- type: object
2659
- quoteResponse:
2660
- type: object
2661
- required:
2662
- - body
2663
- properties:
2664
- body:
2665
- $ref: '#/components/schemas/QuotesIDPutResponse'
2666
- headers:
2667
- type: object
2668
- quoteResponseSource:
2669
- type: string
2670
- description: >
2671
- FSPID of the entity that supplied the quote response. This may not
2672
- be the same as the FSPID of the entity which owns the end user
2673
- account in the case of a FOREX transfer. i.e. it may be a FOREX
2674
- gateway.
2675
- conversionRequestId:
2676
- $ref: '#/components/schemas/CorrelationId'
2677
- fxQuotesResponse:
2678
- type: object
2679
- required:
2680
- - body
2681
- properties:
2682
- body:
2683
- $ref: '#/components/schemas/FxQuotesPostOutboundResponse'
2684
- headers:
2685
- type: object
2686
- fxQuotesResponseSource:
2687
- type: string
2688
- description: |
2689
- FXPID of the entity that supplied the fxQuotes response.
2690
- fulfil:
2691
- type: object
2692
- required:
2693
- - body
2694
- properties:
2695
- body:
2696
- $ref: '#/components/schemas/TransfersIDPutResponse'
2697
- headers:
2698
- type: object
2699
- lastError:
2700
- $ref: '#/components/schemas/transferError'
2701
- skipPartyLookup:
2702
- description: >-
2703
- Set to true if supplying an FSPID for the payee party and no party
2704
- resolution is needed. This may be useful is a previous party
2705
- resolution has been performed.
2706
- type: boolean
2707
- errorTransferResponse:
2708
- allOf:
2709
- - $ref: '#/components/schemas/errorResponse'
2710
- - type: object
2711
- required:
2712
- - transferState
2713
- properties:
2714
- transferState:
2715
- $ref: '#/components/schemas/transferResponse'
2716
- requestToPayTransferRequest:
2717
- type: object
2718
- required:
2719
- - homeR2PTransactionId
2720
- - transactionRequestId
2721
- - from
2722
- - to
2723
- - amountType
2724
- - currency
2725
- - amount
2726
- - scenario
2727
- - initiator
2728
- - initiatorType
2729
- properties:
2730
- homeR2PTransactionId:
2731
- type: string
2732
- description: >-
2733
- Transaction ID from the DFSP backend, used to reconcile transactions
2734
- between the Switch and DFSP backend systems.
2735
- transactionRequestId:
2736
- $ref: '#/components/schemas/CorrelationId'
2737
- from:
2738
- $ref: '#/components/schemas/transferParty'
2739
- to:
2740
- $ref: '#/components/schemas/transferParty'
2741
- amountType:
2742
- $ref: '#/components/schemas/AmountType'
2743
- currency:
2744
- $ref: '#/components/schemas/Currency'
2745
- amount:
2746
- $ref: '#/components/schemas/Amount'
2747
- scenario:
2748
- $ref: '#/components/schemas/TransactionScenario'
2749
- subScenario:
2750
- $ref: '#/components/schemas/TransactionSubScenario'
2751
- initiator:
2752
- $ref: '#/components/schemas/TransactionInitiator'
2753
- initiatorType:
2754
- $ref: '#/components/schemas/TransactionInitiatorType'
2755
- note:
2756
- $ref: '#/components/schemas/Note'
2757
- authenticationType:
2758
- $ref: '#/components/schemas/AuthenticationType'
2759
- AuthenticationValue:
2760
- title: AuthenticationValue
2761
- anyOf:
2762
- - title: OtpValue
2763
- type: string
2764
- pattern: ^\d{3,10}$
2765
- description: >-
2766
- The API data type OtpValue is a JSON String of 3 to 10 characters,
2767
- consisting of digits only. Negative numbers are not allowed. One or
2768
- more leading zeros are allowed.
2769
- - title: QRCODE
2770
- type: string
2771
- minLength: 1
2772
- maxLength: 64
2773
- description: QR code used as a One Time Password.
2774
- - title: U2FPinValue
2775
- type: object
2776
- description: >
2777
- U2F challenge-response, where payer FSP verifies if the response
2778
- provided by end-user device matches the previously registered key.
2779
- properties:
2780
- pinValue:
2781
- type: string
2782
- pattern: ^\S{1,64}$
2783
- minLength: 1
2784
- maxLength: 64
2785
- description: >
2786
- U2F challenge-response, where payer FSP verifies if the response
2787
- provided by end-user device matches the previously registered
2788
- key.
2789
- counter:
2790
- title: Integer
2791
- type: string
2792
- pattern: ^[1-9]\d*$
2793
- description: >-
2794
- Sequential counter used for cloning detection. Present only for
2795
- U2F authentication.
2796
- required:
2797
- - pinValue
2798
- - counter
2799
- pattern: ^\d{3,10}$|^\S{1,64}$
2800
- description: >-
2801
- Contains the authentication value. The format depends on the
2802
- authentication type used in the AuthenticationInfo complex type.
2803
- AuthenticationInfo:
2804
- title: AuthenticationInfo
2805
- type: object
2806
- description: Data model for the complex type AuthenticationInfo.
2807
- properties:
2808
- authentication:
2809
- $ref: '#/components/schemas/AuthenticationType'
2810
- authenticationValue:
2811
- $ref: '#/components/schemas/AuthenticationValue'
2812
- required:
2813
- - authentication
2814
- - authenticationValue
2815
- AuthorizationResponseType:
2816
- title: AuthorizationResponseType
2817
- type: string
2818
- enum:
2819
- - ENTERED
2820
- - REJECTED
2821
- - RESEND
2822
- description: |-
2823
- Below are the allowed values for the enumeration.
2824
- - ENTERED - Consumer entered the authentication value.
2825
- - REJECTED - Consumer rejected the transaction.
2826
- - RESEND - Consumer requested to resend the authentication value.
2827
- example: ENTERED
2828
- AuthorizationIDPutResponse:
2829
- title: AuthorizationIDPutResponse
2830
- type: object
2831
- description: The object sent in the PUT /authorizations/{ID} callback.
2832
- properties:
2833
- authenticationInfo:
2834
- $ref: '#/components/schemas/AuthenticationInfo'
2835
- responseType:
2836
- $ref: '#/components/schemas/AuthorizationResponseType'
2837
- required:
2838
- - responseType
2839
- requestToPayTransferResponse:
2840
- type: object
2841
- required:
2842
- - transactionRequestId
2843
- - from
2844
- - to
2845
- - amountType
2846
- - currency
2847
- - amount
2848
- - transactionType
2849
- properties:
2850
- transferId:
2851
- $ref: '#/components/schemas/CorrelationId'
2852
- homeR2PTransactionId:
2853
- type: string
2854
- description: >-
2855
- Transaction ID from the DFSP backend, used to reconcile transactions
2856
- between the Switch and DFSP backend systems.
2857
- transactionRequestId:
2858
- $ref: '#/components/schemas/CorrelationId'
2859
- from:
2860
- $ref: '#/components/schemas/transferParty'
2861
- to:
2862
- $ref: '#/components/schemas/transferParty'
2863
- amountType:
2864
- $ref: '#/components/schemas/AmountType'
2865
- currency:
2866
- $ref: '#/components/schemas/Currency'
2867
- amount:
2868
- $ref: '#/components/schemas/Amount'
2869
- transactionType:
2870
- $ref: '#/components/schemas/transferTransactionType'
2871
- note:
2872
- $ref: '#/components/schemas/Note'
2873
- currentState:
2874
- $ref: '#/components/schemas/transferStatus'
2875
- quoteId:
2876
- $ref: '#/components/schemas/CorrelationId'
2877
- quoteResponse:
2878
- type: object
2879
- required:
2880
- - body
2881
- properties:
2882
- body:
2883
- $ref: '#/components/schemas/QuotesIDPutResponse'
2884
- headers:
2885
- type: object
2886
- quoteResponseSource:
2887
- type: string
2888
- description: >
2889
- FSPID of the entity that supplied the quote response. This may not
2890
- be the same as the FSPID of the entity which owns the end user
2891
- account in the case of a FOREX transfer. i.e. it may be a FOREX
2892
- gateway.
2893
- authorizationResponse:
2894
- type: object
2895
- required:
2896
- - body
2897
- properties:
2898
- body:
2899
- $ref: '#/components/schemas/AuthorizationIDPutResponse'
2900
- headers:
2901
- type: object
2902
- fulfil:
2903
- type: object
2904
- required:
2905
- - body
2906
- properties:
2907
- body:
2908
- $ref: '#/components/schemas/TransfersIDPutResponse'
2909
- headers:
2910
- type: object
2911
- lastError:
2912
- $ref: '#/components/schemas/transferError'
2913
- transferContinuationAcceptOTP:
2914
- type: object
2915
- required:
2916
- - acceptOTP
2917
- properties:
2918
- acceptOTP:
2919
- type: boolean
2920
- enum:
2921
- - true
2922
- - false
2923
- TransfersPostRequest:
2924
- title: TransfersPostRequest
2925
- type: object
2926
- description: The object sent in the POST /transfers request.
2927
- properties:
2928
- transferId:
2929
- $ref: '#/components/schemas/CorrelationId'
2930
- payeeFsp:
2931
- $ref: '#/components/schemas/FspId'
2932
- payerFsp:
2933
- $ref: '#/components/schemas/FspId'
2934
- amount:
2935
- $ref: '#/components/schemas/Money'
2936
- ilpPacket:
2937
- $ref: '#/components/schemas/IlpPacket'
2938
- condition:
2939
- $ref: '#/components/schemas/IlpCondition'
2940
- expiration:
2941
- $ref: '#/components/schemas/DateTime'
2942
- extensionList:
2943
- $ref: '#/components/schemas/ExtensionList'
2944
- required:
2945
- - transferId
2946
- - payeeFsp
2947
- - payerFsp
2948
- - amount
2949
- - ilpPacket
2950
- - condition
2951
- - expiration
2952
- simpleTransfersPostRequest:
2953
- title: SimpleTransfersPostRequest
2954
- type: object
2955
- properties:
2956
- fspId:
2957
- $ref: '#/components/schemas/FspId'
2958
- transfersPostRequest:
2959
- $ref: '#/components/schemas/TransfersPostRequest'
2960
- required:
2961
- - fspId
2962
- - transfersPostRequest
2963
- simpleTransfersPostResponse:
2964
- title: SimpleTransfersPostResponse
2965
- type: object
2966
- properties:
2967
- transfer:
2968
- properties:
2969
- body:
2970
- $ref: '#/components/schemas/TransfersIDPutResponse'
2971
- headers:
2972
- type: object
2973
- required:
2974
- - body
2975
- - headers
2976
- currentState:
2977
- $ref: '#/components/schemas/async2SyncCurrentState'
2978
- required:
2979
- - transfer
2980
- - currentState
2981
- errorSimpleTransfersResponse:
2982
- allOf:
2983
- - $ref: '#/components/schemas/errorResponse'
2984
- - type: object
2985
- transferRequest:
2986
- type: object
2987
- required:
2988
- - homeTransactionId
2989
- - from
2990
- - to
2991
- - amountType
2992
- - currency
2993
- - amount
2994
- - transactionType
2995
- properties:
2996
- homeTransactionId:
2997
- type: string
2998
- description: >-
2999
- Transaction ID from the DFSP backend, used to reconcile transactions
3000
- between the Switch and DFSP backend systems.
3001
- from:
3002
- $ref: '#/components/schemas/transferParty'
3003
- to:
3004
- $ref: '#/components/schemas/transferParty'
3005
- amountType:
3006
- $ref: '#/components/schemas/AmountType'
3007
- currency:
3008
- $ref: '#/components/schemas/Currency'
3009
- amount:
3010
- $ref: '#/components/schemas/Amount'
3011
- transactionType:
3012
- $ref: '#/components/schemas/transferTransactionType'
3013
- subScenario:
3014
- $ref: '#/components/schemas/TransactionSubScenario'
3015
- note:
3016
- $ref: '#/components/schemas/Note'
3017
- quoteRequestExtensions:
3018
- $ref: '#/components/schemas/extensionListEmptiable'
3019
- transferRequestExtensions:
3020
- $ref: '#/components/schemas/extensionListEmptiable'
3021
- skipPartyLookup:
3022
- description: >-
3023
- Set to true if supplying an FSPID for the payee party and no party
3024
- resolution is needed. This may be useful is a previous party
3025
- resolution has been performed.
3026
- type: boolean
3027
- transferStatusResponse:
3028
- type: object
3029
- required:
3030
- - transferId
3031
- - currentState
3032
- - fulfil
3033
- properties:
3034
- transferId:
3035
- $ref: '#/components/schemas/CorrelationId'
3036
- currentState:
3037
- $ref: '#/components/schemas/transferStatus'
3038
- fulfil:
3039
- type: object
3040
- required:
3041
- - body
3042
- properties:
3043
- body:
3044
- $ref: '#/components/schemas/TransfersIDPutResponse'
3045
- headers:
3046
- type: object
3047
- transferContinuationAcceptConversion:
3048
- type: object
3049
- required:
3050
- - acceptConversion
3051
- properties:
3052
- acceptConversion:
3053
- type: boolean
3054
- enum:
3055
- - true
3056
- - false
3057
- ServicesFXPPutResponse:
3058
- title: ServicesFXPPutResponse
3059
- type: object
3060
- description: The object sent in the PUT /services/FXP callback.
3061
- properties:
3062
- providers:
3063
- type: array
3064
- description: >-
3065
- The FSP Id(s) of the participant(s) who offer currency conversion
3066
- services.
3067
- items:
3068
- $ref: '#/components/schemas/FspId'
3069
- minItems: 0
3070
- maxItems: 16
3071
- required:
3072
- - providers
3073
- FxQuotesPostOutboundRequest:
3074
- title: FxQuotesPostOutboundRequest
3075
- type: object
3076
- description: The object sent in the POST /fxQuotes request.
3077
- properties:
3078
- homeTransactionId:
3079
- description: >-
3080
- Transaction ID for the backend, used to reconcile transactions
3081
- between the Switch and backend systems.
3082
- type: string
3083
- conversionRequestId:
3084
- allOf:
3085
- - $ref: '#/components/schemas/CorrelationId'
3086
- - description: An end-to-end identifier for the conversion quotation request.
3087
- conversionTerms:
3088
- allOf:
3089
- - $ref: '#/components/schemas/FxConversion'
3090
- - description: >-
3091
- The terms of the currency conversion for which a quotation is
3092
- sought.
3093
- required:
3094
- - conversionRequestId
3095
- - conversionTerms
3096
- commitRequestId:
3097
- allOf:
3098
- - $ref: '#/components/schemas/CorrelationId'
3099
- - description: An end-to-end identifier for the confirmation request.
3100
- determiningTransferId:
3101
- allOf:
3102
- - $ref: '#/components/schemas/CorrelationId'
3103
- - description: >-
3104
- The transaction ID of the transfer to which this currency conversion
3105
- relates, if the conversion is part of a transfer. If the conversion
3106
- is a bulk currency purchase, this field should be omitted.
3107
- initiatingFsp:
3108
- allOf:
3109
- - $ref: '#/components/schemas/FspId'
3110
- - description: Identifier for the FSP who is requesting a currency conversion.
3111
- counterPartyFsp:
3112
- allOf:
3113
- - $ref: '#/components/schemas/FspId'
3114
- - description: Identifier for the FXP who is performing the currency conversion.
3115
- sourceAmount:
3116
- allOf:
3117
- - $ref: '#/components/schemas/Money'
3118
- - description: The amount being offered for conversion by the requesting FSP.
3119
- targetAmount:
3120
- allOf:
3121
- - $ref: '#/components/schemas/Money'
3122
- - description: >-
3123
- The amount which the FXP is to credit to the requesting FSP in the
3124
- target currency.
3125
- condition:
3126
- allOf:
3127
- - $ref: '#/components/schemas/IlpCondition'
3128
- - description: >-
3129
- ILP condition received by the requesting FSP when the quote was
3130
- approved.
3131
- FxTransfersPostOutboundRequest:
3132
- title: FxTransfersPostOutboundRequest
3133
- type: object
3134
- description: The object sent in the POST /fxTransfers request.
3135
- properties:
3136
- homeTransactionId:
3137
- description: >-
3138
- Transaction ID for the backend, used to reconcile transactions
3139
- between the Switch and backend systems.
3140
- type: string
3141
- commitRequestId:
3142
- $ref: '#/components/schemas/commitRequestId'
3143
- determiningTransferId:
3144
- $ref: '#/components/schemas/determiningTransferId'
3145
- initiatingFsp:
3146
- $ref: '#/components/schemas/initiatingFsp'
3147
- counterPartyFsp:
3148
- $ref: '#/components/schemas/counterPartyFsp'
3149
- sourceAmount:
3150
- $ref: '#/components/schemas/sourceAmount'
3151
- targetAmount:
3152
- $ref: '#/components/schemas/targetAmount'
3153
- condition:
3154
- $ref: '#/components/schemas/condition'
3155
- required:
3156
- - commitRequestId
3157
- - initiatingFsp
3158
- - counterPartyFsp
3159
- - sourceAmount
3160
- - targetAmount
3161
- fulfilment:
3162
- allOf:
3163
- - $ref: '#/components/schemas/IlpFulfilment'
3164
- - description: >-
3165
- The fulfilment of the condition specified for the currency
3166
- conversion. Mandatory if the conversion has been executed
3167
- successfully.
3168
- completedTimestamp:
3169
- allOf:
3170
- - $ref: '#/components/schemas/DateTime'
3171
- - description: Time and date when the conversion was executed.
3172
- conversionState:
3173
- allOf:
3174
- - $ref: '#/components/schemas/TransferState'
3175
- - description: The current status of the conversion request.
3176
- FxTransfersPostOutboundResponse:
3177
- title: FxTransfersPostOutboundResponse
3178
- type: object
3179
- description: The object sent as a response for the POST /fxTransfers request.
3180
- properties:
3181
- homeTransactionId:
3182
- description: >-
3183
- Transaction ID for the backend, used to reconcile transactions
3184
- between the Switch and backend systems.
3185
- type: string
3186
- fulfilment:
3187
- $ref: '#/components/schemas/fulfilment'
3188
- completedTimestamp:
3189
- $ref: '#/components/schemas/completedTimestamp'
3190
- conversionState:
3191
- $ref: '#/components/schemas/conversionState'
3192
- extensionList:
3193
- $ref: '#/components/schemas/ExtensionList'
3194
- required:
3195
- - conversionState
3196
- responses:
3197
- '400':
3198
- description: Malformed or missing required headers or parameters.
3199
- content:
3200
- application/json:
3201
- schema:
3202
- $ref: '#/components/schemas/errorResponse'
3203
- '500':
3204
- description: An error occurred processing the request.
3205
- content:
3206
- application/json:
3207
- schema:
3208
- $ref: '#/components/schemas/errorResponse'
3209
- accountsCreationCompleted:
3210
- description: Accounts creation completed
3211
- content:
3212
- application/json:
3213
- schema:
3214
- $ref: '#/components/schemas/accountsResponse'
3215
- accountsCreationError:
3216
- description: An error occurred creating accounts
3217
- content:
3218
- application/json:
3219
- schema:
3220
- $ref: '#/components/schemas/errorAccountsResponse'
3221
- accountsCreationTimeout:
3222
- description: Timeout occurred creating accounts
3223
- content:
3224
- application/json:
3225
- schema:
3226
- $ref: '#/components/schemas/errorAccountsResponse'
3227
- bulkQuoteSuccess:
3228
- description: Bulk quote completed successfully
3229
- content:
3230
- application/json:
3231
- schema:
3232
- $ref: '#/components/schemas/bulkQuoteResponse'
3233
- bulkQuoteBadRequest:
3234
- description: Malformed or missing required body, headers or parameters
3235
- content:
3236
- application/json:
3237
- schema:
3238
- $ref: '#/components/schemas/bulkQuoteErrorResponse'
3239
- bulkQuoteServerError:
3240
- description: An error occurred processing the bulk quote
3241
- content:
3242
- application/json:
3243
- schema:
3244
- $ref: '#/components/schemas/bulkQuoteErrorResponse'
3245
- bulkQuoteTimeout:
3246
- description: Timeout occurred processing the bulk quote
3247
- content:
3248
- application/json:
3249
- schema:
3250
- $ref: '#/components/schemas/bulkQuoteErrorResponse'
3251
- bulkTransactionAccepted:
3252
- description: Bulk transfer accepted successfully
3253
- bulkTransferBadRequest:
3254
- description: Malformed or missing required body, headers or parameters
3255
- content:
3256
- application/json:
3257
- schema:
3258
- $ref: '#/components/schemas/bulkTransferErrorResponse'
3259
- errorResponse:
3260
- description: Internal Server Error
3261
- content:
3262
- application/json:
3263
- schema:
3264
- $ref: '#/components/schemas/errorResponse'
3265
- bulkTransactionPutBadRequest:
3266
- description: Malformed or missing required body, headers or parameters
3267
- content:
3268
- application/json:
3269
- schema:
3270
- oneOf:
3271
- - $ref: '#/components/schemas/bulkTransactionAcceptPartyErrorResponse'
3272
- - $ref: '#/components/schemas/bulkTransactionAcceptQuoteErrorResponse'
3273
- bulkTransferSuccess:
3274
- description: Bulk transfer completed successfully
3275
- content:
3276
- application/json:
3277
- schema:
3278
- $ref: '#/components/schemas/bulkTransferResponse'
3279
- partiesByIdSuccess:
3280
- description: PartiesByIdSuccess
3281
- content:
3282
- application/json:
3283
- schema:
3284
- $ref: '#/components/schemas/partiesByIdResponse'
3285
- partiesByIdError404:
3286
- description: PartiesByIdError404
3287
- content:
3288
- application/json:
3289
- schema:
3290
- type: object
3291
- properties:
3292
- errorInformation:
3293
- $ref: '#/components/schemas/ErrorInformation'
3294
- quotesPostSuccess:
3295
- description: sync response from POST /quotes
3296
- content:
3297
- application/json:
3298
- schema:
3299
- $ref: '#/components/schemas/quotesPostResponse'
3300
- quotesServerError:
3301
- description: An error occurred processing the quotes request
3302
- content:
3303
- application/json:
3304
- schema:
3305
- $ref: '#/components/schemas/errorQuotesResponse'
3306
- requestToPaySuccess:
3307
- description: Request to Pay completed successfully
3308
- content:
3309
- application/json:
3310
- schema:
3311
- $ref: '#/components/schemas/requestToPayResponse'
3312
- transferServerError:
3313
- description: An error occurred processing the transfer
3314
- content:
3315
- application/json:
3316
- schema:
3317
- $ref: '#/components/schemas/errorTransferResponse'
3318
- transferTimeout:
3319
- description: Timeout occurred processing the transfer
3320
- content:
3321
- application/json:
3322
- schema:
3323
- $ref: '#/components/schemas/errorTransferResponse'
3324
- requestToPayTransferSuccess:
3325
- description: Transfer completed successfully
3326
- content:
3327
- application/json:
3328
- schema:
3329
- $ref: '#/components/schemas/requestToPayTransferResponse'
3330
- requestToPayTransferBadRequest:
3331
- description: Malformed or missing required body, headers or parameters
3332
- content:
3333
- application/json:
3334
- schema:
3335
- $ref: '#/components/schemas/errorTransferResponse'
3336
- transferSuccess:
3337
- description: Transfer completed successfully
3338
- content:
3339
- application/json:
3340
- schema:
3341
- $ref: '#/components/schemas/transferResponse'
3342
- simpleTransfersPostSuccess:
3343
- description: sync response from POST /simpleTransfers
3344
- content:
3345
- application/json:
3346
- schema:
3347
- $ref: '#/components/schemas/simpleTransfersPostResponse'
3348
- simpleTransfersServerError:
3349
- description: An error occurred processing the simple transfers request
3350
- content:
3351
- application/json:
3352
- schema:
3353
- $ref: '#/components/schemas/errorSimpleTransfersResponse'
3354
- transferBadRequest:
3355
- description: Malformed or missing required body, headers or parameters
3356
- content:
3357
- application/json:
3358
- schema:
3359
- $ref: '#/components/schemas/errorTransferResponse'
3360
- servicesFXPSucess:
3361
- description: >-
3362
- The response contains participants in a scheme who offer currency
3363
- conversion services. If no participants offer these services, the return
3364
- object will be blank.
3365
- content:
3366
- application/json:
3367
- schema:
3368
- $ref: '#/components/schemas/ServicesFXPPutResponse'
3369
- parameters:
3370
- bulkQuoteId:
3371
- name: bulkQuoteId
3372
- in: path
3373
- required: true
3374
- schema:
3375
- $ref: '#/components/schemas/CorrelationId'
3376
- description: >-
3377
- Identifier of the bulk transfer to continue as returned in the response
3378
- to a `POST /bulkTransfers` request.
3379
- bulkTransactionId:
3380
- name: bulkTransactionId
3381
- in: path
3382
- required: true
3383
- schema:
3384
- $ref: '#/components/schemas/CorrelationId'
3385
- description: >-
3386
- Identifier of the bulk transaction to continue as returned in the
3387
- response to a `POST /bulkTransaction` request.
3388
- bulkTransferId:
3389
- name: bulkTransferId
3390
- in: path
3391
- required: true
3392
- schema:
3393
- $ref: '#/components/schemas/CorrelationId'
3394
- description: >-
3395
- Identifier of the bulk transfer to continue as returned in the response
3396
- to a `POST /bulkTransfers` request.
3397
- Type:
3398
- name: Type
3399
- in: path
3400
- required: true
3401
- schema:
3402
- type: string
3403
- description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
3404
- ID:
3405
- name: ID
3406
- in: path
3407
- required: true
3408
- schema:
3409
- type: string
3410
- description: The identifier value.
3411
- SubId:
3412
- name: SubId
3413
- in: path
3414
- required: true
3415
- schema:
3416
- type: string
3417
- description: >-
3418
- A sub-identifier of the party identifier, or a sub-type of the party
3419
- identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`.
3420
- transactionRequestId:
3421
- name: transactionRequestId
3422
- in: path
3423
- required: true
3424
- schema:
3425
- $ref: '#/components/schemas/CorrelationId'
3426
- description: >-
3427
- Identifier of the merchant request to pay to continue as returned in the
3428
- response to a `POST /requestToPay` request.
3429
- transferId:
3430
- name: transferId
3431
- in: path
3432
- required: true
3433
- schema:
3434
- $ref: '#/components/schemas/CorrelationId'
3435
- description: >-
3436
- Identifier of the transfer to continue as returned in the response to a
3437
- `POST /transfers` request.
3438
- SourceCurrency:
3439
- name: SourceCurrency
3440
- in: path
3441
- required: true
3442
- schema:
3443
- type: string
3444
- description: ISO 4217 currency code for the source currency.
3445
- TargetCurrency:
3446
- name: TargetCurrency
3447
- in: path
3448
- required: true
3449
- schema:
3450
- type: string
3451
- description: ISO 4217 currency code for the target currency.