@mojaloop/sdk-scheme-adapter 11.18.8
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/.env.example +140 -0
- package/.eslintignore +2 -0
- package/.eslintrc.json +30 -0
- package/.nvmrc +1 -0
- package/.versionrc +15 -0
- package/CHANGELOG.md +118 -0
- package/InboundServer/api.yaml +3594 -0
- package/InboundServer/api_template.yaml +69 -0
- package/InboundServer/handlers.js +940 -0
- package/InboundServer/index.js +205 -0
- package/InboundServer/middlewares.js +426 -0
- package/OAuthTestServer/index.js +66 -0
- package/OAuthTestServer/model.js +70 -0
- package/OutboundServer/api.yaml +2732 -0
- package/OutboundServer/api_interfaces/index.d.ts +117 -0
- package/OutboundServer/api_interfaces/openapi.d.ts +1475 -0
- package/OutboundServer/api_template/components/parameters/bulkQuoteId.yaml +9 -0
- package/OutboundServer/api_template/components/parameters/bulkTransferId.yaml +9 -0
- package/OutboundServer/api_template/components/parameters/requestToPayTransactionId.yaml +9 -0
- package/OutboundServer/api_template/components/parameters/transferId.yaml +9 -0
- package/OutboundServer/api_template/components/responses/accountsCreationCompleted.yaml +5 -0
- package/OutboundServer/api_template/components/responses/accountsCreationError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/accountsCreationTimeout.yaml +5 -0
- package/OutboundServer/api_template/components/responses/authorizationPostSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/authorizationsServerError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkQuoteBadRequest.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkQuoteServerError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkQuoteSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkQuoteTimeout.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkTransferBadRequest.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkTransferServerError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkTransferSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/bulkTransferTimeout.yaml +5 -0
- package/OutboundServer/api_template/components/responses/partiesByIdError404.yaml +9 -0
- package/OutboundServer/api_template/components/responses/partiesByIdSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/quotesPostSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/quotesServerError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/requestToPaySuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/requestToPayTransferBadRequest.yaml +5 -0
- package/OutboundServer/api_template/components/responses/requestToPayTransferSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/simpleTransfersPostSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/simpleTransfersServerError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/transferBadRequest.yaml +5 -0
- package/OutboundServer/api_template/components/responses/transferServerError.yaml +5 -0
- package/OutboundServer/api_template/components/responses/transferSuccess.yaml +5 -0
- package/OutboundServer/api_template/components/responses/transferTimeout.yaml +5 -0
- package/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +18 -0
- package/OutboundServer/api_template/components/schemas/accountsCreationState.yaml +4 -0
- package/OutboundServer/api_template/components/schemas/accountsRequest.yaml +20 -0
- package/OutboundServer/api_template/components/schemas/accountsResponse.yaml +15 -0
- package/OutboundServer/api_template/components/schemas/async2SyncCurrentState.yaml +5 -0
- package/OutboundServer/api_template/components/schemas/authorizationsPostRequest.yaml +15 -0
- package/OutboundServer/api_template/components/schemas/authorizationsPostResponse.yaml +19 -0
- package/OutboundServer/api_template/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
- package/OutboundServer/api_template/components/schemas/bulkQuoteRequest.yaml +26 -0
- package/OutboundServer/api_template/components/schemas/bulkQuoteResponse.yaml +21 -0
- package/OutboundServer/api_template/components/schemas/bulkQuoteStatus.yaml +4 -0
- package/OutboundServer/api_template/components/schemas/bulkQuoteStatusResponse.yaml +17 -0
- package/OutboundServer/api_template/components/schemas/bulkTransferErrorResponse.yaml +8 -0
- package/OutboundServer/api_template/components/schemas/bulkTransferRequest.yaml +26 -0
- package/OutboundServer/api_template/components/schemas/bulkTransferResponse.yaml +16 -0
- package/OutboundServer/api_template/components/schemas/bulkTransferStatus.yaml +4 -0
- package/OutboundServer/api_template/components/schemas/bulkTransferStatusResponse.yaml +17 -0
- package/OutboundServer/api_template/components/schemas/errorAccountsResponse.yaml +8 -0
- package/OutboundServer/api_template/components/schemas/errorAuthorizationsResponse.yaml +3 -0
- package/OutboundServer/api_template/components/schemas/errorQuotesResponse.yaml +9 -0
- package/OutboundServer/api_template/components/schemas/errorResponse.yaml +8 -0
- package/OutboundServer/api_template/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
- package/OutboundServer/api_template/components/schemas/errorTransferResponse.yaml +8 -0
- package/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +6 -0
- package/OutboundServer/api_template/components/schemas/individualQuote.yaml +32 -0
- package/OutboundServer/api_template/components/schemas/individualQuoteResult.yaml +28 -0
- package/OutboundServer/api_template/components/schemas/individualTransfer.yaml +32 -0
- package/OutboundServer/api_template/components/schemas/individualTransferFulfilment.yaml +13 -0
- package/OutboundServer/api_template/components/schemas/individualTransferResult.yaml +41 -0
- package/OutboundServer/api_template/components/schemas/mojaloopError.yaml +5 -0
- package/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +2 -0
- package/OutboundServer/api_template/components/schemas/partiesByIdResponse.yaml +13 -0
- package/OutboundServer/api_template/components/schemas/quote.yaml +3 -0
- package/OutboundServer/api_template/components/schemas/quoteError.yaml +16 -0
- package/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +13 -0
- package/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +48 -0
- package/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +39 -0
- package/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +41 -0
- package/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +42 -0
- package/OutboundServer/api_template/components/schemas/requestToPayTransferResponse.yaml +58 -0
- package/OutboundServer/api_template/components/schemas/simpleTransferServerError.yaml +5 -0
- package/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +12 -0
- package/OutboundServer/api_template/components/schemas/simpleTransfersPostResponse.yaml +11 -0
- package/OutboundServer/api_template/components/schemas/transactionType.yaml +4 -0
- package/OutboundServer/api_template/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
- package/OutboundServer/api_template/components/schemas/transferContinuationAcceptParty.yaml +8 -0
- package/OutboundServer/api_template/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
- package/OutboundServer/api_template/components/schemas/transferError.yaml +16 -0
- package/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +3 -0
- package/OutboundServer/api_template/components/schemas/transferParty.yaml +40 -0
- package/OutboundServer/api_template/components/schemas/transferRequest.yaml +37 -0
- package/OutboundServer/api_template/components/schemas/transferResponse.yaml +58 -0
- package/OutboundServer/api_template/components/schemas/transferStatus.yaml +6 -0
- package/OutboundServer/api_template/components/schemas/transferStatusResponse.yaml +13 -0
- package/OutboundServer/api_template/health.yaml +12 -0
- package/OutboundServer/api_template/openapi.yaml +55 -0
- package/OutboundServer/api_template/paths/accounts.yaml +26 -0
- package/OutboundServer/api_template/paths/authorizations.yaml +19 -0
- package/OutboundServer/api_template/paths/bulkQuotes.yaml +23 -0
- package/OutboundServer/api_template/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
- package/OutboundServer/api_template/paths/bulkTransfers.yaml +23 -0
- package/OutboundServer/api_template/paths/bulkTransfers_bulkTransferId.yaml +24 -0
- package/OutboundServer/api_template/paths/parties_Type_ID.yaml +20 -0
- package/OutboundServer/api_template/paths/parties_Type_ID_SubId.yaml +22 -0
- package/OutboundServer/api_template/paths/quotes.yaml +20 -0
- package/OutboundServer/api_template/paths/requestToPay.yaml +22 -0
- package/OutboundServer/api_template/paths/requestToPayTransfer.yaml +57 -0
- package/OutboundServer/api_template/paths/requestToPayTransfer_requestToPayTransactionId.yaml +34 -0
- package/OutboundServer/api_template/paths/simpleTransfers.yaml +19 -0
- package/OutboundServer/api_template/paths/transfers.yaml +55 -0
- package/OutboundServer/api_template/paths/transfers_transferId.yaml +58 -0
- package/OutboundServer/handlers.js +622 -0
- package/OutboundServer/index.js +137 -0
- package/OutboundServer/middlewares.js +67 -0
- package/TestServer/api.yaml +62 -0
- package/TestServer/handlers.js +63 -0
- package/TestServer/index.js +215 -0
- package/audit-resolve.json +65 -0
- package/babel.config.js +3 -0
- package/config.js +158 -0
- package/index.d.ts +1 -0
- package/index.js +149 -0
- package/jest.config.js +15 -0
- package/lib/api/index.js +12 -0
- package/lib/cache.js +352 -0
- package/lib/check.js +25 -0
- package/lib/model/AccountsModel.js +396 -0
- package/lib/model/Async2SyncModel.js +283 -0
- package/lib/model/AuthorizationsModel.js +86 -0
- package/lib/model/InboundTransfersModel.js +730 -0
- package/lib/model/OutboundBulkQuotesModel.js +485 -0
- package/lib/model/OutboundBulkTransfersModel.js +479 -0
- package/lib/model/OutboundRequestToPayModel.js +517 -0
- package/lib/model/OutboundRequestToPayTransferModel.js +893 -0
- package/lib/model/OutboundTransfersModel.js +823 -0
- package/lib/model/PartiesModel.js +70 -0
- package/lib/model/ProxyModel/MatchRules/Expression.js +48 -0
- package/lib/model/ProxyModel/MatchRules/Headers.js +65 -0
- package/lib/model/ProxyModel/MatchRules/MatchRule.js +27 -0
- package/lib/model/ProxyModel/MatchRules/Path.js +36 -0
- package/lib/model/ProxyModel/MatchRules/Query.js +65 -0
- package/lib/model/ProxyModel/MatchRules/index.js +19 -0
- package/lib/model/ProxyModel/Route.js +82 -0
- package/lib/model/ProxyModel/configSchema.json +118 -0
- package/lib/model/ProxyModel/index.js +138 -0
- package/lib/model/QuotesModel.js +94 -0
- package/lib/model/TransfersModel.js +81 -0
- package/lib/model/common/BackendError.js +26 -0
- package/lib/model/common/PersistentStateMachine.js +93 -0
- package/lib/model/common/index.js +18 -0
- package/lib/model/index.js +43 -0
- package/lib/model/lib/deferredJob.js +113 -0
- package/lib/model/lib/index.js +9 -0
- package/lib/model/lib/requests/backendRequests.js +227 -0
- package/lib/model/lib/requests/common.js +76 -0
- package/lib/model/lib/requests/index.js +19 -0
- package/lib/model/lib/shared.js +468 -0
- package/lib/randomphrase/index.js +21 -0
- package/lib/randomphrase/words.json +3397 -0
- package/lib/router.js +28 -0
- package/lib/validate.js +205 -0
- package/package.json +102 -0
- package/test/__mocks__/@mojaloop/sdk-standard-components.js +152 -0
- package/test/__mocks__/javascript-state-machine.js +21 -0
- package/test/__mocks__/redis.js +49 -0
- package/test/__mocks__/uuidv4.js +16 -0
- package/test/config/integration.env +136 -0
- package/test/integration/lib/Outbound/authorizations.test.js +58 -0
- package/test/integration/lib/Outbound/data/authorizationsPostRequest.json +43 -0
- package/test/integration/lib/Outbound/data/quotesPostRequest.json +52 -0
- package/test/integration/lib/Outbound/data/transfersPostRequest.json +24 -0
- package/test/integration/lib/Outbound/parties.test.js +28 -0
- package/test/integration/lib/Outbound/quotes.test.js +58 -0
- package/test/integration/lib/Outbound/simpleTransfers.test.js +67 -0
- package/test/integration/lib/cache.test.js +80 -0
- package/test/integration/testEnv.js +7 -0
- package/test/unit/InboundServer.test.js +443 -0
- package/test/unit/TestServer.test.js +394 -0
- package/test/unit/api/accounts/accounts.test.js +128 -0
- package/test/unit/api/accounts/data/postAccountsBody.json +7 -0
- package/test/unit/api/accounts/data/postAccountsErrorMojaloopResponse.json +25 -0
- package/test/unit/api/accounts/data/postAccountsErrorTimeoutResponse.json +19 -0
- package/test/unit/api/accounts/data/postAccountsSuccessResponse.json +17 -0
- package/test/unit/api/accounts/data/postAccountsSuccessResponseWithError1.json +21 -0
- package/test/unit/api/accounts/data/postAccountsSuccessResponseWithError2.json +21 -0
- package/test/unit/api/accounts/utils.js +65 -0
- package/test/unit/api/proxy/data/proxyConfig.yaml +82 -0
- package/test/unit/api/proxy/data/requestBody.json +22 -0
- package/test/unit/api/proxy/data/requestHeaders.json +5 -0
- package/test/unit/api/proxy/data/requestQuery.json +6 -0
- package/test/unit/api/proxy/data/responseBody.json +21 -0
- package/test/unit/api/proxy/data/responseHeaders.json +5 -0
- package/test/unit/api/proxy/proxy.test.js +220 -0
- package/test/unit/api/proxy/utils.js +79 -0
- package/test/unit/api/transfers/data/getTransfersCommittedResponse.json +21 -0
- package/test/unit/api/transfers/data/getTransfersErrorNotFound.json +17 -0
- package/test/unit/api/transfers/data/postQuotesBody.json +52 -0
- package/test/unit/api/transfers/data/postTransfersBadBody.json +17 -0
- package/test/unit/api/transfers/data/postTransfersBody.json +24 -0
- package/test/unit/api/transfers/data/postTransfersErrorMojaloopResponse.json +53 -0
- package/test/unit/api/transfers/data/postTransfersErrorTimeoutResponse.json +47 -0
- package/test/unit/api/transfers/data/postTransfersSimpleBody.json +26 -0
- package/test/unit/api/transfers/data/postTransfersSuccessResponse.json +101 -0
- package/test/unit/api/transfers/data/putPartiesBody.json +20 -0
- package/test/unit/api/transfers/data/putQuotesBody.json +37 -0
- package/test/unit/api/transfers/data/putTransfersBody.json +17 -0
- package/test/unit/api/transfers/transfers.test.js +191 -0
- package/test/unit/api/transfers/utils.js +183 -0
- package/test/unit/api/utils.js +75 -0
- package/test/unit/config.test.js +119 -0
- package/test/unit/data/commonHttpHeaders.json +6 -0
- package/test/unit/data/defaultConfig.json +58 -0
- package/test/unit/data/postQuotesBody.json +52 -0
- package/test/unit/data/putParticipantsBody.json +12 -0
- package/test/unit/data/putPartiesBody.json +20 -0
- package/test/unit/data/testFile.json +29 -0
- package/test/unit/data/testFile.yaml +14 -0
- package/test/unit/inboundApi/data/mockArguments.json +117 -0
- package/test/unit/inboundApi/data/mockTransactionRequest.json +42 -0
- package/test/unit/inboundApi/handlers.test.js +799 -0
- package/test/unit/index.test.js +55 -0
- package/test/unit/lib/cache.test.js +146 -0
- package/test/unit/lib/model/AccountsModel.test.js +121 -0
- package/test/unit/lib/model/AuthorizationsModel.test.js +460 -0
- package/test/unit/lib/model/InboundTransfersModel.test.js +628 -0
- package/test/unit/lib/model/OutboundBulkQuotesModel.test.js +249 -0
- package/test/unit/lib/model/OutboundBulkTransfersModel.test.js +244 -0
- package/test/unit/lib/model/OutboundRequestToPayModel.test.js +166 -0
- package/test/unit/lib/model/OutboundRequestToPayTransferModel.test.js +245 -0
- package/test/unit/lib/model/OutboundTransfersModel.test.js +836 -0
- package/test/unit/lib/model/PartiesModel.test.js +468 -0
- package/test/unit/lib/model/QuotesModel.test.js +470 -0
- package/test/unit/lib/model/TransfersModel.test.js +474 -0
- package/test/unit/lib/model/common/PersistentStateMachine.test.js +179 -0
- package/test/unit/lib/model/data/authorizationsResponse.json +13 -0
- package/test/unit/lib/model/data/bulkQuoteRequest.json +27 -0
- package/test/unit/lib/model/data/bulkQuoteResponse.json +35 -0
- package/test/unit/lib/model/data/bulkTransferFulfil.json +13 -0
- package/test/unit/lib/model/data/bulkTransferRequest.json +29 -0
- package/test/unit/lib/model/data/defaultConfig.json +47 -0
- package/test/unit/lib/model/data/getBulkTransfersBackendResponse.json +42 -0
- package/test/unit/lib/model/data/getBulkTransfersMojaloopResponse.json +22 -0
- package/test/unit/lib/model/data/getTransfersBackendResponse.json +34 -0
- package/test/unit/lib/model/data/getTransfersMojaloopResponse.json +17 -0
- package/test/unit/lib/model/data/mockArguments.json +131 -0
- package/test/unit/lib/model/data/mockTxnRequestsArguments.json +63 -0
- package/test/unit/lib/model/data/notificationToPayee.json +10 -0
- package/test/unit/lib/model/data/payeeParty.json +16 -0
- package/test/unit/lib/model/data/putAuthorizationsResponse.json +10 -0
- package/test/unit/lib/model/data/putQuotesResponse.json +33 -0
- package/test/unit/lib/model/data/putTransfersResponse.json +5 -0
- package/test/unit/lib/model/data/quoteResponse.json +31 -0
- package/test/unit/lib/model/data/requestToPayRequest.json +20 -0
- package/test/unit/lib/model/data/requestToPayTransferRequest.json +27 -0
- package/test/unit/lib/model/data/transactionRequestResponse.json +18 -0
- package/test/unit/lib/model/data/transferFulfil.json +8 -0
- package/test/unit/lib/model/data/transferRequest.json +26 -0
- package/test/unit/lib/model/mockedLibRequests.js +74 -0
- package/test/unit/mockLogger.js +39 -0
- package/test/unit/outboundApi/data/bulkQuoteRequest.json +28 -0
- package/test/unit/outboundApi/data/bulkTransferRequest.json +28 -0
- package/test/unit/outboundApi/data/mockBulkQuoteError.json +45 -0
- package/test/unit/outboundApi/data/mockBulkTransferError.json +48 -0
- package/test/unit/outboundApi/data/mockError.json +41 -0
- package/test/unit/outboundApi/data/mockGetPartiesError.json +4 -0
- package/test/unit/outboundApi/data/mockRequestToPayError.json +32 -0
- package/test/unit/outboundApi/data/mockRequestToPayTransferError.json +39 -0
- package/test/unit/outboundApi/data/requestToPay.json +21 -0
- package/test/unit/outboundApi/data/requestToPayTransferRequest.json +20 -0
- package/test/unit/outboundApi/data/transferRequest.json +21 -0
- package/test/unit/outboundApi/handlers.test.js +986 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { components } from './openapi'
|
|
2
|
+
export * as openapi from './openapi'
|
|
3
|
+
export declare namespace Schemas {
|
|
4
|
+
type TransactionInitiatorType = components['schemas']['TransactionInitiatorType'];
|
|
5
|
+
type PartyIdType = components['schemas']['PartyIdType'];
|
|
6
|
+
type PartyIdentifier = components['schemas']['PartyIdentifier'];
|
|
7
|
+
type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
|
|
8
|
+
type Name = components['schemas']['Name'];
|
|
9
|
+
type FirstName = components['schemas']['FirstName'];
|
|
10
|
+
type MiddleName = components['schemas']['MiddleName'];
|
|
11
|
+
type LastName = components['schemas']['LastName'];
|
|
12
|
+
type DateOfBirth = components['schemas']['DateOfBirth'];
|
|
13
|
+
type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
|
|
14
|
+
type FspId = components['schemas']['FspId'];
|
|
15
|
+
type ExtensionKey = components['schemas']['ExtensionKey'];
|
|
16
|
+
type ExtensionValue = components['schemas']['ExtensionValue'];
|
|
17
|
+
type Extension = components['schemas']['Extension'];
|
|
18
|
+
type extensionListEmptiable = components['schemas']['extensionListEmptiable'];
|
|
19
|
+
type transferParty = components['schemas']['transferParty'];
|
|
20
|
+
type AmountType = components['schemas']['AmountType'];
|
|
21
|
+
type Currency = components['schemas']['Currency'];
|
|
22
|
+
type Amount = components['schemas']['Amount'];
|
|
23
|
+
type transactionType = components['schemas']['transactionType'];
|
|
24
|
+
type Note = components['schemas']['Note'];
|
|
25
|
+
type transferRequest = components['schemas']['transferRequest'];
|
|
26
|
+
type CorrelationId = components['schemas']['CorrelationId'];
|
|
27
|
+
type transferStatus = components['schemas']['transferStatus'];
|
|
28
|
+
type Money = components['schemas']['Money'];
|
|
29
|
+
type DateTime = components['schemas']['DateTime'];
|
|
30
|
+
type Latitude = components['schemas']['Latitude'];
|
|
31
|
+
type Longitude = components['schemas']['Longitude'];
|
|
32
|
+
type GeoCode = components['schemas']['GeoCode'];
|
|
33
|
+
type IlpPacket = components['schemas']['IlpPacket'];
|
|
34
|
+
type IlpCondition = components['schemas']['IlpCondition'];
|
|
35
|
+
type ExtensionList = components['schemas']['ExtensionList'];
|
|
36
|
+
type QuotesIDPutResponse = components['schemas']['QuotesIDPutResponse'];
|
|
37
|
+
type IlpFulfilment = components['schemas']['IlpFulfilment'];
|
|
38
|
+
type TransferState = components['schemas']['TransferState'];
|
|
39
|
+
type TransfersIDPutResponse = components['schemas']['TransfersIDPutResponse'];
|
|
40
|
+
type ErrorCode = components['schemas']['ErrorCode'];
|
|
41
|
+
type ErrorDescription = components['schemas']['ErrorDescription'];
|
|
42
|
+
type ErrorInformation = components['schemas']['ErrorInformation'];
|
|
43
|
+
type mojaloopError = components['schemas']['mojaloopError'];
|
|
44
|
+
type transferError = components['schemas']['transferError'];
|
|
45
|
+
type transferResponse = components['schemas']['transferResponse'];
|
|
46
|
+
type errorResponse = components['schemas']['errorResponse'];
|
|
47
|
+
type errorTransferResponse = components['schemas']['errorTransferResponse'];
|
|
48
|
+
type transferStatusResponse = components['schemas']['transferStatusResponse'];
|
|
49
|
+
type transferContinuationAcceptParty = components['schemas']['transferContinuationAcceptParty'];
|
|
50
|
+
type transferContinuationAcceptQuote = components['schemas']['transferContinuationAcceptQuote'];
|
|
51
|
+
type individualTransfer = components['schemas']['individualTransfer'];
|
|
52
|
+
type bulkTransferRequest = components['schemas']['bulkTransferRequest'];
|
|
53
|
+
type individualTransferResult = components['schemas']['individualTransferResult'];
|
|
54
|
+
type bulkTransferResponse = components['schemas']['bulkTransferResponse'];
|
|
55
|
+
type bulkTransferErrorResponse = components['schemas']['bulkTransferErrorResponse'];
|
|
56
|
+
type bulkTransferStatus = components['schemas']['bulkTransferStatus'];
|
|
57
|
+
type individualTransferFulfilment = components['schemas']['individualTransferFulfilment'];
|
|
58
|
+
type bulkTransferStatusResponse = components['schemas']['bulkTransferStatusResponse'];
|
|
59
|
+
type individualQuote = components['schemas']['individualQuote'];
|
|
60
|
+
type bulkQuoteRequest = components['schemas']['bulkQuoteRequest'];
|
|
61
|
+
type quoteError = components['schemas']['quoteError'];
|
|
62
|
+
type individualQuoteResult = components['schemas']['individualQuoteResult'];
|
|
63
|
+
type bulkQuoteResponse = components['schemas']['bulkQuoteResponse'];
|
|
64
|
+
type bulkQuoteErrorResponse = components['schemas']['bulkQuoteErrorResponse'];
|
|
65
|
+
type bulkQuoteStatus = components['schemas']['bulkQuoteStatus'];
|
|
66
|
+
type bulkQuoteStatusResponse = components['schemas']['bulkQuoteStatusResponse'];
|
|
67
|
+
type TransactionScenario = components['schemas']['TransactionScenario'];
|
|
68
|
+
type TransactionSubScenario = components['schemas']['TransactionSubScenario'];
|
|
69
|
+
type TransactionInitiator = components['schemas']['TransactionInitiator'];
|
|
70
|
+
type RefundReason = components['schemas']['RefundReason'];
|
|
71
|
+
type Refund = components['schemas']['Refund'];
|
|
72
|
+
type BalanceOfPayments = components['schemas']['BalanceOfPayments'];
|
|
73
|
+
type TransactionType = components['schemas']['TransactionType'];
|
|
74
|
+
type requestToPayRequest = components['schemas']['requestToPayRequest'];
|
|
75
|
+
type AuthenticationType = components['schemas']['AuthenticationType'];
|
|
76
|
+
type TransactionRequestState = components['schemas']['TransactionRequestState'];
|
|
77
|
+
type requestToPayResponse = components['schemas']['requestToPayResponse'];
|
|
78
|
+
type requestToPayTransferRequest = components['schemas']['requestToPayTransferRequest'];
|
|
79
|
+
type requestToPayTransferResponse = components['schemas']['requestToPayTransferResponse'];
|
|
80
|
+
type transferContinuationAcceptOTP = components['schemas']['transferContinuationAcceptOTP'];
|
|
81
|
+
type accountsRequest = components['schemas']['accountsRequest'];
|
|
82
|
+
type accountCreationStatus = components['schemas']['accountCreationStatus'];
|
|
83
|
+
type accountsCreationState = components['schemas']['accountsCreationState'];
|
|
84
|
+
type accountsResponse = components['schemas']['accountsResponse'];
|
|
85
|
+
type errorAccountsResponse = components['schemas']['errorAccountsResponse'];
|
|
86
|
+
type AccountAddress = components['schemas']['AccountAddress'];
|
|
87
|
+
type Account = components['schemas']['Account'];
|
|
88
|
+
type AccountList = components['schemas']['AccountList'];
|
|
89
|
+
type PartyIdInfo = components['schemas']['PartyIdInfo'];
|
|
90
|
+
type PartyName = components['schemas']['PartyName'];
|
|
91
|
+
type PartyComplexName = components['schemas']['PartyComplexName'];
|
|
92
|
+
type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
|
|
93
|
+
type Party = components['schemas']['Party'];
|
|
94
|
+
type async2SyncCurrentState = components['schemas']['async2SyncCurrentState'];
|
|
95
|
+
type partiesByIdResponse = components['schemas']['partiesByIdResponse'];
|
|
96
|
+
type QuotesPostRequest = components['schemas']['QuotesPostRequest'];
|
|
97
|
+
type quotesPostRequest = components['schemas']['quotesPostRequest'];
|
|
98
|
+
type quotesPostResponse = components['schemas']['quotesPostResponse'];
|
|
99
|
+
type errorQuotesResponse = components['schemas']['errorQuotesResponse'];
|
|
100
|
+
type TransfersPostRequest = components['schemas']['TransfersPostRequest'];
|
|
101
|
+
type simpleTransfersPostRequest = components['schemas']['simpleTransfersPostRequest'];
|
|
102
|
+
type simpleTransfersPostResponse = components['schemas']['simpleTransfersPostResponse'];
|
|
103
|
+
type errorSimpleTransfersResponse = components['schemas']['errorSimpleTransfersResponse'];
|
|
104
|
+
type AuthorizationChannelType = components['schemas']['AuthorizationChannelType'];
|
|
105
|
+
type Integer = components['schemas']['Integer'];
|
|
106
|
+
type AuthorizationsPostRequest = components['schemas']['AuthorizationsPostRequest'];
|
|
107
|
+
type authorizationsPostRequest = components['schemas']['authorizationsPostRequest'];
|
|
108
|
+
type OtpValue = components['schemas']['OtpValue'];
|
|
109
|
+
type QRCODE = components['schemas']['QRCODE'];
|
|
110
|
+
type U2FPIN = components['schemas']['U2FPIN'];
|
|
111
|
+
type U2FPinValue = components['schemas']['U2FPinValue'];
|
|
112
|
+
type AuthenticationValue = components['schemas']['AuthenticationValue'];
|
|
113
|
+
type AuthenticationInfo = components['schemas']['AuthenticationInfo'];
|
|
114
|
+
type AuthorizationResponseType = components['schemas']['AuthorizationResponseType'];
|
|
115
|
+
type authorizationsPostResponse = components['schemas']['authorizationsPostResponse'];
|
|
116
|
+
type errorAuthorizationsResponse = components['schemas']['errorAuthorizationsResponse'];
|
|
117
|
+
}
|
|
@@ -0,0 +1,1475 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface paths {
|
|
7
|
+
"/": {
|
|
8
|
+
/** This endpoint allows a user of the SDK scheme adapter to check the outbound transfers service is listening. */
|
|
9
|
+
get: {
|
|
10
|
+
responses: {
|
|
11
|
+
/** Returns empty body if the scheme adapter outbound transfers service is running. */
|
|
12
|
+
200: unknown;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
"/transfers": {
|
|
17
|
+
/**
|
|
18
|
+
* The HTTP request `POST /transfers` is used to request the movement of funds from payer DFSP to payee DFSP.
|
|
19
|
+
* The underlying Mojaloop API has three stages for money transfer:
|
|
20
|
+
*
|
|
21
|
+
* 1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
|
|
22
|
+
* 2. Quotation. This facilitates the exchange of fee information and the construction of a cryptographic "contract" between payee and payer DFSPs before funds are transferred.
|
|
23
|
+
* 3. Transfer. The enactment of the previously agreed "contract"
|
|
24
|
+
*
|
|
25
|
+
* This method has several modes of operation.
|
|
26
|
+
* - If the configuration variables `AUTO_ACCEPT_PARTIES` is set to `"false"` this method will terminate when the payee party has been resolved and return the payee party details.
|
|
27
|
+
* If the payee wishes to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the payee party) is required to continue the operation.
|
|
28
|
+
* The scheme adapter will then proceed with quotation stage...
|
|
29
|
+
*
|
|
30
|
+
* - If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"` this method will terminate and return the quotation when it has been received from the payee DFSP.
|
|
31
|
+
* If the payee wished to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
|
|
32
|
+
* The scheme adapter will then proceed with the transfer state.
|
|
33
|
+
*
|
|
34
|
+
* If the configuration variables `AUTO_ACCEPT_PARTIES` and `AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block until all three transfer stages are complete. Upon completion it will return the entire set of transfer details received during the operation.
|
|
35
|
+
*
|
|
36
|
+
* Combinations of settings for `AUTO_ACCEPT...` configuration variables allow the scheme adapter user to decide which mode of operation best suits their use cases. i.e. the scheme adapter can be configured to "break" the three stage transfer at these points in order to execute backend logic such as party verification, quoted fees assessments etc...
|
|
37
|
+
*/
|
|
38
|
+
post: {
|
|
39
|
+
responses: {
|
|
40
|
+
200: components["responses"]["transferSuccess"];
|
|
41
|
+
400: components["responses"]["transferBadRequest"];
|
|
42
|
+
500: components["responses"]["transferServerError"];
|
|
43
|
+
504: components["responses"]["transferTimeout"];
|
|
44
|
+
};
|
|
45
|
+
/** Transfer request body */
|
|
46
|
+
requestBody: {
|
|
47
|
+
content: {
|
|
48
|
+
"application/json": components["schemas"]["transferRequest"];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
"/transfers/{transferId}": {
|
|
54
|
+
/** 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. */
|
|
55
|
+
get: {
|
|
56
|
+
parameters: {
|
|
57
|
+
path: {
|
|
58
|
+
/** Identifier of the transfer to continue as returned in the response to a `POST /transfers` request. */
|
|
59
|
+
transferId: components["parameters"]["transferId"];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
responses: {
|
|
63
|
+
/** Transfer information successfully retrieved */
|
|
64
|
+
200: {
|
|
65
|
+
content: {
|
|
66
|
+
"application/json": components["schemas"]["transferStatusResponse"];
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
/** An error occurred processing the transfer */
|
|
70
|
+
500: {
|
|
71
|
+
content: {
|
|
72
|
+
"application/json": components["schemas"]["errorResponse"];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* The HTTP request `PUT /transfers/{transferId}` is used to continue a transfer initiated via the `POST /transfers` method that has halted after party lookup and/or quotation stage.
|
|
79
|
+
*
|
|
80
|
+
* The request body should contain either the "acceptParty" or "acceptQuote" property set to `true` as required to continue the transfer.
|
|
81
|
+
*
|
|
82
|
+
* See the description of the `POST /transfers` HTTP method for more information on modes of transfer.
|
|
83
|
+
*/
|
|
84
|
+
put: {
|
|
85
|
+
parameters: {
|
|
86
|
+
path: {
|
|
87
|
+
/** Identifier of the transfer to continue as returned in the response to a `POST /transfers` request. */
|
|
88
|
+
transferId: components["parameters"]["transferId"];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
responses: {
|
|
92
|
+
200: components["responses"]["transferSuccess"];
|
|
93
|
+
500: components["responses"]["transferServerError"];
|
|
94
|
+
504: components["responses"]["transferTimeout"];
|
|
95
|
+
};
|
|
96
|
+
requestBody: {
|
|
97
|
+
content: {
|
|
98
|
+
"application/json":
|
|
99
|
+
| components["schemas"]["transferContinuationAcceptParty"]
|
|
100
|
+
| components["schemas"]["transferContinuationAcceptQuote"];
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
"/bulkTransfers": {
|
|
106
|
+
/** The HTTP request `POST /bulkTransfers` is used to request the movement of funds from payer DFSP to payees' DFSP. */
|
|
107
|
+
post: {
|
|
108
|
+
responses: {
|
|
109
|
+
200: components["responses"]["bulkTransferSuccess"];
|
|
110
|
+
400: components["responses"]["bulkTransferBadRequest"];
|
|
111
|
+
500: components["responses"]["bulkTransferServerError"];
|
|
112
|
+
504: components["responses"]["bulkTransferTimeout"];
|
|
113
|
+
};
|
|
114
|
+
/** Bulk transfer request body */
|
|
115
|
+
requestBody: {
|
|
116
|
+
content: {
|
|
117
|
+
"application/json": components["schemas"]["bulkTransferRequest"];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
"/bulkTransfers/{bulkTransferId}": {
|
|
123
|
+
/** The HTTP request `GET /bulkTransfers/{bulktTransferId}` is used to get information regarding a bulk transfer created or requested earlier. The `{bulkTransferId}` in the URI should contain the `bulkTransferId` that was used for the creation of the bulk transfer. */
|
|
124
|
+
get: {
|
|
125
|
+
parameters: {
|
|
126
|
+
path: {
|
|
127
|
+
/** Identifier of the bulk transfer to continue as returned in the response to a `POST /bulkTransfers` request. */
|
|
128
|
+
bulkTransferId: components["parameters"]["bulkTransferId"];
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
responses: {
|
|
132
|
+
/** Bulk transfer information successfully retrieved */
|
|
133
|
+
200: {
|
|
134
|
+
content: {
|
|
135
|
+
"application/json": components["schemas"]["bulkTransferStatusResponse"];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
/** An error occurred processing the bulk transfer */
|
|
139
|
+
500: {
|
|
140
|
+
content: {
|
|
141
|
+
"application/json": components["schemas"]["errorResponse"];
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
"/bulkQuotes": {
|
|
148
|
+
/** The HTTP request `POST /bulkQuotes` is used to request a bulk quote to fascilitate funds transfer from payer DFSP to payees' DFSP. */
|
|
149
|
+
post: {
|
|
150
|
+
responses: {
|
|
151
|
+
200: components["responses"]["bulkQuoteSuccess"];
|
|
152
|
+
400: components["responses"]["bulkQuoteBadRequest"];
|
|
153
|
+
500: components["responses"]["bulkQuoteServerError"];
|
|
154
|
+
504: components["responses"]["bulkQuoteTimeout"];
|
|
155
|
+
};
|
|
156
|
+
/** Bulk quote request body */
|
|
157
|
+
requestBody: {
|
|
158
|
+
content: {
|
|
159
|
+
"application/json": components["schemas"]["bulkQuoteRequest"];
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
"/bulkQuotes/{bulkQuoteId}": {
|
|
165
|
+
/** The HTTP request `GET /bulkQuotes/{bulktQuoteId}` is used to get information regarding a bulk quote created or requested earlier. The `{bulkQuoteId}` in the URI should contain the `bulkQuoteId` that was used for the creation of the bulk quote. */
|
|
166
|
+
get: {
|
|
167
|
+
parameters: {
|
|
168
|
+
path: {
|
|
169
|
+
/** Identifier of the bulk transfer to continue as returned in the response to a `POST /bulkTransfers` request. */
|
|
170
|
+
bulkQuoteId: components["parameters"]["bulkQuoteId"];
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
responses: {
|
|
174
|
+
/** Bulk quote information successfully retrieved */
|
|
175
|
+
200: {
|
|
176
|
+
content: {
|
|
177
|
+
"application/json": components["schemas"]["bulkQuoteStatusResponse"];
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
/** An error occurred processing the bulk quote */
|
|
181
|
+
500: {
|
|
182
|
+
content: {
|
|
183
|
+
"application/json": components["schemas"]["errorResponse"];
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
"/requestToPay": {
|
|
190
|
+
/**
|
|
191
|
+
* The HTTP request `POST /requestToPay` is used to support Pull Funds pattern where in a receiver can request for funds from the Sender.
|
|
192
|
+
* The underlying API has two stages:
|
|
193
|
+
*
|
|
194
|
+
* 1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
|
|
195
|
+
* 2. Transaction Request. This request enables a Payee to request Payer to send electronic funds to the Payee.
|
|
196
|
+
*/
|
|
197
|
+
post: {
|
|
198
|
+
responses: {
|
|
199
|
+
200: components["responses"]["requestToPaySuccess"];
|
|
200
|
+
};
|
|
201
|
+
/** RequestToPay request body */
|
|
202
|
+
requestBody: {
|
|
203
|
+
content: {
|
|
204
|
+
"application/json": components["schemas"]["requestToPayRequest"];
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
"/requestToPayTransfer": {
|
|
210
|
+
/**
|
|
211
|
+
* The HTTP request `POST /requestToPayTransfer` is used to request the movement of funds from payer DFSP to payee DFSP.
|
|
212
|
+
* The underlying Mojaloop API has three stages for money transfer:
|
|
213
|
+
*
|
|
214
|
+
* 1. Quotation. This facilitates the exchange of fee information and the construction of a cryptographic "contract" between payee and payer DFSPs before funds are transferred.
|
|
215
|
+
* 2. Authorization. This facilitates getting OTP from payee DFSP.
|
|
216
|
+
* 3. Transfer. The enactment of the previously agreed "contract"
|
|
217
|
+
*
|
|
218
|
+
* This method has several modes of operation.
|
|
219
|
+
* - If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"` this method will terminate and return the quotation when it has been received from the payee DFSP.
|
|
220
|
+
* If the payee wished to proceed with the otp, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
|
|
221
|
+
* The scheme adapter will then proceed with the transfer state.
|
|
222
|
+
*
|
|
223
|
+
* - If the configuration variable `AUTO_ACCEPT_OTP` is set to `"false"` this method will terminate and return the otp when it has been received from the payee DFSP.
|
|
224
|
+
* If the payer wished to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
|
|
225
|
+
* The scheme adapter will then proceed with the transfer state.
|
|
226
|
+
*
|
|
227
|
+
* If the configuration variables `AUTO_ACCEPT_PARTIES` and `AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block until all three transfer stages are complete. Upon completion it will return the entire set of transfer details received during the operation.
|
|
228
|
+
*
|
|
229
|
+
* Combinations of settings for `AUTO_ACCEPT...` configuration variables allow the scheme adapter user to decide which mode of operation best suits their use cases. i.e. the scheme adapter can be configured to "break" the three stage transfer at these points in order to execute backend logic such as party verification, quoted fees assessments etc...
|
|
230
|
+
*/
|
|
231
|
+
post: {
|
|
232
|
+
responses: {
|
|
233
|
+
200: components["responses"]["requestToPayTransferSuccess"];
|
|
234
|
+
400: components["responses"]["requestToPayTransferBadRequest"];
|
|
235
|
+
500: components["responses"]["transferServerError"];
|
|
236
|
+
504: components["responses"]["transferTimeout"];
|
|
237
|
+
};
|
|
238
|
+
/** Request To Pay Transfer request body */
|
|
239
|
+
requestBody: {
|
|
240
|
+
content: {
|
|
241
|
+
"application/json": components["schemas"]["requestToPayTransferRequest"];
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
"/requestToPayTransfer/{requestToPayTransactionId}": {
|
|
247
|
+
/**
|
|
248
|
+
* The HTTP request `PUT /transfers/{transferId}` is used to continue a transfer initiated via the `POST /transfers` method that has halted after party lookup and/or quotation stage.
|
|
249
|
+
*
|
|
250
|
+
* The request body should contain either the "acceptOTP" or "acceptQuote" property set to `true` as required to continue the transfer.
|
|
251
|
+
*
|
|
252
|
+
* See the description of the `POST /requestToPayTransfer` HTTP method for more information on modes of transfer.
|
|
253
|
+
*/
|
|
254
|
+
put: {
|
|
255
|
+
parameters: {
|
|
256
|
+
path: {
|
|
257
|
+
/** Identifier of the merchant request to pay transfer to continue as returned in the response to a `POST /requestToPayTransfer` request. */
|
|
258
|
+
requestToPayTransactionId: components["parameters"]["requestToPayTransactionId"];
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
responses: {
|
|
262
|
+
200: components["responses"]["transferSuccess"];
|
|
263
|
+
500: components["responses"]["transferServerError"];
|
|
264
|
+
504: components["responses"]["transferTimeout"];
|
|
265
|
+
};
|
|
266
|
+
requestBody: {
|
|
267
|
+
content: {
|
|
268
|
+
"application/json":
|
|
269
|
+
| components["schemas"]["transferContinuationAcceptQuote"]
|
|
270
|
+
| components["schemas"]["transferContinuationAcceptOTP"];
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
"/accounts": {
|
|
276
|
+
/**
|
|
277
|
+
* The HTTP request `POST /accounts` is used to create account information on the Account Lookup Service (ALS) regarding the provided list of identities.
|
|
278
|
+
*
|
|
279
|
+
* Caller DFSP is used as the account source FSP information
|
|
280
|
+
*/
|
|
281
|
+
post: {
|
|
282
|
+
responses: {
|
|
283
|
+
200: components["responses"]["accountsCreationCompleted"];
|
|
284
|
+
400: components["responses"]["accountsCreationError"];
|
|
285
|
+
500: components["responses"]["accountsCreationError"];
|
|
286
|
+
504: components["responses"]["accountsCreationTimeout"];
|
|
287
|
+
};
|
|
288
|
+
/** Identities list request body */
|
|
289
|
+
requestBody: {
|
|
290
|
+
content: {
|
|
291
|
+
"application/json": components["schemas"]["accountsRequest"];
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
"/parties/{Type}/{ID}": {
|
|
297
|
+
/** The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1). */
|
|
298
|
+
get: operations["PartiesByTypeAndID"];
|
|
299
|
+
parameters: {
|
|
300
|
+
path: {
|
|
301
|
+
/** The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
|
|
302
|
+
Type: components["parameters"]["Type"];
|
|
303
|
+
/** The identifier value. */
|
|
304
|
+
ID: components["parameters"]["ID"];
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
"/parties/{Type}/{ID}/{SubId}": {
|
|
309
|
+
/** The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1). */
|
|
310
|
+
get: operations["PartiesSubIdByTypeAndID"];
|
|
311
|
+
parameters: {
|
|
312
|
+
path: {
|
|
313
|
+
/** The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
|
|
314
|
+
Type: components["parameters"]["Type"];
|
|
315
|
+
/** The identifier value. */
|
|
316
|
+
ID: components["parameters"]["ID"];
|
|
317
|
+
/** A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`. */
|
|
318
|
+
SubId: components["parameters"]["SubId"];
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
"/quotes": {
|
|
323
|
+
/** is used to request quotes from other DFSP */
|
|
324
|
+
post: operations["QuotesPost"];
|
|
325
|
+
};
|
|
326
|
+
"/simpleTransfers": {
|
|
327
|
+
/** is used to request a transfer */
|
|
328
|
+
post: operations["SimpleTransfersPost"];
|
|
329
|
+
};
|
|
330
|
+
"/authorizations": {
|
|
331
|
+
/** The HTTP request `POST /authorizations` is used to request the Payer to enter the applicable credentials in the PISP system. */
|
|
332
|
+
post: operations["AuthorizationsPost"];
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export interface components {
|
|
337
|
+
schemas: {
|
|
338
|
+
/**
|
|
339
|
+
* Below are the allowed values for the enumeration.
|
|
340
|
+
* - CONSUMER - Consumer is the initiator of the transaction.
|
|
341
|
+
* - AGENT - Agent is the initiator of the transaction.
|
|
342
|
+
* - BUSINESS - Business is the initiator of the transaction.
|
|
343
|
+
* - DEVICE - Device is the initiator of the transaction.
|
|
344
|
+
*/
|
|
345
|
+
TransactionInitiatorType: "CONSUMER" | "AGENT" | "BUSINESS" | "DEVICE";
|
|
346
|
+
/**
|
|
347
|
+
* This is a variant based on FSPIOP `PartyIdType` specification.
|
|
348
|
+
* Main difference being the CONSENT and THIRD_PARTY_LINK enums.
|
|
349
|
+
*
|
|
350
|
+
* Below are the allowed values for the enumeration.
|
|
351
|
+
* - MSISDN - An MSISDN (Mobile Station International Subscriber Directory
|
|
352
|
+
* Number, that is, the phone number) is used as reference to a participant.
|
|
353
|
+
* The MSISDN identifier should be in international format according to the
|
|
354
|
+
* [ITU-T E.164 standard](https://www.itu.int/rec/T-REC-E.164/en).
|
|
355
|
+
* Optionally, the MSISDN may be prefixed by a single plus sign, indicating the
|
|
356
|
+
* international prefix.
|
|
357
|
+
* - EMAIL - An email is used as reference to a
|
|
358
|
+
* participant. The format of the email should be according to the informational
|
|
359
|
+
* [RFC 3696](https://tools.ietf.org/html/rfc3696).
|
|
360
|
+
* - PERSONAL_ID - A personal identifier is used as reference to a participant.
|
|
361
|
+
* Examples of personal identification are passport number, birth certificate
|
|
362
|
+
* number, and national registration number. The identifier number is added in
|
|
363
|
+
* the PartyIdentifier element. The personal identifier type is added in the
|
|
364
|
+
* PartySubIdOrType element.
|
|
365
|
+
* - BUSINESS - A specific Business (for example, an organization or a company)
|
|
366
|
+
* is used as reference to a participant. The BUSINESS identifier can be in any
|
|
367
|
+
* format. To make a transaction connected to a specific username or bill number
|
|
368
|
+
* in a Business, the PartySubIdOrType element should be used.
|
|
369
|
+
* - DEVICE - A specific device (for example, a POS or ATM) ID connected to a
|
|
370
|
+
* specific business or organization is used as reference to a Party.
|
|
371
|
+
* For referencing a specific device under a specific business or organization,
|
|
372
|
+
* use the PartySubIdOrType element.
|
|
373
|
+
* - ACCOUNT_ID - A bank account number or FSP account ID should be used as
|
|
374
|
+
* reference to a participant. The ACCOUNT_ID identifier can be in any format,
|
|
375
|
+
* as formats can greatly differ depending on country and FSP.
|
|
376
|
+
* - IBAN - A bank account number or FSP account ID is used as reference to a
|
|
377
|
+
* participant. The IBAN identifier can consist of up to 34 alphanumeric
|
|
378
|
+
* characters and should be entered without whitespace.
|
|
379
|
+
* - ALIAS An alias is used as reference to a participant. The alias should be
|
|
380
|
+
* created in the FSP as an alternative reference to an account owner.
|
|
381
|
+
* Another example of an alias is a username in the FSP system.
|
|
382
|
+
* The ALIAS identifier can be in any format. It is also possible to use the
|
|
383
|
+
* PartySubIdOrType element for identifying an account under an Alias defined
|
|
384
|
+
* by the PartyIdentifier.
|
|
385
|
+
* - CONSENT - TBD
|
|
386
|
+
* - THIRD_PARTY_LINK - TBD
|
|
387
|
+
*/
|
|
388
|
+
PartyIdType:
|
|
389
|
+
| "MSISDN"
|
|
390
|
+
| "EMAIL"
|
|
391
|
+
| "PERSONAL_ID"
|
|
392
|
+
| "BUSINESS"
|
|
393
|
+
| "DEVICE"
|
|
394
|
+
| "ACCOUNT_ID"
|
|
395
|
+
| "IBAN"
|
|
396
|
+
| "ALIAS"
|
|
397
|
+
| "CONSENT"
|
|
398
|
+
| "THIRD_PARTY_LINK";
|
|
399
|
+
/** Identifier of the Party. */
|
|
400
|
+
PartyIdentifier: string;
|
|
401
|
+
/** Either a sub-identifier of a PartyIdentifier, or a sub-type of the PartyIdType, normally a PersonalIdentifierType. */
|
|
402
|
+
PartySubIdOrType: string;
|
|
403
|
+
/**
|
|
404
|
+
* The API data type Name is a JSON String, restricted by a regular expression to avoid characters which are generally not used in a name.
|
|
405
|
+
*
|
|
406
|
+
* Regular Expression - The regular expression for restricting the Name type is "^(?!\s*$)[\w .,'-]{1,128}$". The restriction does not allow a string consisting of whitespace only, all Unicode characters are allowed, as well as the period (.) (apostrophe (‘), dash (-), comma (,) and space characters ( ).
|
|
407
|
+
*
|
|
408
|
+
* **Note:** In some programming languages, Unicode support must be specifically enabled. For example, if Java is used, the flag UNICODE_CHARACTER_CLASS must be enabled to allow Unicode characters.
|
|
409
|
+
*/
|
|
410
|
+
Name: string;
|
|
411
|
+
/** First name of the Party (Name Type). */
|
|
412
|
+
FirstName: string;
|
|
413
|
+
/** Middle name of the Party (Name Type). */
|
|
414
|
+
MiddleName: string;
|
|
415
|
+
/** Last name of the Party (Name Type). */
|
|
416
|
+
LastName: string;
|
|
417
|
+
/** Date of Birth of the Party. */
|
|
418
|
+
DateOfBirth: string;
|
|
419
|
+
/** 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. */
|
|
420
|
+
MerchantClassificationCode: string;
|
|
421
|
+
/** FSP identifier. */
|
|
422
|
+
FspId: string;
|
|
423
|
+
/** Extension key. */
|
|
424
|
+
ExtensionKey: string;
|
|
425
|
+
/** Extension value. */
|
|
426
|
+
ExtensionValue: string;
|
|
427
|
+
/** Data model for the complex type Extension. */
|
|
428
|
+
Extension: {
|
|
429
|
+
key: components["schemas"]["ExtensionKey"];
|
|
430
|
+
value: components["schemas"]["ExtensionValue"];
|
|
431
|
+
};
|
|
432
|
+
extensionListEmptiable: components["schemas"]["Extension"][];
|
|
433
|
+
transferParty: {
|
|
434
|
+
type?: components["schemas"]["TransactionInitiatorType"];
|
|
435
|
+
idType: components["schemas"]["PartyIdType"];
|
|
436
|
+
idValue: components["schemas"]["PartyIdentifier"];
|
|
437
|
+
idSubValue?: components["schemas"]["PartySubIdOrType"];
|
|
438
|
+
displayName?: components["schemas"]["Name"];
|
|
439
|
+
firstName?: components["schemas"]["FirstName"];
|
|
440
|
+
middleName?: components["schemas"]["MiddleName"];
|
|
441
|
+
lastName?: components["schemas"]["LastName"];
|
|
442
|
+
dateOfBirth?: components["schemas"]["DateOfBirth"];
|
|
443
|
+
merchantClassificationCode?: components["schemas"]["MerchantClassificationCode"];
|
|
444
|
+
fspId?: components["schemas"]["FspId"];
|
|
445
|
+
extensionList?: components["schemas"]["extensionListEmptiable"];
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* Below are the allowed values for the enumeration AmountType.
|
|
449
|
+
* - SEND - Amount the Payer would like to send, that is, the amount that should be withdrawn from the Payer account including any fees.
|
|
450
|
+
* - RECEIVE - Amount the Payer would like the Payee to receive, that is, the amount that should be sent to the receiver exclusive of any fees.
|
|
451
|
+
*/
|
|
452
|
+
AmountType: "SEND" | "RECEIVE";
|
|
453
|
+
/** The currency codes defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter alphabetic codes are used as the standard naming representation for currencies. */
|
|
454
|
+
Currency:
|
|
455
|
+
| "AED"
|
|
456
|
+
| "AFN"
|
|
457
|
+
| "ALL"
|
|
458
|
+
| "AMD"
|
|
459
|
+
| "ANG"
|
|
460
|
+
| "AOA"
|
|
461
|
+
| "ARS"
|
|
462
|
+
| "AUD"
|
|
463
|
+
| "AWG"
|
|
464
|
+
| "AZN"
|
|
465
|
+
| "BAM"
|
|
466
|
+
| "BBD"
|
|
467
|
+
| "BDT"
|
|
468
|
+
| "BGN"
|
|
469
|
+
| "BHD"
|
|
470
|
+
| "BIF"
|
|
471
|
+
| "BMD"
|
|
472
|
+
| "BND"
|
|
473
|
+
| "BOB"
|
|
474
|
+
| "BRL"
|
|
475
|
+
| "BSD"
|
|
476
|
+
| "BTN"
|
|
477
|
+
| "BWP"
|
|
478
|
+
| "BYN"
|
|
479
|
+
| "BZD"
|
|
480
|
+
| "CAD"
|
|
481
|
+
| "CDF"
|
|
482
|
+
| "CHF"
|
|
483
|
+
| "CLP"
|
|
484
|
+
| "CNY"
|
|
485
|
+
| "COP"
|
|
486
|
+
| "CRC"
|
|
487
|
+
| "CUC"
|
|
488
|
+
| "CUP"
|
|
489
|
+
| "CVE"
|
|
490
|
+
| "CZK"
|
|
491
|
+
| "DJF"
|
|
492
|
+
| "DKK"
|
|
493
|
+
| "DOP"
|
|
494
|
+
| "DZD"
|
|
495
|
+
| "EGP"
|
|
496
|
+
| "ERN"
|
|
497
|
+
| "ETB"
|
|
498
|
+
| "EUR"
|
|
499
|
+
| "FJD"
|
|
500
|
+
| "FKP"
|
|
501
|
+
| "GBP"
|
|
502
|
+
| "GEL"
|
|
503
|
+
| "GGP"
|
|
504
|
+
| "GHS"
|
|
505
|
+
| "GIP"
|
|
506
|
+
| "GMD"
|
|
507
|
+
| "GNF"
|
|
508
|
+
| "GTQ"
|
|
509
|
+
| "GYD"
|
|
510
|
+
| "HKD"
|
|
511
|
+
| "HNL"
|
|
512
|
+
| "HRK"
|
|
513
|
+
| "HTG"
|
|
514
|
+
| "HUF"
|
|
515
|
+
| "IDR"
|
|
516
|
+
| "ILS"
|
|
517
|
+
| "IMP"
|
|
518
|
+
| "INR"
|
|
519
|
+
| "IQD"
|
|
520
|
+
| "IRR"
|
|
521
|
+
| "ISK"
|
|
522
|
+
| "JEP"
|
|
523
|
+
| "JMD"
|
|
524
|
+
| "JOD"
|
|
525
|
+
| "JPY"
|
|
526
|
+
| "KES"
|
|
527
|
+
| "KGS"
|
|
528
|
+
| "KHR"
|
|
529
|
+
| "KMF"
|
|
530
|
+
| "KPW"
|
|
531
|
+
| "KRW"
|
|
532
|
+
| "KWD"
|
|
533
|
+
| "KYD"
|
|
534
|
+
| "KZT"
|
|
535
|
+
| "LAK"
|
|
536
|
+
| "LBP"
|
|
537
|
+
| "LKR"
|
|
538
|
+
| "LRD"
|
|
539
|
+
| "LSL"
|
|
540
|
+
| "LYD"
|
|
541
|
+
| "MAD"
|
|
542
|
+
| "MDL"
|
|
543
|
+
| "MGA"
|
|
544
|
+
| "MKD"
|
|
545
|
+
| "MMK"
|
|
546
|
+
| "MNT"
|
|
547
|
+
| "MOP"
|
|
548
|
+
| "MRO"
|
|
549
|
+
| "MUR"
|
|
550
|
+
| "MVR"
|
|
551
|
+
| "MWK"
|
|
552
|
+
| "MXN"
|
|
553
|
+
| "MYR"
|
|
554
|
+
| "MZN"
|
|
555
|
+
| "NAD"
|
|
556
|
+
| "NGN"
|
|
557
|
+
| "NIO"
|
|
558
|
+
| "NOK"
|
|
559
|
+
| "NPR"
|
|
560
|
+
| "NZD"
|
|
561
|
+
| "OMR"
|
|
562
|
+
| "PAB"
|
|
563
|
+
| "PEN"
|
|
564
|
+
| "PGK"
|
|
565
|
+
| "PHP"
|
|
566
|
+
| "PKR"
|
|
567
|
+
| "PLN"
|
|
568
|
+
| "PYG"
|
|
569
|
+
| "QAR"
|
|
570
|
+
| "RON"
|
|
571
|
+
| "RSD"
|
|
572
|
+
| "RUB"
|
|
573
|
+
| "RWF"
|
|
574
|
+
| "SAR"
|
|
575
|
+
| "SBD"
|
|
576
|
+
| "SCR"
|
|
577
|
+
| "SDG"
|
|
578
|
+
| "SEK"
|
|
579
|
+
| "SGD"
|
|
580
|
+
| "SHP"
|
|
581
|
+
| "SLL"
|
|
582
|
+
| "SOS"
|
|
583
|
+
| "SPL"
|
|
584
|
+
| "SRD"
|
|
585
|
+
| "STD"
|
|
586
|
+
| "SVC"
|
|
587
|
+
| "SYP"
|
|
588
|
+
| "SZL"
|
|
589
|
+
| "THB"
|
|
590
|
+
| "TJS"
|
|
591
|
+
| "TMT"
|
|
592
|
+
| "TND"
|
|
593
|
+
| "TOP"
|
|
594
|
+
| "TRY"
|
|
595
|
+
| "TTD"
|
|
596
|
+
| "TVD"
|
|
597
|
+
| "TWD"
|
|
598
|
+
| "TZS"
|
|
599
|
+
| "UAH"
|
|
600
|
+
| "UGX"
|
|
601
|
+
| "USD"
|
|
602
|
+
| "UYU"
|
|
603
|
+
| "UZS"
|
|
604
|
+
| "VEF"
|
|
605
|
+
| "VND"
|
|
606
|
+
| "VUV"
|
|
607
|
+
| "WST"
|
|
608
|
+
| "XAF"
|
|
609
|
+
| "XCD"
|
|
610
|
+
| "XDR"
|
|
611
|
+
| "XOF"
|
|
612
|
+
| "XPF"
|
|
613
|
+
| "YER"
|
|
614
|
+
| "ZAR"
|
|
615
|
+
| "ZMW"
|
|
616
|
+
| "ZWD";
|
|
617
|
+
/** The API data type Amount is a JSON String in a canonical format that is restricted by a regular expression for interoperability reasons. This pattern does not allow any trailing zeroes at all, but allows an amount without a minor currency unit. It also only allows four digits in the minor currency unit; a negative value is not allowed. Using more than 18 digits in the major currency unit is not allowed. */
|
|
618
|
+
Amount: string;
|
|
619
|
+
/** Type of transaction. */
|
|
620
|
+
transactionType: "TRANSFER";
|
|
621
|
+
/** Memo assigned to transaction. */
|
|
622
|
+
Note: string;
|
|
623
|
+
transferRequest: {
|
|
624
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
625
|
+
homeTransactionId: string;
|
|
626
|
+
from: components["schemas"]["transferParty"];
|
|
627
|
+
to: components["schemas"]["transferParty"];
|
|
628
|
+
amountType: components["schemas"]["AmountType"];
|
|
629
|
+
currency: components["schemas"]["Currency"];
|
|
630
|
+
amount: components["schemas"]["Amount"];
|
|
631
|
+
transactionType: components["schemas"]["transactionType"];
|
|
632
|
+
note?: components["schemas"]["Note"];
|
|
633
|
+
quoteRequestExtensions?: components["schemas"]["extensionListEmptiable"];
|
|
634
|
+
transferRequestExtensions?: components["schemas"]["extensionListEmptiable"];
|
|
635
|
+
};
|
|
636
|
+
/** Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘). */
|
|
637
|
+
CorrelationId: string;
|
|
638
|
+
transferStatus:
|
|
639
|
+
| "ERROR_OCCURRED"
|
|
640
|
+
| "WAITING_FOR_PARTY_ACCEPTANCE"
|
|
641
|
+
| "WAITING_FOR_QUOTE_ACCEPTANCE"
|
|
642
|
+
| "COMPLETED";
|
|
643
|
+
/** Data model for the complex type Money. */
|
|
644
|
+
Money: {
|
|
645
|
+
currency: components["schemas"]["Currency"];
|
|
646
|
+
amount: components["schemas"]["Amount"];
|
|
647
|
+
};
|
|
648
|
+
/** The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC). */
|
|
649
|
+
DateTime: string;
|
|
650
|
+
/** The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. */
|
|
651
|
+
Latitude: string;
|
|
652
|
+
/** The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. */
|
|
653
|
+
Longitude: string;
|
|
654
|
+
/** Data model for the complex type GeoCode. Indicates the geographic location from where the transaction was initiated. */
|
|
655
|
+
GeoCode: {
|
|
656
|
+
latitude: components["schemas"]["Latitude"];
|
|
657
|
+
longitude: components["schemas"]["Longitude"];
|
|
658
|
+
};
|
|
659
|
+
/** Information for recipient (transport layer information). */
|
|
660
|
+
IlpPacket: string;
|
|
661
|
+
/** Condition that must be attached to the transfer by the Payer. */
|
|
662
|
+
IlpCondition: string;
|
|
663
|
+
/** Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment. */
|
|
664
|
+
ExtensionList: {
|
|
665
|
+
/** Number of Extension elements. */
|
|
666
|
+
extension: components["schemas"]["Extension"][];
|
|
667
|
+
};
|
|
668
|
+
/** The object sent in the PUT /quotes/{ID} callback. */
|
|
669
|
+
QuotesIDPutResponse: {
|
|
670
|
+
transferAmount: components["schemas"]["Money"];
|
|
671
|
+
payeeReceiveAmount?: components["schemas"]["Money"];
|
|
672
|
+
payeeFspFee?: components["schemas"]["Money"];
|
|
673
|
+
payeeFspCommission?: components["schemas"]["Money"];
|
|
674
|
+
expiration: components["schemas"]["DateTime"];
|
|
675
|
+
geoCode?: components["schemas"]["GeoCode"];
|
|
676
|
+
ilpPacket: components["schemas"]["IlpPacket"];
|
|
677
|
+
condition: components["schemas"]["IlpCondition"];
|
|
678
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
679
|
+
};
|
|
680
|
+
/** Fulfilment that must be attached to the transfer by the Payee. */
|
|
681
|
+
IlpFulfilment: string;
|
|
682
|
+
/**
|
|
683
|
+
* Below are the allowed values for the enumeration.
|
|
684
|
+
* - RECEIVED - Next ledger has received the transfer.
|
|
685
|
+
* - RESERVED - Next ledger has reserved the transfer.
|
|
686
|
+
* - COMMITTED - Next ledger has successfully performed the transfer.
|
|
687
|
+
* - ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.
|
|
688
|
+
*/
|
|
689
|
+
TransferState: "RECEIVED" | "RESERVED" | "COMMITTED" | "ABORTED";
|
|
690
|
+
/** The object sent in the PUT /transfers/{ID} callback. */
|
|
691
|
+
TransfersIDPutResponse: {
|
|
692
|
+
fulfilment?: components["schemas"]["IlpFulfilment"];
|
|
693
|
+
completedTimestamp?: components["schemas"]["DateTime"];
|
|
694
|
+
transferState: components["schemas"]["TransferState"];
|
|
695
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
696
|
+
};
|
|
697
|
+
/** 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) represent the specific error. */
|
|
698
|
+
ErrorCode: string;
|
|
699
|
+
/** Error description string. */
|
|
700
|
+
ErrorDescription: string;
|
|
701
|
+
/** Data model for the complex type ErrorInformation. */
|
|
702
|
+
ErrorInformation: {
|
|
703
|
+
errorCode: components["schemas"]["ErrorCode"];
|
|
704
|
+
errorDescription: components["schemas"]["ErrorDescription"];
|
|
705
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
706
|
+
};
|
|
707
|
+
mojaloopError: {
|
|
708
|
+
errorInformation?: components["schemas"]["ErrorInformation"];
|
|
709
|
+
};
|
|
710
|
+
/** This object represents a Mojaloop API error received at any time during the transfer process */
|
|
711
|
+
transferError: {
|
|
712
|
+
/** The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
|
|
713
|
+
httpStatusCode?: number;
|
|
714
|
+
/** If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object. */
|
|
715
|
+
mojaloopError?: components["schemas"]["mojaloopError"];
|
|
716
|
+
};
|
|
717
|
+
transferResponse: {
|
|
718
|
+
transferId?: components["schemas"]["CorrelationId"];
|
|
719
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
720
|
+
homeTransactionId: string;
|
|
721
|
+
from: components["schemas"]["transferParty"];
|
|
722
|
+
to: components["schemas"]["transferParty"];
|
|
723
|
+
amountType: components["schemas"]["AmountType"];
|
|
724
|
+
currency: components["schemas"]["Currency"];
|
|
725
|
+
amount: components["schemas"]["Amount"];
|
|
726
|
+
transactionType: components["schemas"]["transactionType"];
|
|
727
|
+
note?: components["schemas"]["Note"];
|
|
728
|
+
currentState?: components["schemas"]["transferStatus"];
|
|
729
|
+
quoteId?: components["schemas"]["CorrelationId"];
|
|
730
|
+
quoteResponse?: components["schemas"]["QuotesIDPutResponse"];
|
|
731
|
+
/** FSPID of the entity that supplied the quote response. This may not be the same as the FSPID of the entity which owns the end user account in the case of a FOREX transfer. i.e. it may be a FOREX gateway. */
|
|
732
|
+
quoteResponseSource?: string;
|
|
733
|
+
fulfil?: components["schemas"]["TransfersIDPutResponse"];
|
|
734
|
+
/** Object representing the last error to occur during a transfer process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter. */
|
|
735
|
+
lastError?: components["schemas"]["transferError"];
|
|
736
|
+
};
|
|
737
|
+
errorResponse: {
|
|
738
|
+
/** Error code as string. */
|
|
739
|
+
statusCode?: string;
|
|
740
|
+
/** Error message text. */
|
|
741
|
+
message?: string;
|
|
742
|
+
};
|
|
743
|
+
errorTransferResponse: components["schemas"]["errorResponse"] & {
|
|
744
|
+
transferState: components["schemas"]["transferResponse"];
|
|
745
|
+
};
|
|
746
|
+
transferStatusResponse: {
|
|
747
|
+
transferId: components["schemas"]["CorrelationId"];
|
|
748
|
+
currentState: components["schemas"]["transferStatus"];
|
|
749
|
+
fulfil: components["schemas"]["TransfersIDPutResponse"];
|
|
750
|
+
};
|
|
751
|
+
transferContinuationAcceptParty: {
|
|
752
|
+
acceptParty: true;
|
|
753
|
+
};
|
|
754
|
+
transferContinuationAcceptQuote: {
|
|
755
|
+
acceptQuote: true | false;
|
|
756
|
+
};
|
|
757
|
+
/** Data model for the complex type 'individualTransfer'. */
|
|
758
|
+
individualTransfer: {
|
|
759
|
+
transferId: components["schemas"]["CorrelationId"];
|
|
760
|
+
to: components["schemas"]["transferParty"];
|
|
761
|
+
amountType: components["schemas"]["AmountType"];
|
|
762
|
+
currency: components["schemas"]["Currency"];
|
|
763
|
+
amount?: components["schemas"]["Amount"];
|
|
764
|
+
transactionType: components["schemas"]["transactionType"];
|
|
765
|
+
note?: components["schemas"]["Note"];
|
|
766
|
+
extensions?: components["schemas"]["ExtensionList"];
|
|
767
|
+
};
|
|
768
|
+
bulkTransferRequest: {
|
|
769
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
770
|
+
homeTransactionId: string;
|
|
771
|
+
bulkTransferId?: components["schemas"]["CorrelationId"];
|
|
772
|
+
from: components["schemas"]["transferParty"];
|
|
773
|
+
/** List of individual transfers in a bulk transfer. */
|
|
774
|
+
individualTransfers: components["schemas"]["individualTransfer"][];
|
|
775
|
+
extensions?: components["schemas"]["ExtensionList"];
|
|
776
|
+
};
|
|
777
|
+
individualTransferResult: {
|
|
778
|
+
transferId?: components["schemas"]["CorrelationId"];
|
|
779
|
+
to?: components["schemas"]["transferParty"];
|
|
780
|
+
amountType?: components["schemas"]["AmountType"];
|
|
781
|
+
currency?: components["schemas"]["Currency"];
|
|
782
|
+
amount?: components["schemas"]["Amount"];
|
|
783
|
+
transactionType?: components["schemas"]["transactionType"];
|
|
784
|
+
note?: components["schemas"]["Note"];
|
|
785
|
+
quoteId?: components["schemas"]["CorrelationId"];
|
|
786
|
+
quoteResponse?: components["schemas"]["QuotesIDPutResponse"];
|
|
787
|
+
/** FSPID of the entity that supplied the quote response. This may not be the same as the FSPID of the entity which owns the end user account in the case of a FOREX transfer. i.e. it may be a FOREX gateway. */
|
|
788
|
+
quoteResponseSource?: string;
|
|
789
|
+
fulfil?: components["schemas"]["TransfersIDPutResponse"];
|
|
790
|
+
/** Object representing the last error to occur during a transfer process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter. */
|
|
791
|
+
lastError?: components["schemas"]["transferError"];
|
|
792
|
+
};
|
|
793
|
+
bulkTransferResponse: {
|
|
794
|
+
transferId?: components["schemas"]["CorrelationId"];
|
|
795
|
+
from: components["schemas"]["transferParty"];
|
|
796
|
+
/** List of individual transfer result in a bulk transfer response. */
|
|
797
|
+
individualTransferResults: components["schemas"]["individualTransferResult"][];
|
|
798
|
+
};
|
|
799
|
+
bulkTransferErrorResponse: components["schemas"]["errorResponse"] &
|
|
800
|
+
({
|
|
801
|
+
bulkTransferState?: components["schemas"]["bulkTransferResponse"];
|
|
802
|
+
} & {
|
|
803
|
+
bulkTansferState: unknown;
|
|
804
|
+
});
|
|
805
|
+
bulkTransferStatus: "ERROR_OCCURRED" | "COMPLETED";
|
|
806
|
+
/** A Mojaloop API transfer fulfilment for individual transfers in a bulk transfer */
|
|
807
|
+
individualTransferFulfilment: {
|
|
808
|
+
/** Fulfilment of the condition specified with the transaction. Mandatory if transfer has completed successfully. */
|
|
809
|
+
fulfilment?: components["schemas"]["IlpFulfilment"];
|
|
810
|
+
/** Optional extension, specific to deployment. */
|
|
811
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
812
|
+
};
|
|
813
|
+
bulkTransferStatusResponse: {
|
|
814
|
+
bulkTransferId: components["schemas"]["CorrelationId"];
|
|
815
|
+
currentState: components["schemas"]["bulkTransferStatus"];
|
|
816
|
+
fulfils: components["schemas"]["individualTransferFulfilment"][];
|
|
817
|
+
};
|
|
818
|
+
/** Data model for the complex type 'individualQuote'. */
|
|
819
|
+
individualQuote: {
|
|
820
|
+
quoteId: components["schemas"]["CorrelationId"];
|
|
821
|
+
to: components["schemas"]["transferParty"];
|
|
822
|
+
amountType: components["schemas"]["AmountType"];
|
|
823
|
+
currency: components["schemas"]["Currency"];
|
|
824
|
+
amount?: components["schemas"]["Amount"];
|
|
825
|
+
transactionType: components["schemas"]["transactionType"];
|
|
826
|
+
note?: components["schemas"]["Note"];
|
|
827
|
+
extensions?: components["schemas"]["ExtensionList"];
|
|
828
|
+
};
|
|
829
|
+
bulkQuoteRequest: {
|
|
830
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
831
|
+
homeTransactionId: string;
|
|
832
|
+
bulkQuoteId?: components["schemas"]["CorrelationId"];
|
|
833
|
+
from: components["schemas"]["transferParty"];
|
|
834
|
+
/** List of individual quotes in a bulk quote. */
|
|
835
|
+
individualQuotes: components["schemas"]["individualQuote"][];
|
|
836
|
+
extensions?: components["schemas"]["ExtensionList"];
|
|
837
|
+
};
|
|
838
|
+
/** This object represents a Mojaloop API error received at any time during the quote process */
|
|
839
|
+
quoteError: {
|
|
840
|
+
/** The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
|
|
841
|
+
httpStatusCode?: number;
|
|
842
|
+
/** If a quote process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object. */
|
|
843
|
+
mojaloopError?: components["schemas"]["mojaloopError"];
|
|
844
|
+
};
|
|
845
|
+
individualQuoteResult: {
|
|
846
|
+
quoteId?: components["schemas"]["CorrelationId"];
|
|
847
|
+
to?: components["schemas"]["transferParty"];
|
|
848
|
+
amountType?: components["schemas"]["AmountType"];
|
|
849
|
+
currency?: components["schemas"]["Currency"];
|
|
850
|
+
amount?: components["schemas"]["Amount"];
|
|
851
|
+
transactionType?: components["schemas"]["transactionType"];
|
|
852
|
+
note?: components["schemas"]["Note"];
|
|
853
|
+
/** Object representing the last error to occur during a quote process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter. */
|
|
854
|
+
lastError?: components["schemas"]["quoteError"];
|
|
855
|
+
};
|
|
856
|
+
bulkQuoteResponse: {
|
|
857
|
+
quoteId?: components["schemas"]["CorrelationId"];
|
|
858
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
859
|
+
homeTransactionId?: string;
|
|
860
|
+
from: components["schemas"]["transferParty"];
|
|
861
|
+
/** List of individualQuoteResults in a bulk transfer response. */
|
|
862
|
+
individualQuoteResults: components["schemas"]["individualQuoteResult"][];
|
|
863
|
+
};
|
|
864
|
+
bulkQuoteErrorResponse: components["schemas"]["errorResponse"] &
|
|
865
|
+
({
|
|
866
|
+
bulkQuoteState?: components["schemas"]["bulkQuoteResponse"];
|
|
867
|
+
} & {
|
|
868
|
+
bulkTansferState: unknown;
|
|
869
|
+
});
|
|
870
|
+
bulkQuoteStatus: "ERROR_OCCURRED" | "COMPLETED";
|
|
871
|
+
bulkQuoteStatusResponse: {
|
|
872
|
+
bulkQuoteId: components["schemas"]["CorrelationId"];
|
|
873
|
+
currentState: components["schemas"]["bulkQuoteStatus"];
|
|
874
|
+
individualQuotes: components["schemas"]["individualQuote"][];
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* Below are the allowed values for the enumeration.
|
|
878
|
+
* - DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal scenario, electronic funds are transferred from a Business account to a Consumer account, and physical cash is given from the Consumer to the Business User.
|
|
879
|
+
* - WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a normal scenario, electronic funds are transferred from a Consumer’s account to a Business account, and physical cash is given from the Business User to the Consumer.
|
|
880
|
+
* - TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer) transaction.
|
|
881
|
+
* - PAYMENT - Usually used for performing a transaction from a Consumer to a Merchant or Organization, but could also be for a B2B (Business to Business) payment. The transaction could be online for a purchase in an Internet store, in a physical store where both the Consumer and Business User are present, a bill payment, a donation, and so on.
|
|
882
|
+
* - REFUND - Used for performing a refund of transaction.
|
|
883
|
+
*/
|
|
884
|
+
TransactionScenario:
|
|
885
|
+
| "DEPOSIT"
|
|
886
|
+
| "WITHDRAWAL"
|
|
887
|
+
| "TRANSFER"
|
|
888
|
+
| "PAYMENT"
|
|
889
|
+
| "REFUND";
|
|
890
|
+
/** Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type). */
|
|
891
|
+
TransactionSubScenario: string;
|
|
892
|
+
/**
|
|
893
|
+
* Below are the allowed values for the enumeration.
|
|
894
|
+
* - PAYER - Sender of funds is initiating the transaction. The account to send from is either owned by the Payer or is connected to the Payer in some way.
|
|
895
|
+
* - PAYEE - Recipient of the funds is initiating the transaction by sending a transaction request. The Payer must approve the transaction, either automatically by a pre-generated OTP or by pre-approval of the Payee, or by manually approving in his or her own Device.
|
|
896
|
+
*/
|
|
897
|
+
TransactionInitiator: "PAYER" | "PAYEE";
|
|
898
|
+
/** Reason for the refund. */
|
|
899
|
+
RefundReason: string;
|
|
900
|
+
/** Data model for the complex type Refund. */
|
|
901
|
+
Refund: {
|
|
902
|
+
originalTransactionId: components["schemas"]["CorrelationId"];
|
|
903
|
+
refundReason?: components["schemas"]["RefundReason"];
|
|
904
|
+
};
|
|
905
|
+
/** (BopCode) The API data type [BopCode](https://www.imf.org/external/np/sta/bopcode/) is a JSON String of 3 characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. */
|
|
906
|
+
BalanceOfPayments: string;
|
|
907
|
+
/** Data model for the complex type TransactionType. */
|
|
908
|
+
TransactionType: {
|
|
909
|
+
scenario: components["schemas"]["TransactionScenario"];
|
|
910
|
+
subScenario?: components["schemas"]["TransactionSubScenario"];
|
|
911
|
+
initiator: components["schemas"]["TransactionInitiator"];
|
|
912
|
+
initiatorType: components["schemas"]["TransactionInitiatorType"];
|
|
913
|
+
refundInfo?: components["schemas"]["Refund"];
|
|
914
|
+
balanceOfPayments?: components["schemas"]["BalanceOfPayments"];
|
|
915
|
+
};
|
|
916
|
+
requestToPayRequest: {
|
|
917
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
918
|
+
homeTransactionId: string;
|
|
919
|
+
from: components["schemas"]["transferParty"];
|
|
920
|
+
to: components["schemas"]["transferParty"];
|
|
921
|
+
amountType: components["schemas"]["AmountType"];
|
|
922
|
+
currency: components["schemas"]["Currency"];
|
|
923
|
+
amount: components["schemas"]["Amount"];
|
|
924
|
+
scenario: components["schemas"]["TransactionType"];
|
|
925
|
+
initiator: components["schemas"]["TransactionInitiator"];
|
|
926
|
+
initiatorType: components["schemas"]["TransactionInitiatorType"];
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* Below are the allowed values for the enumeration AuthenticationType.
|
|
930
|
+
* - OTP - One-time password generated by the Payer FSP.
|
|
931
|
+
* - QRCODE - QR code used as One Time Password.
|
|
932
|
+
* - U2F - U2F is a new addition isolated to Thirdparty stream.
|
|
933
|
+
*/
|
|
934
|
+
AuthenticationType: "OTP" | "QRCODE" | "U2F";
|
|
935
|
+
/**
|
|
936
|
+
* Below are the allowed values for the enumeration.
|
|
937
|
+
* - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
|
|
938
|
+
* - PENDING - Payer FSP has sent the transaction request to the Payer.
|
|
939
|
+
* - ACCEPTED - Payer has approved the transaction.
|
|
940
|
+
* - REJECTED - Payer has rejected the transaction.
|
|
941
|
+
*/
|
|
942
|
+
TransactionRequestState: "RECEIVED" | "PENDING" | "ACCEPTED" | "REJECTED";
|
|
943
|
+
requestToPayResponse: {
|
|
944
|
+
transactionRequestId: components["schemas"]["CorrelationId"];
|
|
945
|
+
from: components["schemas"]["transferParty"];
|
|
946
|
+
to: components["schemas"]["transferParty"];
|
|
947
|
+
amountType: components["schemas"]["AmountType"];
|
|
948
|
+
currency: components["schemas"]["Currency"];
|
|
949
|
+
amount: components["schemas"]["Amount"];
|
|
950
|
+
scenario?: components["schemas"]["TransactionType"];
|
|
951
|
+
initiator?: components["schemas"]["TransactionInitiator"];
|
|
952
|
+
initiatorType?: components["schemas"]["TransactionInitiatorType"];
|
|
953
|
+
authenticationType?: components["schemas"]["AuthenticationType"];
|
|
954
|
+
requestToPayState: components["schemas"]["TransactionRequestState"];
|
|
955
|
+
} & {
|
|
956
|
+
transactionType: unknown;
|
|
957
|
+
};
|
|
958
|
+
requestToPayTransferRequest: {
|
|
959
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
960
|
+
requestToPayTransactionId: string;
|
|
961
|
+
from: components["schemas"]["transferParty"];
|
|
962
|
+
to: components["schemas"]["transferParty"];
|
|
963
|
+
amountType: components["schemas"]["AmountType"];
|
|
964
|
+
currency: components["schemas"]["Currency"];
|
|
965
|
+
amount: components["schemas"]["Amount"];
|
|
966
|
+
scenario: components["schemas"]["TransactionType"];
|
|
967
|
+
initiator: components["schemas"]["TransactionInitiator"];
|
|
968
|
+
initiatorType: components["schemas"]["TransactionInitiatorType"];
|
|
969
|
+
note?: components["schemas"]["Note"];
|
|
970
|
+
};
|
|
971
|
+
requestToPayTransferResponse: {
|
|
972
|
+
transferId?: components["schemas"]["CorrelationId"];
|
|
973
|
+
/** Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
|
|
974
|
+
requestToPayTransactionId: string;
|
|
975
|
+
from: components["schemas"]["transferParty"];
|
|
976
|
+
to: components["schemas"]["transferParty"];
|
|
977
|
+
amountType: components["schemas"]["AmountType"];
|
|
978
|
+
currency: components["schemas"]["Currency"];
|
|
979
|
+
amount: components["schemas"]["Amount"];
|
|
980
|
+
transactionType: components["schemas"]["transactionType"];
|
|
981
|
+
note?: components["schemas"]["Note"];
|
|
982
|
+
currentState?: components["schemas"]["transferStatus"];
|
|
983
|
+
quoteId?: components["schemas"]["CorrelationId"];
|
|
984
|
+
quoteResponse?: components["schemas"]["QuotesIDPutResponse"];
|
|
985
|
+
/** FSPID of the entity that supplied the quote response. This may not be the same as the FSPID of the entity which owns the end user account in the case of a FOREX transfer. i.e. it may be a FOREX gateway. */
|
|
986
|
+
quoteResponseSource?: string;
|
|
987
|
+
fulfil?: components["schemas"]["TransfersIDPutResponse"];
|
|
988
|
+
/** Object representing the last error to occur during a transfer process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter. */
|
|
989
|
+
lastError?: components["schemas"]["transferError"];
|
|
990
|
+
};
|
|
991
|
+
transferContinuationAcceptOTP: {
|
|
992
|
+
acceptOTP: true | false;
|
|
993
|
+
};
|
|
994
|
+
accountsRequest: {
|
|
995
|
+
idType: components["schemas"]["PartyIdType"];
|
|
996
|
+
idValue: components["schemas"]["PartyIdentifier"];
|
|
997
|
+
idSubValue?: components["schemas"]["PartySubIdOrType"];
|
|
998
|
+
currency: components["schemas"]["Currency"];
|
|
999
|
+
}[];
|
|
1000
|
+
accountCreationStatus: {
|
|
1001
|
+
idType: components["schemas"]["PartyIdType"];
|
|
1002
|
+
idValue: components["schemas"]["PartyIdentifier"];
|
|
1003
|
+
idSubValue?: components["schemas"]["PartySubIdOrType"];
|
|
1004
|
+
error?: components["schemas"]["errorResponse"];
|
|
1005
|
+
}[];
|
|
1006
|
+
accountsCreationState: "ERROR_OCCURRED" | "COMPLETED";
|
|
1007
|
+
accountsResponse: {
|
|
1008
|
+
modelId?: components["schemas"]["CorrelationId"];
|
|
1009
|
+
accounts: components["schemas"]["accountsRequest"];
|
|
1010
|
+
response?: components["schemas"]["accountCreationStatus"];
|
|
1011
|
+
currentState?: components["schemas"]["accountsCreationState"];
|
|
1012
|
+
lastError?: components["schemas"]["transferError"];
|
|
1013
|
+
};
|
|
1014
|
+
errorAccountsResponse: components["schemas"]["errorResponse"] & {
|
|
1015
|
+
executionState: components["schemas"]["accountsResponse"];
|
|
1016
|
+
};
|
|
1017
|
+
/** Data model for the complex type PartyIdInfo. */
|
|
1018
|
+
PartyIdInfo: {
|
|
1019
|
+
partyIdType: components["schemas"]["PartyIdType"];
|
|
1020
|
+
partyIdentifier: components["schemas"]["PartyIdentifier"];
|
|
1021
|
+
partySubIdOrType?: components["schemas"]["PartySubIdOrType"];
|
|
1022
|
+
fspId?: components["schemas"]["FspId"];
|
|
1023
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
1024
|
+
};
|
|
1025
|
+
/** Name of the Party. Could be a real name or a nickname. */
|
|
1026
|
+
PartyName: string;
|
|
1027
|
+
/** Data model for the complex type PartyComplexName. */
|
|
1028
|
+
PartyComplexName: {
|
|
1029
|
+
firstName?: components["schemas"]["FirstName"];
|
|
1030
|
+
middleName?: components["schemas"]["MiddleName"];
|
|
1031
|
+
lastName?: components["schemas"]["LastName"];
|
|
1032
|
+
};
|
|
1033
|
+
/** Data model for the complex type PartyPersonalInfo. */
|
|
1034
|
+
PartyPersonalInfo: {
|
|
1035
|
+
complexName?: components["schemas"]["PartyComplexName"];
|
|
1036
|
+
dateOfBirth?: components["schemas"]["DateOfBirth"];
|
|
1037
|
+
};
|
|
1038
|
+
/** Data model for the complex type Party. */
|
|
1039
|
+
Party: {
|
|
1040
|
+
partyIdInfo: components["schemas"]["PartyIdInfo"];
|
|
1041
|
+
merchantClassificationCode?: components["schemas"]["MerchantClassificationCode"];
|
|
1042
|
+
name?: components["schemas"]["PartyName"];
|
|
1043
|
+
personalInfo?: components["schemas"]["PartyPersonalInfo"];
|
|
1044
|
+
};
|
|
1045
|
+
async2SyncCurrentState:
|
|
1046
|
+
| "WAITING_FOR_ACTION"
|
|
1047
|
+
| "COMPLETED"
|
|
1048
|
+
| "ERROR_OCCURRED";
|
|
1049
|
+
/** GET /parties/{Type}/{ID} response object */
|
|
1050
|
+
partiesByIdResponse: {
|
|
1051
|
+
/** Information regarding the requested Party. */
|
|
1052
|
+
party: components["schemas"]["Party"];
|
|
1053
|
+
currentState: components["schemas"]["async2SyncCurrentState"];
|
|
1054
|
+
};
|
|
1055
|
+
/** The object sent in the POST /quotes request. */
|
|
1056
|
+
QuotesPostRequest: {
|
|
1057
|
+
/** Common ID between the FSPs for the quote object, decided by the Payer FSP. The ID should be reused for resends of the same quote for a transaction. A new ID should be generated for each new quote for a transaction. */
|
|
1058
|
+
quoteId: components["schemas"]["CorrelationId"];
|
|
1059
|
+
/** Common ID (decided by the Payer FSP) between the FSPs for the future transaction object. The actual transaction will be created as part of a successful transfer process. The ID should be reused for resends of the same quote for a transaction. A new ID should be generated for each new quote for a transaction. */
|
|
1060
|
+
transactionId: components["schemas"]["CorrelationId"];
|
|
1061
|
+
/** Identifies an optional previously-sent transaction request. */
|
|
1062
|
+
transactionRequestId?: components["schemas"]["CorrelationId"];
|
|
1063
|
+
/** Information about the Payee in the proposed financial transaction. */
|
|
1064
|
+
payee: components["schemas"]["Party"];
|
|
1065
|
+
/** Information about the Payer in the proposed financial transaction. */
|
|
1066
|
+
payer: components["schemas"]["Party"];
|
|
1067
|
+
/** SEND for send amount, RECEIVE for receive amount. */
|
|
1068
|
+
amountType: components["schemas"]["AmountType"];
|
|
1069
|
+
/** Depending on amountType - If SEND - The amount the Payer would like to send, that is, the amount that should be withdrawn from the Payer account including any fees. The amount is updated by each participating entity in the transaction. If RECEIVE - The amount the Payee should receive, that is, the amount that should be sent to the receiver exclusive any fees. The amount is not updated by any of the participating entities. */
|
|
1070
|
+
amount: components["schemas"]["Money"];
|
|
1071
|
+
/** The fees in the transaction. The fees element should be empty if fees should be non-disclosed. The fees element should be non-empty if fees should be disclosed. */
|
|
1072
|
+
fees?: components["schemas"]["Money"];
|
|
1073
|
+
/** Type of transaction for which the quote is requested. */
|
|
1074
|
+
transactionType: components["schemas"]["TransactionType"];
|
|
1075
|
+
/** Longitude and Latitude of the initiating Party. Can be used to detect fraud. */
|
|
1076
|
+
geoCode?: components["schemas"]["GeoCode"];
|
|
1077
|
+
/** A memo that will be attached to the transaction. */
|
|
1078
|
+
note?: components["schemas"]["Note"];
|
|
1079
|
+
/** Expiration is optional. It can be set to get a quick failure in case the peer FSP takes too long to respond. Also, it may be beneficial for Consumer, Agent, and Merchant to know that their request has a time limit. */
|
|
1080
|
+
expiration?: components["schemas"]["DateTime"];
|
|
1081
|
+
/** Optional extension, specific to deployment. */
|
|
1082
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
1083
|
+
};
|
|
1084
|
+
quotesPostRequest: {
|
|
1085
|
+
fspId: components["schemas"]["FspId"];
|
|
1086
|
+
quotesPostRequest: components["schemas"]["QuotesPostRequest"];
|
|
1087
|
+
};
|
|
1088
|
+
quotesPostResponse: {
|
|
1089
|
+
/** The object sent in the PUT /quotes/{ID} callback. */
|
|
1090
|
+
quotes: {
|
|
1091
|
+
transferAmount: components["schemas"]["Money"];
|
|
1092
|
+
payeeReceiveAmount?: components["schemas"]["Money"];
|
|
1093
|
+
payeeFspFee?: components["schemas"]["Money"];
|
|
1094
|
+
payeeFspCommission?: components["schemas"]["Money"];
|
|
1095
|
+
/** Date and time until when the quotation is valid and can be honored when used in the subsequent transaction. */
|
|
1096
|
+
expiration: string;
|
|
1097
|
+
geoCode?: components["schemas"]["GeoCode"];
|
|
1098
|
+
ilpPacket: components["schemas"]["IlpPacket"];
|
|
1099
|
+
condition: components["schemas"]["IlpCondition"];
|
|
1100
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
1101
|
+
};
|
|
1102
|
+
currentState: components["schemas"]["async2SyncCurrentState"];
|
|
1103
|
+
};
|
|
1104
|
+
errorQuotesResponse: components["schemas"]["errorResponse"] & {
|
|
1105
|
+
[key: string]: unknown;
|
|
1106
|
+
};
|
|
1107
|
+
/** The object sent in the POST /transfers request. */
|
|
1108
|
+
TransfersPostRequest: {
|
|
1109
|
+
transferId: components["schemas"]["CorrelationId"];
|
|
1110
|
+
payeeFsp: components["schemas"]["FspId"];
|
|
1111
|
+
payerFsp: components["schemas"]["FspId"];
|
|
1112
|
+
amount: components["schemas"]["Money"];
|
|
1113
|
+
ilpPacket: components["schemas"]["IlpPacket"];
|
|
1114
|
+
condition: components["schemas"]["IlpCondition"];
|
|
1115
|
+
expiration: components["schemas"]["DateTime"];
|
|
1116
|
+
extensionList?: components["schemas"]["ExtensionList"];
|
|
1117
|
+
};
|
|
1118
|
+
simpleTransfersPostRequest: {
|
|
1119
|
+
fspId: components["schemas"]["FspId"];
|
|
1120
|
+
transfersPostRequest: components["schemas"]["TransfersPostRequest"];
|
|
1121
|
+
};
|
|
1122
|
+
simpleTransfersPostResponse: {
|
|
1123
|
+
transfer: components["schemas"]["TransfersIDPutResponse"];
|
|
1124
|
+
currentState: components["schemas"]["async2SyncCurrentState"];
|
|
1125
|
+
};
|
|
1126
|
+
errorSimpleTransfersResponse: components["schemas"]["errorResponse"] & {
|
|
1127
|
+
[key: string]: unknown;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* Below are the allowed values for the enumeration AuthenticationType.
|
|
1131
|
+
* - OTP - One-time password generated by the Payer FSP.
|
|
1132
|
+
* - QRCODE - QR code used as One Time Password.
|
|
1133
|
+
* - U2F - U2F is a new addition isolated to Thirdparty stream.
|
|
1134
|
+
*/
|
|
1135
|
+
"AuthenticationType-2": "OTP" | "QRCODE" | "U2F";
|
|
1136
|
+
/** The API data type Integer is a JSON String consisting of digits only. Negative numbers and leading zeroes are not allowed. The data type is always limited to a specific number of digits. */
|
|
1137
|
+
Integer: string;
|
|
1138
|
+
/** POST /authorizations request object. */
|
|
1139
|
+
AuthorizationsPostRequest: {
|
|
1140
|
+
authenticationType: components["schemas"]["AuthenticationType-2"];
|
|
1141
|
+
retriesLeft: components["schemas"]["Integer"];
|
|
1142
|
+
amount: components["schemas"]["Money"];
|
|
1143
|
+
transactionId: components["schemas"]["CorrelationId"];
|
|
1144
|
+
transactionRequestId: components["schemas"]["CorrelationId"];
|
|
1145
|
+
quote: components["schemas"]["QuotesIDPutResponse"];
|
|
1146
|
+
};
|
|
1147
|
+
/** POST /authorizations Request object */
|
|
1148
|
+
authorizationsPostRequest: {
|
|
1149
|
+
fspId: components["schemas"]["FspId"];
|
|
1150
|
+
authorizationsPostRequest: components["schemas"]["AuthorizationsPostRequest"];
|
|
1151
|
+
};
|
|
1152
|
+
/** The API data type OtpValue is a JSON String of 3 to 10 characters, consisting of digits only. Negative numbers are not allowed. One or more leading zeros are allowed. */
|
|
1153
|
+
OtpValue: string;
|
|
1154
|
+
/** QR code used as a One Time Password. */
|
|
1155
|
+
QRCODE: string;
|
|
1156
|
+
/** U2F challenge-response, where payer FSP verifies if the response provided by end-user device matches the previously registered key. */
|
|
1157
|
+
U2FPIN: string;
|
|
1158
|
+
/** U2F challenge-response, where payer FSP verifies if the response provided by end-user device matches the previously registered key. */
|
|
1159
|
+
U2FPinValue: {
|
|
1160
|
+
/** U2F challenge-response. */
|
|
1161
|
+
pinValue: components["schemas"]["U2FPIN"];
|
|
1162
|
+
/** Sequential counter used for cloning detection. Present only for U2F authentication. */
|
|
1163
|
+
counter: components["schemas"]["Integer"];
|
|
1164
|
+
};
|
|
1165
|
+
/**
|
|
1166
|
+
* An object sent in a `PUT /thirdpartyRequests/authorization/{ID}` request.
|
|
1167
|
+
* based mostly on: https://webauthn.guide/#authentication
|
|
1168
|
+
* AuthenticatorAssertionResponse
|
|
1169
|
+
*/
|
|
1170
|
+
FIDOPublicKeyCredentialAssertion: {
|
|
1171
|
+
/**
|
|
1172
|
+
* credential id: identifier of pair of keys, base64 encoded
|
|
1173
|
+
* https://w3c.github.io/webauthn/#ref-for-dom-credential-id
|
|
1174
|
+
*/
|
|
1175
|
+
id: string;
|
|
1176
|
+
/** raw credential id: identifier of pair of keys, base64 encoded. */
|
|
1177
|
+
rawId: string;
|
|
1178
|
+
/** AuthenticatorAssertionResponse */
|
|
1179
|
+
response: {
|
|
1180
|
+
/** Authenticator data object. */
|
|
1181
|
+
authenticatorData: string;
|
|
1182
|
+
/** JSON string with client data. */
|
|
1183
|
+
clientDataJSON: string;
|
|
1184
|
+
/** The signature generated by the private key associated with this credential. */
|
|
1185
|
+
signature: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* This field is optionally provided by the authenticator, and
|
|
1188
|
+
* represents the user.id that was supplied during registration.
|
|
1189
|
+
*/
|
|
1190
|
+
userHandle?: string;
|
|
1191
|
+
};
|
|
1192
|
+
/** response type, we need only the type of public-key */
|
|
1193
|
+
type: "public-key";
|
|
1194
|
+
};
|
|
1195
|
+
/** Contains the authentication value. The format depends on the authentication type used in the AuthenticationInfo complex type. */
|
|
1196
|
+
AuthenticationValue: Partial<components["schemas"]["OtpValue"]> &
|
|
1197
|
+
Partial<components["schemas"]["QRCODE"]> &
|
|
1198
|
+
Partial<components["schemas"]["U2FPinValue"]> &
|
|
1199
|
+
Partial<components["schemas"]["FIDOPublicKeyCredentialAssertion"]>;
|
|
1200
|
+
/** Data model for the complex type AuthenticationInfo. */
|
|
1201
|
+
AuthenticationInfo: {
|
|
1202
|
+
authentication: components["schemas"]["AuthenticationType-2"];
|
|
1203
|
+
authenticationValue: components["schemas"]["AuthenticationValue"];
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* Enum containing response information; if the customer entered the
|
|
1207
|
+
* authentication value, rejected the transaction, or requested a
|
|
1208
|
+
* resend of the authentication value.
|
|
1209
|
+
*/
|
|
1210
|
+
AuthorizationResponseType: "ENTERED" | "REJECTED" | "RESEND";
|
|
1211
|
+
/** POST /authorizations response object */
|
|
1212
|
+
authorizationsPostResponse: {
|
|
1213
|
+
authorizations: {
|
|
1214
|
+
authenticationInfo?: components["schemas"]["AuthenticationInfo"];
|
|
1215
|
+
responseType: components["schemas"]["AuthorizationResponseType"];
|
|
1216
|
+
};
|
|
1217
|
+
currentState: components["schemas"]["async2SyncCurrentState"];
|
|
1218
|
+
};
|
|
1219
|
+
errorAuthorizationsResponse: components["schemas"]["errorResponse"] & {
|
|
1220
|
+
[key: string]: unknown;
|
|
1221
|
+
};
|
|
1222
|
+
};
|
|
1223
|
+
responses: {
|
|
1224
|
+
/** Transfer completed successfully */
|
|
1225
|
+
transferSuccess: {
|
|
1226
|
+
content: {
|
|
1227
|
+
"application/json": components["schemas"]["transferResponse"];
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
/** Malformed or missing required body, headers or parameters */
|
|
1231
|
+
transferBadRequest: {
|
|
1232
|
+
content: {
|
|
1233
|
+
"application/json": components["schemas"]["errorTransferResponse"];
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
/** An error occurred processing the transfer */
|
|
1237
|
+
transferServerError: {
|
|
1238
|
+
content: {
|
|
1239
|
+
"application/json": components["schemas"]["errorTransferResponse"];
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
/** Timeout occurred processing the transfer */
|
|
1243
|
+
transferTimeout: {
|
|
1244
|
+
content: {
|
|
1245
|
+
"application/json": components["schemas"]["errorTransferResponse"];
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
/** Bulk transfer completed successfully */
|
|
1249
|
+
bulkTransferSuccess: {
|
|
1250
|
+
content: {
|
|
1251
|
+
"application/json": components["schemas"]["bulkTransferResponse"];
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
/** Malformed or missing required body, headers or parameters */
|
|
1255
|
+
bulkTransferBadRequest: {
|
|
1256
|
+
content: {
|
|
1257
|
+
"application/json": components["schemas"]["bulkTransferErrorResponse"];
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
/** An error occurred processing the bulk transfer */
|
|
1261
|
+
bulkTransferServerError: {
|
|
1262
|
+
content: {
|
|
1263
|
+
"application/json": components["schemas"]["bulkTransferErrorResponse"];
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
/** Timeout occurred processing the bulk transfer */
|
|
1267
|
+
bulkTransferTimeout: {
|
|
1268
|
+
content: {
|
|
1269
|
+
"application/json": components["schemas"]["bulkTransferErrorResponse"];
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
/** Bulk quote completed successfully */
|
|
1273
|
+
bulkQuoteSuccess: {
|
|
1274
|
+
content: {
|
|
1275
|
+
"application/json": components["schemas"]["bulkQuoteResponse"];
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1278
|
+
/** Malformed or missing required body, headers or parameters */
|
|
1279
|
+
bulkQuoteBadRequest: {
|
|
1280
|
+
content: {
|
|
1281
|
+
"application/json": components["schemas"]["bulkQuoteErrorResponse"];
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
/** An error occurred processing the bulk quote */
|
|
1285
|
+
bulkQuoteServerError: {
|
|
1286
|
+
content: {
|
|
1287
|
+
"application/json": components["schemas"]["bulkQuoteErrorResponse"];
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
/** Timeout occurred processing the bulk quote */
|
|
1291
|
+
bulkQuoteTimeout: {
|
|
1292
|
+
content: {
|
|
1293
|
+
"application/json": components["schemas"]["bulkQuoteErrorResponse"];
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
/** Request to Pay completed successfully */
|
|
1297
|
+
requestToPaySuccess: {
|
|
1298
|
+
content: {
|
|
1299
|
+
"application/json": components["schemas"]["requestToPayResponse"];
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
/** Transfer completed successfully */
|
|
1303
|
+
requestToPayTransferSuccess: {
|
|
1304
|
+
content: {
|
|
1305
|
+
"application/json": components["schemas"]["requestToPayTransferResponse"];
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
/** Malformed or missing required body, headers or parameters */
|
|
1309
|
+
requestToPayTransferBadRequest: {
|
|
1310
|
+
content: {
|
|
1311
|
+
"application/json": components["schemas"]["errorTransferResponse"];
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
/** Accounts creation completed */
|
|
1315
|
+
accountsCreationCompleted: {
|
|
1316
|
+
content: {
|
|
1317
|
+
"application/json": components["schemas"]["accountsResponse"];
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
/** An error occurred creating accounts */
|
|
1321
|
+
accountsCreationError: {
|
|
1322
|
+
content: {
|
|
1323
|
+
"application/json": components["schemas"]["errorAccountsResponse"];
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
/** Timeout occurred creating accounts */
|
|
1327
|
+
accountsCreationTimeout: {
|
|
1328
|
+
content: {
|
|
1329
|
+
"application/json": components["schemas"]["errorAccountsResponse"];
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
/** PartiesByIdSuccess */
|
|
1333
|
+
partiesByIdSuccess: {
|
|
1334
|
+
content: {
|
|
1335
|
+
"application/json": components["schemas"]["partiesByIdResponse"];
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
/** PartiesByIdError404 */
|
|
1339
|
+
partiesByIdError404: {
|
|
1340
|
+
content: {
|
|
1341
|
+
"application/json": {
|
|
1342
|
+
errorInformation?: components["schemas"]["ErrorInformation"];
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
/** sync response from POST /quotes */
|
|
1347
|
+
quotesPostSuccess: {
|
|
1348
|
+
content: {
|
|
1349
|
+
"application/json": components["schemas"]["quotesPostResponse"];
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
/** An error occurred processing the quotes request */
|
|
1353
|
+
quotesServerError: {
|
|
1354
|
+
content: {
|
|
1355
|
+
"application/json": components["schemas"]["errorQuotesResponse"];
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
/** sync response from POST /simpleTransfers */
|
|
1359
|
+
simpleTransfersPostSuccess: {
|
|
1360
|
+
content: {
|
|
1361
|
+
"application/json": components["schemas"]["simpleTransfersPostResponse"];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
/** An error occurred processing the simple transfers request */
|
|
1365
|
+
simpleTransfersServerError: {
|
|
1366
|
+
content: {
|
|
1367
|
+
"application/json": components["schemas"]["errorSimpleTransfersResponse"];
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
/** Sync response from POST /authorizations */
|
|
1371
|
+
authorizationPostSuccess: {
|
|
1372
|
+
content: {
|
|
1373
|
+
"application/json": components["schemas"]["authorizationsPostResponse"];
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
/** An error occurred processing the authorizations request */
|
|
1377
|
+
authorizationsServerError: {
|
|
1378
|
+
content: {
|
|
1379
|
+
"application/json": components["schemas"]["errorAuthorizationsResponse"];
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
parameters: {
|
|
1384
|
+
/** Identifier of the transfer to continue as returned in the response to a `POST /transfers` request. */
|
|
1385
|
+
transferId: components["schemas"]["CorrelationId"];
|
|
1386
|
+
/** Identifier of the bulk transfer to continue as returned in the response to a `POST /bulkTransfers` request. */
|
|
1387
|
+
bulkTransferId: components["schemas"]["CorrelationId"];
|
|
1388
|
+
/** Identifier of the bulk transfer to continue as returned in the response to a `POST /bulkTransfers` request. */
|
|
1389
|
+
bulkQuoteId: components["schemas"]["CorrelationId"];
|
|
1390
|
+
/** Identifier of the merchant request to pay transfer to continue as returned in the response to a `POST /requestToPayTransfer` request. */
|
|
1391
|
+
requestToPayTransactionId: components["schemas"]["CorrelationId"];
|
|
1392
|
+
/** The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
|
|
1393
|
+
Type: string;
|
|
1394
|
+
/** The identifier value. */
|
|
1395
|
+
ID: string;
|
|
1396
|
+
/** A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`. */
|
|
1397
|
+
SubId: string;
|
|
1398
|
+
};
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
export interface operations {
|
|
1402
|
+
/** The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1). */
|
|
1403
|
+
PartiesByTypeAndID: {
|
|
1404
|
+
parameters: {
|
|
1405
|
+
path: {
|
|
1406
|
+
/** The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
|
|
1407
|
+
Type: components["parameters"]["Type"];
|
|
1408
|
+
/** The identifier value. */
|
|
1409
|
+
ID: components["parameters"]["ID"];
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
responses: {
|
|
1413
|
+
200: components["responses"]["partiesByIdSuccess"];
|
|
1414
|
+
404: components["responses"]["partiesByIdError404"];
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
/** The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1). */
|
|
1418
|
+
PartiesSubIdByTypeAndID: {
|
|
1419
|
+
parameters: {
|
|
1420
|
+
path: {
|
|
1421
|
+
/** The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
|
|
1422
|
+
Type: components["parameters"]["Type"];
|
|
1423
|
+
/** The identifier value. */
|
|
1424
|
+
ID: components["parameters"]["ID"];
|
|
1425
|
+
/** A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`. */
|
|
1426
|
+
SubId: components["parameters"]["SubId"];
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
responses: {
|
|
1430
|
+
200: components["responses"]["partiesByIdSuccess"];
|
|
1431
|
+
404: components["responses"]["partiesByIdError404"];
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
/** is used to request quotes from other DFSP */
|
|
1435
|
+
QuotesPost: {
|
|
1436
|
+
responses: {
|
|
1437
|
+
200: components["responses"]["quotesPostSuccess"];
|
|
1438
|
+
500: components["responses"]["quotesServerError"];
|
|
1439
|
+
};
|
|
1440
|
+
/** Quotes request payload */
|
|
1441
|
+
requestBody: {
|
|
1442
|
+
content: {
|
|
1443
|
+
"application/json": components["schemas"]["quotesPostRequest"];
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
/** is used to request a transfer */
|
|
1448
|
+
SimpleTransfersPost: {
|
|
1449
|
+
responses: {
|
|
1450
|
+
200: components["responses"]["simpleTransfersPostSuccess"];
|
|
1451
|
+
500: components["responses"]["simpleTransfersServerError"];
|
|
1452
|
+
};
|
|
1453
|
+
/** Simple Transfer request payload */
|
|
1454
|
+
requestBody: {
|
|
1455
|
+
content: {
|
|
1456
|
+
"application/json": components["schemas"]["simpleTransfersPostRequest"];
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
/** The HTTP request `POST /authorizations` is used to request the Payer to enter the applicable credentials in the PISP system. */
|
|
1461
|
+
AuthorizationsPost: {
|
|
1462
|
+
responses: {
|
|
1463
|
+
200: components["responses"]["authorizationPostSuccess"];
|
|
1464
|
+
500: components["responses"]["authorizationsServerError"];
|
|
1465
|
+
};
|
|
1466
|
+
/** Perform authorization */
|
|
1467
|
+
requestBody: {
|
|
1468
|
+
content: {
|
|
1469
|
+
"application/json": components["schemas"]["authorizationsPostRequest"];
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export interface external {}
|