@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,1494 @@
|
|
1
|
+
openapi: 3.0.1
|
2
|
+
info:
|
3
|
+
title: Mojaloop SDK Backend API
|
4
|
+
description: |
|
5
|
+
API specification for the SDK Backend API.
|
6
|
+
|
7
|
+
To be implemented by the Digital Financial Service Provider (DFSP) to work in tandem with the Mojaloop SDK (`mojaloop/sdk-scheme-adapter`).
|
8
|
+
|
9
|
+
This API is not to be confused with the Mojaloop SDK's Inbound or Outbound API.
|
10
|
+
|
11
|
+
TODO: More explanation and links about the SDK adapter's Inbound and Outbound API.
|
12
|
+
|
13
|
+
**Note on terminology:** The term "Switch" is equal to the term "Hub", and the term "FSP" is equal to the term "DFSP".
|
14
|
+
license:
|
15
|
+
name: Apache License Version 2.0, January 2004
|
16
|
+
url: http://www.apache.org/licenses/
|
17
|
+
version: 2.1.0
|
18
|
+
|
19
|
+
paths:
|
20
|
+
/:
|
21
|
+
get:
|
22
|
+
operationId: BackendHealthCheck
|
23
|
+
responses:
|
24
|
+
'200':
|
25
|
+
description: Returns empty body if the service is running.
|
26
|
+
summary: Health check endpoint.
|
27
|
+
/bulkQuotes:
|
28
|
+
post:
|
29
|
+
operationId: BackendBulkQuotesPost
|
30
|
+
requestBody:
|
31
|
+
content:
|
32
|
+
application/json:
|
33
|
+
schema:
|
34
|
+
$ref: '#/components/schemas/bulkQuoteRequest'
|
35
|
+
description: Incoming request for a bulk quotation.
|
36
|
+
responses:
|
37
|
+
'200':
|
38
|
+
content:
|
39
|
+
application/json:
|
40
|
+
schema:
|
41
|
+
$ref: '#/components/schemas/bulkQuoteResponse'
|
42
|
+
description: A response to the bulk quote request.
|
43
|
+
'400':
|
44
|
+
$ref: ../components/responses/400.yaml
|
45
|
+
'500':
|
46
|
+
$ref: ../components/responses/500.yaml
|
47
|
+
summary: Requests a bulk quote.
|
48
|
+
tags:
|
49
|
+
- BulkQuotes
|
50
|
+
/bulkQuotes/{idValue}:
|
51
|
+
get:
|
52
|
+
operationId: BackendBulkQuotesGet
|
53
|
+
parameters:
|
54
|
+
- $ref: '#/components/parameters/idValue'
|
55
|
+
responses:
|
56
|
+
'200':
|
57
|
+
content:
|
58
|
+
application/json:
|
59
|
+
schema:
|
60
|
+
$ref: '#/components/schemas/bulkQuoteResponse'
|
61
|
+
description: Response containing details of the requested bulk quote.
|
62
|
+
'400':
|
63
|
+
$ref: ../components/responses/400.yaml
|
64
|
+
'404':
|
65
|
+
$ref: ../components/responses/404.yaml
|
66
|
+
'500':
|
67
|
+
$ref: ../components/responses/500.yaml
|
68
|
+
summary: Requests information relating to a bulk quote identified by the specified identifier value.
|
69
|
+
tags:
|
70
|
+
- BulkQuotes
|
71
|
+
/bulkTransactions/{bulkTransactionId}:
|
72
|
+
put:
|
73
|
+
description: The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend information regarding a bulk transaction, i.e. when autoAcceptParty or autoAcceptQuote is false then the payer need to provide confirmation to proceed with further processing of the request. The `{bulkTransactionId}` in the URI should contain the `bulkTransactionId` that was used for the creation of the bulk transfer.
|
74
|
+
operationId: BackendBulkTransactionsPut
|
75
|
+
parameters:
|
76
|
+
- $ref: '../components/parameters/bulkTransactionId.yaml'
|
77
|
+
requestBody:
|
78
|
+
content:
|
79
|
+
application/json:
|
80
|
+
schema:
|
81
|
+
$ref: '../components/schemas/bulkTransactionResponse.yaml'
|
82
|
+
responses:
|
83
|
+
'202':
|
84
|
+
description: Bulk transaction information successfully amended.
|
85
|
+
'400':
|
86
|
+
$ref: ../components/responses/400.yaml
|
87
|
+
'500':
|
88
|
+
$ref: ../components/responses/500.yaml
|
89
|
+
summary: Callbacks for the bulk transaction request.
|
90
|
+
tags:
|
91
|
+
- BulkTransactionsPut
|
92
|
+
/requestToPay/{transactionRequestId}:
|
93
|
+
put:
|
94
|
+
description: It is used to notify the DFSP backend about the status of the requestToPayTransfer.
|
95
|
+
operationId: RequestToPayPut
|
96
|
+
parameters:
|
97
|
+
- $ref: '#/components/parameters/transactionRequestId'
|
98
|
+
requestBody:
|
99
|
+
content:
|
100
|
+
application/json:
|
101
|
+
schema:
|
102
|
+
$ref: '#/components/schemas/requestToPayCallback'
|
103
|
+
responses:
|
104
|
+
'200':
|
105
|
+
description: OK
|
106
|
+
'400':
|
107
|
+
$ref: ../components/responses/400.yaml
|
108
|
+
'500':
|
109
|
+
$ref: ../components/responses/500.yaml
|
110
|
+
summary: Callback for the requestToPay request.
|
111
|
+
tags:
|
112
|
+
- RequestToPayPut
|
113
|
+
/bulkTransfers:
|
114
|
+
post:
|
115
|
+
operationId: BackendBulkTransfersPost
|
116
|
+
requestBody:
|
117
|
+
content:
|
118
|
+
application/json:
|
119
|
+
schema:
|
120
|
+
$ref: '#/components/schemas/bulkTransferRequest'
|
121
|
+
description: An incoming bulk transfer request.
|
122
|
+
responses:
|
123
|
+
'200':
|
124
|
+
content:
|
125
|
+
application/json:
|
126
|
+
schema:
|
127
|
+
$ref: '#/components/schemas/bulkTransferResponse'
|
128
|
+
description: The bulk transfer was accepted.
|
129
|
+
'400':
|
130
|
+
$ref: ../components/responses/400.yaml
|
131
|
+
'500':
|
132
|
+
$ref: ../components/responses/500.yaml
|
133
|
+
summary: Execute bulk transfer of funds from an external account to internal accounts.
|
134
|
+
tags:
|
135
|
+
- BulkTransfers
|
136
|
+
/bulkTransfers/{idValue}:
|
137
|
+
get:
|
138
|
+
operationId: BackendBulkTransfersGet
|
139
|
+
parameters:
|
140
|
+
- $ref: '#/components/parameters/idValue'
|
141
|
+
responses:
|
142
|
+
'200':
|
143
|
+
content:
|
144
|
+
application/json:
|
145
|
+
schema:
|
146
|
+
$ref: '#/components/schemas/bulkTransferResponse'
|
147
|
+
description: Response containing details of the requested bulk transfer.
|
148
|
+
'400':
|
149
|
+
$ref: ../components/responses/400.yaml
|
150
|
+
'404':
|
151
|
+
$ref: ../components/responses/404.yaml
|
152
|
+
'500':
|
153
|
+
$ref: ../components/responses/500.yaml
|
154
|
+
summary: Requests information relating to a bulk transfer identified by the specified identifier value.
|
155
|
+
tags:
|
156
|
+
- BulkTransfers
|
157
|
+
/otp/{transactionRequestId}:
|
158
|
+
get:
|
159
|
+
operationId: BackendOtpGet
|
160
|
+
parameters:
|
161
|
+
- $ref: '#/components/parameters/transactionRequestId'
|
162
|
+
responses:
|
163
|
+
'200':
|
164
|
+
content:
|
165
|
+
application/json:
|
166
|
+
schema:
|
167
|
+
$ref: '#/components/schemas/otpDetails'
|
168
|
+
description: Response containing details of the OTP.
|
169
|
+
'400':
|
170
|
+
$ref: ../components/responses/400.yaml
|
171
|
+
'404':
|
172
|
+
$ref: ../components/responses/404.yaml
|
173
|
+
'500':
|
174
|
+
$ref: ../components/responses/500.yaml
|
175
|
+
summary: Requests OTP.
|
176
|
+
tags:
|
177
|
+
- OTP
|
178
|
+
/participants/{idType}/{idValue}:
|
179
|
+
get:
|
180
|
+
description: The HTTP request `GET /participants/{idType}/{idValue}` is used to find out in which FSP the requested party, defined by `{idType}` and `{idValue}`, is located.
|
181
|
+
operationId: BackendParticipantsGetByTypeAndID
|
182
|
+
parameters:
|
183
|
+
- $ref: '#/components/parameters/idType'
|
184
|
+
- $ref: '#/components/parameters/idValue'
|
185
|
+
responses:
|
186
|
+
'200':
|
187
|
+
content:
|
188
|
+
application/json:
|
189
|
+
schema:
|
190
|
+
$ref: '#/components/schemas/participantsResponse'
|
191
|
+
description: Response containing details of the requested party.
|
192
|
+
'400':
|
193
|
+
$ref: ../components/responses/400.yaml
|
194
|
+
'404':
|
195
|
+
$ref: ../components/responses/404.yaml
|
196
|
+
'500':
|
197
|
+
$ref: ../components/responses/500.yaml
|
198
|
+
summary: Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
|
199
|
+
tags:
|
200
|
+
- Participants
|
201
|
+
/participants/{idType}/{idValue}/{idSubValue}:
|
202
|
+
get:
|
203
|
+
description: The HTTP request `GET /participants/{idType}/{idValue}/{idSubValue}` is used to find out in which FSP the requested party, defined by `{idType}`, `{idValue}` and `{idSubValue}` is located.
|
204
|
+
operationId: BackendParticipantsGetByTypeIDAndSubId
|
205
|
+
parameters:
|
206
|
+
- $ref: '#/components/parameters/idType'
|
207
|
+
- $ref: '#/components/parameters/idValue'
|
208
|
+
- $ref: '#/components/parameters/idSubValue'
|
209
|
+
responses:
|
210
|
+
'200':
|
211
|
+
content:
|
212
|
+
application/json:
|
213
|
+
schema:
|
214
|
+
$ref: '#/components/schemas/participantsResponse'
|
215
|
+
description: Response containing details of the requested party.
|
216
|
+
'400':
|
217
|
+
$ref: ../components/responses/400.yaml
|
218
|
+
'404':
|
219
|
+
$ref: ../components/responses/404.yaml
|
220
|
+
'500':
|
221
|
+
$ref: ../components/responses/500.yaml
|
222
|
+
summary: Asks for the identifier (fspId) of the scheme participant (FSP) that can handle transfers for the specified identifier type and value.
|
223
|
+
tags:
|
224
|
+
- Participants
|
225
|
+
/parties/{idType}/{idValue}:
|
226
|
+
get:
|
227
|
+
description: The HTTP request `GET /parties/{idType}/{idValue}` is used to look up information regarding the requested transfer party, identified by `{idType}` and `{idValue}`.
|
228
|
+
operationId: BackendPartiesGetByTypeAndID
|
229
|
+
parameters:
|
230
|
+
- $ref: '#/components/parameters/idType'
|
231
|
+
- $ref: '#/components/parameters/idValue'
|
232
|
+
responses:
|
233
|
+
'200':
|
234
|
+
content:
|
235
|
+
application/json:
|
236
|
+
schema:
|
237
|
+
$ref: '#/components/schemas/transferParty'
|
238
|
+
description: Response containing details of the requested party.
|
239
|
+
'400':
|
240
|
+
$ref: ../components/responses/400.yaml
|
241
|
+
'404':
|
242
|
+
$ref: ../components/responses/404.yaml
|
243
|
+
'500':
|
244
|
+
$ref: ../components/responses/500.yaml
|
245
|
+
summary: Requests information relating to a transfer party identified by the specified identifier type and value.
|
246
|
+
tags:
|
247
|
+
- Parties
|
248
|
+
/parties/{idType}/{idValue}/{idSubValue}:
|
249
|
+
get:
|
250
|
+
description: The HTTP request `GET /parties/{idType}/{idValue}/{idSubValue}` is used to look up information regarding the requested transfer party, identified by `{idType}`, `{idValue}` and `{idSubValue}`.
|
251
|
+
operationId: BackendPartiesGetByTypeIdAndSubId
|
252
|
+
parameters:
|
253
|
+
- $ref: '#/components/parameters/idType'
|
254
|
+
- $ref: '#/components/parameters/idValue'
|
255
|
+
- $ref: '#/components/parameters/idSubValue'
|
256
|
+
responses:
|
257
|
+
'200':
|
258
|
+
content:
|
259
|
+
application/json:
|
260
|
+
schema:
|
261
|
+
$ref: '#/components/schemas/transferParty'
|
262
|
+
description: Response containing details of the requested party.
|
263
|
+
'400':
|
264
|
+
$ref: ../components/responses/400.yaml
|
265
|
+
'404':
|
266
|
+
$ref: ../components/responses/404.yaml
|
267
|
+
'500':
|
268
|
+
$ref: ../components/responses/500.yaml
|
269
|
+
summary: Requests information relating to a transfer party identified by the specified identifier type, value and subId value.
|
270
|
+
tags:
|
271
|
+
- Parties
|
272
|
+
/quoterequests:
|
273
|
+
post:
|
274
|
+
description: The HTTP request `POST /quoterequests` is used to request the creation of a quote for the provided financial transaction.
|
275
|
+
operationId: BackendQuoteRequest
|
276
|
+
requestBody:
|
277
|
+
content:
|
278
|
+
application/json:
|
279
|
+
schema:
|
280
|
+
$ref: '#/components/schemas/quoteRequest'
|
281
|
+
description: Request for a transfer quotation.
|
282
|
+
responses:
|
283
|
+
'200':
|
284
|
+
content:
|
285
|
+
application/json:
|
286
|
+
schema:
|
287
|
+
$ref: '#/components/schemas/quoteResponse'
|
288
|
+
description: A response to the transfer quotation request.
|
289
|
+
'400':
|
290
|
+
$ref: ../components/responses/400.yaml
|
291
|
+
'500':
|
292
|
+
$ref: ../components/responses/500.yaml
|
293
|
+
summary: Requests a quote for the specified transfer.
|
294
|
+
tags:
|
295
|
+
- Quotes
|
296
|
+
/transactionrequests:
|
297
|
+
post:
|
298
|
+
operationId: BackendTransactionRequest
|
299
|
+
requestBody:
|
300
|
+
content:
|
301
|
+
application/json:
|
302
|
+
schema:
|
303
|
+
$ref: '#/components/schemas/transactionRequest'
|
304
|
+
description: Request for Transaction Request.
|
305
|
+
responses:
|
306
|
+
'200':
|
307
|
+
content:
|
308
|
+
application/json:
|
309
|
+
schema:
|
310
|
+
$ref: '#/components/schemas/transactionRequestResponse'
|
311
|
+
description: A response to the transfer transaction request.
|
312
|
+
'400':
|
313
|
+
$ref: ../components/responses/400.yaml
|
314
|
+
'500':
|
315
|
+
$ref: ../components/responses/500.yaml
|
316
|
+
summary: Transaction request that supports pull based transfers.
|
317
|
+
tags:
|
318
|
+
- TransactionRequest
|
319
|
+
/transfers:
|
320
|
+
post:
|
321
|
+
description: The HTTP request `POST /transfers` is used to request the creation of a transfer for the transfer party.
|
322
|
+
operationId: BackendTransfersPost
|
323
|
+
requestBody:
|
324
|
+
content:
|
325
|
+
application/json:
|
326
|
+
schema:
|
327
|
+
$ref: '#/components/schemas/transferRequest'
|
328
|
+
description: An incoming transfer request.
|
329
|
+
responses:
|
330
|
+
'200':
|
331
|
+
content:
|
332
|
+
application/json:
|
333
|
+
schema:
|
334
|
+
$ref: '#/components/schemas/transferResponse'
|
335
|
+
description: The transfer was accepted.
|
336
|
+
'400':
|
337
|
+
$ref: ../components/responses/400.yaml
|
338
|
+
'500':
|
339
|
+
$ref: ../components/responses/500.yaml
|
340
|
+
summary: Transfers funds from an external account to an internal account.
|
341
|
+
tags:
|
342
|
+
- Transfers
|
343
|
+
/transfers/{transferId}:
|
344
|
+
get:
|
345
|
+
description: The HTTP request `GET /transfers/{transferId}` is used to get information regarding a transfer created or requested earlier. The `{transferId}` in the URI should contain the `transferId` that was used for the creation of the transfer.
|
346
|
+
operationId: BackendTransfersGet
|
347
|
+
parameters:
|
348
|
+
- $ref: '#/components/parameters/transferId'
|
349
|
+
responses:
|
350
|
+
'200':
|
351
|
+
content:
|
352
|
+
application/json:
|
353
|
+
schema:
|
354
|
+
$ref: '#/components/schemas/transferDetailsResponse'
|
355
|
+
description: The transfer was accepted.
|
356
|
+
'500':
|
357
|
+
$ref: ../components/responses/500.yaml
|
358
|
+
summary: Retrieves information for a specific transfer.
|
359
|
+
tags:
|
360
|
+
- Transfers
|
361
|
+
put:
|
362
|
+
description: The HTTP request `PUT /transfers/{transferId}` is used to receive notification for transfer being fulfiled when the FSP is a Payee.
|
363
|
+
operationId: BackendTransfersPut
|
364
|
+
parameters:
|
365
|
+
- $ref: '#/components/parameters/transferId'
|
366
|
+
requestBody:
|
367
|
+
content:
|
368
|
+
application/json:
|
369
|
+
schema:
|
370
|
+
$ref: '#/components/schemas/fulfilNotification'
|
371
|
+
description: An incoming notification for fulfiled transfer.
|
372
|
+
responses:
|
373
|
+
'200':
|
374
|
+
description: The notification was accepted.
|
375
|
+
'500':
|
376
|
+
$ref: ../components/responses/500.yaml
|
377
|
+
summary: Receive notification for a specific transfer.
|
378
|
+
tags:
|
379
|
+
- Transfers
|
380
|
+
/fxQuotes:
|
381
|
+
$ref: 'paths/fxQuotes.yaml'
|
382
|
+
/fxTransfers:
|
383
|
+
$ref: 'paths/fxTransfers.yaml'
|
384
|
+
/fxTransfers/{commitRequestId}:
|
385
|
+
$ref: 'paths/fxTransfersById.yaml'
|
386
|
+
components:
|
387
|
+
parameters:
|
388
|
+
idSubValue:
|
389
|
+
description: A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`.
|
390
|
+
in: path
|
391
|
+
name: idSubValue
|
392
|
+
required: true
|
393
|
+
schema:
|
394
|
+
type: string
|
395
|
+
idType:
|
396
|
+
description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
|
397
|
+
in: path
|
398
|
+
name: idType
|
399
|
+
required: true
|
400
|
+
schema:
|
401
|
+
type: string
|
402
|
+
idValue:
|
403
|
+
description: The identifier value.
|
404
|
+
in: path
|
405
|
+
name: idValue
|
406
|
+
required: true
|
407
|
+
schema:
|
408
|
+
type: string
|
409
|
+
transactionRequestId:
|
410
|
+
in: path
|
411
|
+
name: transactionRequestId
|
412
|
+
required: true
|
413
|
+
schema:
|
414
|
+
$ref: '#/components/schemas/transactionRequestId'
|
415
|
+
transferId:
|
416
|
+
in: path
|
417
|
+
name: transferId
|
418
|
+
required: true
|
419
|
+
schema:
|
420
|
+
type: string
|
421
|
+
|
422
|
+
schemas:
|
423
|
+
DateOfBirth:
|
424
|
+
description: Date of Birth of the Party.
|
425
|
+
example: '1966-06-16'
|
426
|
+
pattern: ^(?:[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)$
|
427
|
+
title: DateofBirth (type Date)
|
428
|
+
type: string
|
429
|
+
FirstName:
|
430
|
+
description: First name of the Party (Name Type).
|
431
|
+
example: Henrik
|
432
|
+
maxLength: 128
|
433
|
+
minLength: 1
|
434
|
+
pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
|
435
|
+
title: FirstName
|
436
|
+
type: string
|
437
|
+
FspId:
|
438
|
+
description: FSP identifier.
|
439
|
+
maxLength: 32
|
440
|
+
minLength: 1
|
441
|
+
title: FspId
|
442
|
+
type: string
|
443
|
+
IndividualQuote:
|
444
|
+
description: Data model for individual quote in a bulk quote request.
|
445
|
+
properties:
|
446
|
+
amount:
|
447
|
+
$ref: '#/components/schemas/money'
|
448
|
+
amountType:
|
449
|
+
$ref: '#/components/schemas/amountType'
|
450
|
+
currency:
|
451
|
+
$ref: '#/components/schemas/currency'
|
452
|
+
feesAmount:
|
453
|
+
$ref: '#/components/schemas/money'
|
454
|
+
feesCurrency:
|
455
|
+
$ref: '#/components/schemas/currency'
|
456
|
+
initiator:
|
457
|
+
$ref: '#/components/schemas/initiator'
|
458
|
+
initiatorType:
|
459
|
+
$ref: '#/components/schemas/initiatorType'
|
460
|
+
note:
|
461
|
+
description: An optional note associated with the quote.
|
462
|
+
maxLength: 128
|
463
|
+
minLength: 1
|
464
|
+
type: string
|
465
|
+
quoteId:
|
466
|
+
$ref: '#/components/schemas/quoteId'
|
467
|
+
subScenario:
|
468
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
469
|
+
to:
|
470
|
+
$ref: '#/components/schemas/transferParty'
|
471
|
+
transactionId:
|
472
|
+
$ref: '#/components/schemas/transactionId'
|
473
|
+
transactionType:
|
474
|
+
$ref: '#/components/schemas/transactionType'
|
475
|
+
required:
|
476
|
+
- quoteId
|
477
|
+
- transactionId
|
478
|
+
- to
|
479
|
+
- amountType
|
480
|
+
- amount
|
481
|
+
- currency
|
482
|
+
- transactionType
|
483
|
+
- initiator
|
484
|
+
- initiatorType
|
485
|
+
type: object
|
486
|
+
IndividualQuoteResultFailed:
|
487
|
+
description: Data model for failed individual quote in a bulk quote response.
|
488
|
+
properties:
|
489
|
+
errorResponse:
|
490
|
+
$ref: ../components/schemas/errorResponse.yaml
|
491
|
+
quoteId:
|
492
|
+
$ref: '#/components/schemas/quoteId'
|
493
|
+
required:
|
494
|
+
- quoteId
|
495
|
+
- errorResponse
|
496
|
+
type: object
|
497
|
+
IndividualQuoteResultSuccess:
|
498
|
+
description: Data model for successful individual quote in a bulk quote response.
|
499
|
+
properties:
|
500
|
+
payeeFspCommissionAmount:
|
501
|
+
$ref: '#/components/schemas/money'
|
502
|
+
payeeFspCommissionAmountCurrency:
|
503
|
+
$ref: '#/components/schemas/currency'
|
504
|
+
payeeFspFeeAmount:
|
505
|
+
$ref: '#/components/schemas/money'
|
506
|
+
payeeFspFeeAmountCurrency:
|
507
|
+
$ref: '#/components/schemas/currency'
|
508
|
+
payeeReceiveAmount:
|
509
|
+
$ref: '#/components/schemas/money'
|
510
|
+
payeeReceiveAmountCurrency:
|
511
|
+
$ref: '#/components/schemas/currency'
|
512
|
+
quoteId:
|
513
|
+
$ref: '#/components/schemas/quoteId'
|
514
|
+
transferAmount:
|
515
|
+
$ref: '#/components/schemas/money'
|
516
|
+
transferAmountCurrency:
|
517
|
+
$ref: '#/components/schemas/currency'
|
518
|
+
required:
|
519
|
+
- quoteId
|
520
|
+
type: object
|
521
|
+
IndividualTransfer:
|
522
|
+
description: Data model for individual transfer in a bulk transfer request.
|
523
|
+
properties:
|
524
|
+
amount:
|
525
|
+
$ref: '#/components/schemas/money'
|
526
|
+
amountType:
|
527
|
+
$ref: '#/components/schemas/amountType'
|
528
|
+
currency:
|
529
|
+
$ref: '#/components/schemas/currency'
|
530
|
+
feesAmount:
|
531
|
+
$ref: '#/components/schemas/money'
|
532
|
+
feesCurrency:
|
533
|
+
$ref: '#/components/schemas/currency'
|
534
|
+
initiator:
|
535
|
+
$ref: '#/components/schemas/initiator'
|
536
|
+
initiatorType:
|
537
|
+
$ref: '#/components/schemas/initiatorType'
|
538
|
+
note:
|
539
|
+
description: An optional note associated with the quote.
|
540
|
+
maxLength: 128
|
541
|
+
minLength: 1
|
542
|
+
type: string
|
543
|
+
subScenario:
|
544
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
545
|
+
to:
|
546
|
+
$ref: '#/components/schemas/transferParty'
|
547
|
+
transactionType:
|
548
|
+
$ref: '#/components/schemas/transactionType'
|
549
|
+
transferId:
|
550
|
+
$ref: '#/components/schemas/transferId'
|
551
|
+
required:
|
552
|
+
- transferId
|
553
|
+
- amount
|
554
|
+
- currency
|
555
|
+
type: object
|
556
|
+
IndividualTransferResult:
|
557
|
+
description: Data model for individual transfer in a bulk transfer response.
|
558
|
+
properties:
|
559
|
+
errorResponse:
|
560
|
+
$ref: ../components/schemas/errorResponse.yaml
|
561
|
+
extensionList:
|
562
|
+
$ref: '#/components/schemas/extensionList'
|
563
|
+
transferId:
|
564
|
+
$ref: '#/components/schemas/transferId'
|
565
|
+
required:
|
566
|
+
- transferId
|
567
|
+
type: object
|
568
|
+
LastName:
|
569
|
+
description: Last name of the Party (Name Type).
|
570
|
+
example: Karlsson
|
571
|
+
maxLength: 128
|
572
|
+
minLength: 1
|
573
|
+
pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
|
574
|
+
title: LastName
|
575
|
+
type: string
|
576
|
+
MerchantClassificationCode:
|
577
|
+
description: A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc.
|
578
|
+
pattern: ^[\d]{1,4}$
|
579
|
+
title: MerchantClassificationCode
|
580
|
+
type: string
|
581
|
+
MiddleName:
|
582
|
+
description: Middle name of the Party (Name Type).
|
583
|
+
example: Johannes
|
584
|
+
maxLength: 128
|
585
|
+
minLength: 1
|
586
|
+
pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
|
587
|
+
title: MiddleName
|
588
|
+
type: string
|
589
|
+
amountCurrency:
|
590
|
+
description: Object containing Amount and Currency of the transfer.
|
591
|
+
properties:
|
592
|
+
amount:
|
593
|
+
$ref: '#/components/schemas/money'
|
594
|
+
currency:
|
595
|
+
$ref: '#/components/schemas/currency'
|
596
|
+
required:
|
597
|
+
- amount
|
598
|
+
- currency
|
599
|
+
type: object
|
600
|
+
amountType:
|
601
|
+
enum:
|
602
|
+
- SEND
|
603
|
+
- RECEIVE
|
604
|
+
type: string
|
605
|
+
bulkQuoteId:
|
606
|
+
description: A Mojaloop API bulk quote identifier (UUID).
|
607
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
608
|
+
type: string
|
609
|
+
bulkQuoteRequest:
|
610
|
+
description: A request for a bulk quote.
|
611
|
+
properties:
|
612
|
+
bulkQuoteId:
|
613
|
+
$ref: '#/components/schemas/bulkQuoteId'
|
614
|
+
expiration:
|
615
|
+
$ref: '#/components/schemas/timestamp'
|
616
|
+
from:
|
617
|
+
$ref: '#/components/schemas/transferParty'
|
618
|
+
geoCode:
|
619
|
+
$ref: '#/components/schemas/geoCode'
|
620
|
+
individualQuotes:
|
621
|
+
items:
|
622
|
+
$ref: '#/components/schemas/IndividualQuote'
|
623
|
+
maxItems: 1000
|
624
|
+
minItems: 1
|
625
|
+
type: array
|
626
|
+
required:
|
627
|
+
- bulkQuoteId
|
628
|
+
- from
|
629
|
+
- individualQuotes
|
630
|
+
type: object
|
631
|
+
bulkQuoteResponse:
|
632
|
+
description: A response to a request for a bulk quote.
|
633
|
+
properties:
|
634
|
+
bulkQuoteId:
|
635
|
+
$ref: '#/components/schemas/bulkQuoteId'
|
636
|
+
expiration:
|
637
|
+
$ref: '#/components/schemas/timestamp'
|
638
|
+
individualQuoteResults:
|
639
|
+
description: Fees for each individual transaction, if any of them are charged per transaction.
|
640
|
+
items:
|
641
|
+
oneOf:
|
642
|
+
- $ref: '#/components/schemas/IndividualQuoteResultSuccess'
|
643
|
+
- $ref: '#/components/schemas/IndividualQuoteResultFailed'
|
644
|
+
maxItems: 1000
|
645
|
+
minItems: 1
|
646
|
+
type: array
|
647
|
+
required:
|
648
|
+
- bulkQuoteId
|
649
|
+
- individualQuoteResults
|
650
|
+
type: object
|
651
|
+
bulkTransferId:
|
652
|
+
description: A Mojaloop API transfer identifier (UUID).
|
653
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
654
|
+
type: string
|
655
|
+
bulkTransferRequest:
|
656
|
+
properties:
|
657
|
+
bulkQuote:
|
658
|
+
$ref: '#/components/schemas/bulkQuoteResponse'
|
659
|
+
bulkTransferId:
|
660
|
+
$ref: '#/components/schemas/bulkTransferId'
|
661
|
+
from:
|
662
|
+
$ref: '#/components/schemas/transferParty'
|
663
|
+
individualTransfers:
|
664
|
+
items:
|
665
|
+
$ref: '#/components/schemas/IndividualTransfer'
|
666
|
+
maxItems: 1000
|
667
|
+
minItems: 1
|
668
|
+
type: array
|
669
|
+
required:
|
670
|
+
- bulkTransferId
|
671
|
+
- individualTransfers
|
672
|
+
type: object
|
673
|
+
bulkTransferResponse:
|
674
|
+
properties:
|
675
|
+
bulkTransferId:
|
676
|
+
$ref: '#/components/schemas/bulkTransferId'
|
677
|
+
homeTransactionId:
|
678
|
+
description: Transaction ID from the DFSP backend, used to reconcile transactions between the switch and DFSP backend systems.
|
679
|
+
type: string
|
680
|
+
individualTransferResults:
|
681
|
+
items:
|
682
|
+
$ref: '#/components/schemas/IndividualTransferResult'
|
683
|
+
maxItems: 1000
|
684
|
+
minItems: 1
|
685
|
+
type: array
|
686
|
+
required:
|
687
|
+
- homeTransactionId
|
688
|
+
type: object
|
689
|
+
currency:
|
690
|
+
enum:
|
691
|
+
- AED
|
692
|
+
- AFN
|
693
|
+
- ALL
|
694
|
+
- AMD
|
695
|
+
- ANG
|
696
|
+
- AOA
|
697
|
+
- ARS
|
698
|
+
- AUD
|
699
|
+
- AWG
|
700
|
+
- AZN
|
701
|
+
- BAM
|
702
|
+
- BBD
|
703
|
+
- BDT
|
704
|
+
- BGN
|
705
|
+
- BHD
|
706
|
+
- BIF
|
707
|
+
- BMD
|
708
|
+
- BND
|
709
|
+
- BOB
|
710
|
+
- BRL
|
711
|
+
- BSD
|
712
|
+
- BTN
|
713
|
+
- BWP
|
714
|
+
- BYN
|
715
|
+
- BZD
|
716
|
+
- CAD
|
717
|
+
- CDF
|
718
|
+
- CHF
|
719
|
+
- CLP
|
720
|
+
- CNY
|
721
|
+
- COP
|
722
|
+
- CRC
|
723
|
+
- CUC
|
724
|
+
- CUP
|
725
|
+
- CVE
|
726
|
+
- CZK
|
727
|
+
- DJF
|
728
|
+
- DKK
|
729
|
+
- DOP
|
730
|
+
- DZD
|
731
|
+
- EGP
|
732
|
+
- ERN
|
733
|
+
- ETB
|
734
|
+
- EUR
|
735
|
+
- FJD
|
736
|
+
- FKP
|
737
|
+
- GBP
|
738
|
+
- GEL
|
739
|
+
- GGP
|
740
|
+
- GHS
|
741
|
+
- GIP
|
742
|
+
- GMD
|
743
|
+
- GNF
|
744
|
+
- GTQ
|
745
|
+
- GYD
|
746
|
+
- HKD
|
747
|
+
- HNL
|
748
|
+
- HRK
|
749
|
+
- HTG
|
750
|
+
- HUF
|
751
|
+
- IDR
|
752
|
+
- ILS
|
753
|
+
- IMP
|
754
|
+
- INR
|
755
|
+
- IQD
|
756
|
+
- IRR
|
757
|
+
- ISK
|
758
|
+
- JEP
|
759
|
+
- JMD
|
760
|
+
- JOD
|
761
|
+
- JPY
|
762
|
+
- KES
|
763
|
+
- KGS
|
764
|
+
- KHR
|
765
|
+
- KMF
|
766
|
+
- KPW
|
767
|
+
- KRW
|
768
|
+
- KWD
|
769
|
+
- KYD
|
770
|
+
- KZT
|
771
|
+
- LAK
|
772
|
+
- LBP
|
773
|
+
- LKR
|
774
|
+
- LRD
|
775
|
+
- LSL
|
776
|
+
- LYD
|
777
|
+
- MAD
|
778
|
+
- MDL
|
779
|
+
- MGA
|
780
|
+
- MKD
|
781
|
+
- MMK
|
782
|
+
- MNT
|
783
|
+
- MOP
|
784
|
+
- MRO
|
785
|
+
- MUR
|
786
|
+
- MVR
|
787
|
+
- MWK
|
788
|
+
- MXN
|
789
|
+
- MYR
|
790
|
+
- MZN
|
791
|
+
- NAD
|
792
|
+
- NGN
|
793
|
+
- NIO
|
794
|
+
- NOK
|
795
|
+
- NPR
|
796
|
+
- NZD
|
797
|
+
- OMR
|
798
|
+
- PAB
|
799
|
+
- PEN
|
800
|
+
- PGK
|
801
|
+
- PHP
|
802
|
+
- PKR
|
803
|
+
- PLN
|
804
|
+
- PYG
|
805
|
+
- QAR
|
806
|
+
- RON
|
807
|
+
- RSD
|
808
|
+
- RUB
|
809
|
+
- RWF
|
810
|
+
- SAR
|
811
|
+
- SBD
|
812
|
+
- SCR
|
813
|
+
- SDG
|
814
|
+
- SEK
|
815
|
+
- SGD
|
816
|
+
- SHP
|
817
|
+
- SLL
|
818
|
+
- SOS
|
819
|
+
- SPL
|
820
|
+
- SRD
|
821
|
+
- STD
|
822
|
+
- SVC
|
823
|
+
- SYP
|
824
|
+
- SZL
|
825
|
+
- THB
|
826
|
+
- TJS
|
827
|
+
- TMT
|
828
|
+
- TND
|
829
|
+
- TOP
|
830
|
+
- TRY
|
831
|
+
- TTD
|
832
|
+
- TVD
|
833
|
+
- TWD
|
834
|
+
- TZS
|
835
|
+
- UAH
|
836
|
+
- UGX
|
837
|
+
- USD
|
838
|
+
- UYU
|
839
|
+
- UZS
|
840
|
+
- VEF
|
841
|
+
- VND
|
842
|
+
- VUV
|
843
|
+
- WST
|
844
|
+
- XAF
|
845
|
+
- XCD
|
846
|
+
- XDR
|
847
|
+
- XOF
|
848
|
+
- XPF
|
849
|
+
- XTS
|
850
|
+
- XXX
|
851
|
+
- YER
|
852
|
+
- ZAR
|
853
|
+
- ZMW
|
854
|
+
- ZWD
|
855
|
+
maxLength: 3
|
856
|
+
minLength: 3
|
857
|
+
type: string
|
858
|
+
dateOfBirth:
|
859
|
+
description: Date of birth in the form YYYY-MM-DD.
|
860
|
+
pattern: ^(?:[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)$
|
861
|
+
type: string
|
862
|
+
errorCode:
|
863
|
+
description: |
|
864
|
+
The API data type errorCode is a JSON String of four characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. Each error code in the API is a four-digit number, for example, 1234, where the first number (1 in the example) represents the high-level error category, the second number (2 in the example) represents the low-level error category, and the last two numbers (34 in the example) represents the specific error.
|
865
|
+
pattern: ^[1-9]\d{3}$
|
866
|
+
title: ErrorCode
|
867
|
+
type: string
|
868
|
+
errorDescription:
|
869
|
+
description: Error description string.
|
870
|
+
maxLength: 128
|
871
|
+
minLength: 1
|
872
|
+
title: ErrorDescription
|
873
|
+
type: string
|
874
|
+
errorInformation:
|
875
|
+
description: A Mojaloop API error information construct.
|
876
|
+
properties:
|
877
|
+
errorCode:
|
878
|
+
$ref: '#/components/schemas/errorCode'
|
879
|
+
errorDescription:
|
880
|
+
$ref: '#/components/schemas/errorDescription'
|
881
|
+
extensionList:
|
882
|
+
$ref: '#/components/schemas/extensionListComplex'
|
883
|
+
required:
|
884
|
+
- errorCode
|
885
|
+
- errorDescription
|
886
|
+
title: ErrorInformation
|
887
|
+
type: object
|
888
|
+
extensionItem:
|
889
|
+
properties:
|
890
|
+
key:
|
891
|
+
maxLength: 32
|
892
|
+
minLength: 1
|
893
|
+
type: string
|
894
|
+
value:
|
895
|
+
maxLength: 128
|
896
|
+
minLength: 1
|
897
|
+
type: string
|
898
|
+
type: object
|
899
|
+
extensionList:
|
900
|
+
items:
|
901
|
+
$ref: '#/components/schemas/extensionItem'
|
902
|
+
maxItems: 16
|
903
|
+
minItems: 0
|
904
|
+
type: array
|
905
|
+
extensionListComplex:
|
906
|
+
description: Data model for the complex type ExtensionList.
|
907
|
+
properties:
|
908
|
+
extension:
|
909
|
+
description: Number of Extension elements.
|
910
|
+
items:
|
911
|
+
$ref: '#/components/schemas/extensionItem'
|
912
|
+
maxItems: 16
|
913
|
+
minItems: 1
|
914
|
+
type: array
|
915
|
+
required:
|
916
|
+
- extension
|
917
|
+
type: object
|
918
|
+
fspId:
|
919
|
+
description: FSP identifier.
|
920
|
+
maxLength: 32
|
921
|
+
minLength: 1
|
922
|
+
type: string
|
923
|
+
fulfilNotification:
|
924
|
+
description: PUT /transfers/{transferId} object.
|
925
|
+
properties:
|
926
|
+
currentState:
|
927
|
+
$ref: '#/components/schemas/transferStatus'
|
928
|
+
direction:
|
929
|
+
enum:
|
930
|
+
- INBOUND
|
931
|
+
type: string
|
932
|
+
finalNotification:
|
933
|
+
properties:
|
934
|
+
completedTimestamp:
|
935
|
+
$ref: '#/components/schemas/timestamp'
|
936
|
+
extensionList:
|
937
|
+
$ref: '#/components/schemas/extensionList'
|
938
|
+
transferState:
|
939
|
+
$ref: '#/components/schemas/transferState'
|
940
|
+
required:
|
941
|
+
- completedTimestamp
|
942
|
+
- transferState
|
943
|
+
type: object
|
944
|
+
fulfil:
|
945
|
+
properties:
|
946
|
+
body:
|
947
|
+
type: object
|
948
|
+
headers:
|
949
|
+
type: object
|
950
|
+
type: object
|
951
|
+
initiatedTimestamp:
|
952
|
+
$ref: '#/components/schemas/timestamp'
|
953
|
+
lastError:
|
954
|
+
$ref: '../components/schemas/transferError.yaml'
|
955
|
+
prepare:
|
956
|
+
properties:
|
957
|
+
body:
|
958
|
+
type: object
|
959
|
+
headers:
|
960
|
+
type: object
|
961
|
+
type: object
|
962
|
+
quote:
|
963
|
+
properties:
|
964
|
+
fulfilment:
|
965
|
+
type: string
|
966
|
+
internalRequest:
|
967
|
+
type: object
|
968
|
+
mojaloopResponse:
|
969
|
+
type: object
|
970
|
+
request:
|
971
|
+
type: object
|
972
|
+
response:
|
973
|
+
type: object
|
974
|
+
type: object
|
975
|
+
quoteRequest:
|
976
|
+
properties:
|
977
|
+
body:
|
978
|
+
type: object
|
979
|
+
headers:
|
980
|
+
type: object
|
981
|
+
type: object
|
982
|
+
quoteResponse:
|
983
|
+
properties:
|
984
|
+
body:
|
985
|
+
type: object
|
986
|
+
headers:
|
987
|
+
type: object
|
988
|
+
type: object
|
989
|
+
transferId:
|
990
|
+
$ref: '#/components/schemas/transferId'
|
991
|
+
title: TransfersIDPatchResponse
|
992
|
+
type: object
|
993
|
+
generalError:
|
994
|
+
description: This object may represent a number of different error object types and so its properties may vary significantly.
|
995
|
+
type: object
|
996
|
+
geoCode:
|
997
|
+
description: Indicates the geographic location from where the transaction was initiated.
|
998
|
+
properties:
|
999
|
+
latitude:
|
1000
|
+
$ref: '#/components/schemas/latitude'
|
1001
|
+
longitude:
|
1002
|
+
$ref: '#/components/schemas/longitude'
|
1003
|
+
required:
|
1004
|
+
- latitude
|
1005
|
+
- longitude
|
1006
|
+
type: object
|
1007
|
+
idSubValue:
|
1008
|
+
maxLength: 128
|
1009
|
+
minLength: 1
|
1010
|
+
type: string
|
1011
|
+
idType:
|
1012
|
+
enum:
|
1013
|
+
- MSISDN
|
1014
|
+
- ACCOUNT_NO
|
1015
|
+
- EMAIL
|
1016
|
+
- PERSONAL_ID
|
1017
|
+
- BUSINESS
|
1018
|
+
- DEVICE
|
1019
|
+
- ACCOUNT_ID
|
1020
|
+
- IBAN
|
1021
|
+
- ALIAS
|
1022
|
+
type: string
|
1023
|
+
idValue:
|
1024
|
+
description: Identifier of the party.
|
1025
|
+
maxLength: 128
|
1026
|
+
minLength: 1
|
1027
|
+
type: string
|
1028
|
+
ilpPacketData:
|
1029
|
+
description: Object containing transfer object.
|
1030
|
+
properties:
|
1031
|
+
amount:
|
1032
|
+
$ref: '#/components/schemas/amountCurrency'
|
1033
|
+
payee:
|
1034
|
+
$ref: '../components/schemas/Party.yaml'
|
1035
|
+
payer:
|
1036
|
+
$ref: '../components/schemas/Party.yaml'
|
1037
|
+
quoteId:
|
1038
|
+
$ref: '#/components/schemas/quoteId'
|
1039
|
+
transactionId:
|
1040
|
+
$ref: '#/components/schemas/transactionId'
|
1041
|
+
transactionType:
|
1042
|
+
$ref: '#/components/schemas/transactionTypeObject'
|
1043
|
+
required:
|
1044
|
+
- quoteId
|
1045
|
+
- transactionId
|
1046
|
+
- payer
|
1047
|
+
- payee
|
1048
|
+
- amount
|
1049
|
+
- transactionType
|
1050
|
+
type: object
|
1051
|
+
initiator:
|
1052
|
+
enum:
|
1053
|
+
- PAYER
|
1054
|
+
- PAYEE
|
1055
|
+
type: string
|
1056
|
+
initiatorType:
|
1057
|
+
enum:
|
1058
|
+
- CONSUMER
|
1059
|
+
- AGENT
|
1060
|
+
- BUSINESS
|
1061
|
+
- DEVICE
|
1062
|
+
type: string
|
1063
|
+
latitude:
|
1064
|
+
description: The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
|
1065
|
+
pattern: ^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
|
1066
|
+
type: string
|
1067
|
+
longitude:
|
1068
|
+
description: The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
|
1069
|
+
pattern: ^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$
|
1070
|
+
type: string
|
1071
|
+
money:
|
1072
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
1073
|
+
type: string
|
1074
|
+
otpDetails:
|
1075
|
+
properties:
|
1076
|
+
otpValue:
|
1077
|
+
description: OTP value.
|
1078
|
+
type: string
|
1079
|
+
required:
|
1080
|
+
- otpValue
|
1081
|
+
type: object
|
1082
|
+
participantsResponse:
|
1083
|
+
properties:
|
1084
|
+
fspId:
|
1085
|
+
$ref: '#/components/schemas/fspId'
|
1086
|
+
type: object
|
1087
|
+
payerType:
|
1088
|
+
enum:
|
1089
|
+
- CONSUMER
|
1090
|
+
- AGENT
|
1091
|
+
- BUSINESS
|
1092
|
+
- DEVICE
|
1093
|
+
type: string
|
1094
|
+
quoteId:
|
1095
|
+
description: A Mojaloop API quote identifier (UUID).
|
1096
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1097
|
+
type: string
|
1098
|
+
quoteRequest:
|
1099
|
+
description: A request for a quote for transfer from the DFSP backend.
|
1100
|
+
properties:
|
1101
|
+
homeR2PTransactionId:
|
1102
|
+
type: string
|
1103
|
+
description: >-
|
1104
|
+
Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer.
|
1105
|
+
amount:
|
1106
|
+
$ref: '#/components/schemas/money'
|
1107
|
+
amountType:
|
1108
|
+
$ref: '#/components/schemas/amountType'
|
1109
|
+
currency:
|
1110
|
+
$ref: '#/components/schemas/currency'
|
1111
|
+
expiration:
|
1112
|
+
$ref: '#/components/schemas/timestamp'
|
1113
|
+
extensionList:
|
1114
|
+
$ref: '#/components/schemas/extensionList'
|
1115
|
+
feesAmount:
|
1116
|
+
$ref: '#/components/schemas/money'
|
1117
|
+
feesCurrency:
|
1118
|
+
$ref: '#/components/schemas/currency'
|
1119
|
+
from:
|
1120
|
+
$ref: '#/components/schemas/transferParty'
|
1121
|
+
geoCode:
|
1122
|
+
$ref: '#/components/schemas/geoCode'
|
1123
|
+
initiator:
|
1124
|
+
$ref: '#/components/schemas/initiator'
|
1125
|
+
initiatorType:
|
1126
|
+
$ref: '#/components/schemas/initiatorType'
|
1127
|
+
note:
|
1128
|
+
description: An optional note associated with the requested transfer.
|
1129
|
+
maxLength: 128
|
1130
|
+
minLength: 1
|
1131
|
+
type: string
|
1132
|
+
quoteId:
|
1133
|
+
$ref: '#/components/schemas/quoteId'
|
1134
|
+
subScenario:
|
1135
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
1136
|
+
to:
|
1137
|
+
$ref: '#/components/schemas/transferParty'
|
1138
|
+
transactionId:
|
1139
|
+
$ref: '#/components/schemas/transactionId'
|
1140
|
+
transactionType:
|
1141
|
+
$ref: '#/components/schemas/transactionType'
|
1142
|
+
transactionRequestId:
|
1143
|
+
$ref: '#/components/schemas/transactionRequestId'
|
1144
|
+
converter:
|
1145
|
+
allOf:
|
1146
|
+
- $ref: ../../../fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml
|
1147
|
+
- description: >-
|
1148
|
+
An optional field which will allow the payer DFSP to specify which DFSP it wants to undertake currency conversion.
|
1149
|
+
This is useful incase of if the sender wants the recipient to receive a specified amount of the target currency,
|
1150
|
+
but the payer DFSP does not want to undertake the currency conversion. In this case, the amount of the transfer
|
1151
|
+
would be expressed in the target currency and the amountType would be set to RECEIVE.
|
1152
|
+
currencyConversion:
|
1153
|
+
allOf:
|
1154
|
+
- $ref: ../../../fspiop/v2_0/openapi3/components/schemas/FxRate.yaml
|
1155
|
+
- description: >-
|
1156
|
+
Used by the debtor party if it wants to share information about the currency conversion it proposes to make; or
|
1157
|
+
if it is required by scheme rules to share this information. This object contains the amount of the transfer in
|
1158
|
+
the source and target currencies, but does not identify the FXP being used.
|
1159
|
+
required:
|
1160
|
+
- quoteId
|
1161
|
+
- transactionId
|
1162
|
+
- to
|
1163
|
+
- from
|
1164
|
+
- amountType
|
1165
|
+
- amount
|
1166
|
+
- currency
|
1167
|
+
- transactionType
|
1168
|
+
- initiator
|
1169
|
+
- initiatorType
|
1170
|
+
type: object
|
1171
|
+
quoteResponse:
|
1172
|
+
description: A response to a request for a quote.
|
1173
|
+
properties:
|
1174
|
+
expiration:
|
1175
|
+
$ref: '#/components/schemas/timestamp'
|
1176
|
+
extensionList:
|
1177
|
+
$ref: '#/components/schemas/extensionList'
|
1178
|
+
geoCode:
|
1179
|
+
$ref: '#/components/schemas/geoCode'
|
1180
|
+
payeeFspCommissionAmount:
|
1181
|
+
$ref: '#/components/schemas/money'
|
1182
|
+
payeeFspCommissionAmountCurrency:
|
1183
|
+
$ref: '#/components/schemas/currency'
|
1184
|
+
payeeFspFeeAmount:
|
1185
|
+
$ref: '#/components/schemas/money'
|
1186
|
+
payeeFspFeeAmountCurrency:
|
1187
|
+
$ref: '#/components/schemas/currency'
|
1188
|
+
payeeReceiveAmount:
|
1189
|
+
$ref: '#/components/schemas/money'
|
1190
|
+
payeeReceiveAmountCurrency:
|
1191
|
+
$ref: '#/components/schemas/currency'
|
1192
|
+
quoteId:
|
1193
|
+
$ref: '#/components/schemas/quoteId'
|
1194
|
+
transactionId:
|
1195
|
+
$ref: '#/components/schemas/transactionId'
|
1196
|
+
transferAmount:
|
1197
|
+
$ref: '#/components/schemas/money'
|
1198
|
+
transferAmountCurrency:
|
1199
|
+
$ref: '#/components/schemas/currency'
|
1200
|
+
required:
|
1201
|
+
- quoteId
|
1202
|
+
- transactionId
|
1203
|
+
- transferAmount
|
1204
|
+
- transferAmountCurrency
|
1205
|
+
type: object
|
1206
|
+
scenario:
|
1207
|
+
enum:
|
1208
|
+
- TRANSFER
|
1209
|
+
type: string
|
1210
|
+
timestamp:
|
1211
|
+
description: An ISO-8601 formatted timestamp.
|
1212
|
+
pattern: ^(?:[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)$
|
1213
|
+
type: string
|
1214
|
+
transactionId:
|
1215
|
+
description: ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.
|
1216
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1217
|
+
type: string
|
1218
|
+
transactionRequest:
|
1219
|
+
description: A request for a pull based transfer.
|
1220
|
+
properties:
|
1221
|
+
amount:
|
1222
|
+
$ref: '#/components/schemas/money'
|
1223
|
+
currency:
|
1224
|
+
$ref: '#/components/schemas/currency'
|
1225
|
+
expiration:
|
1226
|
+
$ref: '#/components/schemas/timestamp'
|
1227
|
+
from:
|
1228
|
+
$ref: '#/components/schemas/transferParty'
|
1229
|
+
geoCode:
|
1230
|
+
$ref: '#/components/schemas/geoCode'
|
1231
|
+
initiator:
|
1232
|
+
$ref: '#/components/schemas/initiator'
|
1233
|
+
initiatorType:
|
1234
|
+
$ref: '#/components/schemas/initiatorType'
|
1235
|
+
note:
|
1236
|
+
description: An optional note associated with the requested transfer.
|
1237
|
+
maxLength: 128
|
1238
|
+
minLength: 1
|
1239
|
+
type: string
|
1240
|
+
to:
|
1241
|
+
$ref: '#/components/schemas/transferParty'
|
1242
|
+
transactionRequestId:
|
1243
|
+
$ref: '#/components/schemas/transactionRequestId'
|
1244
|
+
transactionType:
|
1245
|
+
$ref: '#/components/schemas/transactionType'
|
1246
|
+
subScenario:
|
1247
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
1248
|
+
authenticationType:
|
1249
|
+
$ref: '../components/schemas/AuthenticationType.yaml'
|
1250
|
+
required:
|
1251
|
+
- transactionRequestId
|
1252
|
+
- to
|
1253
|
+
- from
|
1254
|
+
- amount
|
1255
|
+
- currency
|
1256
|
+
- transactionType
|
1257
|
+
- initiator
|
1258
|
+
- initiatorType
|
1259
|
+
type: object
|
1260
|
+
transactionRequestId:
|
1261
|
+
description: A Mojaloop API transaction request identifier (UUID).
|
1262
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1263
|
+
type: string
|
1264
|
+
transactionRequestResponse:
|
1265
|
+
description: A response to a request for a quote.
|
1266
|
+
properties:
|
1267
|
+
homeR2PTransactionId:
|
1268
|
+
type: string
|
1269
|
+
description: >-
|
1270
|
+
Transaction ID from the DFSP backend, used to reconcile transactions
|
1271
|
+
between the Switch and DFSP backend systems.
|
1272
|
+
transactionId:
|
1273
|
+
$ref: '#/components/schemas/transactionId'
|
1274
|
+
transactionRequestState:
|
1275
|
+
$ref: '#/components/schemas/transactionRequestState'
|
1276
|
+
required:
|
1277
|
+
- transactionId
|
1278
|
+
- transactionRequestState
|
1279
|
+
type: object
|
1280
|
+
transactionRequestState:
|
1281
|
+
enum:
|
1282
|
+
- RECEIVED
|
1283
|
+
- PENDING
|
1284
|
+
- ACCEPTED
|
1285
|
+
- REJECTED
|
1286
|
+
type: string
|
1287
|
+
transactionSubScenario:
|
1288
|
+
description: Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type). Based on FSPIOP TransactionSubScenario.
|
1289
|
+
example: LOCALLY_DEFINED_SUBSCENARIO
|
1290
|
+
pattern: ^[A-Z_]{1,32}$
|
1291
|
+
title: transactionSubScenario
|
1292
|
+
type: string
|
1293
|
+
transactionType:
|
1294
|
+
enum:
|
1295
|
+
- TRANSFER
|
1296
|
+
- DEPOSIT
|
1297
|
+
- PAYMENT
|
1298
|
+
type: string
|
1299
|
+
transactionTypeObject:
|
1300
|
+
description: Object containing transfer object.
|
1301
|
+
properties:
|
1302
|
+
initiator:
|
1303
|
+
$ref: '#/components/schemas/initiator'
|
1304
|
+
initiatorType:
|
1305
|
+
$ref: '#/components/schemas/initiatorType'
|
1306
|
+
scenario:
|
1307
|
+
$ref: '#/components/schemas/scenario'
|
1308
|
+
subScenario:
|
1309
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
1310
|
+
required:
|
1311
|
+
- scenario
|
1312
|
+
- initiator
|
1313
|
+
- initiatorType
|
1314
|
+
type: object
|
1315
|
+
transferDetailsResponse:
|
1316
|
+
properties:
|
1317
|
+
amount:
|
1318
|
+
$ref: '#/components/schemas/money'
|
1319
|
+
amountType:
|
1320
|
+
$ref: '#/components/schemas/amountType'
|
1321
|
+
currency:
|
1322
|
+
$ref: '#/components/schemas/currency'
|
1323
|
+
extensions:
|
1324
|
+
$ref: '#/components/schemas/extensionList'
|
1325
|
+
from:
|
1326
|
+
$ref: '#/components/schemas/transferParty'
|
1327
|
+
homeTransactionId:
|
1328
|
+
description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
|
1329
|
+
type: string
|
1330
|
+
note:
|
1331
|
+
maxLength: 128
|
1332
|
+
type: string
|
1333
|
+
subScenario:
|
1334
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
1335
|
+
timestamp:
|
1336
|
+
$ref: '#/components/schemas/timestamp'
|
1337
|
+
to:
|
1338
|
+
$ref: '#/components/schemas/transferParty'
|
1339
|
+
transactionType:
|
1340
|
+
$ref: '#/components/schemas/transactionType'
|
1341
|
+
transferState:
|
1342
|
+
$ref: '#/components/schemas/transferState'
|
1343
|
+
required:
|
1344
|
+
- homeTransactionId
|
1345
|
+
- from
|
1346
|
+
- to
|
1347
|
+
- amountType
|
1348
|
+
- currency
|
1349
|
+
- amount
|
1350
|
+
- transferState
|
1351
|
+
- transactionType
|
1352
|
+
- timestamp
|
1353
|
+
type: object
|
1354
|
+
transferId:
|
1355
|
+
description: A Mojaloop API transfer identifier (UUID).
|
1356
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1357
|
+
type: string
|
1358
|
+
transferParty:
|
1359
|
+
properties:
|
1360
|
+
dateOfBirth:
|
1361
|
+
$ref: '#/components/schemas/dateOfBirth'
|
1362
|
+
displayName:
|
1363
|
+
description: Display name of the sender, if known.
|
1364
|
+
type: string
|
1365
|
+
extensionList:
|
1366
|
+
$ref: '#/components/schemas/extensionList'
|
1367
|
+
firstName:
|
1368
|
+
description: Party first name.
|
1369
|
+
type: string
|
1370
|
+
fspId:
|
1371
|
+
description: Mojaloop scheme FSPID of the DFSP which owns the party account.
|
1372
|
+
type: string
|
1373
|
+
idSubValue:
|
1374
|
+
$ref: '#/components/schemas/idSubValue'
|
1375
|
+
idType:
|
1376
|
+
$ref: '#/components/schemas/idType'
|
1377
|
+
idValue:
|
1378
|
+
description: The identifier string used to identify the sender.
|
1379
|
+
type: string
|
1380
|
+
lastName:
|
1381
|
+
description: Party last name.
|
1382
|
+
type: string
|
1383
|
+
merchantClassificationCode:
|
1384
|
+
description: Up to 4 digits specifying the sender's merchant classification, if known and applicable.
|
1385
|
+
type: string
|
1386
|
+
middleName:
|
1387
|
+
description: Party middle name.
|
1388
|
+
type: string
|
1389
|
+
type:
|
1390
|
+
$ref: '#/components/schemas/payerType'
|
1391
|
+
supportedCurrencies:
|
1392
|
+
type: array
|
1393
|
+
description: Currencies in which the party can receive funds.
|
1394
|
+
items:
|
1395
|
+
$ref: '#/components/schemas/currency'
|
1396
|
+
minItems: 0
|
1397
|
+
maxItems: 16
|
1398
|
+
kycInformation:
|
1399
|
+
$ref: ../../../fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml
|
1400
|
+
required:
|
1401
|
+
- idType
|
1402
|
+
- idValue
|
1403
|
+
type: object
|
1404
|
+
transferRequest:
|
1405
|
+
properties:
|
1406
|
+
homeR2PTransactionId:
|
1407
|
+
type: string
|
1408
|
+
description: >-
|
1409
|
+
Linked homeR2PTransactionId which was generated as part of POST /requestToPay to SDK incase of requestToPay transfer.
|
1410
|
+
amount:
|
1411
|
+
$ref: '#/components/schemas/money'
|
1412
|
+
amountType:
|
1413
|
+
$ref: '#/components/schemas/amountType'
|
1414
|
+
currency:
|
1415
|
+
$ref: '#/components/schemas/currency'
|
1416
|
+
from:
|
1417
|
+
$ref: '#/components/schemas/transferParty'
|
1418
|
+
ilpPacket:
|
1419
|
+
properties:
|
1420
|
+
data:
|
1421
|
+
$ref: '#/components/schemas/ilpPacketData'
|
1422
|
+
required:
|
1423
|
+
- data
|
1424
|
+
type: object
|
1425
|
+
note:
|
1426
|
+
maxLength: 128
|
1427
|
+
type: string
|
1428
|
+
quote:
|
1429
|
+
$ref: '#/components/schemas/quoteResponse'
|
1430
|
+
quoteRequestExtensions:
|
1431
|
+
$ref: '#/components/schemas/extensionList'
|
1432
|
+
subScenario:
|
1433
|
+
$ref: '../components/schemas/TransactionSubScenario.yaml'
|
1434
|
+
to:
|
1435
|
+
$ref: '#/components/schemas/transferParty'
|
1436
|
+
transactionType:
|
1437
|
+
$ref: '#/components/schemas/transactionType'
|
1438
|
+
transferId:
|
1439
|
+
$ref: '#/components/schemas/transferId'
|
1440
|
+
transactionRequestId:
|
1441
|
+
$ref: '#/components/schemas/transactionRequestId'
|
1442
|
+
required:
|
1443
|
+
- transferId
|
1444
|
+
- quote
|
1445
|
+
- from
|
1446
|
+
- to
|
1447
|
+
- amountType
|
1448
|
+
- currency
|
1449
|
+
- amount
|
1450
|
+
- transactionType
|
1451
|
+
- ilpPacket
|
1452
|
+
type: object
|
1453
|
+
transferResponse:
|
1454
|
+
properties:
|
1455
|
+
completedTimestamp:
|
1456
|
+
$ref: '#/components/schemas/timestamp'
|
1457
|
+
fulfilment:
|
1458
|
+
$ref: '../components/schemas/IlpFulfilment.yaml'
|
1459
|
+
homeTransactionId:
|
1460
|
+
description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
|
1461
|
+
type: string
|
1462
|
+
transferState:
|
1463
|
+
$ref: '#/components/schemas/transferState'
|
1464
|
+
required:
|
1465
|
+
- homeTransactionId
|
1466
|
+
type: object
|
1467
|
+
transferState:
|
1468
|
+
description: |
|
1469
|
+
Below are the allowed values for the enumeration - RECEIVED DFSP has received the transfer. - RESERVED DFSP has reserved the transfer. - COMMITTED DFSP has successfully performed the transfer. - ABORTED DFSP has aborted the transfer due a rejection or failure to perform the transfer.
|
1470
|
+
enum:
|
1471
|
+
- RECEIVED
|
1472
|
+
- RESERVED
|
1473
|
+
- COMMITTED
|
1474
|
+
- ABORTED
|
1475
|
+
type: string
|
1476
|
+
transferStatus:
|
1477
|
+
enum:
|
1478
|
+
- ERROR_OCCURRED
|
1479
|
+
- WAITING_FOR_PARTY_ACCEPTANCE
|
1480
|
+
- WAITING_FOR_QUOTE_ACCEPTANCE
|
1481
|
+
- COMPLETED
|
1482
|
+
type: string
|
1483
|
+
requestToPayCallback:
|
1484
|
+
description: Callback for requestToPay.
|
1485
|
+
properties:
|
1486
|
+
homeR2PTransactionId:
|
1487
|
+
type: string
|
1488
|
+
description: >-
|
1489
|
+
Transaction ID from the DFSP backend, used to reconcile transactions
|
1490
|
+
between the Switch and DFSP backend systems.
|
1491
|
+
transactionRequestState:
|
1492
|
+
$ref: '#/components/schemas/transactionRequestState'
|
1493
|
+
required:
|
1494
|
+
- transactionRequestState
|