@mojaloop/sdk-scheme-adapter 12.0.1 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +619 -0
- package/.env.example +13 -0
- package/CHANGELOG.md +29 -0
- package/CODEOWNERS +2 -0
- package/Dockerfile +35 -0
- package/LICENSE.md +10 -0
- package/PROXY.md +84 -0
- package/README.md +228 -0
- package/SECURITY.md +18 -0
- package/audit-resolve.json +20 -0
- package/docker/ml-testing-toolkit/secrets/keygen.sh +5 -0
- package/docker/ml-testing-toolkit/secrets/privatekey.pem +27 -0
- package/docker/ml-testing-toolkit/secrets/publickey.cer +21 -0
- package/docker/ml-testing-toolkit/secrets/tls/createSecrets.sh +29 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_client.csr +28 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_client_cacert.pem +32 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_client_cakey.key +51 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_client_key.key +51 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_server.csr +28 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_server_cacert.pem +32 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_server_cacert.srl +1 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_server_cakey.key +51 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_server_cert.pem +33 -0
- package/docker/ml-testing-toolkit/secrets/tls/hub_server_key.key +51 -0
- package/docker/ml-testing-toolkit/secrets/tls/openssl.conf +17 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/central_admin_9.3/api_spec.yaml +2450 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/central_admin_9.3/response_map.json +96 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/api_spec.yaml +4187 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/callback_map.json +542 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/mockRef.json +83 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/trigger_templates/transaction_request_followup.json +125 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/api_spec.yaml +3703 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/callback_map.json +568 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/mockRef.json +83 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/trigger_templates/transaction_request_followup.json +125 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/api_spec.yaml +983 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/mockRef.json +38 -0
- package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/response_map.json +34 -0
- package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/html_template.html +1074 -0
- package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/pdf_template.html +765 -0
- package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/script.js +98 -0
- package/docker/ml-testing-toolkit/spec_files/rules_callback/config.json +3 -0
- package/docker/ml-testing-toolkit/spec_files/rules_callback/default.json +426 -0
- package/docker/ml-testing-toolkit/spec_files/rules_response/config.json +3 -0
- package/docker/ml-testing-toolkit/spec_files/rules_response/default.json +1623 -0
- package/docker/ml-testing-toolkit/spec_files/rules_response/default_pisp_rules.json +161 -0
- package/docker/ml-testing-toolkit/spec_files/rules_validation/config.json +3 -0
- package/docker/ml-testing-toolkit/spec_files/rules_validation/default.json +672 -0
- package/docker/ml-testing-toolkit/spec_files/system_config.json +62 -0
- package/docker/ml-testing-toolkit/spec_files/user_config.json +45 -0
- package/docker/wait4/setup_hosts_file.sh +25 -0
- package/docker/wait4/wait4.config.js +71 -0
- package/docker/wait4/wait4.js +204 -0
- package/docker-compose.yml +67 -0
- package/docs/Mojaloop - Modusbox Onboarding functionality.pdf +0 -0
- package/docs/dfspInboundApi.yaml +1091 -0
- package/jest.config.js +4 -1
- package/package.json +13 -8
- package/secrets/jwsSigningKey.key +27 -0
- package/secrets/jwsVerificationKeys/mojaloop-sdk.pem +9 -0
- package/secrets/jwsVerificationKeys/switch.pem +9 -0
- package/sequences.puml +99 -0
- package/src/ControlAgent/index.js +221 -0
- package/{TestServer → src/ControlServer}/handlers.js +0 -0
- package/src/ControlServer/index.js +294 -0
- package/{InboundServer → src/InboundServer}/api.yaml +0 -0
- package/src/InboundServer/api_template.yaml +69 -0
- package/{InboundServer → src/InboundServer}/handlers.js +0 -0
- package/{InboundServer → src/InboundServer}/index.js +33 -1
- package/{InboundServer → src/InboundServer}/middlewares.js +0 -0
- package/{OAuthTestServer → src/OAuthTestServer}/index.js +0 -0
- package/{OAuthTestServer → src/OAuthTestServer}/model.js +0 -0
- package/{OutboundServer → src/OutboundServer}/api.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_interfaces/index.d.ts +0 -0
- package/{OutboundServer → src/OutboundServer}/api_interfaces/openapi.d.ts +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/bulkQuoteId.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/bulkTransferId.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/requestToPayTransactionId.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/transferId.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationCompleted.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationError.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationTimeout.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteBadRequest.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteServerError.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteTimeout.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferBadRequest.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferServerError.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferTimeout.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/partiesByIdError404.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/partiesByIdSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/quotesPostSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/quotesServerError.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPaySuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPayTransferBadRequest.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPayTransferSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/simpleTransfersPostSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/simpleTransfersServerError.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferBadRequest.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferServerError.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferSuccess.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferTimeout.yaml +0 -0
- package/src/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +18 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/accountsCreationState.yaml +0 -0
- package/src/OutboundServer/api_template/components/schemas/accountsRequest.yaml +20 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/accountsResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/async2SyncCurrentState.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteErrorResponse.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteRequest.yaml +2 -2
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteStatus.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteStatusResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferErrorResponse.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferRequest.yaml +2 -2
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferStatus.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferStatusResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorAccountsResponse.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorQuotesResponse.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorResponse.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorSimpleTransfersResponse.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorTransferResponse.yaml +0 -0
- package/src/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +6 -0
- package/src/OutboundServer/api_template/components/schemas/individualQuote.yaml +32 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualQuoteResult.yaml +5 -5
- package/src/OutboundServer/api_template/components/schemas/individualTransfer.yaml +32 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualTransferFulfilment.yaml +2 -2
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualTransferResult.yaml +6 -6
- package/src/OutboundServer/api_template/components/schemas/mojaloopError.yaml +5 -0
- package/src/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +2 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/partiesByIdResponse.yaml +1 -1
- package/src/OutboundServer/api_template/components/schemas/quote.yaml +3 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/quoteError.yaml +0 -0
- package/src/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +13 -0
- package/src/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +48 -0
- package/src/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +39 -0
- package/src/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +41 -0
- package/src/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +42 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/requestToPayTransferResponse.yaml +6 -6
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/simpleTransferServerError.yaml +0 -0
- package/src/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +12 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/simpleTransfersPostResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transactionType.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptOTP.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptParty.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptQuote.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferError.yaml +0 -0
- package/src/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +3 -0
- package/src/OutboundServer/api_template/components/schemas/transferParty.yaml +40 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferRequest.yaml +4 -4
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferResponse.yaml +6 -6
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferStatus.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferStatusResponse.yaml +1 -1
- package/{OutboundServer → src/OutboundServer}/api_template/health.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/openapi.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/accounts.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkQuotes.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkQuotes_bulkQuoteId.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkTransfers.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkTransfers_bulkTransferId.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/parties_Type_ID.yaml +2 -2
- package/{OutboundServer → src/OutboundServer}/api_template/paths/parties_Type_ID_SubId.yaml +3 -3
- package/{OutboundServer → src/OutboundServer}/api_template/paths/quotes.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPay.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPayTransfer.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPayTransfer_requestToPayTransactionId.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/simpleTransfers.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/transfers.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/api_template/paths/transfers_transferId.yaml +0 -0
- package/{OutboundServer → src/OutboundServer}/handlers.js +0 -0
- package/{OutboundServer → src/OutboundServer}/index.js +15 -0
- package/{OutboundServer → src/OutboundServer}/middlewares.js +0 -0
- package/{TestServer → src/TestServer}/api.yaml +0 -0
- package/src/TestServer/handlers.js +63 -0
- package/{TestServer → src/TestServer}/index.js +31 -0
- package/{config.js → src/config.js} +6 -0
- package/{index.d.ts → src/index.d.ts} +0 -0
- package/{index.js → src/index.js} +0 -0
- package/{lib → src/lib}/api/index.js +0 -0
- package/{lib → src/lib}/cache.js +0 -0
- package/{lib → src/lib}/check.js +0 -0
- package/{lib → src/lib}/model/AccountsModel.js +0 -0
- package/{lib → src/lib}/model/Async2SyncModel.js +0 -0
- package/{lib → src/lib}/model/InboundTransfersModel.js +0 -0
- package/{lib → src/lib}/model/OutboundBulkQuotesModel.js +3 -3
- package/{lib → src/lib}/model/OutboundBulkTransfersModel.js +1 -1
- package/{lib → src/lib}/model/OutboundRequestToPayModel.js +1 -1
- package/{lib → src/lib}/model/OutboundRequestToPayTransferModel.js +9 -9
- package/{lib → src/lib}/model/OutboundTransfersModel.js +1 -1
- package/{lib → src/lib}/model/PartiesModel.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/MatchRules/Expression.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/MatchRules/Headers.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/MatchRules/MatchRule.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/MatchRules/Path.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/MatchRules/Query.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/MatchRules/index.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/Route.js +0 -0
- package/{lib → src/lib}/model/ProxyModel/configSchema.json +0 -0
- package/{lib → src/lib}/model/ProxyModel/index.js +0 -0
- package/{lib → src/lib}/model/QuotesModel.js +0 -0
- package/{lib → src/lib}/model/TransfersModel.js +0 -0
- package/{lib → src/lib}/model/common/BackendError.js +0 -0
- package/{lib → src/lib}/model/common/PersistentStateMachine.js +0 -0
- package/{lib → src/lib}/model/common/index.js +0 -0
- package/{lib → src/lib}/model/index.js +0 -0
- package/{lib → src/lib}/model/lib/deferredJob.js +0 -0
- package/{lib → src/lib}/model/lib/index.js +0 -0
- package/{lib → src/lib}/model/lib/requests/backendRequests.js +0 -0
- package/{lib → src/lib}/model/lib/requests/common.js +0 -0
- package/{lib → src/lib}/model/lib/requests/index.js +0 -0
- package/{lib → src/lib}/model/lib/shared.js +6 -5
- package/{lib → src/lib}/randomphrase/index.js +0 -0
- package/{lib → src/lib}/randomphrase/words.json +0 -0
- package/{lib → src/lib}/router.js +0 -0
- package/{lib → src/lib}/validate.js +0 -0
- package/test/config/integration.env +9 -0
- package/test/integration/lib/cache.test.js +3 -3
- package/test/unit/ControlClient.test.js +113 -0
- package/test/unit/ControlServer/events.js +41 -0
- package/test/unit/ControlServer/index.js +231 -0
- package/test/unit/ControlServer.test.js +126 -0
- package/test/unit/InboundServer.test.js +4 -4
- package/test/unit/TestServer.test.js +5 -5
- package/test/unit/api/utils.js +5 -5
- package/test/unit/config.test.js +10 -9
- package/test/unit/inboundApi/handlers.test.js +6 -6
- package/test/unit/index.test.js +2 -1
- package/test/unit/lib/cache.test.js +1 -1
- package/test/unit/lib/model/AccountsModel.test.js +2 -2
- package/test/unit/lib/model/InboundTransfersModel.test.js +5 -5
- package/test/unit/lib/model/OutboundBulkQuotesModel.test.js +2 -2
- package/test/unit/lib/model/OutboundBulkTransfersModel.test.js +2 -2
- package/test/unit/lib/model/OutboundRequestToPayModel.test.js +3 -3
- package/test/unit/lib/model/OutboundRequestToPayTransferModel.test.js +2 -2
- package/test/unit/lib/model/OutboundTransfersModel.test.js +36 -3
- package/test/unit/lib/model/PartiesModel.test.js +28 -28
- package/test/unit/lib/model/QuotesModel.test.js +31 -31
- package/test/unit/lib/model/TransfersModel.test.js +3 -3
- package/test/unit/lib/model/common/PersistentStateMachine.test.js +13 -13
- package/test/unit/lib/model/mockedLibRequests.js +1 -1
- package/test/unit/outboundApi/handlers.test.js +3 -3
- package/.eslintignore +0 -2
- package/InboundServer/api_template.yaml +0 -69
- package/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +0 -18
- package/OutboundServer/api_template/components/schemas/accountsRequest.yaml +0 -20
- package/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +0 -6
- package/OutboundServer/api_template/components/schemas/individualQuote.yaml +0 -32
- package/OutboundServer/api_template/components/schemas/individualTransfer.yaml +0 -32
- package/OutboundServer/api_template/components/schemas/mojaloopError.yaml +0 -5
- package/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +0 -2
- package/OutboundServer/api_template/components/schemas/quote.yaml +0 -3
- package/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +0 -13
- package/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +0 -48
- package/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +0 -39
- package/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +0 -41
- package/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +0 -42
- package/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +0 -12
- package/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +0 -3
- package/OutboundServer/api_template/components/schemas/transferParty.yaml +0 -40
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"ruleId": 1,
|
|
4
|
+
"priority": 1,
|
|
5
|
+
"description": "get /parties/{Type}/{ID}",
|
|
6
|
+
"apiVersion": {
|
|
7
|
+
"minorVersion": 0,
|
|
8
|
+
"majorVersion": 1,
|
|
9
|
+
"type": "fspiop",
|
|
10
|
+
"asynchronous": true
|
|
11
|
+
},
|
|
12
|
+
"conditions": {
|
|
13
|
+
"all": [
|
|
14
|
+
{
|
|
15
|
+
"fact": "pathParams",
|
|
16
|
+
"operator": "equal",
|
|
17
|
+
"value": "ERROR1000",
|
|
18
|
+
"path": "ID"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"fact": "pathParams",
|
|
22
|
+
"operator": "equal",
|
|
23
|
+
"value": "ALIAS",
|
|
24
|
+
"path": "Type"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"fact": "operationPath",
|
|
28
|
+
"operator": "equal",
|
|
29
|
+
"value": "/parties/{Type}/{ID}"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"fact": "method",
|
|
33
|
+
"operator": "equal",
|
|
34
|
+
"value": "get"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"event": {
|
|
39
|
+
"method": "put",
|
|
40
|
+
"path": "/parties/{Type}/{ID}/error",
|
|
41
|
+
"params": {
|
|
42
|
+
"headers": {
|
|
43
|
+
"Content-Type": "application/vnd.interoperability.parties+json;version=1.0",
|
|
44
|
+
"Date": "Fri, 02 Feb 1996 03:04:05 GMT",
|
|
45
|
+
"FSPIOP-Source": "switch"
|
|
46
|
+
},
|
|
47
|
+
"body": {
|
|
48
|
+
"errorInformation": {
|
|
49
|
+
"errorCode": "1000",
|
|
50
|
+
"errorDescription": "This is an error description",
|
|
51
|
+
"extensionList": {
|
|
52
|
+
"extension": [
|
|
53
|
+
{
|
|
54
|
+
"key": "errorDescription",
|
|
55
|
+
"value": "This is a more detailed error description"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"key": "errorDescription",
|
|
59
|
+
"value": "This is a more detailed error description"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"scripts": {}
|
|
66
|
+
},
|
|
67
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
68
|
+
},
|
|
69
|
+
"type": "validation",
|
|
70
|
+
"version": 1
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"ruleId": 2,
|
|
74
|
+
"priority": 2,
|
|
75
|
+
"description": "get /parties/{Type}/{ID}",
|
|
76
|
+
"apiVersion": {
|
|
77
|
+
"minorVersion": 0,
|
|
78
|
+
"majorVersion": 1,
|
|
79
|
+
"type": "fspiop",
|
|
80
|
+
"asynchronous": true
|
|
81
|
+
},
|
|
82
|
+
"conditions": {
|
|
83
|
+
"all": [
|
|
84
|
+
{
|
|
85
|
+
"fact": "pathParams",
|
|
86
|
+
"operator": "equal",
|
|
87
|
+
"value": "ERROR1001",
|
|
88
|
+
"path": "ID"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"fact": "pathParams",
|
|
92
|
+
"operator": "equal",
|
|
93
|
+
"value": "ALIAS",
|
|
94
|
+
"path": "Type"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"fact": "operationPath",
|
|
98
|
+
"operator": "equal",
|
|
99
|
+
"value": "/parties/{Type}/{ID}"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"fact": "method",
|
|
103
|
+
"operator": "equal",
|
|
104
|
+
"value": "get"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"event": {
|
|
109
|
+
"method": "put",
|
|
110
|
+
"path": "/parties/{Type}/{ID}/error",
|
|
111
|
+
"params": {
|
|
112
|
+
"headers": {
|
|
113
|
+
"Content-Type": "application/vnd.interoperability.parties+json;version=1.0",
|
|
114
|
+
"Date": "Fri, 02 Feb 1996 03:04:05 GMT",
|
|
115
|
+
"FSPIOP-Source": "switch"
|
|
116
|
+
},
|
|
117
|
+
"body": {
|
|
118
|
+
"errorInformation": {
|
|
119
|
+
"errorCode": "1001",
|
|
120
|
+
"errorDescription": "This is an error description",
|
|
121
|
+
"extensionList": {
|
|
122
|
+
"extension": [
|
|
123
|
+
{
|
|
124
|
+
"key": "errorDescription",
|
|
125
|
+
"value": "This is a more detailed error description"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "errorDescription",
|
|
129
|
+
"value": "This is a more detailed error description"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"scripts": {}
|
|
136
|
+
},
|
|
137
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
138
|
+
},
|
|
139
|
+
"type": "validation",
|
|
140
|
+
"version": 1
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"ruleId": 3,
|
|
144
|
+
"priority": 3,
|
|
145
|
+
"description": "get /parties/{Type}/{ID}",
|
|
146
|
+
"apiVersion": {
|
|
147
|
+
"minorVersion": 0,
|
|
148
|
+
"majorVersion": 1,
|
|
149
|
+
"type": "fspiop",
|
|
150
|
+
"asynchronous": true
|
|
151
|
+
},
|
|
152
|
+
"conditions": {
|
|
153
|
+
"all": [
|
|
154
|
+
{
|
|
155
|
+
"fact": "pathParams",
|
|
156
|
+
"operator": "equal",
|
|
157
|
+
"value": "ERROR3200",
|
|
158
|
+
"path": "ID"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"fact": "pathParams",
|
|
162
|
+
"operator": "equal",
|
|
163
|
+
"value": "ALIAS",
|
|
164
|
+
"path": "Type"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"fact": "operationPath",
|
|
168
|
+
"operator": "equal",
|
|
169
|
+
"value": "/parties/{Type}/{ID}"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"fact": "method",
|
|
173
|
+
"operator": "equal",
|
|
174
|
+
"value": "get"
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"event": {
|
|
179
|
+
"method": "put",
|
|
180
|
+
"path": "/parties/{Type}/{ID}/error",
|
|
181
|
+
"params": {
|
|
182
|
+
"headers": {
|
|
183
|
+
"Content-Type": "application/vnd.interoperability.parties+json;version=1.0",
|
|
184
|
+
"Date": "Fri, 02 Feb 1996 03:04:05 GMT",
|
|
185
|
+
"FSPIOP-Source": "switch"
|
|
186
|
+
},
|
|
187
|
+
"body": {
|
|
188
|
+
"errorInformation": {
|
|
189
|
+
"errorCode": "3200",
|
|
190
|
+
"errorDescription": "This is an error description",
|
|
191
|
+
"extensionList": {
|
|
192
|
+
"extension": [
|
|
193
|
+
{
|
|
194
|
+
"key": "errorDescription",
|
|
195
|
+
"value": "This is a more detailed error description"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"key": "errorDescription",
|
|
199
|
+
"value": "This is a more detailed error description"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"scripts": {}
|
|
206
|
+
},
|
|
207
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
208
|
+
},
|
|
209
|
+
"type": "validation",
|
|
210
|
+
"version": 1
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"ruleId": 4,
|
|
214
|
+
"priority": 4,
|
|
215
|
+
"description": "get /parties/{Type}/{ID}",
|
|
216
|
+
"apiVersion": {
|
|
217
|
+
"minorVersion": 0,
|
|
218
|
+
"majorVersion": 1,
|
|
219
|
+
"type": "fspiop",
|
|
220
|
+
"asynchronous": true
|
|
221
|
+
},
|
|
222
|
+
"conditions": {
|
|
223
|
+
"all": [
|
|
224
|
+
{
|
|
225
|
+
"fact": "pathParams",
|
|
226
|
+
"operator": "equal",
|
|
227
|
+
"value": "ERROR3201",
|
|
228
|
+
"path": "ID"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"fact": "pathParams",
|
|
232
|
+
"operator": "equal",
|
|
233
|
+
"value": "ALIAS",
|
|
234
|
+
"path": "Type"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"fact": "operationPath",
|
|
238
|
+
"operator": "equal",
|
|
239
|
+
"value": "/parties/{Type}/{ID}"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"fact": "method",
|
|
243
|
+
"operator": "equal",
|
|
244
|
+
"value": "get"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"event": {
|
|
249
|
+
"method": "put",
|
|
250
|
+
"path": "/parties/{Type}/{ID}/error",
|
|
251
|
+
"params": {
|
|
252
|
+
"headers": {
|
|
253
|
+
"Content-Type": "application/vnd.interoperability.parties+json;version=1.0",
|
|
254
|
+
"Date": "Fri, 02 Feb 1996 03:04:05 GMT",
|
|
255
|
+
"FSPIOP-Source": "switch"
|
|
256
|
+
},
|
|
257
|
+
"body": {
|
|
258
|
+
"errorInformation": {
|
|
259
|
+
"errorCode": "3201",
|
|
260
|
+
"errorDescription": "This is an error description",
|
|
261
|
+
"extensionList": {
|
|
262
|
+
"extension": [
|
|
263
|
+
{
|
|
264
|
+
"key": "errorDescription",
|
|
265
|
+
"value": "This is a more detailed error description"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"key": "errorDescription",
|
|
269
|
+
"value": "This is a more detailed error description"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"scripts": {}
|
|
276
|
+
},
|
|
277
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
278
|
+
},
|
|
279
|
+
"type": "validation",
|
|
280
|
+
"version": 1
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"ruleId": 5,
|
|
284
|
+
"priority": 5,
|
|
285
|
+
"description": "get /parties/{Type}/{ID}",
|
|
286
|
+
"apiVersion": {
|
|
287
|
+
"minorVersion": 0,
|
|
288
|
+
"majorVersion": 1,
|
|
289
|
+
"type": "fspiop",
|
|
290
|
+
"asynchronous": true
|
|
291
|
+
},
|
|
292
|
+
"conditions": {
|
|
293
|
+
"all": [
|
|
294
|
+
{
|
|
295
|
+
"fact": "pathParams",
|
|
296
|
+
"operator": "equal",
|
|
297
|
+
"value": "ERROR3204",
|
|
298
|
+
"path": "ID"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"fact": "pathParams",
|
|
302
|
+
"operator": "equal",
|
|
303
|
+
"value": "ALIAS",
|
|
304
|
+
"path": "Type"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"fact": "operationPath",
|
|
308
|
+
"operator": "equal",
|
|
309
|
+
"value": "/parties/{Type}/{ID}"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"fact": "method",
|
|
313
|
+
"operator": "equal",
|
|
314
|
+
"value": "get"
|
|
315
|
+
}
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
"event": {
|
|
319
|
+
"method": "put",
|
|
320
|
+
"path": "/parties/{Type}/{ID}/error",
|
|
321
|
+
"params": {
|
|
322
|
+
"headers": {
|
|
323
|
+
"Content-Type": "application/vnd.interoperability.parties+json;version=1.0",
|
|
324
|
+
"Date": "Fri, 02 Feb 1996 03:04:05 GMT",
|
|
325
|
+
"FSPIOP-Source": "switch"
|
|
326
|
+
},
|
|
327
|
+
"body": {
|
|
328
|
+
"errorInformation": {
|
|
329
|
+
"errorCode": "3204",
|
|
330
|
+
"errorDescription": "This is an error description",
|
|
331
|
+
"extensionList": {
|
|
332
|
+
"extension": [
|
|
333
|
+
{
|
|
334
|
+
"key": "errorDescription",
|
|
335
|
+
"value": "This is a more detailed error description"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"key": "errorDescription",
|
|
339
|
+
"value": "This is a more detailed error description"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"scripts": {}
|
|
346
|
+
},
|
|
347
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
348
|
+
},
|
|
349
|
+
"type": "validation",
|
|
350
|
+
"version": 1
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"ruleId": 6,
|
|
354
|
+
"priority": 1,
|
|
355
|
+
"description": "post /thirdpartyRequests/transactions",
|
|
356
|
+
"apiVersion": {
|
|
357
|
+
"minorVersion": 1,
|
|
358
|
+
"majorVersion": 0,
|
|
359
|
+
"type": "thirdparty_pisp",
|
|
360
|
+
"asynchronous": true
|
|
361
|
+
},
|
|
362
|
+
"conditions": {
|
|
363
|
+
"all": [
|
|
364
|
+
{
|
|
365
|
+
"fact": "body",
|
|
366
|
+
"operator": "equal",
|
|
367
|
+
"value": "ERROR6000",
|
|
368
|
+
"path": "sourceAccountId"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"fact": "operationPath",
|
|
372
|
+
"operator": "equal",
|
|
373
|
+
"value": "/thirdpartyRequests/transactions"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"fact": "method",
|
|
377
|
+
"operator": "equal",
|
|
378
|
+
"value": "post"
|
|
379
|
+
}
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"event": {
|
|
383
|
+
"method": "put",
|
|
384
|
+
"path": "/thirdpartyRequests/transactions/{ID}/error",
|
|
385
|
+
"params": {
|
|
386
|
+
"headers": {
|
|
387
|
+
"Content-Type": "application/vnd.interoperability.thirdparty+json;version=1.0",
|
|
388
|
+
"Date": "Fri, 02 Feb 2020 03:04:05 GMT",
|
|
389
|
+
"FSPIOP-Source": "switch"
|
|
390
|
+
},
|
|
391
|
+
"body": {
|
|
392
|
+
"errorInformation": {
|
|
393
|
+
"errorCode": "6000",
|
|
394
|
+
"errorDescription": "This is an error description",
|
|
395
|
+
"extensionList": {
|
|
396
|
+
"extension": [
|
|
397
|
+
{
|
|
398
|
+
"key": "errorDescription",
|
|
399
|
+
"value": "This is a more detailed error description"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"key": "errorDescription",
|
|
403
|
+
"value": "This is a more detailed error description"
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"scripts": {}
|
|
410
|
+
},
|
|
411
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
412
|
+
},
|
|
413
|
+
"type": "validation",
|
|
414
|
+
"version": 1
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"ruleId": 7,
|
|
418
|
+
"priority": 1,
|
|
419
|
+
"description": "post /thirdpartyRequests/transactions",
|
|
420
|
+
"apiVersion": {
|
|
421
|
+
"minorVersion": 1,
|
|
422
|
+
"majorVersion": 0,
|
|
423
|
+
"type": "thirdparty_pisp",
|
|
424
|
+
"asynchronous": true
|
|
425
|
+
},
|
|
426
|
+
"conditions": {
|
|
427
|
+
"all": [
|
|
428
|
+
{
|
|
429
|
+
"fact": "body",
|
|
430
|
+
"operator": "equal",
|
|
431
|
+
"value": "ERROR6001",
|
|
432
|
+
"path": "sourceAccountId"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"fact": "operationPath",
|
|
436
|
+
"operator": "equal",
|
|
437
|
+
"value": "/thirdpartyRequests/transactions"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"fact": "method",
|
|
441
|
+
"operator": "equal",
|
|
442
|
+
"value": "post"
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"event": {
|
|
447
|
+
"method": "put",
|
|
448
|
+
"path": "/thirdpartyRequests/transactions/{ID}/error",
|
|
449
|
+
"params": {
|
|
450
|
+
"headers": {
|
|
451
|
+
"Content-Type": "application/vnd.interoperability.thirdparty+json;version=1.0",
|
|
452
|
+
"Date": "Fri, 02 Feb 2020 03:04:05 GMT",
|
|
453
|
+
"FSPIOP-Source": "switch"
|
|
454
|
+
},
|
|
455
|
+
"body": {
|
|
456
|
+
"errorInformation": {
|
|
457
|
+
"errorCode": "6001",
|
|
458
|
+
"errorDescription": "This is an error description",
|
|
459
|
+
"extensionList": {
|
|
460
|
+
"extension": [
|
|
461
|
+
{
|
|
462
|
+
"key": "errorDescription",
|
|
463
|
+
"value": "This is a more detailed error description"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"key": "errorDescription",
|
|
467
|
+
"value": "This is a more detailed error description"
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"scripts": {}
|
|
474
|
+
},
|
|
475
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
476
|
+
},
|
|
477
|
+
"type": "validation",
|
|
478
|
+
"version": 1
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"ruleId": 8,
|
|
482
|
+
"priority": 1,
|
|
483
|
+
"description": "post /thirdpartyRequests/transactions",
|
|
484
|
+
"apiVersion": {
|
|
485
|
+
"minorVersion": 1,
|
|
486
|
+
"majorVersion": 0,
|
|
487
|
+
"type": "thirdparty_pisp",
|
|
488
|
+
"asynchronous": true
|
|
489
|
+
},
|
|
490
|
+
"conditions": {
|
|
491
|
+
"all": [
|
|
492
|
+
{
|
|
493
|
+
"fact": "body",
|
|
494
|
+
"operator": "equal",
|
|
495
|
+
"value": "6bfa9378-e94b-43dc-b909-dfc025bc51f2",
|
|
496
|
+
"path": "consentId"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"fact": "operationPath",
|
|
500
|
+
"operator": "equal",
|
|
501
|
+
"value": "/thirdpartyRequests/transactions"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"fact": "method",
|
|
505
|
+
"operator": "equal",
|
|
506
|
+
"value": "post"
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
"event": {
|
|
511
|
+
"method": "put",
|
|
512
|
+
"path": "/thirdpartyRequests/transactions/{ID}/error",
|
|
513
|
+
"params": {
|
|
514
|
+
"headers": {
|
|
515
|
+
"Content-Type": "application/vnd.interoperability.thirdparty+json;version=1.0",
|
|
516
|
+
"Date": "Fri, 02 Feb 2020 03:04:05 GMT",
|
|
517
|
+
"FSPIOP-Source": "switch"
|
|
518
|
+
},
|
|
519
|
+
"body": {
|
|
520
|
+
"errorInformation": {
|
|
521
|
+
"errorCode": "6103",
|
|
522
|
+
"errorDescription": "This is an error description",
|
|
523
|
+
"extensionList": {
|
|
524
|
+
"extension": [
|
|
525
|
+
{
|
|
526
|
+
"key": "errorDescription",
|
|
527
|
+
"value": "This is a more detailed error description"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"key": "errorDescription",
|
|
531
|
+
"value": "This is a more detailed error description"
|
|
532
|
+
}
|
|
533
|
+
]
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"scripts": {}
|
|
538
|
+
},
|
|
539
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
540
|
+
},
|
|
541
|
+
"type": "validation",
|
|
542
|
+
"version": 1
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"ruleId": 9,
|
|
546
|
+
"priority": 1,
|
|
547
|
+
"description": "post /thirdpartyRequests/transactions",
|
|
548
|
+
"apiVersion": {
|
|
549
|
+
"minorVersion": 1,
|
|
550
|
+
"majorVersion": 0,
|
|
551
|
+
"type": "thirdparty_pisp",
|
|
552
|
+
"asynchronous": true
|
|
553
|
+
},
|
|
554
|
+
"conditions": {
|
|
555
|
+
"all": [
|
|
556
|
+
{
|
|
557
|
+
"fact": "body",
|
|
558
|
+
"operator": "equal",
|
|
559
|
+
"value": "inefficient.funds",
|
|
560
|
+
"path": "sourceAccountId"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"fact": "operationPath",
|
|
564
|
+
"operator": "equal",
|
|
565
|
+
"value": "/thirdpartyRequests/transactions"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"fact": "method",
|
|
569
|
+
"operator": "equal",
|
|
570
|
+
"value": "post"
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
"event": {
|
|
575
|
+
"method": "put",
|
|
576
|
+
"path": "/thirdpartyRequests/transactions/{ID}/error",
|
|
577
|
+
"params": {
|
|
578
|
+
"headers": {
|
|
579
|
+
"Content-Type": "application/vnd.interoperability.thirdparty+json;version=1.0",
|
|
580
|
+
"Date": "Fri, 02 Feb 2020 03:04:05 GMT",
|
|
581
|
+
"FSPIOP-Source": "switch"
|
|
582
|
+
},
|
|
583
|
+
"body": {
|
|
584
|
+
"errorInformation": {
|
|
585
|
+
"errorCode": "6105",
|
|
586
|
+
"errorDescription": "This is an error description",
|
|
587
|
+
"extensionList": {
|
|
588
|
+
"extension": [
|
|
589
|
+
{
|
|
590
|
+
"key": "errorDescription",
|
|
591
|
+
"value": "This is a more detailed error description"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"key": "errorDescription",
|
|
595
|
+
"value": "This is a more detailed error description"
|
|
596
|
+
}
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"scripts": {}
|
|
602
|
+
},
|
|
603
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
604
|
+
},
|
|
605
|
+
"type": "validation",
|
|
606
|
+
"version": 1
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"ruleId": 10,
|
|
610
|
+
"priority": 1,
|
|
611
|
+
"description": "post /thirdpartyRequests/transactions",
|
|
612
|
+
"apiVersion": {
|
|
613
|
+
"minorVersion": 1,
|
|
614
|
+
"majorVersion": 0,
|
|
615
|
+
"type": "thirdparty_pisp",
|
|
616
|
+
"asynchronous": true
|
|
617
|
+
},
|
|
618
|
+
"conditions": {
|
|
619
|
+
"all": [
|
|
620
|
+
{
|
|
621
|
+
"fact": "body",
|
|
622
|
+
"operator": "equal",
|
|
623
|
+
"value": "quote.fail",
|
|
624
|
+
"path": "sourceAccountId"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"fact": "operationPath",
|
|
628
|
+
"operator": "equal",
|
|
629
|
+
"value": "/thirdpartyRequests/transactions"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"fact": "method",
|
|
633
|
+
"operator": "equal",
|
|
634
|
+
"value": "post"
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
"event": {
|
|
639
|
+
"method": "put",
|
|
640
|
+
"path": "/thirdpartyRequests/transactions/{ID}/error",
|
|
641
|
+
"params": {
|
|
642
|
+
"headers": {
|
|
643
|
+
"Content-Type": "application/vnd.interoperability.thirdparty+json;version=1.0",
|
|
644
|
+
"Date": "Fri, 02 Feb 2020 03:04:05 GMT",
|
|
645
|
+
"FSPIOP-Source": "switch"
|
|
646
|
+
},
|
|
647
|
+
"body": {
|
|
648
|
+
"errorInformation": {
|
|
649
|
+
"errorCode": "6105",
|
|
650
|
+
"errorDescription": "This is an error description",
|
|
651
|
+
"extensionList": {
|
|
652
|
+
"extension": [
|
|
653
|
+
{
|
|
654
|
+
"key": "errorDescription",
|
|
655
|
+
"value": "This is a more detailed error description"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"key": "errorDescription",
|
|
659
|
+
"value": "This is a more detailed error description"
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"scripts": {}
|
|
666
|
+
},
|
|
667
|
+
"type": "FIXED_ERROR_CALLBACK"
|
|
668
|
+
},
|
|
669
|
+
"type": "validation",
|
|
670
|
+
"version": 1
|
|
671
|
+
}
|
|
672
|
+
]
|