@mojaloop/api-snippets 17.2.5 → 17.3.0-snapshot.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/README.md +12 -0
- package/audit-ci.jsonc +1 -0
- package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +0 -1
- package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +4855 -0
- package/docs/index.html +5 -0
- package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +3 -2
- package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2837 -0
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +3 -20
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3451 -0
- package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
- package/fspiop/v2_0/openapi3/components/headers/Content-Length.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/headers/Content-Type.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/Accept.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/Content-Length.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/parameters/Content-Type.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/Date.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Destination.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Encryption.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Signature.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Source.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-URI.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/parameters/ID.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/SourceCurrency.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/SubId.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/TargetCurrency.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/Type.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/X-Forwarded-For.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/responses/200.yaml +1 -0
- package/fspiop/v2_0/openapi3/components/responses/202.yaml +1 -0
- package/fspiop/v2_0/openapi3/components/responses/400.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/401.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/403.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/404.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/405.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/406.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/501.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/503.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/Amount.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/AmountType.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthenticationInfo.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthenticationType.yaml +12 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthenticationValue.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthorizationResponse.yaml +12 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthorizationsIDPutResponse.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/BalanceOfPayments.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/BinaryString.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/BinaryString32.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesIDPutResponse.yaml +18 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +25 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkTransferState.yaml +18 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersIDPutResponse.yaml +18 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersPostRequest.yaml +30 -0
- package/fspiop/v2_0/openapi3/components/schemas/Code.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/CorrelationId.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/Currency.yaml +174 -0
- package/fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/Date.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/DateOfBirth.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/DateTime.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorCode.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorDescription.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorInformation.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationResponse.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/Extension.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/ExtensionKey.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/ExtensionList.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/ExtensionValue.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/FirstName.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/FspId.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxCharge.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxConversion.yaml +57 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxMoney.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxQuotesIDPutResponse.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxQuotesPostRequest.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxRate.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPatchResponse.yaml +16 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml +20 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxTransfersPostRequest.yaml +41 -0
- package/fspiop/v2_0/openapi3/components/schemas/GeoCode.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/IlpCondition.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/IlpFulfilment.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/IlpPacket.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualQuote.yaml +29 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualQuoteResult.yaml +26 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualTransfer.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualTransferResult.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/Integer.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml +33 -0
- package/fspiop/v2_0/openapi3/components/schemas/LastName.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/Latitude.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/Longitude.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/MerchantClassificationCode.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/MiddleName.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/Money.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/Name.yaml +17 -0
- package/fspiop/v2_0/openapi3/components/schemas/Note.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/OtpValue.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsIDPutResponse.yaml +17 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsPostRequest.yaml +20 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDPutResponse.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDSubIDPostRequest.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/Party.yaml +21 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyComplexName.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyIdInfo.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyIdType.yaml +54 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyIdentifier.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyName.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyResult.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartySubIdOrType.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/PersonalIdentifierType.yaml +51 -0
- package/fspiop/v2_0/openapi3/components/schemas/QRCODE.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +27 -0
- package/fspiop/v2_0/openapi3/components/schemas/QuotesPostRequest.yaml +53 -0
- package/fspiop/v2_0/openapi3/components/schemas/Refund.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/RefundReason.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPPutResponse.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPSourceCurrencyTargetCurrencyPutResponse.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/TokenCode.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/Transaction.yaml +50 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiator.yaml +16 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiatorType.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestState.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsIDPutResponse.yaml +12 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsPostRequest.yaml +30 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionScenario.yaml +32 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionState.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionSubScenario.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionType.yaml +20 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionsIDPutResponse.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransferState.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPatchResponse.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPutResponse.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransfersPostRequest.yaml +28 -0
- package/fspiop/v2_0/openapi3/components/schemas/U2FPIN.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/U2FPinValue.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/UndefinedEnum.yaml +6 -0
- package/fspiop/v2_0/openapi3/openapi.yaml +126 -0
- package/fspiop/v2_0/openapi3/paths/authorizations_ID.yaml +110 -0
- package/fspiop/v2_0/openapi3/paths/authorizations_ID_error.yaml +48 -0
- package/fspiop/v2_0/openapi3/paths/bulkQuotes.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID.yaml +79 -0
- package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/bulkTransfers.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID.yaml +81 -0
- package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/fxQuotes.yaml +45 -0
- package/fspiop/v2_0/openapi3/paths/fxQuotes_ID.yaml +79 -0
- package/fspiop/v2_0/openapi3/paths/fxQuotes_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/fxTransfers.yaml +45 -0
- package/fspiop/v2_0/openapi3/paths/fxTransfers_ID.yaml +118 -0
- package/fspiop/v2_0/openapi3/paths/fxTransfers_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/participants.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/participants_ID.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/participants_ID_error.yaml +48 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID.yaml +167 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId.yaml +168 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId_error.yaml +50 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID.yaml +81 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId.yaml +82 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId_error.yaml +50 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/quotes.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/quotes_ID.yaml +79 -0
- package/fspiop/v2_0/openapi3/paths/quotes_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/services_FXP.yaml +73 -0
- package/fspiop/v2_0/openapi3/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +77 -0
- package/fspiop/v2_0/openapi3/paths/transactionRequests.yaml +47 -0
- package/fspiop/v2_0/openapi3/paths/transactionRequests_ID.yaml +81 -0
- package/fspiop/v2_0/openapi3/paths/transactionRequests_ID_error.yaml +50 -0
- package/fspiop/v2_0/openapi3/paths/transactions_ID.yaml +80 -0
- package/fspiop/v2_0/openapi3/paths/transactions_ID_error.yaml +48 -0
- package/fspiop/v2_0/openapi3/paths/transfers.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/transfers_ID.yaml +119 -0
- package/fspiop/v2_0/openapi3/paths/transfers_ID_error.yaml +49 -0
- package/lib/fspiop/v1_0/openapi.d.ts +0 -1
- package/lib/fspiop/v2_0/openapi.d.ts +3982 -0
- package/lib/fspiop/v2_0/openapi.js +7 -0
- package/lib/fspiop/v2_0/openapi.js.map +1 -0
- package/lib/scripts/json-schema-generator.js +4 -5
- package/lib/scripts/json-schema-generator.js.map +1 -1
- 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 +1 -7
- package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
- package/package.json +42 -28
- package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
- package/tsconfig.build.json +1 -1
@@ -0,0 +1,72 @@
|
|
1
|
+
type: object
|
2
|
+
required:
|
3
|
+
- transactionRequestId
|
4
|
+
- from
|
5
|
+
- to
|
6
|
+
- amountType
|
7
|
+
- currency
|
8
|
+
- amount
|
9
|
+
- transactionType
|
10
|
+
properties:
|
11
|
+
transferId:
|
12
|
+
$ref: ./CorrelationId.yaml
|
13
|
+
homeR2PTransactionId:
|
14
|
+
type: string
|
15
|
+
description: >-
|
16
|
+
Transaction ID from the DFSP backend, used to reconcile transactions
|
17
|
+
between the Switch and DFSP backend systems.
|
18
|
+
transactionRequestId:
|
19
|
+
$ref: ./CorrelationId.yaml
|
20
|
+
from:
|
21
|
+
$ref: ./transferParty.yaml
|
22
|
+
to:
|
23
|
+
$ref: ./transferParty.yaml
|
24
|
+
amountType:
|
25
|
+
$ref: ./AmountType.yaml
|
26
|
+
currency:
|
27
|
+
$ref: ./Currency.yaml
|
28
|
+
amount:
|
29
|
+
$ref: ./Amount.yaml
|
30
|
+
transactionType:
|
31
|
+
$ref: ./transferTransactionType.yaml
|
32
|
+
note:
|
33
|
+
$ref: ./Note.yaml
|
34
|
+
currentState:
|
35
|
+
$ref: ./transferStatus.yaml
|
36
|
+
quoteId:
|
37
|
+
$ref: ./CorrelationId.yaml
|
38
|
+
quoteResponse:
|
39
|
+
type: object
|
40
|
+
required:
|
41
|
+
- body
|
42
|
+
properties:
|
43
|
+
body:
|
44
|
+
$ref: ./QuotesIDPutResponse.yaml
|
45
|
+
headers:
|
46
|
+
type: object
|
47
|
+
quoteResponseSource:
|
48
|
+
type: string
|
49
|
+
description: >
|
50
|
+
FSPID of the entity that supplied the quote response. This may not be the
|
51
|
+
same as the FSPID of the entity which owns the end user account in the
|
52
|
+
case of a FOREX transfer. i.e. it may be a FOREX gateway.
|
53
|
+
authorizationResponse:
|
54
|
+
type: object
|
55
|
+
required:
|
56
|
+
- body
|
57
|
+
properties:
|
58
|
+
body:
|
59
|
+
$ref: ./AuthorizationIDPutResponse.yaml
|
60
|
+
headers:
|
61
|
+
type: object
|
62
|
+
fulfil:
|
63
|
+
type: object
|
64
|
+
required:
|
65
|
+
- body
|
66
|
+
properties:
|
67
|
+
body:
|
68
|
+
$ref: ./TransfersIDPutResponse.yaml
|
69
|
+
headers:
|
70
|
+
type: object
|
71
|
+
lastError:
|
72
|
+
$ref: ./transferError.yaml
|
@@ -0,0 +1,17 @@
|
|
1
|
+
title: SimpleTransfersPostResponse
|
2
|
+
type: object
|
3
|
+
properties:
|
4
|
+
transfer:
|
5
|
+
properties:
|
6
|
+
body:
|
7
|
+
$ref: ./TransfersIDPutResponse.yaml
|
8
|
+
headers:
|
9
|
+
type: object
|
10
|
+
required:
|
11
|
+
- body
|
12
|
+
- headers
|
13
|
+
currentState:
|
14
|
+
$ref: ./async2SyncCurrentState.yaml
|
15
|
+
required:
|
16
|
+
- transfer
|
17
|
+
- currentState
|
@@ -0,0 +1,12 @@
|
|
1
|
+
type: object
|
2
|
+
description: >-
|
3
|
+
This object represents a Mojaloop API error received at any time during the
|
4
|
+
transfer process
|
5
|
+
properties:
|
6
|
+
httpStatusCode:
|
7
|
+
type: integer
|
8
|
+
description: >-
|
9
|
+
The HTTP status code returned to the caller. This is the same as the
|
10
|
+
actual HTTP status code returned with the response.
|
11
|
+
mojaloopError:
|
12
|
+
$ref: ./mojaloopError.yaml
|
@@ -0,0 +1,38 @@
|
|
1
|
+
type: object
|
2
|
+
required:
|
3
|
+
- idType
|
4
|
+
- idValue
|
5
|
+
properties:
|
6
|
+
type:
|
7
|
+
$ref: ./TransactionInitiatorType.yaml
|
8
|
+
idType:
|
9
|
+
$ref: ./PartyIdType.yaml
|
10
|
+
idValue:
|
11
|
+
$ref: ./PartyIdentifier.yaml
|
12
|
+
idSubValue:
|
13
|
+
$ref: ./PartySubIdOrType.yaml
|
14
|
+
displayName:
|
15
|
+
$ref: ./Name.yaml
|
16
|
+
firstName:
|
17
|
+
$ref: ./FirstName.yaml
|
18
|
+
middleName:
|
19
|
+
$ref: ./MiddleName.yaml
|
20
|
+
lastName:
|
21
|
+
$ref: ./LastName.yaml
|
22
|
+
dateOfBirth:
|
23
|
+
$ref: ./DateOfBirth.yaml
|
24
|
+
merchantClassificationCode:
|
25
|
+
$ref: ./MerchantClassificationCode.yaml
|
26
|
+
fspId:
|
27
|
+
$ref: ./FspId.yaml
|
28
|
+
supportedCurrencies:
|
29
|
+
type: array
|
30
|
+
description: Currencies in which the party can receive funds.
|
31
|
+
items:
|
32
|
+
$ref: ./Currency.yaml
|
33
|
+
minItems: 0
|
34
|
+
maxItems: 16
|
35
|
+
kycInformation:
|
36
|
+
$ref: "../../../../fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml#/properties/kycInformation"
|
37
|
+
extensionList:
|
38
|
+
$ref: ./extensionListEmptiable.yaml
|
@@ -0,0 +1,41 @@
|
|
1
|
+
type: object
|
2
|
+
required:
|
3
|
+
- homeTransactionId
|
4
|
+
- from
|
5
|
+
- to
|
6
|
+
- amountType
|
7
|
+
- currency
|
8
|
+
- amount
|
9
|
+
- transactionType
|
10
|
+
properties:
|
11
|
+
homeTransactionId:
|
12
|
+
type: string
|
13
|
+
description: >-
|
14
|
+
Transaction ID from the DFSP backend, used to reconcile transactions
|
15
|
+
between the Switch and DFSP backend systems.
|
16
|
+
from:
|
17
|
+
$ref: ./transferParty.yaml
|
18
|
+
to:
|
19
|
+
$ref: ./transferParty.yaml
|
20
|
+
amountType:
|
21
|
+
$ref: ./AmountType.yaml
|
22
|
+
currency:
|
23
|
+
$ref: ./Currency.yaml
|
24
|
+
amount:
|
25
|
+
$ref: ./Amount.yaml
|
26
|
+
transactionType:
|
27
|
+
$ref: ./transferTransactionType.yaml
|
28
|
+
subScenario:
|
29
|
+
$ref: ./TransactionSubScenario.yaml
|
30
|
+
note:
|
31
|
+
$ref: ./Note.yaml
|
32
|
+
quoteRequestExtensions:
|
33
|
+
$ref: ./extensionListEmptiable.yaml
|
34
|
+
transferRequestExtensions:
|
35
|
+
$ref: ./extensionListEmptiable.yaml
|
36
|
+
skipPartyLookup:
|
37
|
+
description: >-
|
38
|
+
Set to true if supplying an FSPID for the payee party and no party
|
39
|
+
resolution is needed. This may be useful is a previous party resolution
|
40
|
+
has been performed.
|
41
|
+
type: boolean
|
@@ -0,0 +1,93 @@
|
|
1
|
+
type: object
|
2
|
+
required:
|
3
|
+
- homeTransactionId
|
4
|
+
- from
|
5
|
+
- to
|
6
|
+
- amountType
|
7
|
+
- currency
|
8
|
+
- amount
|
9
|
+
- transactionType
|
10
|
+
properties:
|
11
|
+
transferId:
|
12
|
+
$ref: ./CorrelationId.yaml
|
13
|
+
homeTransactionId:
|
14
|
+
type: string
|
15
|
+
description: >-
|
16
|
+
Transaction ID from the DFSP backend, used to reconcile transactions
|
17
|
+
between the Switch and DFSP backend systems.
|
18
|
+
from:
|
19
|
+
$ref: ./transferParty.yaml
|
20
|
+
to:
|
21
|
+
$ref: ./transferParty.yaml
|
22
|
+
amountType:
|
23
|
+
$ref: ./AmountType.yaml
|
24
|
+
currency:
|
25
|
+
$ref: ./Currency.yaml
|
26
|
+
amount:
|
27
|
+
$ref: ./Amount.yaml
|
28
|
+
transactionType:
|
29
|
+
$ref: ./transferTransactionType.yaml
|
30
|
+
subScenario:
|
31
|
+
$ref: ./TransactionSubScenario.yaml
|
32
|
+
note:
|
33
|
+
$ref: ./Note.yaml
|
34
|
+
currentState:
|
35
|
+
$ref: ./transferStatus.yaml
|
36
|
+
quoteId:
|
37
|
+
$ref: ./CorrelationId.yaml
|
38
|
+
getPartiesResponse:
|
39
|
+
type: object
|
40
|
+
required:
|
41
|
+
- body
|
42
|
+
properties:
|
43
|
+
body:
|
44
|
+
type: object
|
45
|
+
headers:
|
46
|
+
type: object
|
47
|
+
quoteResponse:
|
48
|
+
type: object
|
49
|
+
required:
|
50
|
+
- body
|
51
|
+
properties:
|
52
|
+
body:
|
53
|
+
$ref: ./QuotesIDPutResponse.yaml
|
54
|
+
headers:
|
55
|
+
type: object
|
56
|
+
quoteResponseSource:
|
57
|
+
type: string
|
58
|
+
description: >
|
59
|
+
FSPID of the entity that supplied the quote response. This may not be the
|
60
|
+
same as the FSPID of the entity which owns the end user account in the
|
61
|
+
case of a FOREX transfer. i.e. it may be a FOREX gateway.
|
62
|
+
conversionRequestId:
|
63
|
+
$ref: ./CorrelationId.yaml
|
64
|
+
fxQuotesResponse:
|
65
|
+
type: object
|
66
|
+
required:
|
67
|
+
- body
|
68
|
+
properties:
|
69
|
+
body:
|
70
|
+
$ref: ./FxQuotesPostOutboundResponse.yaml
|
71
|
+
headers:
|
72
|
+
type: object
|
73
|
+
fxQuotesResponseSource:
|
74
|
+
type: string
|
75
|
+
description: >
|
76
|
+
FXPID of the entity that supplied the fxQuotes response.
|
77
|
+
fulfil:
|
78
|
+
type: object
|
79
|
+
required:
|
80
|
+
- body
|
81
|
+
properties:
|
82
|
+
body:
|
83
|
+
$ref: ./TransfersIDPutResponse.yaml
|
84
|
+
headers:
|
85
|
+
type: object
|
86
|
+
lastError:
|
87
|
+
$ref: ./transferError.yaml
|
88
|
+
skipPartyLookup:
|
89
|
+
description: >-
|
90
|
+
Set to true if supplying an FSPID for the payee party and no party
|
91
|
+
resolution is needed. This may be useful is a previous party resolution
|
92
|
+
has been performed.
|
93
|
+
type: boolean
|
@@ -0,0 +1,19 @@
|
|
1
|
+
type: object
|
2
|
+
required:
|
3
|
+
- transferId
|
4
|
+
- currentState
|
5
|
+
- fulfil
|
6
|
+
properties:
|
7
|
+
transferId:
|
8
|
+
$ref: ./CorrelationId.yaml
|
9
|
+
currentState:
|
10
|
+
$ref: ./transferStatus.yaml
|
11
|
+
fulfil:
|
12
|
+
type: object
|
13
|
+
required:
|
14
|
+
- body
|
15
|
+
properties:
|
16
|
+
body:
|
17
|
+
$ref: ./TransfersIDPutResponse.yaml
|
18
|
+
headers:
|
19
|
+
type: object
|
@@ -0,0 +1,66 @@
|
|
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
|
+
$ref: paths.yaml
|
25
|
+
/accounts:
|
26
|
+
$ref: paths/accounts.yaml
|
27
|
+
/bulkQuotes:
|
28
|
+
$ref: paths/bulkQuotes.yaml
|
29
|
+
/bulkQuotes/{bulkQuoteId}:
|
30
|
+
$ref: paths/bulkQuotes_bulkQuoteId.yaml
|
31
|
+
/bulkTransactions:
|
32
|
+
$ref: paths/bulkTransactions.yaml
|
33
|
+
/bulkTransactions/{bulkTransactionId}:
|
34
|
+
$ref: paths/bulkTransactions_bulkTransactionId.yaml
|
35
|
+
/bulkTransfers:
|
36
|
+
$ref: paths/bulkTransfers.yaml
|
37
|
+
/bulkTransfers/{bulkTransferId}:
|
38
|
+
$ref: paths/bulkTransfers_bulkTransferId.yaml
|
39
|
+
/parties/{Type}/{ID}:
|
40
|
+
$ref: paths/parties_Type_ID.yaml
|
41
|
+
/parties/{Type}/{ID}/{SubId}:
|
42
|
+
$ref: paths/parties_Type_ID_SubId.yaml
|
43
|
+
/quotes:
|
44
|
+
$ref: paths/quotes.yaml
|
45
|
+
/requestToPay:
|
46
|
+
$ref: paths/requestToPay.yaml
|
47
|
+
/requestToPay/{transactionRequestId}:
|
48
|
+
$ref: paths/requestToPay_transactionRequestId.yaml
|
49
|
+
/requestToPayTransfer:
|
50
|
+
$ref: paths/requestToPayTransfer.yaml
|
51
|
+
/requestToPayTransfer/{transactionRequestId}:
|
52
|
+
$ref: paths/requestToPayTransfer_transactionRequestId.yaml
|
53
|
+
/simpleTransfers:
|
54
|
+
$ref: paths/simpleTransfers.yaml
|
55
|
+
/transfers:
|
56
|
+
$ref: paths/transfers.yaml
|
57
|
+
/transfers/{transferId}:
|
58
|
+
$ref: paths/transfers_transferId.yaml
|
59
|
+
/services/FXP:
|
60
|
+
$ref: 'paths/services_FXP.yaml'
|
61
|
+
/services/FXP/{SourceCurrency}/{TargetCurrency}:
|
62
|
+
$ref: 'paths/services_FXP_SourceCurrency_TargetCurrency.yaml'
|
63
|
+
/fxQuotes:
|
64
|
+
$ref: 'paths/fxQuotes.yaml'
|
65
|
+
/fxTransfers:
|
66
|
+
$ref: 'paths/fxTransfers.yaml'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
post:
|
2
|
+
summary: Create accounts on the Account Lookup Service
|
3
|
+
description: >-
|
4
|
+
The HTTP request `POST /accounts` is used to create account information on
|
5
|
+
the Account Lookup Service (ALS) regarding the provided list of identities.
|
6
|
+
|
7
|
+
|
8
|
+
Caller DFSP is used as the account source FSP information
|
9
|
+
tags:
|
10
|
+
- Accounts
|
11
|
+
requestBody:
|
12
|
+
description: Identities list request body
|
13
|
+
content:
|
14
|
+
application/json:
|
15
|
+
schema:
|
16
|
+
$ref: ../../components/schemas/accountsRequest.yaml
|
17
|
+
required: true
|
18
|
+
responses:
|
19
|
+
'200':
|
20
|
+
$ref: ../../components/responses/accountsCreationCompleted.yaml
|
21
|
+
'400':
|
22
|
+
$ref: ../../components/responses/accountsCreationError.yaml
|
23
|
+
'500':
|
24
|
+
$ref: ../../components/responses/accountsCreationError.yaml
|
25
|
+
'504':
|
26
|
+
$ref: ../../components/responses/accountsCreationTimeout.yaml
|
@@ -0,0 +1,23 @@
|
|
1
|
+
post:
|
2
|
+
summary: Request bulk quotes for the provided financial transactions
|
3
|
+
description: >
|
4
|
+
The HTTP request `POST /bulkQuotes` is used to request a bulk quote to
|
5
|
+
fascilitate funds transfer from payer DFSP to payees' DFSP.
|
6
|
+
tags:
|
7
|
+
- BulkQuotes
|
8
|
+
requestBody:
|
9
|
+
description: Bulk quote request body
|
10
|
+
content:
|
11
|
+
application/json:
|
12
|
+
schema:
|
13
|
+
$ref: ../../components/schemas/bulkQuoteRequest.yaml
|
14
|
+
required: true
|
15
|
+
responses:
|
16
|
+
'200':
|
17
|
+
$ref: ../../components/responses/bulkQuoteSuccess.yaml
|
18
|
+
'400':
|
19
|
+
$ref: ../../components/responses/bulkQuoteBadRequest.yaml
|
20
|
+
'500':
|
21
|
+
$ref: ../../components/responses/bulkQuoteServerError.yaml
|
22
|
+
'504':
|
23
|
+
$ref: ../../components/responses/bulkQuoteTimeout.yaml
|
@@ -0,0 +1,24 @@
|
|
1
|
+
get:
|
2
|
+
summary: Retrieves information for a specific bulk quote
|
3
|
+
description: >-
|
4
|
+
The HTTP request `GET /bulkQuotes/{bulktQuoteId}` is used to get information
|
5
|
+
regarding a bulk quote created or requested earlier. The `{bulkQuoteId}` in
|
6
|
+
the URI should contain the `bulkQuoteId` that was used for the creation of
|
7
|
+
the bulk quote.
|
8
|
+
tags:
|
9
|
+
- BulkQuotes
|
10
|
+
parameters:
|
11
|
+
- $ref: ../../components/parameters/bulkQuoteId.yaml
|
12
|
+
responses:
|
13
|
+
'200':
|
14
|
+
description: Bulk quote information successfully retrieved
|
15
|
+
content:
|
16
|
+
application/json:
|
17
|
+
schema:
|
18
|
+
$ref: ../../components/schemas/bulkQuoteStatusResponse.yaml
|
19
|
+
'500':
|
20
|
+
description: An error occurred processing the bulk quote
|
21
|
+
content:
|
22
|
+
application/json:
|
23
|
+
schema:
|
24
|
+
$ref: ../../components/schemas/errorResponse.yaml
|
@@ -0,0 +1,21 @@
|
|
1
|
+
post:
|
2
|
+
summary: Sends money from one account to multiple accounts
|
3
|
+
description: >
|
4
|
+
The HTTP request `POST /bulkTransactions` is used to request the movement of
|
5
|
+
funds from payer DFSP to payees' DFSP.
|
6
|
+
tags:
|
7
|
+
- BulkTransactions
|
8
|
+
requestBody:
|
9
|
+
description: Bulk transfer request body
|
10
|
+
content:
|
11
|
+
application/json:
|
12
|
+
schema:
|
13
|
+
$ref: ../../components/schemas/bulkTransactionRequest.yaml
|
14
|
+
required: true
|
15
|
+
responses:
|
16
|
+
'202':
|
17
|
+
$ref: ../../components/responses/bulkTransactionAccepted.yaml
|
18
|
+
'400':
|
19
|
+
$ref: ../../components/responses/bulkTransferBadRequest.yaml
|
20
|
+
'500':
|
21
|
+
$ref: ../../components/responses/errorResponse.yaml
|
@@ -0,0 +1,33 @@
|
|
1
|
+
put:
|
2
|
+
summary: Amends the bulk transaction request
|
3
|
+
description: >-
|
4
|
+
The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend
|
5
|
+
information regarding a bulk transaction, i.e. when autoAcceptParty or
|
6
|
+
autoAcceptQuote is false then the payer need to provide confirmation to
|
7
|
+
proceed with further processing of the request. The `{bulkTransactionId}` in
|
8
|
+
the URI should contain the `bulkTransactionId` that was used for the
|
9
|
+
creation of the bulk transfer.
|
10
|
+
tags:
|
11
|
+
- BulkTransactions
|
12
|
+
parameters:
|
13
|
+
- $ref: ../../components/parameters/bulkTransactionId.yaml
|
14
|
+
requestBody:
|
15
|
+
description: Bulk transaction request body
|
16
|
+
content:
|
17
|
+
application/json:
|
18
|
+
schema:
|
19
|
+
oneOf:
|
20
|
+
- $ref: ../../components/schemas/bulkTransactionContinuationAcceptParty.yaml
|
21
|
+
- $ref: ../../components/schemas/bulkTransactionContinuationAcceptQuote.yaml
|
22
|
+
required: true
|
23
|
+
responses:
|
24
|
+
'202':
|
25
|
+
description: Bulk transaction information successfully amended
|
26
|
+
'400':
|
27
|
+
$ref: ../../components/responses/bulkTransactionPutBadRequest.yaml
|
28
|
+
'500':
|
29
|
+
description: An error occurred processing the bulk transaction
|
30
|
+
content:
|
31
|
+
application/json:
|
32
|
+
schema:
|
33
|
+
$ref: ../../components/schemas/errorResponse.yaml
|
@@ -0,0 +1,21 @@
|
|
1
|
+
post:
|
2
|
+
summary: Sends money from one account to multiple accounts
|
3
|
+
description: >
|
4
|
+
The HTTP request `POST /bulkTransfers` is used to request the movement of
|
5
|
+
funds from payer DFSP to payees' DFSP.
|
6
|
+
tags:
|
7
|
+
- BulkTransfers
|
8
|
+
requestBody:
|
9
|
+
description: Bulk transfer request body
|
10
|
+
content:
|
11
|
+
application/json:
|
12
|
+
schema:
|
13
|
+
$ref: ../../components/schemas/bulkTransferRequest.yaml
|
14
|
+
required: true
|
15
|
+
responses:
|
16
|
+
'200':
|
17
|
+
$ref: ../../components/responses/bulkTransferSuccess.yaml
|
18
|
+
'400':
|
19
|
+
$ref: ../../components/responses/bulkTransferBadRequest.yaml
|
20
|
+
'500':
|
21
|
+
$ref: ../../components/responses/errorResponse.yaml
|
@@ -0,0 +1,24 @@
|
|
1
|
+
get:
|
2
|
+
summary: Retrieves information for a specific bulk transfer
|
3
|
+
description: >-
|
4
|
+
The HTTP request `GET /bulkTransfers/{bulkTransferId}` is used to get
|
5
|
+
information regarding a bulk transfer created or requested earlier. The
|
6
|
+
`{bulkTransferId}` in the URI should contain the `bulkTransferId` that
|
7
|
+
was used for the creation of the bulk transfer.
|
8
|
+
tags:
|
9
|
+
- BulkTransfers
|
10
|
+
parameters:
|
11
|
+
- $ref: ../../components/parameters/bulkTransferId.yaml
|
12
|
+
responses:
|
13
|
+
'200':
|
14
|
+
description: Bulk transfer information successfully retrieved
|
15
|
+
content:
|
16
|
+
application/json:
|
17
|
+
schema:
|
18
|
+
$ref: ../../components/responses/bulkTransferStatusResponse.yaml
|
19
|
+
'500':
|
20
|
+
description: An error occurred processing the bulk transfer
|
21
|
+
content:
|
22
|
+
application/json:
|
23
|
+
schema:
|
24
|
+
$ref: ../../components/schemas/errorResponse.yaml
|
@@ -0,0 +1,26 @@
|
|
1
|
+
post:
|
2
|
+
description: >-
|
3
|
+
The HTTP request `POST /fxQuotes` is used to ask to provide a quotation for a currency conversion.
|
4
|
+
summary: Calculate FX quote
|
5
|
+
tags:
|
6
|
+
- Fx
|
7
|
+
operationId: FxQuotesPost
|
8
|
+
requestBody:
|
9
|
+
description: Details of the FX quote request.
|
10
|
+
required: true
|
11
|
+
content:
|
12
|
+
application/json:
|
13
|
+
schema:
|
14
|
+
$ref: ../../components/schemas/FxQuotesPostOutboundRequest.yaml
|
15
|
+
responses:
|
16
|
+
'200':
|
17
|
+
description: Successful response.
|
18
|
+
content:
|
19
|
+
application/json:
|
20
|
+
schema:
|
21
|
+
$ref: ../../components/schemas/FxQuotesPostOutboundResponse.yaml
|
22
|
+
'400':
|
23
|
+
$ref: ../../components/responses/400.yaml
|
24
|
+
'500':
|
25
|
+
$ref: ../../components/responses/500.yaml
|
26
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
post:
|
2
|
+
description: >-
|
3
|
+
The HTTP request `POST /fxTransfers` is used to ask to confirm the execution of an agreed currency conversion.
|
4
|
+
summary: Perform FX transfer
|
5
|
+
tags:
|
6
|
+
- Fx
|
7
|
+
operationId: FxTransfersPost
|
8
|
+
requestBody:
|
9
|
+
description: Details of the FX transfer request.
|
10
|
+
required: true
|
11
|
+
content:
|
12
|
+
application/json:
|
13
|
+
schema:
|
14
|
+
$ref: ../../components/schemas/FxTransfersPostOutboundRequest.yaml
|
15
|
+
responses:
|
16
|
+
'200':
|
17
|
+
description: Successful response.
|
18
|
+
content:
|
19
|
+
application/json:
|
20
|
+
schema:
|
21
|
+
$ref: ../../components/schemas/FxTransfersPostOutboundResponse.yaml
|
22
|
+
'400':
|
23
|
+
$ref: ../../components/responses/400.yaml
|
24
|
+
'500':
|
25
|
+
$ref: ../../components/responses/500.yaml
|