@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.
- package/CHANGELOG.md +7 -0
- package/README.md +0 -12
- package/audit-ci.jsonc +1 -1
- package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +205 -805
- package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +2432 -2447
- package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +3149 -3163
- package/docs/index.html +0 -4
- package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +103 -346
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +153 -478
- package/docs/thirdparty-openapi3-snippets.yaml +296 -886
- package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +1 -0
- package/fspiop/v1_1/openapi3/openapi.yaml +10 -2
- package/fspiop/v2_0/openapi3/openapi.yaml +11 -1
- package/lib/fspiop/v1_0/openapi.d.ts +1 -0
- package/lib/fspiop/v1_1/openapi.d.ts +524 -542
- package/lib/fspiop/v2_0/openapi.d.ts +685 -703
- package/lib/scripts/openapi-refactor.d.ts +29 -0
- package/lib/scripts/openapi-refactor.js +70 -0
- package/lib/scripts/openapi-refactor.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +7 -1
- package/package.json +24 -30
- package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +1 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +1 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +5 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +5 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +1 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +2 -3
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +5 -0
- package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +0 -2837
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +0 -3451
- package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +0 -26898
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +0 -1476
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +0 -7
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +0 -8814
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +0 -140
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +0 -133
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +0 -4
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +0 -38718
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +0 -1897
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +0 -7
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +0 -15536
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +0 -149
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +0 -142
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +0 -4
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +0 -1
- package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +0 -1494
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +0 -26
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +0 -25
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +0 -21
- package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +0 -1
- package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +0 -1
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +0 -7
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +0 -16
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +0 -11
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +0 -11
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +0 -12
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +0 -44
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +0 -12
- package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +0 -174
- package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +0 -11
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +0 -13
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +0 -11
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +0 -15
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +0 -16
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +0 -19
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +0 -18
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +0 -28
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +0 -17
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +0 -28
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +0 -17
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +0 -17
- package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +0 -13
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +0 -7
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +0 -7
- package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +0 -11
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +0 -17
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +0 -21
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +0 -19
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +0 -54
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +0 -7
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +0 -27
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +0 -53
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +0 -16
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +0 -20
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +0 -32
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +0 -20
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +0 -19
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +0 -28
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +0 -15
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +0 -4
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +0 -16
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +0 -23
- package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +0 -24
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +0 -26
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +0 -4
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +0 -16
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +0 -17
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +0 -13
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +0 -34
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +0 -7
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +0 -38
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +0 -35
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +0 -27
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +0 -27
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +0 -6
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +0 -28
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +0 -29
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +0 -4
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +0 -3
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +0 -3
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +0 -8
- package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +0 -11
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +0 -29
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +0 -25
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +0 -34
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +0 -14
- package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +0 -4
- package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +0 -18
- package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +0 -12
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +0 -12
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +0 -48
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +0 -32
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +0 -35
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +0 -42
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +0 -72
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +0 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +0 -17
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +0 -9
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +0 -12
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +0 -38
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +0 -41
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +0 -93
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +0 -7
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +0 -19
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +0 -66
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +0 -26
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +0 -23
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +0 -24
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +0 -21
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +0 -33
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +0 -21
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +0 -24
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +0 -26
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +0 -25
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +0 -18
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +0 -19
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +0 -18
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +0 -22
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +0 -57
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +0 -34
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +0 -29
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +0 -15
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +0 -18
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +0 -18
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +0 -55
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +0 -59
- package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +0 -12
@@ -1,18 +0,0 @@
|
|
1
|
-
parameters:
|
2
|
-
- $ref: ../../components/parameters/Type.yaml
|
3
|
-
- $ref: ../../components/parameters/ID.yaml
|
4
|
-
get:
|
5
|
-
description: >-
|
6
|
-
The HTTP request GET /parties// (or GET /parties///) is used to lookup
|
7
|
-
information regarding the requested Party, defined by , and optionally (for
|
8
|
-
example, GET /parties/MSISDN/123456789, or GET
|
9
|
-
/parties/BUSINESS/shoecompany/employee1).
|
10
|
-
summary: PartiesByTypeAndID
|
11
|
-
tags:
|
12
|
-
- parties
|
13
|
-
operationId: PartiesByTypeAndID
|
14
|
-
responses:
|
15
|
-
'200':
|
16
|
-
$ref: ../../components/responses/partiesByIdSuccess.yaml
|
17
|
-
'404':
|
18
|
-
$ref: ../../components/responses/partiesByIdError404.yaml
|
@@ -1,19 +0,0 @@
|
|
1
|
-
parameters:
|
2
|
-
- $ref: ../../components/parameters/Type.yaml
|
3
|
-
- $ref: ../../components/parameters/ID.yaml
|
4
|
-
- $ref: ../../components/parameters/SubId.yaml
|
5
|
-
get:
|
6
|
-
description: >-
|
7
|
-
The HTTP request GET /parties// (or GET /parties///) is used to lookup
|
8
|
-
information regarding the requested Party, defined by , and optionally (for
|
9
|
-
example, GET /parties/MSISDN/123456789, or GET
|
10
|
-
/parties/BUSINESS/shoecompany/employee1).
|
11
|
-
summary: PartiesSubIdByTypeAndID
|
12
|
-
tags:
|
13
|
-
- parties
|
14
|
-
operationId: PartiesSubIdByTypeAndID
|
15
|
-
responses:
|
16
|
-
'200':
|
17
|
-
$ref: ../../components/responses/partiesByIdSuccess.yaml
|
18
|
-
'404':
|
19
|
-
$ref: ../../components/responses/partiesByIdError404.yaml
|
@@ -1,18 +0,0 @@
|
|
1
|
-
post:
|
2
|
-
summary: Quotes endpoint
|
3
|
-
description: is used to request quotes from other DFSP
|
4
|
-
tags:
|
5
|
-
- quotes
|
6
|
-
operationId: QuotesPost
|
7
|
-
requestBody:
|
8
|
-
description: Quotes request payload
|
9
|
-
content:
|
10
|
-
application/json:
|
11
|
-
schema:
|
12
|
-
$ref: ../../components/schemas/simpleQuotesPostRequest.yaml
|
13
|
-
required: true
|
14
|
-
responses:
|
15
|
-
'200':
|
16
|
-
$ref: ../../components/responses/quotesPostSuccess.yaml
|
17
|
-
'500':
|
18
|
-
$ref: ../../components/responses/quotesServerError.yaml
|
@@ -1,22 +0,0 @@
|
|
1
|
-
post:
|
2
|
-
summary: Receiver requesting funds from Sender
|
3
|
-
description: >
|
4
|
-
The HTTP request `POST /requestToPay` is used to support Pull Funds pattern
|
5
|
-
where in a receiver can request for funds from the Sender.
|
6
|
-
|
7
|
-
The underlying API has two stages:
|
8
|
-
|
9
|
-
1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
|
10
|
-
2. Transaction Request. This request enables a Payee to request Payer to send electronic funds to the Payee.
|
11
|
-
tags:
|
12
|
-
- RequestToPay
|
13
|
-
requestBody:
|
14
|
-
description: RequestToPay request body
|
15
|
-
content:
|
16
|
-
application/json:
|
17
|
-
schema:
|
18
|
-
$ref: ../../components/schemas/requestToPayRequest.yaml
|
19
|
-
required: true
|
20
|
-
responses:
|
21
|
-
'200':
|
22
|
-
$ref: ../../components/responses/requestToPaySuccess.yaml
|
@@ -1,57 +0,0 @@
|
|
1
|
-
post:
|
2
|
-
summary: >-
|
3
|
-
Used to trigger funds from customer fsp account to merchant fsp account.
|
4
|
-
This is a follow-up request to requestToPay.
|
5
|
-
description: >
|
6
|
-
The HTTP request `POST /requestToPayTransfer` is used to request the
|
7
|
-
movement of funds from payer DFSP to payee DFSP.
|
8
|
-
|
9
|
-
The underlying Mojaloop API has three stages for money transfer:
|
10
|
-
|
11
|
-
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.
|
12
|
-
2. Authorization. This facilitates getting OTP from payee DFSP.
|
13
|
-
3. Transfer. The enactment of the previously agreed "contract"
|
14
|
-
|
15
|
-
This method has several modes of operation.
|
16
|
-
|
17
|
-
- If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"`
|
18
|
-
this method will terminate and return the quotation when it has been
|
19
|
-
received from the payee DFSP.
|
20
|
-
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.
|
21
|
-
The scheme adapter will then proceed with the transfer state.
|
22
|
-
|
23
|
-
- If the configuration variable `AUTO_ACCEPT_OTP` is set to `"false"` this
|
24
|
-
method will terminate and return the otp when it has been received from the
|
25
|
-
payee DFSP.
|
26
|
-
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.
|
27
|
-
The scheme adapter will then proceed with the transfer state.
|
28
|
-
|
29
|
-
If the configuration variables `AUTO_ACCEPT_PARTIES` and
|
30
|
-
`AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block until
|
31
|
-
all three transfer stages are complete. Upon completion it will return the
|
32
|
-
entire set of transfer details received during the operation.
|
33
|
-
|
34
|
-
|
35
|
-
Combinations of settings for `AUTO_ACCEPT...` configuration variables allow
|
36
|
-
the scheme adapter user to decide which mode of operation best suits their
|
37
|
-
use cases. i.e. the scheme adapter can be configured to "break" the three
|
38
|
-
stage transfer at these points in order to execute backend logic such as
|
39
|
-
party verification, quoted fees assessments etc...
|
40
|
-
tags:
|
41
|
-
- RequestToPayTransfer
|
42
|
-
requestBody:
|
43
|
-
description: Request To Pay Transfer request body
|
44
|
-
content:
|
45
|
-
application/json:
|
46
|
-
schema:
|
47
|
-
$ref: ../../components/schemas/requestToPayTransferRequest.yaml
|
48
|
-
required: true
|
49
|
-
responses:
|
50
|
-
'200':
|
51
|
-
$ref: ../../components/responses/requestToPayTransferSuccess.yaml
|
52
|
-
'400':
|
53
|
-
$ref: ../../components/responses/requestToPayTransferBadRequest.yaml
|
54
|
-
'500':
|
55
|
-
$ref: ../../components/responses/transferServerError.yaml
|
56
|
-
'504':
|
57
|
-
$ref: ../../components/responses/transferTimeout.yaml
|
package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
put:
|
2
|
-
summary: >-
|
3
|
-
Continues a transfer that has paused at the otp stage in order to accept or
|
4
|
-
reject quote
|
5
|
-
description: >
|
6
|
-
This request is used to continue a
|
7
|
-
requestToPayTransfer initiated via the `POST /requestToPayTransfer` method that has halted after
|
8
|
-
quotation stage and/or otp stage.
|
9
|
-
|
10
|
-
|
11
|
-
The request body should contain either the "acceptOTP" or "acceptQuote"
|
12
|
-
property set to `true` as required to continue the transfer.
|
13
|
-
|
14
|
-
|
15
|
-
See the description of the `POST /requestToPayTransfer` HTTP method for more
|
16
|
-
information on modes of transfer.
|
17
|
-
tags:
|
18
|
-
- RequestToPayTransferID
|
19
|
-
requestBody:
|
20
|
-
content:
|
21
|
-
application/json:
|
22
|
-
schema:
|
23
|
-
oneOf:
|
24
|
-
- $ref: ../../components/schemas/transferContinuationAcceptQuote.yaml
|
25
|
-
- $ref: ../../components/schemas/transferContinuationAcceptOTP.yaml
|
26
|
-
parameters:
|
27
|
-
- $ref: ../../components/parameters/transactionRequestId.yaml
|
28
|
-
responses:
|
29
|
-
'200':
|
30
|
-
$ref: ../../components/responses/transferSuccess.yaml
|
31
|
-
'500':
|
32
|
-
$ref: ../../components/responses/transferServerError.yaml
|
33
|
-
'504':
|
34
|
-
$ref: ../../components/responses/transferTimeout.yaml
|
@@ -1,29 +0,0 @@
|
|
1
|
-
put:
|
2
|
-
summary: >-
|
3
|
-
Continues a request funds from sender that has paused at the party resolution stage in order to accept or
|
4
|
-
reject party information
|
5
|
-
description: >
|
6
|
-
The HTTP request `PUT /requestToPay/{transactionRequestId}` is used to continue a
|
7
|
-
transfer initiated via the `POST /requestToPay` method that has halted after
|
8
|
-
party lookup stage.
|
9
|
-
|
10
|
-
The request body should contain the "acceptParty" property set to `true` as required to continue the transfer.
|
11
|
-
|
12
|
-
See the description of the `POST /requestToPay` HTTP method for more
|
13
|
-
information on modes of transfer.
|
14
|
-
tags:
|
15
|
-
- RequestToPay
|
16
|
-
requestBody:
|
17
|
-
content:
|
18
|
-
application/json:
|
19
|
-
schema:
|
20
|
-
$ref: ../../components/schemas/transferContinuationAcceptParty.yaml
|
21
|
-
parameters:
|
22
|
-
- $ref: ../../components/parameters/transactionRequestId.yaml
|
23
|
-
responses:
|
24
|
-
'200':
|
25
|
-
$ref: ../../components/responses/requestToPaySuccess.yaml
|
26
|
-
'500':
|
27
|
-
$ref: ../../components/responses/transferServerError.yaml
|
28
|
-
'504':
|
29
|
-
$ref: ../../components/responses/transferTimeout.yaml
|
@@ -1,15 +0,0 @@
|
|
1
|
-
get:
|
2
|
-
description: >-
|
3
|
-
The HTTP request `GET /services/FXP` is used to request information about the participants in a scheme who offer currency conversion services.
|
4
|
-
summary: Obtain a list of the DFSPs in the scheme who provide FXP service
|
5
|
-
tags:
|
6
|
-
- servicesFXP
|
7
|
-
operationId: ServicesFXPGet
|
8
|
-
responses:
|
9
|
-
'200':
|
10
|
-
$ref: ../../components/responses/servicesFXPSucess.yaml
|
11
|
-
'400':
|
12
|
-
$ref: ../../components/responses/400.yaml
|
13
|
-
'500':
|
14
|
-
$ref: ../../components/responses/500.yaml
|
15
|
-
|
package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
get:
|
2
|
-
description: >-
|
3
|
-
The HTTP request `GET /services/FXP/{SourceCurrency}/{TargetCurrency}` is used to request information about the participants in a scheme who offer currency conversion services in a particular currency corridor.
|
4
|
-
The required corridor is specified by giving the ISO 4217 currency code for the SourceCurrency and the TargetCurrency.
|
5
|
-
summary: Obtain a list of the DFSPs in the scheme who provide FXP service
|
6
|
-
tags:
|
7
|
-
- servicesFXP
|
8
|
-
operationId: ServicesFXPSourceCurrencyTargetCurrencyGet
|
9
|
-
parameters:
|
10
|
-
- $ref: ../../../../fspiop/v2_0/openapi3/components/parameters/SourceCurrency.yaml
|
11
|
-
- $ref: ../../../../fspiop/v2_0/openapi3/components/parameters/TargetCurrency.yaml
|
12
|
-
responses:
|
13
|
-
'200':
|
14
|
-
$ref: ../../components/responses/servicesFXPSucess.yaml
|
15
|
-
'400':
|
16
|
-
$ref: ../../components/responses/400.yaml
|
17
|
-
'500':
|
18
|
-
$ref: ../../components/responses/500.yaml
|
@@ -1,18 +0,0 @@
|
|
1
|
-
post:
|
2
|
-
summary: Simple Transfers endpoint
|
3
|
-
description: is used to request a transfer
|
4
|
-
tags:
|
5
|
-
- transfers
|
6
|
-
operationId: SimpleTransfersPost
|
7
|
-
requestBody:
|
8
|
-
description: Simple Transfer request payload
|
9
|
-
content:
|
10
|
-
application/json:
|
11
|
-
schema:
|
12
|
-
$ref: ../../components/schemas/simpleTransfersPostRequest.yaml
|
13
|
-
required: true
|
14
|
-
responses:
|
15
|
-
'200':
|
16
|
-
$ref: ../../components/responses/simpleTransfersPostSuccess.yaml
|
17
|
-
'500':
|
18
|
-
$ref: ../../components/responses/simpleTransfersServerError.yaml
|
@@ -1,55 +0,0 @@
|
|
1
|
-
post:
|
2
|
-
summary: Sends money from one account to another
|
3
|
-
description: >
|
4
|
-
The HTTP request `POST /transfers` is used to request the movement of funds
|
5
|
-
from payer DFSP to payee DFSP.
|
6
|
-
|
7
|
-
The underlying Mojaloop API has three stages for money transfer:
|
8
|
-
|
9
|
-
1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
|
10
|
-
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.
|
11
|
-
3. Transfer. The enactment of the previously agreed "contract"
|
12
|
-
|
13
|
-
This method has several modes of operation.
|
14
|
-
|
15
|
-
- If the configuration variables `AUTO_ACCEPT_PARTIES` is set to `"false"`
|
16
|
-
this method will terminate when the payee party has been resolved and return
|
17
|
-
the payee party details.
|
18
|
-
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.
|
19
|
-
The scheme adapter will then proceed with quotation stage...
|
20
|
-
|
21
|
-
- If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"`
|
22
|
-
this method will terminate and return the quotation when it has been
|
23
|
-
received from the payee DFSP.
|
24
|
-
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.
|
25
|
-
The scheme adapter will then proceed with the transfer state.
|
26
|
-
|
27
|
-
If the configuration variables `AUTO_ACCEPT_PARTIES` and
|
28
|
-
`AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block until
|
29
|
-
all three transfer stages are complete. Upon completion it will return the
|
30
|
-
entire set of transfer details received during the operation.
|
31
|
-
|
32
|
-
|
33
|
-
Combinations of settings for `AUTO_ACCEPT...` configuration variables allow
|
34
|
-
the scheme adapter user to decide which mode of operation best suits their
|
35
|
-
use cases. i.e. the scheme adapter can be configured to "break" the three
|
36
|
-
stage transfer at these points in order to execute backend logic such as
|
37
|
-
party verification, quoted fees assessments etc...
|
38
|
-
tags:
|
39
|
-
- Transfers
|
40
|
-
requestBody:
|
41
|
-
description: Transfer request body
|
42
|
-
content:
|
43
|
-
application/json:
|
44
|
-
schema:
|
45
|
-
$ref: ../../components/schemas/transferRequest.yaml
|
46
|
-
required: true
|
47
|
-
responses:
|
48
|
-
'200':
|
49
|
-
$ref: ../../components/responses/transferSuccess.yaml
|
50
|
-
'400':
|
51
|
-
$ref: ../../components/responses/transferBadRequest.yaml
|
52
|
-
'500':
|
53
|
-
$ref: ../../components/responses/transferServerError.yaml
|
54
|
-
'504':
|
55
|
-
$ref: ../../components/responses/transferTimeout.yaml
|
@@ -1,59 +0,0 @@
|
|
1
|
-
put:
|
2
|
-
summary: >-
|
3
|
-
Continues a transfer that has paused at the quote stage in order to accept
|
4
|
-
or reject payee party and/or quote and/or conversion
|
5
|
-
description: >
|
6
|
-
The HTTP request `PUT /transfers/{transferId}` is used to continue a
|
7
|
-
transfer initiated via the `POST /transfers` method that has halted after
|
8
|
-
party lookup and/or quotation stage and/or currency conversion stage.
|
9
|
-
|
10
|
-
|
11
|
-
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion"
|
12
|
-
property set to `true` as required to continue the transfer.
|
13
|
-
|
14
|
-
|
15
|
-
See the description of the `POST /transfers` HTTP method for more
|
16
|
-
information on modes of transfer.
|
17
|
-
tags:
|
18
|
-
- Transfers
|
19
|
-
requestBody:
|
20
|
-
content:
|
21
|
-
application/json:
|
22
|
-
schema:
|
23
|
-
oneOf:
|
24
|
-
- $ref: ../../components/schemas/transferContinuationAcceptParty.yaml
|
25
|
-
- $ref: ../../components/schemas/transferContinuationAcceptQuote.yaml
|
26
|
-
- $ref: ../../components/schemas/transferContinuationAcceptConversion.yaml
|
27
|
-
parameters:
|
28
|
-
- $ref: ../../components/parameters/transferId.yaml
|
29
|
-
responses:
|
30
|
-
'200':
|
31
|
-
$ref: ../../components/responses/transferSuccess.yaml
|
32
|
-
'500':
|
33
|
-
$ref: ../../components/responses/transferServerError.yaml
|
34
|
-
'504':
|
35
|
-
$ref: ../../components/responses/transferTimeout.yaml
|
36
|
-
get:
|
37
|
-
summary: Retrieves information for a specific transfer
|
38
|
-
description: >-
|
39
|
-
The HTTP request `GET /transfers/{transferId}` is used to get information
|
40
|
-
regarding a transfer created or requested earlier. The `{transferId}` in the
|
41
|
-
URI should contain the `transferId` that was used for the creation of the
|
42
|
-
transfer.
|
43
|
-
tags:
|
44
|
-
- Transfers
|
45
|
-
parameters:
|
46
|
-
- $ref: ../../components/parameters/transferId.yaml
|
47
|
-
responses:
|
48
|
-
'200':
|
49
|
-
description: Transfer information successfully retrieved
|
50
|
-
content:
|
51
|
-
application/json:
|
52
|
-
schema:
|
53
|
-
$ref: ../../components/schemas/transferStatusResponse.yaml
|
54
|
-
'500':
|
55
|
-
description: An error occurred processing the transfer
|
56
|
-
content:
|
57
|
-
application/json:
|
58
|
-
schema:
|
59
|
-
$ref: ../../components/schemas/errorResponse.yaml
|
@@ -1,12 +0,0 @@
|
|
1
|
-
get:
|
2
|
-
summary: Health check endpoint
|
3
|
-
description: >-
|
4
|
-
This endpoint allows a user of the SDK scheme adapter to check the outbound
|
5
|
-
transfers service is listening.
|
6
|
-
tags:
|
7
|
-
- Health
|
8
|
-
responses:
|
9
|
-
'200':
|
10
|
-
description: >-
|
11
|
-
Returns empty body if the scheme adapter outbound transfers service is
|
12
|
-
running.
|