@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,14 @@
|
|
1
|
+
title: TransactionInitiatorType
|
2
|
+
type: string
|
3
|
+
enum:
|
4
|
+
- CONSUMER
|
5
|
+
- AGENT
|
6
|
+
- BUSINESS
|
7
|
+
- DEVICE
|
8
|
+
description: |-
|
9
|
+
Below are the allowed values for the enumeration.
|
10
|
+
- CONSUMER - Consumer is the initiator of the transaction.
|
11
|
+
- AGENT - Agent is the initiator of the transaction.
|
12
|
+
- BUSINESS - Business is the initiator of the transaction.
|
13
|
+
- DEVICE - Device is the initiator of the transaction.
|
14
|
+
example: 'CONSUMER'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: TransactionRequestState
|
2
|
+
type: string
|
3
|
+
enum:
|
4
|
+
- RECEIVED
|
5
|
+
- PENDING
|
6
|
+
- ACCEPTED
|
7
|
+
- REJECTED
|
8
|
+
description: |-
|
9
|
+
Below are the allowed values for the enumeration.
|
10
|
+
- RECEIVED - Payer FSP has received the transaction from the Payee FSP.
|
11
|
+
- PENDING - Payer FSP has sent the transaction request to the Payer.
|
12
|
+
- ACCEPTED - Payer has approved the transaction.
|
13
|
+
- REJECTED - Payer has rejected the transaction.
|
14
|
+
example: 'RECEIVED'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
title: TransactionRequestsIDPutResponse
|
2
|
+
type: object
|
3
|
+
description: 'The object sent in the PUT /transactionRequests/{ID} callback.'
|
4
|
+
properties:
|
5
|
+
transactionId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
transactionRequestState:
|
8
|
+
$ref: ./TransactionRequestState.yaml
|
9
|
+
extensionList:
|
10
|
+
$ref: ./ExtensionList.yaml
|
11
|
+
required:
|
12
|
+
- transactionRequestState
|
@@ -0,0 +1,30 @@
|
|
1
|
+
title: TransactionRequestsPostRequest
|
2
|
+
type: object
|
3
|
+
description: The object sent in the POST /transactionRequests request.
|
4
|
+
properties:
|
5
|
+
transactionRequestId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
payee:
|
8
|
+
$ref: ./Party.yaml
|
9
|
+
payer:
|
10
|
+
$ref: ./PartyIdInfo.yaml
|
11
|
+
amount:
|
12
|
+
$ref: ./Money.yaml
|
13
|
+
transactionType:
|
14
|
+
$ref: ./TransactionType.yaml
|
15
|
+
note:
|
16
|
+
$ref: ./Note.yaml
|
17
|
+
geoCode:
|
18
|
+
$ref: ./GeoCode.yaml
|
19
|
+
authenticationType:
|
20
|
+
$ref: ./AuthenticationType.yaml
|
21
|
+
expiration:
|
22
|
+
$ref: ./DateTime.yaml
|
23
|
+
extensionList:
|
24
|
+
$ref: ./ExtensionList.yaml
|
25
|
+
required:
|
26
|
+
- transactionRequestId
|
27
|
+
- payee
|
28
|
+
- payer
|
29
|
+
- amount
|
30
|
+
- transactionType
|
@@ -0,0 +1,32 @@
|
|
1
|
+
title: TransactionScenario
|
2
|
+
type: string
|
3
|
+
enum:
|
4
|
+
- DEPOSIT
|
5
|
+
- WITHDRAWAL
|
6
|
+
- TRANSFER
|
7
|
+
- PAYMENT
|
8
|
+
- REFUND
|
9
|
+
description: >-
|
10
|
+
Below are the allowed values for the enumeration.
|
11
|
+
|
12
|
+
- DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal
|
13
|
+
scenario, electronic funds are transferred from a Business account to a
|
14
|
+
Consumer account, and physical cash is given from the Consumer to the Business
|
15
|
+
User.
|
16
|
+
|
17
|
+
- WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a
|
18
|
+
normal scenario, electronic funds are transferred from a Consumer’s account to
|
19
|
+
a Business account, and physical cash is given from the Business User to the
|
20
|
+
Consumer.
|
21
|
+
|
22
|
+
- TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer)
|
23
|
+
transaction.
|
24
|
+
|
25
|
+
- PAYMENT - Usually used for performing a transaction from a Consumer to a
|
26
|
+
Merchant or Organization, but could also be for a B2B (Business to Business)
|
27
|
+
payment. The transaction could be online for a purchase in an Internet store,
|
28
|
+
in a physical store where both the Consumer and Business User are present, a
|
29
|
+
bill payment, a donation, and so on.
|
30
|
+
|
31
|
+
- REFUND - Used for performing a refund of transaction.
|
32
|
+
example: 'DEPOSIT'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: TransactionState
|
2
|
+
type: string
|
3
|
+
enum:
|
4
|
+
- RECEIVED
|
5
|
+
- PENDING
|
6
|
+
- COMPLETED
|
7
|
+
- REJECTED
|
8
|
+
description: |-
|
9
|
+
Below are the allowed values for the enumeration.
|
10
|
+
- RECEIVED - Payee FSP has received the transaction from the Payer FSP.
|
11
|
+
- PENDING - Payee FSP has validated the transaction.
|
12
|
+
- COMPLETED - Payee FSP has successfully performed the transaction.
|
13
|
+
- REJECTED - Payee FSP has failed to perform the transaction.
|
14
|
+
example: 'RECEIVED'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
title: TransactionType
|
2
|
+
type: object
|
3
|
+
description: Data model for the complex type TransactionType.
|
4
|
+
properties:
|
5
|
+
scenario:
|
6
|
+
$ref: ./TransactionScenario.yaml
|
7
|
+
subScenario:
|
8
|
+
$ref: ./TransactionSubScenario.yaml
|
9
|
+
initiator:
|
10
|
+
$ref: ./TransactionInitiator.yaml
|
11
|
+
initiatorType:
|
12
|
+
$ref: ./TransactionInitiatorType.yaml
|
13
|
+
refundInfo:
|
14
|
+
$ref: ./Refund.yaml
|
15
|
+
balanceOfPayments:
|
16
|
+
$ref: ./BalanceOfPayments.yaml
|
17
|
+
required:
|
18
|
+
- scenario
|
19
|
+
- initiator
|
20
|
+
- initiatorType
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: TransactionsIDPutResponse
|
2
|
+
type: object
|
3
|
+
description: 'The object sent in the PUT /transactions/{ID} callback.'
|
4
|
+
properties:
|
5
|
+
completedTimestamp:
|
6
|
+
$ref: ./DateTime.yaml
|
7
|
+
transactionState:
|
8
|
+
$ref: ./TransactionState.yaml
|
9
|
+
code:
|
10
|
+
$ref: ./Code.yaml
|
11
|
+
extensionList:
|
12
|
+
$ref: ./ExtensionList.yaml
|
13
|
+
required:
|
14
|
+
- transactionState
|
@@ -0,0 +1,19 @@
|
|
1
|
+
title: TransferState
|
2
|
+
type: string
|
3
|
+
enum:
|
4
|
+
- RECEIVED
|
5
|
+
- RESERVED
|
6
|
+
- COMMITTED
|
7
|
+
- ABORTED
|
8
|
+
description: >-
|
9
|
+
Below are the allowed values for the enumeration.
|
10
|
+
|
11
|
+
- RECEIVED - Next ledger has received the transfer.
|
12
|
+
|
13
|
+
- RESERVED - Next ledger has reserved the transfer.
|
14
|
+
|
15
|
+
- COMMITTED - Next ledger has successfully performed the transfer.
|
16
|
+
|
17
|
+
- ABORTED - Next ledger has aborted the transfer due to a rejection or failure
|
18
|
+
to perform the transfer.
|
19
|
+
example: 'RESERVED'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
title: TransfersIDPatchResponse
|
2
|
+
type: object
|
3
|
+
description: 'PATCH /transfers/{ID} object'
|
4
|
+
properties:
|
5
|
+
completedTimestamp:
|
6
|
+
$ref: ./DateTime.yaml
|
7
|
+
transferState:
|
8
|
+
$ref: ./TransferState.yaml
|
9
|
+
extensionList:
|
10
|
+
$ref: ./ExtensionList.yaml
|
11
|
+
required:
|
12
|
+
- completedTimestamp
|
13
|
+
- transferState
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: TransfersIDPutResponse
|
2
|
+
type: object
|
3
|
+
description: 'The object sent in the PUT /transfers/{ID} callback.'
|
4
|
+
properties:
|
5
|
+
fulfilment:
|
6
|
+
$ref: ./IlpFulfilment.yaml
|
7
|
+
completedTimestamp:
|
8
|
+
$ref: ./DateTime.yaml
|
9
|
+
transferState:
|
10
|
+
$ref: ./TransferState.yaml
|
11
|
+
extensionList:
|
12
|
+
$ref: ./ExtensionList.yaml
|
13
|
+
required:
|
14
|
+
- transferState
|
@@ -0,0 +1,28 @@
|
|
1
|
+
title: TransfersPostRequest
|
2
|
+
type: object
|
3
|
+
description: The object sent in the POST /transfers request.
|
4
|
+
properties:
|
5
|
+
transferId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
payeeFsp:
|
8
|
+
$ref: ./FspId.yaml
|
9
|
+
payerFsp:
|
10
|
+
$ref: ./FspId.yaml
|
11
|
+
amount:
|
12
|
+
$ref: ./Money.yaml
|
13
|
+
ilpPacket:
|
14
|
+
$ref: ./IlpPacket.yaml
|
15
|
+
condition:
|
16
|
+
$ref: ./IlpCondition.yaml
|
17
|
+
expiration:
|
18
|
+
$ref: ./DateTime.yaml
|
19
|
+
extensionList:
|
20
|
+
$ref: ./ExtensionList.yaml
|
21
|
+
required:
|
22
|
+
- transferId
|
23
|
+
- payeeFsp
|
24
|
+
- payerFsp
|
25
|
+
- amount
|
26
|
+
- ilpPacket
|
27
|
+
- condition
|
28
|
+
- expiration
|
@@ -0,0 +1,19 @@
|
|
1
|
+
title: U2FPinValue
|
2
|
+
type: object
|
3
|
+
description: >
|
4
|
+
U2F challenge-response, where payer FSP verifies if the response
|
5
|
+
provided by end-user device matches the previously registered key.
|
6
|
+
properties:
|
7
|
+
pinValue:
|
8
|
+
allOf:
|
9
|
+
- $ref: ./U2FPIN.yaml
|
10
|
+
description: U2F challenge-response.
|
11
|
+
counter:
|
12
|
+
allOf:
|
13
|
+
- $ref: './Integer.yaml'
|
14
|
+
description: >-
|
15
|
+
Sequential counter used for cloning detection. Present only for U2F
|
16
|
+
authentication.
|
17
|
+
required:
|
18
|
+
- pinValue
|
19
|
+
- counter
|
@@ -0,0 +1,126 @@
|
|
1
|
+
openapi: 3.0.2
|
2
|
+
info:
|
3
|
+
version: '2.0'
|
4
|
+
title: Open API for FSP Interoperability (FSPIOP)
|
5
|
+
description: >-
|
6
|
+
Based on [API Definition updated on 2020-05-19 Version
|
7
|
+
1.1](https://github.com/mojaloop/mojaloop-specification/blob/main/documents/v1.1-document-set/API%20Definition_v1.1.pdf).
|
8
|
+
|
9
|
+
|
10
|
+
**Note:** The API supports a maximum size of 65536 bytes (64 Kilobytes) in
|
11
|
+
the HTTP header.
|
12
|
+
license:
|
13
|
+
name: CC BY-ND 4.0
|
14
|
+
url: 'https://github.com/mojaloop/mojaloop-specification/blob/main/LICENSE.md'
|
15
|
+
contact:
|
16
|
+
name: Sam Kummary
|
17
|
+
url: 'https://github.com/mojaloop/mojaloop-specification/issues'
|
18
|
+
servers:
|
19
|
+
- url: 'protocol://hostname:<port>/switch/'
|
20
|
+
variables:
|
21
|
+
protocol:
|
22
|
+
enum:
|
23
|
+
- http
|
24
|
+
- https
|
25
|
+
default: https
|
26
|
+
paths:
|
27
|
+
/interface:
|
28
|
+
post:
|
29
|
+
description: >-
|
30
|
+
Essential path to include schema definitions that are not used so that
|
31
|
+
these definitions get included into the openapi-cli bundle api
|
32
|
+
definition so that they get converted into typescript definitions.
|
33
|
+
operationId: test
|
34
|
+
requestBody:
|
35
|
+
content:
|
36
|
+
application/json:
|
37
|
+
schema:
|
38
|
+
oneOf:
|
39
|
+
- $ref: './components/schemas/BinaryString.yaml'
|
40
|
+
- $ref: './components/schemas/BinaryString32.yaml'
|
41
|
+
- $ref: './components/schemas/Date.yaml'
|
42
|
+
- $ref: './components/schemas/Integer.yaml'
|
43
|
+
- $ref: './components/schemas/Name.yaml'
|
44
|
+
- $ref: './components/schemas/PersonalIdentifierType.yaml'
|
45
|
+
- $ref: './components/schemas/TokenCode.yaml'
|
46
|
+
- $ref: './components/schemas/Transaction.yaml'
|
47
|
+
- $ref: './components/schemas/UndefinedEnum.yaml'
|
48
|
+
responses:
|
49
|
+
200:
|
50
|
+
description: Ok
|
51
|
+
/participants/{Type}/{ID}:
|
52
|
+
$ref: 'paths/participants_Type_ID.yaml'
|
53
|
+
/participants/{Type}/{ID}/error:
|
54
|
+
$ref: 'paths/participants_Type_ID_error.yaml'
|
55
|
+
/participants/{Type}/{ID}/{SubId}:
|
56
|
+
$ref: 'paths/participants_Type_ID_SubId.yaml'
|
57
|
+
/participants/{Type}/{ID}/{SubId}/error:
|
58
|
+
$ref: 'paths/participants_Type_ID_SubId_error.yaml'
|
59
|
+
/participants:
|
60
|
+
$ref: 'paths/participants.yaml'
|
61
|
+
/participants/{ID}:
|
62
|
+
$ref: 'paths/participants_ID.yaml'
|
63
|
+
/participants/{ID}/error:
|
64
|
+
$ref: 'paths/participants_ID_error.yaml'
|
65
|
+
/parties/{Type}/{ID}:
|
66
|
+
$ref: 'paths/parties_Type_ID.yaml'
|
67
|
+
/parties/{Type}/{ID}/error:
|
68
|
+
$ref: 'paths/parties_Type_ID_error.yaml'
|
69
|
+
/parties/{Type}/{ID}/{SubId}:
|
70
|
+
$ref: 'paths/parties_Type_ID_SubId.yaml'
|
71
|
+
/parties/{Type}/{ID}/{SubId}/error:
|
72
|
+
$ref: 'paths/parties_Type_ID_SubId_error.yaml'
|
73
|
+
/transactionRequests:
|
74
|
+
$ref: 'paths/transactionRequests.yaml'
|
75
|
+
/transactionRequests/{ID}:
|
76
|
+
$ref: 'paths/transactionRequests_ID.yaml'
|
77
|
+
/transactionRequests/{ID}/error:
|
78
|
+
$ref: 'paths/transactionRequests_ID_error.yaml'
|
79
|
+
/quotes:
|
80
|
+
$ref: 'paths/quotes.yaml'
|
81
|
+
/quotes/{ID}:
|
82
|
+
$ref: 'paths/quotes_ID.yaml'
|
83
|
+
/quotes/{ID}/error:
|
84
|
+
$ref: 'paths/quotes_ID_error.yaml'
|
85
|
+
/authorizations/{ID}:
|
86
|
+
$ref: 'paths/authorizations_ID.yaml'
|
87
|
+
/authorizations/{ID}/error:
|
88
|
+
$ref: 'paths/authorizations_ID_error.yaml'
|
89
|
+
/transfers:
|
90
|
+
$ref: 'paths/transfers.yaml'
|
91
|
+
/transfers/{ID}:
|
92
|
+
$ref: 'paths/transfers_ID.yaml'
|
93
|
+
/transfers/{ID}/error:
|
94
|
+
$ref: 'paths/transfers_ID_error.yaml'
|
95
|
+
/transactions/{ID}:
|
96
|
+
$ref: 'paths/transactions_ID.yaml'
|
97
|
+
/transactions/{ID}/error:
|
98
|
+
$ref: 'paths/transactions_ID_error.yaml'
|
99
|
+
/bulkQuotes:
|
100
|
+
$ref: 'paths/bulkQuotes.yaml'
|
101
|
+
/bulkQuotes/{ID}:
|
102
|
+
$ref: 'paths/bulkQuotes_ID.yaml'
|
103
|
+
/bulkQuotes/{ID}/error:
|
104
|
+
$ref: 'paths/bulkQuotes_ID_error.yaml'
|
105
|
+
/bulkTransfers:
|
106
|
+
$ref: 'paths/bulkTransfers.yaml'
|
107
|
+
/bulkTransfers/{ID}:
|
108
|
+
$ref: 'paths/bulkTransfers_ID.yaml'
|
109
|
+
/bulkTransfers/{ID}/error:
|
110
|
+
$ref: 'paths/bulkTransfers_ID_error.yaml'
|
111
|
+
/fxQuotes:
|
112
|
+
$ref: 'paths/fxQuotes.yaml'
|
113
|
+
/fxQuotes/{ID}:
|
114
|
+
$ref: 'paths/fxQuotes_ID.yaml'
|
115
|
+
/fxQuotes/{ID}/error:
|
116
|
+
$ref: 'paths/fxQuotes_ID_error.yaml'
|
117
|
+
/fxTransfers:
|
118
|
+
$ref: 'paths/fxTransfers.yaml'
|
119
|
+
/fxTransfers/{ID}:
|
120
|
+
$ref: 'paths/fxTransfers_ID.yaml'
|
121
|
+
/fxTransfers/{ID}/error:
|
122
|
+
$ref: 'paths/fxTransfers_ID_error.yaml'
|
123
|
+
/services/FXP:
|
124
|
+
$ref: 'paths/services_FXP.yaml'
|
125
|
+
/services/FXP/{SourceCurrency}/{TargetCurrency}:
|
126
|
+
$ref: 'paths/services_FXP_SourceCurrency_TargetCurrency.yaml'
|
@@ -0,0 +1,110 @@
|
|
1
|
+
parameters:
|
2
|
+
- $ref: ../components/parameters/ID.yaml
|
3
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
4
|
+
- $ref: ../components/parameters/Date.yaml
|
5
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
6
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
7
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
10
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
11
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
12
|
+
get:
|
13
|
+
description: >-
|
14
|
+
The HTTP request `GET /authorizations/{ID}` is used to request the Payer to
|
15
|
+
enter the applicable credentials in the Payee FSP system. The `{ID}` in the
|
16
|
+
URI should contain the `transactionRequestID`, received from the `POST
|
17
|
+
/transactionRequests` service earlier in the process. This request requires
|
18
|
+
a query string to be included in the URI, with the following key-value
|
19
|
+
pairs*:*
|
20
|
+
|
21
|
+
|
22
|
+
- `authenticationType={Type}`, where `{Type}` value is a valid
|
23
|
+
authentication type from the enumeration `AuthenticationType`.
|
24
|
+
|
25
|
+
|
26
|
+
- `retriesLeft=={NrOfRetries}`, where `{NrOfRetries}` is the number of
|
27
|
+
retries left before the financial transaction is rejected. `{NrOfRetries}`
|
28
|
+
must be expressed in the form of the data type `Integer`. `retriesLeft=1`
|
29
|
+
means that this is the last retry before the financial transaction is
|
30
|
+
rejected.
|
31
|
+
|
32
|
+
|
33
|
+
- `amount={Amount}`, where `{Amount}` is the transaction amount that will be
|
34
|
+
withdrawn from the Payer’s account. `{Amount}` must be expressed in the form
|
35
|
+
of the data type `Amount`.
|
36
|
+
|
37
|
+
|
38
|
+
- `currency={Currency}`, where `{Currency}` is the transaction currency for
|
39
|
+
the amount that will be withdrawn from the Payer’s account. The `{Currency}`
|
40
|
+
value must be expressed in the form of the enumeration `CurrencyCode`.
|
41
|
+
|
42
|
+
|
43
|
+
The following is an example URI containing all the required key-value pairs
|
44
|
+
in the query string*:*
|
45
|
+
|
46
|
+
|
47
|
+
`GET
|
48
|
+
/authorization/3d492671-b7af-4f3f-88de-76169b1bdf88?authenticationType=OTP&retriesLeft=2&amount=102¤cy=USD`
|
49
|
+
summary: Perform authorization
|
50
|
+
tags:
|
51
|
+
- authorizations
|
52
|
+
operationId: AuthorizationsByIDGet
|
53
|
+
parameters:
|
54
|
+
- $ref: ../components/parameters/Accept.yaml
|
55
|
+
responses:
|
56
|
+
'202':
|
57
|
+
$ref: ../components/responses/202.yaml
|
58
|
+
'400':
|
59
|
+
$ref: ../components/responses/400.yaml
|
60
|
+
'401':
|
61
|
+
$ref: ../components/responses/401.yaml
|
62
|
+
'403':
|
63
|
+
$ref: ../components/responses/403.yaml
|
64
|
+
'404':
|
65
|
+
$ref: ../components/responses/404.yaml
|
66
|
+
'405':
|
67
|
+
$ref: ../components/responses/405.yaml
|
68
|
+
'406':
|
69
|
+
$ref: ../components/responses/406.yaml
|
70
|
+
'501':
|
71
|
+
$ref: ../components/responses/501.yaml
|
72
|
+
'503':
|
73
|
+
$ref: ../components/responses/503.yaml
|
74
|
+
put:
|
75
|
+
description: >-
|
76
|
+
The callback `PUT /authorizations/{ID}` is used to inform the client of the
|
77
|
+
result of a previously-requested authorization. The `{ID}` in the URI should
|
78
|
+
contain the `{ID}` that was used in the `GET /authorizations/{ID}` request.
|
79
|
+
summary: Return authorization result
|
80
|
+
tags:
|
81
|
+
- authorizations
|
82
|
+
operationId: AuthorizationsByIDPut
|
83
|
+
parameters:
|
84
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
85
|
+
requestBody:
|
86
|
+
description: Authorization result returned.
|
87
|
+
required: true
|
88
|
+
content:
|
89
|
+
application/json:
|
90
|
+
schema:
|
91
|
+
$ref: ../components/schemas/AuthorizationsIDPutResponse.yaml
|
92
|
+
responses:
|
93
|
+
'200':
|
94
|
+
$ref: ../components/responses/200.yaml
|
95
|
+
'400':
|
96
|
+
$ref: ../components/responses/400.yaml
|
97
|
+
'401':
|
98
|
+
$ref: ../components/responses/401.yaml
|
99
|
+
'403':
|
100
|
+
$ref: ../components/responses/403.yaml
|
101
|
+
'404':
|
102
|
+
$ref: ../components/responses/404.yaml
|
103
|
+
'405':
|
104
|
+
$ref: ../components/responses/405.yaml
|
105
|
+
'406':
|
106
|
+
$ref: ../components/responses/406.yaml
|
107
|
+
'501':
|
108
|
+
$ref: ../components/responses/501.yaml
|
109
|
+
'503':
|
110
|
+
$ref: ../components/responses/503.yaml
|
@@ -0,0 +1,48 @@
|
|
1
|
+
put:
|
2
|
+
description: >-
|
3
|
+
If the server is unable to find the transaction request, or another
|
4
|
+
processing error occurs, the error callback `PUT /authorizations/{ID}/error`
|
5
|
+
is used. The `{ID}` in the URI should contain the `{ID}` that was used in
|
6
|
+
the `GET /authorizations/{ID}`.
|
7
|
+
summary: Return authorization error
|
8
|
+
tags:
|
9
|
+
- authorizations
|
10
|
+
operationId: AuthorizationsByIDAndError
|
11
|
+
parameters:
|
12
|
+
- $ref: ../components/parameters/ID.yaml
|
13
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
14
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
15
|
+
- $ref: ../components/parameters/Date.yaml
|
16
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
17
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
18
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
19
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
20
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
21
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
22
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
23
|
+
requestBody:
|
24
|
+
description: Details of the error returned.
|
25
|
+
required: true
|
26
|
+
content:
|
27
|
+
application/json:
|
28
|
+
schema:
|
29
|
+
$ref: ../components/schemas/ErrorInformationObject.yaml
|
30
|
+
responses:
|
31
|
+
'200':
|
32
|
+
$ref: ../components/responses/200.yaml
|
33
|
+
'400':
|
34
|
+
$ref: ../components/responses/400.yaml
|
35
|
+
'401':
|
36
|
+
$ref: ../components/responses/401.yaml
|
37
|
+
'403':
|
38
|
+
$ref: ../components/responses/403.yaml
|
39
|
+
'404':
|
40
|
+
$ref: ../components/responses/404.yaml
|
41
|
+
'405':
|
42
|
+
$ref: ../components/responses/405.yaml
|
43
|
+
'406':
|
44
|
+
$ref: ../components/responses/406.yaml
|
45
|
+
'501':
|
46
|
+
$ref: ../components/responses/501.yaml
|
47
|
+
'503':
|
48
|
+
$ref: ../components/responses/503.yaml
|
@@ -0,0 +1,46 @@
|
|
1
|
+
post:
|
2
|
+
description: >-
|
3
|
+
The HTTP request `POST /bulkQuotes` is used to request the creation of a
|
4
|
+
bulk quote for the provided financial transactions in the server.
|
5
|
+
summary: Calculate bulk quote
|
6
|
+
tags:
|
7
|
+
- bulkQuotes
|
8
|
+
operationId: BulkQuotes
|
9
|
+
parameters:
|
10
|
+
- $ref: ../components/parameters/Accept.yaml
|
11
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
12
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
13
|
+
- $ref: ../components/parameters/Date.yaml
|
14
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
15
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
16
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
17
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
18
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
19
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
20
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
21
|
+
requestBody:
|
22
|
+
description: Details of the bulk quote to be created.
|
23
|
+
required: true
|
24
|
+
content:
|
25
|
+
application/json:
|
26
|
+
schema:
|
27
|
+
$ref: ../components/schemas/BulkQuotesPostRequest.yaml
|
28
|
+
responses:
|
29
|
+
'202':
|
30
|
+
$ref: ../components/responses/202.yaml
|
31
|
+
'400':
|
32
|
+
$ref: ../components/responses/400.yaml
|
33
|
+
'401':
|
34
|
+
$ref: ../components/responses/401.yaml
|
35
|
+
'403':
|
36
|
+
$ref: ../components/responses/403.yaml
|
37
|
+
'404':
|
38
|
+
$ref: ../components/responses/404.yaml
|
39
|
+
'405':
|
40
|
+
$ref: ../components/responses/405.yaml
|
41
|
+
'406':
|
42
|
+
$ref: ../components/responses/406.yaml
|
43
|
+
'501':
|
44
|
+
$ref: ../components/responses/501.yaml
|
45
|
+
'503':
|
46
|
+
$ref: ../components/responses/503.yaml
|