@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,174 @@
|
|
1
|
+
title: Currency
|
2
|
+
description: >-
|
3
|
+
The currency codes defined in [ISO
|
4
|
+
4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter
|
5
|
+
alphabetic codes are used as the standard naming representation for
|
6
|
+
currencies.
|
7
|
+
type: string
|
8
|
+
minLength: 3
|
9
|
+
maxLength: 3
|
10
|
+
enum:
|
11
|
+
- AED
|
12
|
+
- AFN
|
13
|
+
- ALL
|
14
|
+
- AMD
|
15
|
+
- ANG
|
16
|
+
- AOA
|
17
|
+
- ARS
|
18
|
+
- AUD
|
19
|
+
- AWG
|
20
|
+
- AZN
|
21
|
+
- BAM
|
22
|
+
- BBD
|
23
|
+
- BDT
|
24
|
+
- BGN
|
25
|
+
- BHD
|
26
|
+
- BIF
|
27
|
+
- BMD
|
28
|
+
- BND
|
29
|
+
- BOB
|
30
|
+
- BRL
|
31
|
+
- BSD
|
32
|
+
- BTN
|
33
|
+
- BWP
|
34
|
+
- BYN
|
35
|
+
- BZD
|
36
|
+
- CAD
|
37
|
+
- CDF
|
38
|
+
- CHF
|
39
|
+
- CLP
|
40
|
+
- CNY
|
41
|
+
- COP
|
42
|
+
- CRC
|
43
|
+
- CUC
|
44
|
+
- CUP
|
45
|
+
- CVE
|
46
|
+
- CZK
|
47
|
+
- DJF
|
48
|
+
- DKK
|
49
|
+
- DOP
|
50
|
+
- DZD
|
51
|
+
- EGP
|
52
|
+
- ERN
|
53
|
+
- ETB
|
54
|
+
- EUR
|
55
|
+
- FJD
|
56
|
+
- FKP
|
57
|
+
- GBP
|
58
|
+
- GEL
|
59
|
+
- GGP
|
60
|
+
- GHS
|
61
|
+
- GIP
|
62
|
+
- GMD
|
63
|
+
- GNF
|
64
|
+
- GTQ
|
65
|
+
- GYD
|
66
|
+
- HKD
|
67
|
+
- HNL
|
68
|
+
- HRK
|
69
|
+
- HTG
|
70
|
+
- HUF
|
71
|
+
- IDR
|
72
|
+
- ILS
|
73
|
+
- IMP
|
74
|
+
- INR
|
75
|
+
- IQD
|
76
|
+
- IRR
|
77
|
+
- ISK
|
78
|
+
- JEP
|
79
|
+
- JMD
|
80
|
+
- JOD
|
81
|
+
- JPY
|
82
|
+
- KES
|
83
|
+
- KGS
|
84
|
+
- KHR
|
85
|
+
- KMF
|
86
|
+
- KPW
|
87
|
+
- KRW
|
88
|
+
- KWD
|
89
|
+
- KYD
|
90
|
+
- KZT
|
91
|
+
- LAK
|
92
|
+
- LBP
|
93
|
+
- LKR
|
94
|
+
- LRD
|
95
|
+
- LSL
|
96
|
+
- LYD
|
97
|
+
- MAD
|
98
|
+
- MDL
|
99
|
+
- MGA
|
100
|
+
- MKD
|
101
|
+
- MMK
|
102
|
+
- MNT
|
103
|
+
- MOP
|
104
|
+
- MRO
|
105
|
+
- MUR
|
106
|
+
- MVR
|
107
|
+
- MWK
|
108
|
+
- MXN
|
109
|
+
- MYR
|
110
|
+
- MZN
|
111
|
+
- NAD
|
112
|
+
- NGN
|
113
|
+
- NIO
|
114
|
+
- NOK
|
115
|
+
- NPR
|
116
|
+
- NZD
|
117
|
+
- OMR
|
118
|
+
- PAB
|
119
|
+
- PEN
|
120
|
+
- PGK
|
121
|
+
- PHP
|
122
|
+
- PKR
|
123
|
+
- PLN
|
124
|
+
- PYG
|
125
|
+
- QAR
|
126
|
+
- RON
|
127
|
+
- RSD
|
128
|
+
- RUB
|
129
|
+
- RWF
|
130
|
+
- SAR
|
131
|
+
- SBD
|
132
|
+
- SCR
|
133
|
+
- SDG
|
134
|
+
- SEK
|
135
|
+
- SGD
|
136
|
+
- SHP
|
137
|
+
- SLL
|
138
|
+
- SOS
|
139
|
+
- SPL
|
140
|
+
- SRD
|
141
|
+
- STD
|
142
|
+
- SVC
|
143
|
+
- SYP
|
144
|
+
- SZL
|
145
|
+
- THB
|
146
|
+
- TJS
|
147
|
+
- TMT
|
148
|
+
- TND
|
149
|
+
- TOP
|
150
|
+
- TRY
|
151
|
+
- TTD
|
152
|
+
- TVD
|
153
|
+
- TWD
|
154
|
+
- TZS
|
155
|
+
- UAH
|
156
|
+
- UGX
|
157
|
+
- USD
|
158
|
+
- UYU
|
159
|
+
- UZS
|
160
|
+
- VEF
|
161
|
+
- VND
|
162
|
+
- VUV
|
163
|
+
- WST
|
164
|
+
- XAF
|
165
|
+
- XCD
|
166
|
+
- XDR
|
167
|
+
- XOF
|
168
|
+
- XPF
|
169
|
+
- XTS
|
170
|
+
- XXX
|
171
|
+
- YER
|
172
|
+
- ZAR
|
173
|
+
- ZMW
|
174
|
+
- ZWD
|
@@ -0,0 +1,9 @@
|
|
1
|
+
title: CurrencyConverter
|
2
|
+
type: string
|
3
|
+
enum:
|
4
|
+
- PAYER
|
5
|
+
- PAYEE
|
6
|
+
description: >-
|
7
|
+
Below are the allowed values for the enumeration CurrencyConverter.
|
8
|
+
- PAYER - Currency conversion should be performed by the payer.
|
9
|
+
- PAYEE - Currency conversion should be performed by the payee.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
title: Date
|
2
|
+
type: string
|
3
|
+
pattern: >-
|
4
|
+
^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
|
5
|
+
description: >-
|
6
|
+
The API data type Date is a JSON String in a lexical format that is restricted
|
7
|
+
by a regular expression for interoperability reasons. This format, as
|
8
|
+
specified in ISO 8601, contains a date only. A more readable version of the
|
9
|
+
format is yyyy-MM-dd. Examples are "1982-05-23", "1987-08-05”.
|
@@ -0,0 +1,6 @@
|
|
1
|
+
title: DateofBirth (type Date)
|
2
|
+
type: string
|
3
|
+
pattern: >-
|
4
|
+
^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
|
5
|
+
description: Date of Birth of the Party.
|
6
|
+
example: '1966-06-16'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
title: DateTime
|
2
|
+
type: string
|
3
|
+
pattern: >-
|
4
|
+
^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:(\.\d{3}))(?:Z|[+-][01]\d:[0-5]\d)$
|
5
|
+
description: >-
|
6
|
+
The API data type DateTime is a JSON String in a lexical format that is
|
7
|
+
restricted by a regular expression for interoperability reasons. The format is
|
8
|
+
according to [ISO
|
9
|
+
8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a
|
10
|
+
combined date, time and time zone format. A more readable version of the
|
11
|
+
format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are
|
12
|
+
"2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates
|
13
|
+
Zulu time zone, same as UTC).
|
14
|
+
example: '2016-05-24T08:38:08.699-04:00'
|
@@ -0,0 +1,11 @@
|
|
1
|
+
title: ErrorCode
|
2
|
+
type: string
|
3
|
+
pattern: '^[1-9]\d{3}$'
|
4
|
+
description: >-
|
5
|
+
The API data type ErrorCode is a JSON String of four characters, consisting of
|
6
|
+
digits only. Negative numbers are not allowed. A leading zero is not allowed.
|
7
|
+
Each error code in the API is a four-digit number, for example, 1234, where
|
8
|
+
the first number (1 in the example) represents the high-level error category,
|
9
|
+
the second number (2 in the example) represents the low-level error category,
|
10
|
+
and the last two numbers (34 in the example) represent the specific error.
|
11
|
+
example: '5100'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
title: ErrorInformation
|
2
|
+
type: object
|
3
|
+
description: Data model for the complex type ErrorInformation.
|
4
|
+
properties:
|
5
|
+
errorCode:
|
6
|
+
$ref: ./ErrorCode.yaml
|
7
|
+
errorDescription:
|
8
|
+
$ref: ./ErrorDescription.yaml
|
9
|
+
extensionList:
|
10
|
+
$ref: ./ExtensionList.yaml
|
11
|
+
required:
|
12
|
+
- errorCode
|
13
|
+
- errorDescription
|
@@ -0,0 +1,15 @@
|
|
1
|
+
title: ExtensionList
|
2
|
+
type: object
|
3
|
+
description: >-
|
4
|
+
Data model for the complex type ExtensionList. An optional list of extensions,
|
5
|
+
specific to deployment.
|
6
|
+
properties:
|
7
|
+
extension:
|
8
|
+
type: array
|
9
|
+
items:
|
10
|
+
$ref: ./Extension.yaml
|
11
|
+
minItems: 1
|
12
|
+
maxItems: 16
|
13
|
+
description: Number of Extension elements.
|
14
|
+
required:
|
15
|
+
- extension
|
@@ -0,0 +1,19 @@
|
|
1
|
+
title: FxCharge
|
2
|
+
type: object
|
3
|
+
description: An FXP will be able to specify a charge which it proposes to levy on the currency conversion operation using a FxCharge object.
|
4
|
+
properties:
|
5
|
+
chargeType:
|
6
|
+
type: string
|
7
|
+
minLength: 1
|
8
|
+
maxLength: 32
|
9
|
+
description: A description of the charge which is being levied.
|
10
|
+
sourceAmount:
|
11
|
+
allOf:
|
12
|
+
- $ref: ./Money.yaml
|
13
|
+
- description: The amount of the charge which is being levied, expressed in the source currency.
|
14
|
+
targetAmount:
|
15
|
+
allOf:
|
16
|
+
- $ref: ./Money.yaml
|
17
|
+
- description: The amount of the charge which is being levied, expressed in the target currency.
|
18
|
+
required:
|
19
|
+
- chargeType
|
@@ -0,0 +1,57 @@
|
|
1
|
+
title: FxConversion
|
2
|
+
type: object
|
3
|
+
description: A DFSP will be able to request a currency conversion, and an FX provider will be able to describe its involvement in a proposed transfer, using a FxConversion object.
|
4
|
+
properties:
|
5
|
+
conversionId:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./CorrelationId.yaml
|
8
|
+
- description: An end-to-end identifier for the conversion request.
|
9
|
+
determiningTransferId:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./CorrelationId.yaml
|
12
|
+
- description: The transaction ID of the transfer on whose success this currency conversion depends.
|
13
|
+
initiatingFsp:
|
14
|
+
allOf:
|
15
|
+
- $ref: ./FspId.yaml
|
16
|
+
- description: The id of the participant who is requesting a currency conversion.
|
17
|
+
counterPartyFsp:
|
18
|
+
allOf:
|
19
|
+
- $ref: ./FspId.yaml
|
20
|
+
- description: The ID of the FXP performing the conversion.
|
21
|
+
amountType:
|
22
|
+
allOf:
|
23
|
+
- $ref: ./AmountType.yaml
|
24
|
+
- description: This is the AmountType for the base transaction -
|
25
|
+
If SEND - then any charges levied by the FXP as part of the transaction will be deducted by the FXP from the amount shown for the target party in the conversion.
|
26
|
+
If RECEIVE - then any charges levied by the FXP as part of the transaction will be added by the FXP to the amount shown for the source party in the conversion.
|
27
|
+
sourceAmount:
|
28
|
+
allOf:
|
29
|
+
- $ref: ./FxMoney.yaml
|
30
|
+
- description: The amount to be converted, expressed in the source currency.
|
31
|
+
targetAmount:
|
32
|
+
allOf:
|
33
|
+
- $ref: ./FxMoney.yaml
|
34
|
+
- description: The converted amount, expressed in the target currency.
|
35
|
+
expiration:
|
36
|
+
allOf:
|
37
|
+
- $ref: ./DateTime.yaml
|
38
|
+
- description: The end of the period for which the currency conversion is required to remain valid.
|
39
|
+
charges:
|
40
|
+
type: array
|
41
|
+
description: One or more charges which the FXP intends to levy as part of the currency conversion, or which the payee DFSP intends to add to the amount transferred.
|
42
|
+
items:
|
43
|
+
$ref: ./FxCharge.yaml
|
44
|
+
minItems: 0
|
45
|
+
maxItems: 16
|
46
|
+
extensionList:
|
47
|
+
allOf:
|
48
|
+
- $ref: ./ExtensionList.yaml
|
49
|
+
- description: The extension list for the currency conversion request.
|
50
|
+
required:
|
51
|
+
- conversionId
|
52
|
+
- initiatingFsp
|
53
|
+
- counterPartyFsp
|
54
|
+
- amountType
|
55
|
+
- sourceAmount
|
56
|
+
- targetAmount
|
57
|
+
- expiration
|
@@ -0,0 +1,10 @@
|
|
1
|
+
title: FxMoney
|
2
|
+
type: object
|
3
|
+
description: Data model for the complex type FxMoney; This is based on the type Money but allows the amount to be optional to support FX quotations.
|
4
|
+
properties:
|
5
|
+
currency:
|
6
|
+
$ref: ./Currency.yaml
|
7
|
+
amount:
|
8
|
+
$ref: ./Amount.yaml
|
9
|
+
required:
|
10
|
+
- currency
|
@@ -0,0 +1,15 @@
|
|
1
|
+
title: FxQuotesIDPutResponse
|
2
|
+
type: object
|
3
|
+
description: The object sent in the PUT /fxQuotes/{ID} callback.
|
4
|
+
properties:
|
5
|
+
condition:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./IlpCondition.yaml
|
8
|
+
- description: The ILP condition for the conversion.
|
9
|
+
conversionTerms:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./FxConversion.yaml
|
12
|
+
- description: The terms under which the FXP will undertake the currency conversion proposed by the requester.
|
13
|
+
|
14
|
+
required:
|
15
|
+
- conversionTerms
|
@@ -0,0 +1,15 @@
|
|
1
|
+
title: FxQuotesPostRequest
|
2
|
+
type: object
|
3
|
+
description: The object sent in the POST /fxQuotes request.
|
4
|
+
properties:
|
5
|
+
conversionRequestId:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./CorrelationId.yaml
|
8
|
+
- description: An end-to-end identifier for the conversion quotation request.
|
9
|
+
conversionTerms:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./FxConversion.yaml
|
12
|
+
- description: The terms of the currency conversion for which a quotation is sought.
|
13
|
+
required:
|
14
|
+
- conversionRequestId
|
15
|
+
- conversionTerms
|
@@ -0,0 +1,15 @@
|
|
1
|
+
title: FxRate
|
2
|
+
type: object
|
3
|
+
description: The FxRate object contains information about a currency conversion in the transfer. It can be used by parties to the transfer to exchange information with each other about the exchange rate for the transfer, to ensure that the best rate can be agreed on.
|
4
|
+
properties:
|
5
|
+
sourceAmount:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./Money.yaml
|
8
|
+
- description: The amount of the transfer in the source currency.
|
9
|
+
targetAmount:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./Money.yaml
|
12
|
+
- description: The amount of the transfer in the target currency.
|
13
|
+
required:
|
14
|
+
- sourceAmount
|
15
|
+
- targetAmount
|
@@ -0,0 +1,16 @@
|
|
1
|
+
title: FxTransfersIDPatchResponse
|
2
|
+
type: object
|
3
|
+
description: 'PATCH /fxTransfers/{ID} object'
|
4
|
+
properties:
|
5
|
+
completedTimestamp:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./DateTime.yaml
|
8
|
+
- description: Time and date when the conversion was executed.
|
9
|
+
conversionState:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./TransferState.yaml
|
12
|
+
- description: The current status of the conversion request.
|
13
|
+
extensionList:
|
14
|
+
$ref: ./ExtensionList.yaml
|
15
|
+
required:
|
16
|
+
- conversionState
|
@@ -0,0 +1,20 @@
|
|
1
|
+
title: FxTransfersIDPutResponse
|
2
|
+
type: object
|
3
|
+
description: 'The object sent in the PUT /fxTransfers/{ID} callback.'
|
4
|
+
properties:
|
5
|
+
fulfilment:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./IlpFulfilment.yaml
|
8
|
+
- description: The fulfilment of the condition specified for the currency conversion. Mandatory if the conversion has been executed successfully.
|
9
|
+
completedTimestamp:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./DateTime.yaml
|
12
|
+
- description: Time and date when the conversion was executed.
|
13
|
+
conversionState:
|
14
|
+
allOf:
|
15
|
+
- $ref: ./TransferState.yaml
|
16
|
+
- description: The current status of the conversion request.
|
17
|
+
extensionList:
|
18
|
+
$ref: ./ExtensionList.yaml
|
19
|
+
required:
|
20
|
+
- conversionState
|
@@ -0,0 +1,41 @@
|
|
1
|
+
title: FxTransfersPostRequest
|
2
|
+
type: object
|
3
|
+
description: The object sent in the POST /fxTransfers request.
|
4
|
+
properties:
|
5
|
+
commitRequestId:
|
6
|
+
allOf:
|
7
|
+
- $ref: ./CorrelationId.yaml
|
8
|
+
- description: An end-to-end identifier for the confirmation request.
|
9
|
+
determiningTransferId:
|
10
|
+
allOf:
|
11
|
+
- $ref: ./CorrelationId.yaml
|
12
|
+
- description: The transaction ID of the transfer to which this currency conversion relates, if the conversion is part of a transfer. If the conversion is a bulk currency purchase, this field should be omitted.
|
13
|
+
initiatingFsp:
|
14
|
+
allOf:
|
15
|
+
- $ref: ./FspId.yaml
|
16
|
+
- description: Identifier for the FSP who is requesting a currency conversion.
|
17
|
+
counterPartyFsp:
|
18
|
+
allOf:
|
19
|
+
- $ref: ./FspId.yaml
|
20
|
+
- description: Identifier for the FXP who is performing the currency conversion.
|
21
|
+
sourceAmount:
|
22
|
+
allOf:
|
23
|
+
- $ref: ./Money.yaml
|
24
|
+
- description: The amount being offered for conversion by the requesting FSP.
|
25
|
+
targetAmount:
|
26
|
+
allOf:
|
27
|
+
- $ref: ./Money.yaml
|
28
|
+
- description: The amount which the FXP is to credit to the requesting FSP in the target currency.
|
29
|
+
condition:
|
30
|
+
allOf:
|
31
|
+
- $ref: ./IlpCondition.yaml
|
32
|
+
- description: ILP condition received by the requesting FSP when the quote was approved.
|
33
|
+
expiration:
|
34
|
+
$ref: ./DateTime.yaml
|
35
|
+
required:
|
36
|
+
- commitRequestId
|
37
|
+
- initiatingFsp
|
38
|
+
- counterPartyFsp
|
39
|
+
- sourceAmount
|
40
|
+
- targetAmount
|
41
|
+
- condition
|
@@ -0,0 +1,13 @@
|
|
1
|
+
title: GeoCode
|
2
|
+
type: object
|
3
|
+
description: >-
|
4
|
+
Data model for the complex type GeoCode. Indicates the geographic location
|
5
|
+
from where the transaction was initiated.
|
6
|
+
properties:
|
7
|
+
latitude:
|
8
|
+
$ref: ./Latitude.yaml
|
9
|
+
longitude:
|
10
|
+
$ref: ./Longitude.yaml
|
11
|
+
required:
|
12
|
+
- latitude
|
13
|
+
- longitude
|
@@ -0,0 +1,7 @@
|
|
1
|
+
title: IlpPacket
|
2
|
+
type: string
|
3
|
+
pattern: '^[A-Za-z0-9-_]+[=]{0,2}$'
|
4
|
+
minLength: 1
|
5
|
+
maxLength: 32768
|
6
|
+
description: Information for recipient (transport layer information).
|
7
|
+
example: 'AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA'
|
@@ -0,0 +1,29 @@
|
|
1
|
+
title: IndividualQuote
|
2
|
+
type: object
|
3
|
+
description: Data model for the complex type IndividualQuote.
|
4
|
+
properties:
|
5
|
+
quoteId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
transactionId:
|
8
|
+
$ref: ./CorrelationId.yaml
|
9
|
+
payee:
|
10
|
+
$ref: ./Party.yaml
|
11
|
+
amountType:
|
12
|
+
$ref: ./AmountType.yaml
|
13
|
+
amount:
|
14
|
+
$ref: ./Money.yaml
|
15
|
+
fees:
|
16
|
+
$ref: ./Money.yaml
|
17
|
+
transactionType:
|
18
|
+
$ref: ./TransactionType.yaml
|
19
|
+
note:
|
20
|
+
$ref: ./Note.yaml
|
21
|
+
extensionList:
|
22
|
+
$ref: ./ExtensionList.yaml
|
23
|
+
required:
|
24
|
+
- quoteId
|
25
|
+
- transactionId
|
26
|
+
- payee
|
27
|
+
- amountType
|
28
|
+
- amount
|
29
|
+
- transactionType
|
@@ -0,0 +1,26 @@
|
|
1
|
+
title: IndividualQuoteResult
|
2
|
+
type: object
|
3
|
+
description: Data model for the complex type IndividualQuoteResult.
|
4
|
+
properties:
|
5
|
+
quoteId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
payee:
|
8
|
+
$ref: ./Party.yaml
|
9
|
+
transferAmount:
|
10
|
+
$ref: ./Money.yaml
|
11
|
+
payeeReceiveAmount:
|
12
|
+
$ref: ./Money.yaml
|
13
|
+
payeeFspFee:
|
14
|
+
$ref: ./Money.yaml
|
15
|
+
payeeFspCommission:
|
16
|
+
$ref: ./Money.yaml
|
17
|
+
ilpPacket:
|
18
|
+
$ref: ./IlpPacket.yaml
|
19
|
+
condition:
|
20
|
+
$ref: ./IlpCondition.yaml
|
21
|
+
errorInformation:
|
22
|
+
$ref: ./ErrorInformation.yaml
|
23
|
+
extensionList:
|
24
|
+
$ref: ./ExtensionList.yaml
|
25
|
+
required:
|
26
|
+
- quoteId
|
@@ -0,0 +1,19 @@
|
|
1
|
+
title: IndividualTransfer
|
2
|
+
type: object
|
3
|
+
description: Data model for the complex type IndividualTransfer.
|
4
|
+
properties:
|
5
|
+
transferId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
transferAmount:
|
8
|
+
$ref: ./Money.yaml
|
9
|
+
ilpPacket:
|
10
|
+
$ref: ./IlpPacket.yaml
|
11
|
+
condition:
|
12
|
+
$ref: ./IlpCondition.yaml
|
13
|
+
extensionList:
|
14
|
+
$ref: ./ExtensionList.yaml
|
15
|
+
required:
|
16
|
+
- transferId
|
17
|
+
- transferAmount
|
18
|
+
- ilpPacket
|
19
|
+
- condition
|