@mojaloop/central-ledger 9.2.2 → 15.1.3-snapshot.2
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 +625 -204
- package/.env +3 -2
- package/.ncurc.yaml +9 -0
- package/.nvmrc +1 -1
- package/.versionrc +15 -0
- package/CHANGELOG.md +353 -0
- package/CODEOWNERS +31 -0
- package/Dockerfile +20 -14
- package/LICENSE.md +4 -4
- package/Onboarding.md +0 -7
- package/README.md +99 -22
- package/audit-resolve.json +136 -1
- package/config/default.json +82 -27
- package/docker/central-ledger/default.json +68 -21
- package/docker/ml-api-adapter/default.json +10 -1
- package/docker/wait-for/wait-for-objstore.sh +1 -6
- package/docker/wait-for/wait-for.env +1 -1
- package/docker-compose.integration.yml +8 -5
- package/docker-compose.yml +73 -16
- package/migrations/310203_transferParticipant-indexes.js +38 -0
- package/migrations/310503_participantLimit-indexes-composite.js +38 -0
- package/migrations/{400401_settlementWindowStateChange-indexes.js → 400401_settlmentWindowStateChange-indexes.js} +0 -0
- package/migrations/401301_settlementModel-indexes.js +2 -0
- package/migrations/500401_quote-hotfix-2719.js +58 -0
- package/migrations/500501_feature-fixSubIdRef.js +53 -0
- package/migrations/500601_party-2480.js +63 -0
- package/migrations/501001_quoteExtension-quote-service-174.js +46 -0
- package/migrations/501002_quoteExtension-2522.js +61 -0
- package/migrations/800101_feature-fixSubIdRef.js +90 -0
- package/migrations/910102_hotfix954.js +4 -1
- package/migrations/940100_quotePartyIdInfoExtension.js +52 -0
- package/migrations/940101_quotePartyIdInfoExtension-2522.js +64 -0
- package/migrations/950100_settlementContentAggregation-decimal184.js +40 -0
- package/migrations/950101_transferParticipantStateChange.js +46 -0
- package/migrations/950102_settlementModel-adjustPosition.js +42 -0
- package/migrations/950103_dropTransferParticipantStateChange.js +47 -0
- package/migrations/950104_settlementModel-settlementAccountTypeId.js +79 -0
- package/migrations/950106_unique_settlement_model_ledger_account_currency.js +38 -0
- package/migrations/950107_settlementWindowContent_foreign_settlementModel.js +60 -0
- package/package.json +99 -81
- package/scripts/_wait4_all.js +146 -0
- package/seeds/amountType.js +4 -6
- package/seeds/balanceOfPayments.js +4 -6
- package/seeds/bulkProcessingState.js +4 -6
- package/seeds/bulkTransferState.js +4 -6
- package/seeds/currency.js +4 -6
- package/seeds/endpointType.js +128 -7
- package/seeds/ledgerAccountType.js +11 -10
- package/seeds/ledgerEntryType.js +5 -7
- package/seeds/participant.js +4 -6
- package/seeds/participantLimitType.js +4 -6
- package/seeds/partyIdentifierType.js +4 -6
- package/seeds/partyType.js +4 -6
- package/seeds/settlementDelay.js +4 -6
- package/seeds/settlementGranularity.js +4 -6
- package/seeds/settlementInterchange.js +4 -6
- package/seeds/settlementState.js +4 -6
- package/seeds/settlementWindow1State.js +4 -6
- package/seeds/transactionInitiator.js +4 -6
- package/seeds/transactionInitiatorType.js +4 -6
- package/seeds/transactionScenario.js +4 -6
- package/seeds/transferParticipantRoleType.js +4 -6
- package/seeds/transferState.js +9 -6
- package/src/api/interface/swagger.json +728 -948
- package/src/api/ledgerAccountTypes/handler.js +55 -0
- package/src/api/ledgerAccountTypes/routes.js +63 -0
- package/src/api/metrics/handler.js +2 -2
- package/src/api/metrics/routes.js +1 -1
- package/src/api/participants/handler.js +43 -35
- package/src/api/participants/routes.js +13 -13
- package/src/api/root/routes.js +2 -2
- package/src/api/settlementModels/handler.js +9 -26
- package/src/api/settlementModels/routes.js +4 -4
- package/src/api/transactions/handler.js +46 -0
- package/src/api/transactions/routes.js +45 -0
- package/src/domain/bulkTransfer/index.js +6 -5
- package/src/domain/ledgerAccountTypes/index.js +58 -0
- package/src/domain/participant/index.js +55 -4
- package/src/domain/position/index.js +18 -2
- package/src/domain/settlement/index.js +39 -6
- package/src/domain/transactions/index.js +61 -0
- package/src/domain/transfer/index.js +22 -2
- package/src/domain/transfer/transform.js +3 -3
- package/src/handlers/admin/handler.js +24 -32
- package/src/handlers/bulk/fulfil/handler.js +89 -56
- package/src/handlers/bulk/get/handler.js +203 -0
- package/src/handlers/bulk/index.js +4 -1
- package/src/handlers/bulk/prepare/handler.js +30 -29
- package/src/handlers/bulk/processing/handler.js +61 -32
- package/src/handlers/bulk/shared/validator.js +13 -1
- package/src/handlers/index.js +18 -9
- package/src/handlers/positions/handler.js +67 -46
- package/src/handlers/register.js +7 -7
- package/src/handlers/timeouts/handler.js +9 -4
- package/src/handlers/transfers/handler.js +408 -182
- package/src/handlers/transfers/validator.js +41 -11
- package/src/lib/cache.js +8 -34
- package/src/lib/config.js +5 -7
- package/src/lib/enum.js +22 -22
- package/src/lib/enumCached.js +76 -0
- package/src/lib/healthCheck/subServiceHealth.js +2 -2
- package/src/lib/requestLogger.js +9 -9
- package/src/lib/urlParser.js +1 -1
- package/src/models/bulkTransfer/bulkTransfer.js +6 -6
- package/src/models/bulkTransfer/bulkTransferAssociation.js +3 -3
- package/src/models/bulkTransfer/bulkTransferDuplicateCheck.js +4 -4
- package/src/models/bulkTransfer/bulkTransferExtension.js +2 -2
- package/src/models/bulkTransfer/bulkTransferFulfilmentDuplicateCheck.js +4 -4
- package/src/models/bulkTransfer/bulkTransferStateChange.js +7 -7
- package/src/models/bulkTransfer/facade.js +54 -3
- package/src/models/bulkTransfer/individualTransfer.js +2 -2
- package/src/models/ilpPackets/ilpPacket.js +36 -0
- package/src/models/ledgerAccountType/ledgerAccountType.js +139 -3
- package/src/models/misc/migrationLock.js +1 -1
- package/src/models/misc/segment.js +1 -1
- package/src/models/participant/facade.js +226 -76
- package/src/models/participant/participant.js +6 -5
- package/src/models/participant/participantCached.js +8 -0
- package/src/models/participant/participantCurrency.js +7 -7
- package/src/models/participant/participantCurrencyCached.js +11 -1
- package/src/models/participant/participantLimit.js +13 -13
- package/src/models/participant/participantLimitCached.js +124 -0
- package/src/models/participant/participantPosition.js +34 -5
- package/src/models/participant/participantPositionChange.js +10 -2
- package/src/models/position/facade.js +112 -18
- package/src/models/position/participantPosition.js +6 -6
- package/src/models/settlement/settlementModel.js +92 -17
- package/src/models/settlement/settlementModelCached.js +139 -0
- package/src/models/transfer/facade.js +97 -32
- package/src/models/transfer/ilpPacket.js +4 -4
- package/src/models/transfer/transfer.js +7 -7
- package/src/models/transfer/transferDuplicateCheck.js +21 -5
- package/src/models/transfer/transferError.js +5 -5
- package/src/models/transfer/transferErrorDuplicateCheck.js +4 -4
- package/src/models/transfer/transferExtension.js +4 -4
- package/src/models/transfer/transferFulfilment.js +5 -5
- package/src/models/transfer/transferFulfilmentDuplicateCheck.js +4 -4
- package/src/models/transfer/transferParticipant.js +3 -3
- package/src/models/transfer/transferStateChange.js +11 -11
- package/src/models/transfer/transferTimeout.js +5 -5
- package/src/schema/bulkTransfer.js +4 -4
- package/src/shared/plugins.js +10 -9
- package/src/shared/setup.js +69 -46
- package/test/integration/domain/participant/index.test.js +2 -0
- package/test/integration/handlers/handlers.test.js +605 -166
- package/test/integration/handlers/root.test.js +1 -1
- package/test/integration/helpers/hubAccounts.js +62 -0
- package/test/integration/helpers/ilpPacket.js +1 -1
- package/test/integration/helpers/participantFundsInOut.js +80 -0
- package/test/integration/helpers/participantLimit.js +6 -1
- package/test/integration/helpers/settlementModels.js +88 -0
- package/test/integration/helpers/testConsumer.js +163 -0
- package/test/integration/helpers/testProducer.js +0 -1
- package/test/integration/helpers/transferDuplicateCheck.js +1 -1
- package/test/integration/helpers/transferStateChange.js +1 -1
- package/test/integration/helpers/transferTestHelper.js +3 -5
- package/test/integration/models/transfer/transferStateChange.test.js +6 -0
- package/test/unit/api/ledgerAccountTypes/handler.test.js +126 -0
- package/test/unit/api/ledgerAccountTypes/routes.test.js +52 -0
- package/test/unit/api/participants/handler.test.js +75 -33
- package/test/unit/api/root/handler.test.js +1 -1
- package/test/unit/api/root/routes.test.js +2 -2
- package/test/unit/api/settlementModels/handler.test.js +21 -57
- package/test/unit/api/transactions/handler.test.js +108 -0
- package/test/unit/api/transactions/routes.test.js +38 -0
- package/test/unit/domain/ledgerAccountTypes/index.test.js +197 -0
- package/test/unit/domain/participant/index.test.js +115 -2
- package/test/unit/domain/settlement/index.test.js +199 -29
- package/test/unit/domain/transactions/index.test.js +128 -0
- package/test/unit/domain/transfer/index.test.js +1 -0
- package/test/unit/domain/transfer/transform.test.js +2 -0
- package/test/unit/handlers/admin/handler.test.js +5 -5
- package/test/unit/handlers/bulk/get/handler.test.js +401 -0
- package/test/unit/handlers/index.test.js +6 -0
- package/test/unit/handlers/positions/handler.test.js +26 -0
- package/test/unit/handlers/register.test.js +2 -0
- package/test/unit/handlers/transfers/handler.test.js +491 -36
- package/test/unit/handlers/transfers/validator.test.js +31 -31
- package/test/unit/lib/cache.test.js +0 -64
- package/test/unit/lib/cachingOfEnums.test.js +121 -0
- package/test/unit/lib/config.test.js +34 -0
- package/test/unit/lib/enum.test.js +6 -1
- package/test/unit/lib/enumCached.test.js +82 -0
- package/test/unit/lib/healthCheck/subServiceHealth.test.js +2 -0
- package/test/unit/lib/requestLogger.test.js +14 -12
- package/test/unit/models/ilpPackets/ilpPacket.test.js +89 -0
- package/test/unit/models/ledgerAccountType/ledgerAccountType.test.js +255 -6
- package/test/unit/models/misc/migrationLock.test.js +4 -0
- package/test/unit/models/misc/segment.test.js +5 -0
- package/test/unit/models/participant/facade.test.js +493 -54
- package/test/unit/models/participant/participant.test.js +4 -0
- package/test/unit/models/participant/participantCurrency.test.js +22 -9
- package/test/unit/models/participant/participantCurrencyCached.test.js +1 -1
- package/test/unit/models/participant/participantLimit.test.js +97 -0
- package/test/unit/models/participant/participantLimitCached.test.js +232 -0
- package/test/unit/models/participant/participantPosition.test.js +217 -0
- package/test/unit/models/participant/participantPositionChange.test.js +3 -0
- package/test/unit/models/position/facade.test.js +318 -29
- package/test/unit/models/position/participantPosition.test.js +22 -7
- package/test/unit/models/settlement/settlementModel.test.js +18 -37
- package/test/unit/models/settlement/settlementModelCached.test.js +171 -0
- package/test/unit/models/transfer/facade.test.js +115 -0
- package/test/unit/models/transfer/ilpPacket.test.js +28 -11
- package/test/unit/models/transfer/transfer.test.js +13 -4
- package/test/unit/models/transfer/transferDuplicateCheck.test.js +4 -0
- package/test/unit/models/transfer/transferError.test.js +5 -1
- package/test/unit/models/transfer/transferErrorDuplicateCheck.test.js +4 -0
- package/test/unit/models/transfer/transferExtension.test.js +26 -9
- package/test/unit/models/transfer/transferFulfilment.test.js +14 -5
- package/test/unit/models/transfer/transferFulfilmentDuplicateCheck.test.js +4 -0
- package/test/unit/models/transfer/transferParticipant.test.js +14 -5
- package/test/unit/models/transfer/transferStateChange.test.js +3 -0
- package/test/unit/models/transfer/transferTimeout.test.js +6 -0
- package/test/unit/seeds/amountType.test.js +6 -22
- package/test/unit/seeds/balanceOfPayments.test.js +6 -22
- package/test/unit/seeds/bulkProcessingState.test.js +84 -0
- package/test/unit/{lib/sidecar/nullClient.test.js → seeds/bulkTransferState.test.js} +36 -39
- package/test/unit/seeds/currency.test.js +6 -22
- package/test/unit/seeds/endpointType.test.js +6 -22
- package/test/unit/seeds/ledgerAccountType.test.js +5 -22
- package/test/unit/seeds/ledgerEntryType.test.js +6 -22
- package/test/unit/seeds/participant.test.js +5 -22
- package/test/unit/seeds/participantLimitType.test.js +6 -22
- package/test/unit/seeds/partyIdentifierType.test.js +6 -22
- package/test/unit/seeds/partyType.test.js +6 -22
- package/test/unit/seeds/settlementState.test.js +5 -22
- package/test/unit/seeds/settlementWindow1State.test.js +5 -22
- package/test/unit/seeds/transactionInitiator.test.js +6 -22
- package/test/unit/seeds/transactionInitiatorType.test.js +6 -22
- package/test/unit/seeds/transactionScenario.test.js +6 -22
- package/test/unit/seeds/transferParticipantRoleType.test.js +6 -22
- package/test/unit/seeds/transferState.test.js +6 -22
- package/test/unit/shared/plugins.test.js +31 -1
- package/test/unit/shared/setup.test.js +25 -36
- package/test/util/helpers.js +37 -2
- package/test/util/randomTransfers.js +1 -1
- package/test/util/scripts/env.sh +6 -5
- package/test/util/scripts/populateTestData.sh +204 -181
- package/test/util/scripts/populateTestDataForLegacySimulator.sh +261 -0
- package/test/util/scripts/restartObjStore.sh +1 -1
- package/test-integration.Dockerfile +15 -15
- package/test.Dockerfile +12 -12
- package/.circleci/_set_up_deploy_envs.sh +0 -47
- package/.dockerignore +0 -17
- package/.ncurc.json +0 -3
- package/server.sh +0 -4
- package/sonar-project.properties +0 -17
- package/src/lib/sidecar/index.js +0 -47
- package/src/lib/sidecar/nullClient.js +0 -18
- package/test/.env +0 -8
- package/test/integration-config.json +0 -367
- package/test/integration-runner.env +0 -31
- package/test/integration-runner.sh +0 -264
- package/test/spec-runner.sh +0 -132
- package/test/unit/lib/sidecar/index.test.js +0 -148
- package/test/unit/models/position/participantLimit.test.js +0 -135
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
],
|
|
8
8
|
"info": {
|
|
9
9
|
"title": "Central Ledger API Documentation",
|
|
10
|
-
"version": "
|
|
10
|
+
"version": "1.0"
|
|
11
11
|
},
|
|
12
12
|
"tags": [],
|
|
13
13
|
"paths": {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"in": "body",
|
|
83
83
|
"name": "body",
|
|
84
84
|
"schema": {
|
|
85
|
-
"$ref": "#/definitions/
|
|
85
|
+
"$ref": "#/definitions/PostParticipantsRequest"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
],
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
"in": "body",
|
|
349
349
|
"name": "body",
|
|
350
350
|
"schema": {
|
|
351
|
-
"$ref": "#/definitions/
|
|
351
|
+
"$ref": "#/definitions/ParticipantIsActive"
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
],
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
"in": "body",
|
|
416
416
|
"name": "body",
|
|
417
417
|
"schema": {
|
|
418
|
-
"$ref": "#/definitions/
|
|
418
|
+
"$ref": "#/definitions/PostParticipantsNameEndpointsRequest"
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
],
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
"in": "body",
|
|
675
675
|
"name": "body",
|
|
676
676
|
"schema": {
|
|
677
|
-
"$ref": "#/definitions/
|
|
677
|
+
"$ref": "#/definitions/PutParticipantsNameLimitsRequest"
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
],
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
"in": "body",
|
|
953
953
|
"name": "body",
|
|
954
954
|
"schema": {
|
|
955
|
-
"$ref": "#/definitions/
|
|
955
|
+
"$ref": "#/definitions/PostParticipantsNameAccountsRequest"
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
],
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"in": "body",
|
|
991
991
|
"name": "body",
|
|
992
992
|
"schema": {
|
|
993
|
-
"$ref": "#/definitions/
|
|
993
|
+
"$ref": "#/definitions/PostInitialPositionAndLimitsRequest"
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
996
|
],
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
"in": "body",
|
|
1038
1038
|
"name": "body",
|
|
1039
1039
|
"schema": {
|
|
1040
|
-
"$ref": "#/definitions/
|
|
1040
|
+
"$ref": "#/definitions/Participants"
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
],
|
|
@@ -1082,7 +1082,7 @@
|
|
|
1082
1082
|
"in": "body",
|
|
1083
1083
|
"name": "body",
|
|
1084
1084
|
"schema": {
|
|
1085
|
-
"$ref": "#/definitions/
|
|
1085
|
+
"$ref": "#/definitions/CurrencyIsActive"
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
],
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
"in": "body",
|
|
1139
1139
|
"name": "body",
|
|
1140
1140
|
"schema": {
|
|
1141
|
-
"$ref": "#/definitions/
|
|
1141
|
+
"$ref": "#/definitions/RecordFundsOut"
|
|
1142
1142
|
}
|
|
1143
1143
|
}
|
|
1144
1144
|
],
|
|
@@ -1154,10 +1154,162 @@
|
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
|
+
},
|
|
1158
|
+
"/ledgerAccountTypes" : {
|
|
1159
|
+
"get" : {
|
|
1160
|
+
"summary": "View all ledger account types",
|
|
1161
|
+
"tags" : [ "ledgerAccountTypes" ],
|
|
1162
|
+
"operationId" : "getLedgerAccountTypes",
|
|
1163
|
+
"parameters" : [ ],
|
|
1164
|
+
"responses" : {
|
|
1165
|
+
"default" : {
|
|
1166
|
+
"description" : "Successful",
|
|
1167
|
+
"schema" : {
|
|
1168
|
+
"type" : "array",
|
|
1169
|
+
"items": {
|
|
1170
|
+
"$ref" : "#/definitions/LedgerAccountType"
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"post" : {
|
|
1177
|
+
"summary": "Create a ledgerAccount type",
|
|
1178
|
+
"tags" : [ "ledgerAccountType" ],
|
|
1179
|
+
"operationId" : "postLedgerAccountType",
|
|
1180
|
+
"parameters" : [ {
|
|
1181
|
+
"in" : "body",
|
|
1182
|
+
"name" : "body",
|
|
1183
|
+
"required" : true,
|
|
1184
|
+
"schema" : {
|
|
1185
|
+
"$ref" : "#/definitions/LedgerAccountType"
|
|
1186
|
+
}
|
|
1187
|
+
} ],
|
|
1188
|
+
"responses" : {
|
|
1189
|
+
"default" : {
|
|
1190
|
+
"description" : "Successful",
|
|
1191
|
+
"schema" : {
|
|
1192
|
+
"type" : "string"
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"/settlementModels" : {
|
|
1199
|
+
"get" : {
|
|
1200
|
+
"summary": "View all settlement models",
|
|
1201
|
+
"tags" : [ "settlementModels" ],
|
|
1202
|
+
"operationId" : "getSettlementmodels",
|
|
1203
|
+
"parameters" : [ ],
|
|
1204
|
+
"responses" : {
|
|
1205
|
+
"default" : {
|
|
1206
|
+
"description" : "Successful",
|
|
1207
|
+
"schema" : {
|
|
1208
|
+
"type" : "string"
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
"post" : {
|
|
1214
|
+
"summary": "Create a settlement model. This will create any associated ledgerAccountTypes for every participant that matches the settlementModel's currency",
|
|
1215
|
+
"tags" : [ "settlementModels" ],
|
|
1216
|
+
"operationId" : "postSettlementmodels",
|
|
1217
|
+
"parameters" : [ {
|
|
1218
|
+
"in" : "body",
|
|
1219
|
+
"name" : "body",
|
|
1220
|
+
"required" : false,
|
|
1221
|
+
"schema" : {
|
|
1222
|
+
"$ref" : "#/definitions/SettlementModel"
|
|
1223
|
+
}
|
|
1224
|
+
} ],
|
|
1225
|
+
"responses" : {
|
|
1226
|
+
"default" : {
|
|
1227
|
+
"description" : "Successful",
|
|
1228
|
+
"schema" : {
|
|
1229
|
+
"type" : "string"
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"/settlementModels/{name}" : {
|
|
1236
|
+
"get" : {
|
|
1237
|
+
"summary": "View settlement model by name",
|
|
1238
|
+
"tags" : [ "settlementModels" ],
|
|
1239
|
+
"operationId" : "getSettlementmodelsName",
|
|
1240
|
+
"parameters" : [ {
|
|
1241
|
+
"name" : "name",
|
|
1242
|
+
"in" : "path",
|
|
1243
|
+
"description" : "SettlementModel name",
|
|
1244
|
+
"required" : true,
|
|
1245
|
+
"type" : "string"
|
|
1246
|
+
} ],
|
|
1247
|
+
"responses" : {
|
|
1248
|
+
"default" : {
|
|
1249
|
+
"description" : "Successful",
|
|
1250
|
+
"schema" : {
|
|
1251
|
+
"type" : "string"
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
"put" : {
|
|
1257
|
+
"summary": "Update a settlement model",
|
|
1258
|
+
"tags" : [ "settlementModels" ],
|
|
1259
|
+
"operationId" : "putSettlementmodelsName",
|
|
1260
|
+
"parameters" : [ {
|
|
1261
|
+
"name" : "name",
|
|
1262
|
+
"in" : "path",
|
|
1263
|
+
"description" : "settlementModel name",
|
|
1264
|
+
"required" : true,
|
|
1265
|
+
"type" : "string"
|
|
1266
|
+
}, {
|
|
1267
|
+
"in" : "body",
|
|
1268
|
+
"name" : "body",
|
|
1269
|
+
"required" : false,
|
|
1270
|
+
"schema" : {
|
|
1271
|
+
"$ref" : "#/definitions/SettlementModelIsActive"
|
|
1272
|
+
}
|
|
1273
|
+
} ],
|
|
1274
|
+
"responses" : {
|
|
1275
|
+
"default" : {
|
|
1276
|
+
"description" : "Successful",
|
|
1277
|
+
"schema" : {
|
|
1278
|
+
"type" : "string"
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
"/transactions/{id}": {
|
|
1285
|
+
"get": {
|
|
1286
|
+
"summary": "Retrieve transaction details by a transferId",
|
|
1287
|
+
"tags": [
|
|
1288
|
+
"transaction"
|
|
1289
|
+
],
|
|
1290
|
+
"operationId": "getTransfer",
|
|
1291
|
+
"parameters": [
|
|
1292
|
+
{
|
|
1293
|
+
"name": "id",
|
|
1294
|
+
"in": "path",
|
|
1295
|
+
"description": "Transfer Id",
|
|
1296
|
+
"required": true,
|
|
1297
|
+
"type": "string"
|
|
1298
|
+
}
|
|
1299
|
+
],
|
|
1300
|
+
"responses": {
|
|
1301
|
+
"default": {
|
|
1302
|
+
"description": "Successful",
|
|
1303
|
+
"schema": {
|
|
1304
|
+
"$ref": "#/definitions/GetTransactionResponse"
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1157
1309
|
}
|
|
1158
1310
|
},
|
|
1159
1311
|
"definitions": {
|
|
1160
|
-
"
|
|
1312
|
+
"PostParticipantsRequest": {
|
|
1161
1313
|
"type": "object",
|
|
1162
1314
|
"properties": {
|
|
1163
1315
|
"name": {
|
|
@@ -1172,192 +1324,15 @@
|
|
|
1172
1324
|
"currency": {
|
|
1173
1325
|
"type": "string",
|
|
1174
1326
|
"description": "Currency code",
|
|
1175
|
-
"
|
|
1176
|
-
|
|
1177
|
-
"AFA",
|
|
1178
|
-
"AFN",
|
|
1179
|
-
"ALL",
|
|
1180
|
-
"AMD",
|
|
1181
|
-
"ANG",
|
|
1182
|
-
"AOA",
|
|
1183
|
-
"AOR",
|
|
1184
|
-
"ARS",
|
|
1185
|
-
"AUD",
|
|
1186
|
-
"AWG",
|
|
1187
|
-
"AZN",
|
|
1188
|
-
"BAM",
|
|
1189
|
-
"BBD",
|
|
1190
|
-
"BDT",
|
|
1191
|
-
"BGN",
|
|
1192
|
-
"BHD",
|
|
1193
|
-
"BIF",
|
|
1194
|
-
"BMD",
|
|
1195
|
-
"BND",
|
|
1196
|
-
"BOB",
|
|
1197
|
-
"BRL",
|
|
1198
|
-
"BSD",
|
|
1199
|
-
"BTN",
|
|
1200
|
-
"BWP",
|
|
1201
|
-
"BYN",
|
|
1202
|
-
"BZD",
|
|
1203
|
-
"CAD",
|
|
1204
|
-
"CDF",
|
|
1205
|
-
"CHF",
|
|
1206
|
-
"CLP",
|
|
1207
|
-
"CNY",
|
|
1208
|
-
"COP",
|
|
1209
|
-
"CRC",
|
|
1210
|
-
"CUC",
|
|
1211
|
-
"CUP",
|
|
1212
|
-
"CVE",
|
|
1213
|
-
"CZK",
|
|
1214
|
-
"DJF",
|
|
1215
|
-
"DKK",
|
|
1216
|
-
"DOP",
|
|
1217
|
-
"DZD",
|
|
1218
|
-
"EEK",
|
|
1219
|
-
"EGP",
|
|
1220
|
-
"ERN",
|
|
1221
|
-
"ETB",
|
|
1222
|
-
"EUR",
|
|
1223
|
-
"FJD",
|
|
1224
|
-
"FKP",
|
|
1225
|
-
"GBP",
|
|
1226
|
-
"GEL",
|
|
1227
|
-
"GGP",
|
|
1228
|
-
"GHS",
|
|
1229
|
-
"GIP",
|
|
1230
|
-
"GMD",
|
|
1231
|
-
"GNF",
|
|
1232
|
-
"GTQ",
|
|
1233
|
-
"GYD",
|
|
1234
|
-
"HKD",
|
|
1235
|
-
"HNL",
|
|
1236
|
-
"HRK",
|
|
1237
|
-
"HTG",
|
|
1238
|
-
"HUF",
|
|
1239
|
-
"IDR",
|
|
1240
|
-
"ILS",
|
|
1241
|
-
"IMP",
|
|
1242
|
-
"INR",
|
|
1243
|
-
"IQD",
|
|
1244
|
-
"IRR",
|
|
1245
|
-
"ISK",
|
|
1246
|
-
"JEP",
|
|
1247
|
-
"JMD",
|
|
1248
|
-
"JOD",
|
|
1249
|
-
"JPY",
|
|
1250
|
-
"KES",
|
|
1251
|
-
"KGS",
|
|
1252
|
-
"KHR",
|
|
1253
|
-
"KMF",
|
|
1254
|
-
"KPW",
|
|
1255
|
-
"KRW",
|
|
1256
|
-
"KWD",
|
|
1257
|
-
"KYD",
|
|
1258
|
-
"KZT",
|
|
1259
|
-
"LAK",
|
|
1260
|
-
"LBP",
|
|
1261
|
-
"LKR",
|
|
1262
|
-
"LRD",
|
|
1263
|
-
"LSL",
|
|
1264
|
-
"LTL",
|
|
1265
|
-
"LVL",
|
|
1266
|
-
"LYD",
|
|
1267
|
-
"MAD",
|
|
1268
|
-
"MDL",
|
|
1269
|
-
"MGA",
|
|
1270
|
-
"MKD",
|
|
1271
|
-
"MMK",
|
|
1272
|
-
"MNT",
|
|
1273
|
-
"MOP",
|
|
1274
|
-
"MRO",
|
|
1275
|
-
"MUR",
|
|
1276
|
-
"MVR",
|
|
1277
|
-
"MWK",
|
|
1278
|
-
"MXN",
|
|
1279
|
-
"MYR",
|
|
1280
|
-
"MZN",
|
|
1281
|
-
"NAD",
|
|
1282
|
-
"NGN",
|
|
1283
|
-
"NIO",
|
|
1284
|
-
"NOK",
|
|
1285
|
-
"NPR",
|
|
1286
|
-
"NZD",
|
|
1287
|
-
"OMR",
|
|
1288
|
-
"PAB",
|
|
1289
|
-
"PEN",
|
|
1290
|
-
"PGK",
|
|
1291
|
-
"PHP",
|
|
1292
|
-
"PKR",
|
|
1293
|
-
"PLN",
|
|
1294
|
-
"PYG",
|
|
1295
|
-
"QAR",
|
|
1296
|
-
"RON",
|
|
1297
|
-
"RSD",
|
|
1298
|
-
"RUB",
|
|
1299
|
-
"RWF",
|
|
1300
|
-
"SAR",
|
|
1301
|
-
"SBD",
|
|
1302
|
-
"SCR",
|
|
1303
|
-
"SDG",
|
|
1304
|
-
"SEK",
|
|
1305
|
-
"SGD",
|
|
1306
|
-
"SHP",
|
|
1307
|
-
"SLL",
|
|
1308
|
-
"SOS",
|
|
1309
|
-
"SPL",
|
|
1310
|
-
"SRD",
|
|
1311
|
-
"STD",
|
|
1312
|
-
"SVC",
|
|
1313
|
-
"SYP",
|
|
1314
|
-
"SZL",
|
|
1315
|
-
"THB",
|
|
1316
|
-
"TJS",
|
|
1317
|
-
"TMT",
|
|
1318
|
-
"TND",
|
|
1319
|
-
"TOP",
|
|
1320
|
-
"TRY",
|
|
1321
|
-
"TTD",
|
|
1322
|
-
"TVD",
|
|
1323
|
-
"TWD",
|
|
1324
|
-
"TZS",
|
|
1325
|
-
"UAH",
|
|
1326
|
-
"UGX",
|
|
1327
|
-
"USD",
|
|
1328
|
-
"UYU",
|
|
1329
|
-
"UZS",
|
|
1330
|
-
"VEF",
|
|
1331
|
-
"VND",
|
|
1332
|
-
"VUV",
|
|
1333
|
-
"WST",
|
|
1334
|
-
"XAF",
|
|
1335
|
-
"XAG",
|
|
1336
|
-
"XAU",
|
|
1337
|
-
"XCD",
|
|
1338
|
-
"XDR",
|
|
1339
|
-
"XFO",
|
|
1340
|
-
"XFU",
|
|
1341
|
-
"XOF",
|
|
1342
|
-
"XPD",
|
|
1343
|
-
"XPF",
|
|
1344
|
-
"XPT",
|
|
1345
|
-
"YER",
|
|
1346
|
-
"ZAR",
|
|
1347
|
-
"ZMK",
|
|
1348
|
-
"ZMW",
|
|
1349
|
-
"ZWD",
|
|
1350
|
-
"ZWL",
|
|
1351
|
-
"ZWN",
|
|
1352
|
-
"ZWR"
|
|
1353
|
-
]
|
|
1327
|
+
"$ref" : "#/definitions/Currency"
|
|
1328
|
+
|
|
1354
1329
|
}
|
|
1355
1330
|
},
|
|
1356
1331
|
"required": [
|
|
1357
1332
|
"name"
|
|
1358
1333
|
]
|
|
1359
1334
|
},
|
|
1360
|
-
"
|
|
1335
|
+
"PostParticipantsNameEndpointsRequest": {
|
|
1361
1336
|
"type": "object",
|
|
1362
1337
|
"properties": {
|
|
1363
1338
|
"type": {
|
|
@@ -1374,7 +1349,7 @@
|
|
|
1374
1349
|
"value"
|
|
1375
1350
|
]
|
|
1376
1351
|
},
|
|
1377
|
-
"
|
|
1352
|
+
"Limit": {
|
|
1378
1353
|
"type": "object",
|
|
1379
1354
|
"description": "Participant Limit",
|
|
1380
1355
|
"properties": {
|
|
@@ -1398,194 +1373,16 @@
|
|
|
1398
1373
|
"value"
|
|
1399
1374
|
]
|
|
1400
1375
|
},
|
|
1401
|
-
"
|
|
1376
|
+
"PostInitialPositionAndLimitsRequest": {
|
|
1402
1377
|
"type": "object",
|
|
1403
1378
|
"properties": {
|
|
1404
1379
|
"currency": {
|
|
1405
1380
|
"type": "string",
|
|
1406
1381
|
"description": "Currency code",
|
|
1407
|
-
"
|
|
1408
|
-
"AED",
|
|
1409
|
-
"AFA",
|
|
1410
|
-
"AFN",
|
|
1411
|
-
"ALL",
|
|
1412
|
-
"AMD",
|
|
1413
|
-
"ANG",
|
|
1414
|
-
"AOA",
|
|
1415
|
-
"AOR",
|
|
1416
|
-
"ARS",
|
|
1417
|
-
"AUD",
|
|
1418
|
-
"AWG",
|
|
1419
|
-
"AZN",
|
|
1420
|
-
"BAM",
|
|
1421
|
-
"BBD",
|
|
1422
|
-
"BDT",
|
|
1423
|
-
"BGN",
|
|
1424
|
-
"BHD",
|
|
1425
|
-
"BIF",
|
|
1426
|
-
"BMD",
|
|
1427
|
-
"BND",
|
|
1428
|
-
"BOB",
|
|
1429
|
-
"BRL",
|
|
1430
|
-
"BSD",
|
|
1431
|
-
"BTN",
|
|
1432
|
-
"BWP",
|
|
1433
|
-
"BYN",
|
|
1434
|
-
"BZD",
|
|
1435
|
-
"CAD",
|
|
1436
|
-
"CDF",
|
|
1437
|
-
"CHF",
|
|
1438
|
-
"CLP",
|
|
1439
|
-
"CNY",
|
|
1440
|
-
"COP",
|
|
1441
|
-
"CRC",
|
|
1442
|
-
"CUC",
|
|
1443
|
-
"CUP",
|
|
1444
|
-
"CVE",
|
|
1445
|
-
"CZK",
|
|
1446
|
-
"DJF",
|
|
1447
|
-
"DKK",
|
|
1448
|
-
"DOP",
|
|
1449
|
-
"DZD",
|
|
1450
|
-
"EEK",
|
|
1451
|
-
"EGP",
|
|
1452
|
-
"ERN",
|
|
1453
|
-
"ETB",
|
|
1454
|
-
"EUR",
|
|
1455
|
-
"FJD",
|
|
1456
|
-
"FKP",
|
|
1457
|
-
"GBP",
|
|
1458
|
-
"GEL",
|
|
1459
|
-
"GGP",
|
|
1460
|
-
"GHS",
|
|
1461
|
-
"GIP",
|
|
1462
|
-
"GMD",
|
|
1463
|
-
"GNF",
|
|
1464
|
-
"GTQ",
|
|
1465
|
-
"GYD",
|
|
1466
|
-
"HKD",
|
|
1467
|
-
"HNL",
|
|
1468
|
-
"HRK",
|
|
1469
|
-
"HTG",
|
|
1470
|
-
"HUF",
|
|
1471
|
-
"IDR",
|
|
1472
|
-
"ILS",
|
|
1473
|
-
"IMP",
|
|
1474
|
-
"INR",
|
|
1475
|
-
"IQD",
|
|
1476
|
-
"IRR",
|
|
1477
|
-
"ISK",
|
|
1478
|
-
"JEP",
|
|
1479
|
-
"JMD",
|
|
1480
|
-
"JOD",
|
|
1481
|
-
"JPY",
|
|
1482
|
-
"KES",
|
|
1483
|
-
"KGS",
|
|
1484
|
-
"KHR",
|
|
1485
|
-
"KMF",
|
|
1486
|
-
"KPW",
|
|
1487
|
-
"KRW",
|
|
1488
|
-
"KWD",
|
|
1489
|
-
"KYD",
|
|
1490
|
-
"KZT",
|
|
1491
|
-
"LAK",
|
|
1492
|
-
"LBP",
|
|
1493
|
-
"LKR",
|
|
1494
|
-
"LRD",
|
|
1495
|
-
"LSL",
|
|
1496
|
-
"LTL",
|
|
1497
|
-
"LVL",
|
|
1498
|
-
"LYD",
|
|
1499
|
-
"MAD",
|
|
1500
|
-
"MDL",
|
|
1501
|
-
"MGA",
|
|
1502
|
-
"MKD",
|
|
1503
|
-
"MMK",
|
|
1504
|
-
"MNT",
|
|
1505
|
-
"MOP",
|
|
1506
|
-
"MRO",
|
|
1507
|
-
"MUR",
|
|
1508
|
-
"MVR",
|
|
1509
|
-
"MWK",
|
|
1510
|
-
"MXN",
|
|
1511
|
-
"MYR",
|
|
1512
|
-
"MZN",
|
|
1513
|
-
"NAD",
|
|
1514
|
-
"NGN",
|
|
1515
|
-
"NIO",
|
|
1516
|
-
"NOK",
|
|
1517
|
-
"NPR",
|
|
1518
|
-
"NZD",
|
|
1519
|
-
"OMR",
|
|
1520
|
-
"PAB",
|
|
1521
|
-
"PEN",
|
|
1522
|
-
"PGK",
|
|
1523
|
-
"PHP",
|
|
1524
|
-
"PKR",
|
|
1525
|
-
"PLN",
|
|
1526
|
-
"PYG",
|
|
1527
|
-
"QAR",
|
|
1528
|
-
"RON",
|
|
1529
|
-
"RSD",
|
|
1530
|
-
"RUB",
|
|
1531
|
-
"RWF",
|
|
1532
|
-
"SAR",
|
|
1533
|
-
"SBD",
|
|
1534
|
-
"SCR",
|
|
1535
|
-
"SDG",
|
|
1536
|
-
"SEK",
|
|
1537
|
-
"SGD",
|
|
1538
|
-
"SHP",
|
|
1539
|
-
"SLL",
|
|
1540
|
-
"SOS",
|
|
1541
|
-
"SPL",
|
|
1542
|
-
"SRD",
|
|
1543
|
-
"STD",
|
|
1544
|
-
"SVC",
|
|
1545
|
-
"SYP",
|
|
1546
|
-
"SZL",
|
|
1547
|
-
"THB",
|
|
1548
|
-
"TJS",
|
|
1549
|
-
"TMT",
|
|
1550
|
-
"TND",
|
|
1551
|
-
"TOP",
|
|
1552
|
-
"TRY",
|
|
1553
|
-
"TTD",
|
|
1554
|
-
"TVD",
|
|
1555
|
-
"TWD",
|
|
1556
|
-
"TZS",
|
|
1557
|
-
"UAH",
|
|
1558
|
-
"UGX",
|
|
1559
|
-
"USD",
|
|
1560
|
-
"UYU",
|
|
1561
|
-
"UZS",
|
|
1562
|
-
"VEF",
|
|
1563
|
-
"VND",
|
|
1564
|
-
"VUV",
|
|
1565
|
-
"WST",
|
|
1566
|
-
"XAF",
|
|
1567
|
-
"XAG",
|
|
1568
|
-
"XAU",
|
|
1569
|
-
"XCD",
|
|
1570
|
-
"XDR",
|
|
1571
|
-
"XFO",
|
|
1572
|
-
"XFU",
|
|
1573
|
-
"XOF",
|
|
1574
|
-
"XPD",
|
|
1575
|
-
"XPF",
|
|
1576
|
-
"XPT",
|
|
1577
|
-
"YER",
|
|
1578
|
-
"ZAR",
|
|
1579
|
-
"ZMK",
|
|
1580
|
-
"ZMW",
|
|
1581
|
-
"ZWD",
|
|
1582
|
-
"ZWL",
|
|
1583
|
-
"ZWN",
|
|
1584
|
-
"ZWR"
|
|
1585
|
-
]
|
|
1382
|
+
"$ref": "#/definitions/Currency"
|
|
1586
1383
|
},
|
|
1587
1384
|
"limit": {
|
|
1588
|
-
"$ref": "#/definitions/
|
|
1385
|
+
"$ref": "#/definitions/Limit"
|
|
1589
1386
|
},
|
|
1590
1387
|
"initialPosition": {
|
|
1591
1388
|
"type": "number",
|
|
@@ -1596,191 +1393,11 @@
|
|
|
1596
1393
|
"limit"
|
|
1597
1394
|
]
|
|
1598
1395
|
},
|
|
1599
|
-
"
|
|
1396
|
+
"PostParticipantsNameAccountsRequest": {
|
|
1600
1397
|
"type": "object",
|
|
1601
1398
|
"properties": {
|
|
1602
1399
|
"currency": {
|
|
1603
|
-
"
|
|
1604
|
-
"description": "Currency code",
|
|
1605
|
-
"enum": [
|
|
1606
|
-
"AED",
|
|
1607
|
-
"AFA",
|
|
1608
|
-
"AFN",
|
|
1609
|
-
"ALL",
|
|
1610
|
-
"AMD",
|
|
1611
|
-
"ANG",
|
|
1612
|
-
"AOA",
|
|
1613
|
-
"AOR",
|
|
1614
|
-
"ARS",
|
|
1615
|
-
"AUD",
|
|
1616
|
-
"AWG",
|
|
1617
|
-
"AZN",
|
|
1618
|
-
"BAM",
|
|
1619
|
-
"BBD",
|
|
1620
|
-
"BDT",
|
|
1621
|
-
"BGN",
|
|
1622
|
-
"BHD",
|
|
1623
|
-
"BIF",
|
|
1624
|
-
"BMD",
|
|
1625
|
-
"BND",
|
|
1626
|
-
"BOB",
|
|
1627
|
-
"BRL",
|
|
1628
|
-
"BSD",
|
|
1629
|
-
"BTN",
|
|
1630
|
-
"BWP",
|
|
1631
|
-
"BYN",
|
|
1632
|
-
"BZD",
|
|
1633
|
-
"CAD",
|
|
1634
|
-
"CDF",
|
|
1635
|
-
"CHF",
|
|
1636
|
-
"CLP",
|
|
1637
|
-
"CNY",
|
|
1638
|
-
"COP",
|
|
1639
|
-
"CRC",
|
|
1640
|
-
"CUC",
|
|
1641
|
-
"CUP",
|
|
1642
|
-
"CVE",
|
|
1643
|
-
"CZK",
|
|
1644
|
-
"DJF",
|
|
1645
|
-
"DKK",
|
|
1646
|
-
"DOP",
|
|
1647
|
-
"DZD",
|
|
1648
|
-
"EEK",
|
|
1649
|
-
"EGP",
|
|
1650
|
-
"ERN",
|
|
1651
|
-
"ETB",
|
|
1652
|
-
"EUR",
|
|
1653
|
-
"FJD",
|
|
1654
|
-
"FKP",
|
|
1655
|
-
"GBP",
|
|
1656
|
-
"GEL",
|
|
1657
|
-
"GGP",
|
|
1658
|
-
"GHS",
|
|
1659
|
-
"GIP",
|
|
1660
|
-
"GMD",
|
|
1661
|
-
"GNF",
|
|
1662
|
-
"GTQ",
|
|
1663
|
-
"GYD",
|
|
1664
|
-
"HKD",
|
|
1665
|
-
"HNL",
|
|
1666
|
-
"HRK",
|
|
1667
|
-
"HTG",
|
|
1668
|
-
"HUF",
|
|
1669
|
-
"IDR",
|
|
1670
|
-
"ILS",
|
|
1671
|
-
"IMP",
|
|
1672
|
-
"INR",
|
|
1673
|
-
"IQD",
|
|
1674
|
-
"IRR",
|
|
1675
|
-
"ISK",
|
|
1676
|
-
"JEP",
|
|
1677
|
-
"JMD",
|
|
1678
|
-
"JOD",
|
|
1679
|
-
"JPY",
|
|
1680
|
-
"KES",
|
|
1681
|
-
"KGS",
|
|
1682
|
-
"KHR",
|
|
1683
|
-
"KMF",
|
|
1684
|
-
"KPW",
|
|
1685
|
-
"KRW",
|
|
1686
|
-
"KWD",
|
|
1687
|
-
"KYD",
|
|
1688
|
-
"KZT",
|
|
1689
|
-
"LAK",
|
|
1690
|
-
"LBP",
|
|
1691
|
-
"LKR",
|
|
1692
|
-
"LRD",
|
|
1693
|
-
"LSL",
|
|
1694
|
-
"LTL",
|
|
1695
|
-
"LVL",
|
|
1696
|
-
"LYD",
|
|
1697
|
-
"MAD",
|
|
1698
|
-
"MDL",
|
|
1699
|
-
"MGA",
|
|
1700
|
-
"MKD",
|
|
1701
|
-
"MMK",
|
|
1702
|
-
"MNT",
|
|
1703
|
-
"MOP",
|
|
1704
|
-
"MRO",
|
|
1705
|
-
"MUR",
|
|
1706
|
-
"MVR",
|
|
1707
|
-
"MWK",
|
|
1708
|
-
"MXN",
|
|
1709
|
-
"MYR",
|
|
1710
|
-
"MZN",
|
|
1711
|
-
"NAD",
|
|
1712
|
-
"NGN",
|
|
1713
|
-
"NIO",
|
|
1714
|
-
"NOK",
|
|
1715
|
-
"NPR",
|
|
1716
|
-
"NZD",
|
|
1717
|
-
"OMR",
|
|
1718
|
-
"PAB",
|
|
1719
|
-
"PEN",
|
|
1720
|
-
"PGK",
|
|
1721
|
-
"PHP",
|
|
1722
|
-
"PKR",
|
|
1723
|
-
"PLN",
|
|
1724
|
-
"PYG",
|
|
1725
|
-
"QAR",
|
|
1726
|
-
"RON",
|
|
1727
|
-
"RSD",
|
|
1728
|
-
"RUB",
|
|
1729
|
-
"RWF",
|
|
1730
|
-
"SAR",
|
|
1731
|
-
"SBD",
|
|
1732
|
-
"SCR",
|
|
1733
|
-
"SDG",
|
|
1734
|
-
"SEK",
|
|
1735
|
-
"SGD",
|
|
1736
|
-
"SHP",
|
|
1737
|
-
"SLL",
|
|
1738
|
-
"SOS",
|
|
1739
|
-
"SPL",
|
|
1740
|
-
"SRD",
|
|
1741
|
-
"STD",
|
|
1742
|
-
"SVC",
|
|
1743
|
-
"SYP",
|
|
1744
|
-
"SZL",
|
|
1745
|
-
"THB",
|
|
1746
|
-
"TJS",
|
|
1747
|
-
"TMT",
|
|
1748
|
-
"TND",
|
|
1749
|
-
"TOP",
|
|
1750
|
-
"TRY",
|
|
1751
|
-
"TTD",
|
|
1752
|
-
"TVD",
|
|
1753
|
-
"TWD",
|
|
1754
|
-
"TZS",
|
|
1755
|
-
"UAH",
|
|
1756
|
-
"UGX",
|
|
1757
|
-
"USD",
|
|
1758
|
-
"UYU",
|
|
1759
|
-
"UZS",
|
|
1760
|
-
"VEF",
|
|
1761
|
-
"VND",
|
|
1762
|
-
"VUV",
|
|
1763
|
-
"WST",
|
|
1764
|
-
"XAF",
|
|
1765
|
-
"XAG",
|
|
1766
|
-
"XAU",
|
|
1767
|
-
"XCD",
|
|
1768
|
-
"XDR",
|
|
1769
|
-
"XFO",
|
|
1770
|
-
"XFU",
|
|
1771
|
-
"XOF",
|
|
1772
|
-
"XPD",
|
|
1773
|
-
"XPF",
|
|
1774
|
-
"XPT",
|
|
1775
|
-
"YER",
|
|
1776
|
-
"ZAR",
|
|
1777
|
-
"ZMK",
|
|
1778
|
-
"ZMW",
|
|
1779
|
-
"ZWD",
|
|
1780
|
-
"ZWL",
|
|
1781
|
-
"ZWN",
|
|
1782
|
-
"ZWR"
|
|
1783
|
-
]
|
|
1400
|
+
"$ref": "#/definitions/Currency"
|
|
1784
1401
|
},
|
|
1785
1402
|
"type": {
|
|
1786
1403
|
"type": "string",
|
|
@@ -1791,7 +1408,7 @@
|
|
|
1791
1408
|
"type"
|
|
1792
1409
|
]
|
|
1793
1410
|
},
|
|
1794
|
-
"
|
|
1411
|
+
"NoAmountProvided": {
|
|
1795
1412
|
"type": "object",
|
|
1796
1413
|
"properties": {
|
|
1797
1414
|
"amount": {
|
|
@@ -1804,217 +1421,14 @@
|
|
|
1804
1421
|
"currency": {
|
|
1805
1422
|
"type": "string",
|
|
1806
1423
|
"description": "Currency code",
|
|
1807
|
-
"
|
|
1808
|
-
"AED",
|
|
1809
|
-
"AFA",
|
|
1810
|
-
"AFN",
|
|
1811
|
-
"ALL",
|
|
1812
|
-
"AMD",
|
|
1813
|
-
"ANG",
|
|
1814
|
-
"AOA",
|
|
1815
|
-
"AOR",
|
|
1816
|
-
"ARS",
|
|
1817
|
-
"AUD",
|
|
1818
|
-
"AWG",
|
|
1819
|
-
"AZN",
|
|
1820
|
-
"BAM",
|
|
1821
|
-
"BBD",
|
|
1822
|
-
"BDT",
|
|
1823
|
-
"BGN",
|
|
1824
|
-
"BHD",
|
|
1825
|
-
"BIF",
|
|
1826
|
-
"BMD",
|
|
1827
|
-
"BND",
|
|
1828
|
-
"BOB",
|
|
1829
|
-
"BRL",
|
|
1830
|
-
"BSD",
|
|
1831
|
-
"BTN",
|
|
1832
|
-
"BWP",
|
|
1833
|
-
"BYN",
|
|
1834
|
-
"BZD",
|
|
1835
|
-
"CAD",
|
|
1836
|
-
"CDF",
|
|
1837
|
-
"CHF",
|
|
1838
|
-
"CLP",
|
|
1839
|
-
"CNY",
|
|
1840
|
-
"COP",
|
|
1841
|
-
"CRC",
|
|
1842
|
-
"CUC",
|
|
1843
|
-
"CUP",
|
|
1844
|
-
"CVE",
|
|
1845
|
-
"CZK",
|
|
1846
|
-
"DJF",
|
|
1847
|
-
"DKK",
|
|
1848
|
-
"DOP",
|
|
1849
|
-
"DZD",
|
|
1850
|
-
"EEK",
|
|
1851
|
-
"EGP",
|
|
1852
|
-
"ERN",
|
|
1853
|
-
"ETB",
|
|
1854
|
-
"EUR",
|
|
1855
|
-
"FJD",
|
|
1856
|
-
"FKP",
|
|
1857
|
-
"GBP",
|
|
1858
|
-
"GEL",
|
|
1859
|
-
"GGP",
|
|
1860
|
-
"GHS",
|
|
1861
|
-
"GIP",
|
|
1862
|
-
"GMD",
|
|
1863
|
-
"GNF",
|
|
1864
|
-
"GTQ",
|
|
1865
|
-
"GYD",
|
|
1866
|
-
"HKD",
|
|
1867
|
-
"HNL",
|
|
1868
|
-
"HRK",
|
|
1869
|
-
"HTG",
|
|
1870
|
-
"HUF",
|
|
1871
|
-
"IDR",
|
|
1872
|
-
"ILS",
|
|
1873
|
-
"IMP",
|
|
1874
|
-
"INR",
|
|
1875
|
-
"IQD",
|
|
1876
|
-
"IRR",
|
|
1877
|
-
"ISK",
|
|
1878
|
-
"JEP",
|
|
1879
|
-
"JMD",
|
|
1880
|
-
"JOD",
|
|
1881
|
-
"JPY",
|
|
1882
|
-
"KES",
|
|
1883
|
-
"KGS",
|
|
1884
|
-
"KHR",
|
|
1885
|
-
"KMF",
|
|
1886
|
-
"KPW",
|
|
1887
|
-
"KRW",
|
|
1888
|
-
"KWD",
|
|
1889
|
-
"KYD",
|
|
1890
|
-
"KZT",
|
|
1891
|
-
"LAK",
|
|
1892
|
-
"LBP",
|
|
1893
|
-
"LKR",
|
|
1894
|
-
"LRD",
|
|
1895
|
-
"LSL",
|
|
1896
|
-
"LTL",
|
|
1897
|
-
"LVL",
|
|
1898
|
-
"LYD",
|
|
1899
|
-
"MAD",
|
|
1900
|
-
"MDL",
|
|
1901
|
-
"MGA",
|
|
1902
|
-
"MKD",
|
|
1903
|
-
"MMK",
|
|
1904
|
-
"MNT",
|
|
1905
|
-
"MOP",
|
|
1906
|
-
"MRO",
|
|
1907
|
-
"MUR",
|
|
1908
|
-
"MVR",
|
|
1909
|
-
"MWK",
|
|
1910
|
-
"MXN",
|
|
1911
|
-
"MYR",
|
|
1912
|
-
"MZN",
|
|
1913
|
-
"NAD",
|
|
1914
|
-
"NGN",
|
|
1915
|
-
"NIO",
|
|
1916
|
-
"NOK",
|
|
1917
|
-
"NPR",
|
|
1918
|
-
"NZD",
|
|
1919
|
-
"OMR",
|
|
1920
|
-
"PAB",
|
|
1921
|
-
"PEN",
|
|
1922
|
-
"PGK",
|
|
1923
|
-
"PHP",
|
|
1924
|
-
"PKR",
|
|
1925
|
-
"PLN",
|
|
1926
|
-
"PYG",
|
|
1927
|
-
"QAR",
|
|
1928
|
-
"RON",
|
|
1929
|
-
"RSD",
|
|
1930
|
-
"RUB",
|
|
1931
|
-
"RWF",
|
|
1932
|
-
"SAR",
|
|
1933
|
-
"SBD",
|
|
1934
|
-
"SCR",
|
|
1935
|
-
"SDG",
|
|
1936
|
-
"SEK",
|
|
1937
|
-
"SGD",
|
|
1938
|
-
"SHP",
|
|
1939
|
-
"SLL",
|
|
1940
|
-
"SOS",
|
|
1941
|
-
"SPL",
|
|
1942
|
-
"SRD",
|
|
1943
|
-
"STD",
|
|
1944
|
-
"SVC",
|
|
1945
|
-
"SYP",
|
|
1946
|
-
"SZL",
|
|
1947
|
-
"THB",
|
|
1948
|
-
"TJS",
|
|
1949
|
-
"TMT",
|
|
1950
|
-
"TND",
|
|
1951
|
-
"TOP",
|
|
1952
|
-
"TRY",
|
|
1953
|
-
"TTD",
|
|
1954
|
-
"TVD",
|
|
1955
|
-
"TWD",
|
|
1956
|
-
"TZS",
|
|
1957
|
-
"UAH",
|
|
1958
|
-
"UGX",
|
|
1959
|
-
"USD",
|
|
1960
|
-
"UYU",
|
|
1961
|
-
"UZS",
|
|
1962
|
-
"VEF",
|
|
1963
|
-
"VND",
|
|
1964
|
-
"VUV",
|
|
1965
|
-
"WST",
|
|
1966
|
-
"XAF",
|
|
1967
|
-
"XAG",
|
|
1968
|
-
"XAU",
|
|
1969
|
-
"XCD",
|
|
1970
|
-
"XDR",
|
|
1971
|
-
"XFO",
|
|
1972
|
-
"XFU",
|
|
1973
|
-
"XOF",
|
|
1974
|
-
"XPD",
|
|
1975
|
-
"XPF",
|
|
1976
|
-
"XPT",
|
|
1977
|
-
"YER",
|
|
1978
|
-
"ZAR",
|
|
1979
|
-
"ZMK",
|
|
1980
|
-
"ZMW",
|
|
1981
|
-
"ZWD",
|
|
1982
|
-
"ZWL",
|
|
1983
|
-
"ZWN",
|
|
1984
|
-
"ZWR"
|
|
1985
|
-
]
|
|
1424
|
+
"$ref": "#/definitions/Currency"
|
|
1986
1425
|
}
|
|
1987
1426
|
},
|
|
1988
1427
|
"required": [
|
|
1989
1428
|
"amount"
|
|
1990
1429
|
]
|
|
1991
1430
|
},
|
|
1992
|
-
"
|
|
1993
|
-
"type": "object",
|
|
1994
|
-
"properties": {
|
|
1995
|
-
"key": {
|
|
1996
|
-
"type": "string"
|
|
1997
|
-
},
|
|
1998
|
-
"value": {
|
|
1999
|
-
"type": "string"
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
},
|
|
2003
|
-
"extension": {
|
|
2004
|
-
"type": "array",
|
|
2005
|
-
"items": {
|
|
2006
|
-
"$ref": "#/definitions/Model%205"
|
|
2007
|
-
}
|
|
2008
|
-
},
|
|
2009
|
-
"extensionList": {
|
|
2010
|
-
"type": "object",
|
|
2011
|
-
"properties": {
|
|
2012
|
-
"extension": {
|
|
2013
|
-
"$ref": "#/definitions/extension"
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
},
|
|
2017
|
-
"Model 6": {
|
|
1431
|
+
"Participants": {
|
|
2018
1432
|
"type": "object",
|
|
2019
1433
|
"properties": {
|
|
2020
1434
|
"transferId": {
|
|
@@ -2037,10 +1451,10 @@
|
|
|
2037
1451
|
"type": "string"
|
|
2038
1452
|
},
|
|
2039
1453
|
"amount": {
|
|
2040
|
-
"$ref": "#/definitions/
|
|
1454
|
+
"$ref": "#/definitions/NoAmountProvided"
|
|
2041
1455
|
},
|
|
2042
1456
|
"extensionList": {
|
|
2043
|
-
"$ref": "#/definitions/
|
|
1457
|
+
"$ref": "#/definitions/ExtensionList"
|
|
2044
1458
|
}
|
|
2045
1459
|
},
|
|
2046
1460
|
"required": [
|
|
@@ -2051,7 +1465,7 @@
|
|
|
2051
1465
|
"amount"
|
|
2052
1466
|
]
|
|
2053
1467
|
},
|
|
2054
|
-
"
|
|
1468
|
+
"ParticipantIsActive": {
|
|
2055
1469
|
"type": "object",
|
|
2056
1470
|
"properties": {
|
|
2057
1471
|
"isActive": {
|
|
@@ -2063,7 +1477,7 @@
|
|
|
2063
1477
|
"isActive"
|
|
2064
1478
|
]
|
|
2065
1479
|
},
|
|
2066
|
-
"
|
|
1480
|
+
"ParticipantLimit": {
|
|
2067
1481
|
"type": "object",
|
|
2068
1482
|
"description": "Participant Limit",
|
|
2069
1483
|
"properties": {
|
|
@@ -2086,201 +1500,23 @@
|
|
|
2086
1500
|
"alarmPercentage"
|
|
2087
1501
|
]
|
|
2088
1502
|
},
|
|
2089
|
-
"
|
|
1503
|
+
"PutParticipantsNameLimitsRequest": {
|
|
2090
1504
|
"type": "object",
|
|
2091
1505
|
"properties": {
|
|
2092
1506
|
"currency": {
|
|
2093
1507
|
"type": "string",
|
|
2094
1508
|
"description": "Currency code",
|
|
2095
|
-
"
|
|
2096
|
-
"AED",
|
|
2097
|
-
"AFA",
|
|
2098
|
-
"AFN",
|
|
2099
|
-
"ALL",
|
|
2100
|
-
"AMD",
|
|
2101
|
-
"ANG",
|
|
2102
|
-
"AOA",
|
|
2103
|
-
"AOR",
|
|
2104
|
-
"ARS",
|
|
2105
|
-
"AUD",
|
|
2106
|
-
"AWG",
|
|
2107
|
-
"AZN",
|
|
2108
|
-
"BAM",
|
|
2109
|
-
"BBD",
|
|
2110
|
-
"BDT",
|
|
2111
|
-
"BGN",
|
|
2112
|
-
"BHD",
|
|
2113
|
-
"BIF",
|
|
2114
|
-
"BMD",
|
|
2115
|
-
"BND",
|
|
2116
|
-
"BOB",
|
|
2117
|
-
"BRL",
|
|
2118
|
-
"BSD",
|
|
2119
|
-
"BTN",
|
|
2120
|
-
"BWP",
|
|
2121
|
-
"BYN",
|
|
2122
|
-
"BZD",
|
|
2123
|
-
"CAD",
|
|
2124
|
-
"CDF",
|
|
2125
|
-
"CHF",
|
|
2126
|
-
"CLP",
|
|
2127
|
-
"CNY",
|
|
2128
|
-
"COP",
|
|
2129
|
-
"CRC",
|
|
2130
|
-
"CUC",
|
|
2131
|
-
"CUP",
|
|
2132
|
-
"CVE",
|
|
2133
|
-
"CZK",
|
|
2134
|
-
"DJF",
|
|
2135
|
-
"DKK",
|
|
2136
|
-
"DOP",
|
|
2137
|
-
"DZD",
|
|
2138
|
-
"EEK",
|
|
2139
|
-
"EGP",
|
|
2140
|
-
"ERN",
|
|
2141
|
-
"ETB",
|
|
2142
|
-
"EUR",
|
|
2143
|
-
"FJD",
|
|
2144
|
-
"FKP",
|
|
2145
|
-
"GBP",
|
|
2146
|
-
"GEL",
|
|
2147
|
-
"GGP",
|
|
2148
|
-
"GHS",
|
|
2149
|
-
"GIP",
|
|
2150
|
-
"GMD",
|
|
2151
|
-
"GNF",
|
|
2152
|
-
"GTQ",
|
|
2153
|
-
"GYD",
|
|
2154
|
-
"HKD",
|
|
2155
|
-
"HNL",
|
|
2156
|
-
"HRK",
|
|
2157
|
-
"HTG",
|
|
2158
|
-
"HUF",
|
|
2159
|
-
"IDR",
|
|
2160
|
-
"ILS",
|
|
2161
|
-
"IMP",
|
|
2162
|
-
"INR",
|
|
2163
|
-
"IQD",
|
|
2164
|
-
"IRR",
|
|
2165
|
-
"ISK",
|
|
2166
|
-
"JEP",
|
|
2167
|
-
"JMD",
|
|
2168
|
-
"JOD",
|
|
2169
|
-
"JPY",
|
|
2170
|
-
"KES",
|
|
2171
|
-
"KGS",
|
|
2172
|
-
"KHR",
|
|
2173
|
-
"KMF",
|
|
2174
|
-
"KPW",
|
|
2175
|
-
"KRW",
|
|
2176
|
-
"KWD",
|
|
2177
|
-
"KYD",
|
|
2178
|
-
"KZT",
|
|
2179
|
-
"LAK",
|
|
2180
|
-
"LBP",
|
|
2181
|
-
"LKR",
|
|
2182
|
-
"LRD",
|
|
2183
|
-
"LSL",
|
|
2184
|
-
"LTL",
|
|
2185
|
-
"LVL",
|
|
2186
|
-
"LYD",
|
|
2187
|
-
"MAD",
|
|
2188
|
-
"MDL",
|
|
2189
|
-
"MGA",
|
|
2190
|
-
"MKD",
|
|
2191
|
-
"MMK",
|
|
2192
|
-
"MNT",
|
|
2193
|
-
"MOP",
|
|
2194
|
-
"MRO",
|
|
2195
|
-
"MUR",
|
|
2196
|
-
"MVR",
|
|
2197
|
-
"MWK",
|
|
2198
|
-
"MXN",
|
|
2199
|
-
"MYR",
|
|
2200
|
-
"MZN",
|
|
2201
|
-
"NAD",
|
|
2202
|
-
"NGN",
|
|
2203
|
-
"NIO",
|
|
2204
|
-
"NOK",
|
|
2205
|
-
"NPR",
|
|
2206
|
-
"NZD",
|
|
2207
|
-
"OMR",
|
|
2208
|
-
"PAB",
|
|
2209
|
-
"PEN",
|
|
2210
|
-
"PGK",
|
|
2211
|
-
"PHP",
|
|
2212
|
-
"PKR",
|
|
2213
|
-
"PLN",
|
|
2214
|
-
"PYG",
|
|
2215
|
-
"QAR",
|
|
2216
|
-
"RON",
|
|
2217
|
-
"RSD",
|
|
2218
|
-
"RUB",
|
|
2219
|
-
"RWF",
|
|
2220
|
-
"SAR",
|
|
2221
|
-
"SBD",
|
|
2222
|
-
"SCR",
|
|
2223
|
-
"SDG",
|
|
2224
|
-
"SEK",
|
|
2225
|
-
"SGD",
|
|
2226
|
-
"SHP",
|
|
2227
|
-
"SLL",
|
|
2228
|
-
"SOS",
|
|
2229
|
-
"SPL",
|
|
2230
|
-
"SRD",
|
|
2231
|
-
"STD",
|
|
2232
|
-
"SVC",
|
|
2233
|
-
"SYP",
|
|
2234
|
-
"SZL",
|
|
2235
|
-
"THB",
|
|
2236
|
-
"TJS",
|
|
2237
|
-
"TMT",
|
|
2238
|
-
"TND",
|
|
2239
|
-
"TOP",
|
|
2240
|
-
"TRY",
|
|
2241
|
-
"TTD",
|
|
2242
|
-
"TVD",
|
|
2243
|
-
"TWD",
|
|
2244
|
-
"TZS",
|
|
2245
|
-
"UAH",
|
|
2246
|
-
"UGX",
|
|
2247
|
-
"USD",
|
|
2248
|
-
"UYU",
|
|
2249
|
-
"UZS",
|
|
2250
|
-
"VEF",
|
|
2251
|
-
"VND",
|
|
2252
|
-
"VUV",
|
|
2253
|
-
"WST",
|
|
2254
|
-
"XAF",
|
|
2255
|
-
"XAG",
|
|
2256
|
-
"XAU",
|
|
2257
|
-
"XCD",
|
|
2258
|
-
"XDR",
|
|
2259
|
-
"XFO",
|
|
2260
|
-
"XFU",
|
|
2261
|
-
"XOF",
|
|
2262
|
-
"XPD",
|
|
2263
|
-
"XPF",
|
|
2264
|
-
"XPT",
|
|
2265
|
-
"YER",
|
|
2266
|
-
"ZAR",
|
|
2267
|
-
"ZMK",
|
|
2268
|
-
"ZMW",
|
|
2269
|
-
"ZWD",
|
|
2270
|
-
"ZWL",
|
|
2271
|
-
"ZWN",
|
|
2272
|
-
"ZWR"
|
|
2273
|
-
]
|
|
1509
|
+
"$ref": "#/definitions/Currency"
|
|
2274
1510
|
},
|
|
2275
1511
|
"limit": {
|
|
2276
|
-
"$ref": "#/definitions/
|
|
1512
|
+
"$ref": "#/definitions/ParticipantLimit"
|
|
2277
1513
|
}
|
|
2278
1514
|
},
|
|
2279
1515
|
"required": [
|
|
2280
1516
|
"limit"
|
|
2281
1517
|
]
|
|
2282
1518
|
},
|
|
2283
|
-
"
|
|
1519
|
+
"CurrencyIsActive": {
|
|
2284
1520
|
"type": "object",
|
|
2285
1521
|
"properties": {
|
|
2286
1522
|
"isActive": {
|
|
@@ -2292,7 +1528,7 @@
|
|
|
2292
1528
|
"isActive"
|
|
2293
1529
|
]
|
|
2294
1530
|
},
|
|
2295
|
-
"
|
|
1531
|
+
"RecordFundsOut": {
|
|
2296
1532
|
"type": "object",
|
|
2297
1533
|
"properties": {
|
|
2298
1534
|
"action": {
|
|
@@ -2309,6 +1545,550 @@
|
|
|
2309
1545
|
"required": [
|
|
2310
1546
|
"reason"
|
|
2311
1547
|
]
|
|
1548
|
+
},
|
|
1549
|
+
"LedgerAccountType": {
|
|
1550
|
+
"type" : "object",
|
|
1551
|
+
"required" : [ "name", "description", "isActive", "isSettleable" ],
|
|
1552
|
+
"properties" : {
|
|
1553
|
+
"name" : {
|
|
1554
|
+
"type" : "string",
|
|
1555
|
+
"description" : "Name of the ledger account type",
|
|
1556
|
+
"minLength" : 2,
|
|
1557
|
+
"maxLength" : 30,
|
|
1558
|
+
"pattern" : "^\\w+$"
|
|
1559
|
+
},
|
|
1560
|
+
"description" : {
|
|
1561
|
+
"type" : "string",
|
|
1562
|
+
"description" : "Description of the ledger account type"
|
|
1563
|
+
},
|
|
1564
|
+
"isActive" : {
|
|
1565
|
+
"type" : "boolean",
|
|
1566
|
+
"description" : "Determines whether the ledger account is active"
|
|
1567
|
+
},
|
|
1568
|
+
"isSettleable" : {
|
|
1569
|
+
"type" : "boolean",
|
|
1570
|
+
"description" : "Determines whether the ledger account is settleable"
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
"SettlementModel" : {
|
|
1575
|
+
"type" : "object",
|
|
1576
|
+
"required" : [ "autoPositionReset", "ledgerAccountType", "settlementAccountType", "name", "requireLiquidityCheck", "settlementDelay", "settlementGranularity", "settlementInterchange", "currency" ],
|
|
1577
|
+
"properties" : {
|
|
1578
|
+
"name" : {
|
|
1579
|
+
"type" : "string",
|
|
1580
|
+
"description" : "Name of the settlement model",
|
|
1581
|
+
"minLength" : 2,
|
|
1582
|
+
"maxLength" : 30,
|
|
1583
|
+
"x-format" : {
|
|
1584
|
+
"alphanum" : true
|
|
1585
|
+
}
|
|
1586
|
+
},
|
|
1587
|
+
"settlementGranularity" : {
|
|
1588
|
+
"type" : "string",
|
|
1589
|
+
"description" : "Granularity type for the settlement model GROSS or NET",
|
|
1590
|
+
"enum" : [ "GROSS", "NET" ]
|
|
1591
|
+
},
|
|
1592
|
+
"settlementInterchange" : {
|
|
1593
|
+
"type" : "string",
|
|
1594
|
+
"description" : "Interchange type for the settlement model BILATERAL or MULTILATERAL",
|
|
1595
|
+
"enum" : [ "BILATERAL", "MULTILATERAL" ]
|
|
1596
|
+
},
|
|
1597
|
+
"settlementDelay" : {
|
|
1598
|
+
"type" : "string",
|
|
1599
|
+
"description" : "Delay type for the settlement model IMMEDIATE or DEFERRED",
|
|
1600
|
+
"enum" : [ "DEFERRED", "IMMEDIATE" ]
|
|
1601
|
+
},
|
|
1602
|
+
"currency" : {
|
|
1603
|
+
"$ref": "#/definitions/Currency",
|
|
1604
|
+
"description" : "Currency code"
|
|
1605
|
+
},
|
|
1606
|
+
"requireLiquidityCheck" : {
|
|
1607
|
+
"type" : "boolean",
|
|
1608
|
+
"description" : "Liquidity Check boolean"
|
|
1609
|
+
},
|
|
1610
|
+
"ledgerAccountType" : {
|
|
1611
|
+
"type" : "string",
|
|
1612
|
+
"description" : "Account type for the settlement model",
|
|
1613
|
+
"enum" : [ "INTERCHANGE_FEE", "POSITION" ]
|
|
1614
|
+
},
|
|
1615
|
+
"settlementAccountType" : {
|
|
1616
|
+
"type" : "string",
|
|
1617
|
+
"description" : "Account type into which the settlement should be settled into : POSITION, SETTLEMENT or INTERCHANGE_FEE_SETTLEMENT"
|
|
1618
|
+
},
|
|
1619
|
+
"autoPositionReset" : {
|
|
1620
|
+
"type" : "boolean",
|
|
1621
|
+
"description" : "Automatic position reset setting, which determines whether to execute the settlement transfer or not"
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
"SettlementModelIsActive" : {
|
|
1626
|
+
"type" : "object",
|
|
1627
|
+
"required" : [ "isActive" ],
|
|
1628
|
+
"properties" : {
|
|
1629
|
+
"isActive" : {
|
|
1630
|
+
"type" : "boolean",
|
|
1631
|
+
"description" : "settlementModel isActive boolean"
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1635
|
+
"GetTransactionResponse": {
|
|
1636
|
+
"title": "GetTransactionResponse",
|
|
1637
|
+
"type": "object",
|
|
1638
|
+
"description": "GET /transaction/{id} response object",
|
|
1639
|
+
"properties": {
|
|
1640
|
+
"quoteId": {
|
|
1641
|
+
"$ref": "#/definitions/QuoteId",
|
|
1642
|
+
"description": "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."
|
|
1643
|
+
},
|
|
1644
|
+
"transactionId": {
|
|
1645
|
+
"$ref": "#/definitions/TransactionId",
|
|
1646
|
+
"description": "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."
|
|
1647
|
+
},
|
|
1648
|
+
"transactionRequestId": {
|
|
1649
|
+
"type": "string",
|
|
1650
|
+
"description": "Identifies an optional previously-sent transaction request."
|
|
1651
|
+
},
|
|
1652
|
+
"payee": {
|
|
1653
|
+
"$ref": "#/definitions/Party",
|
|
1654
|
+
"description": "Information about the Payee in the proposed financial transaction."
|
|
1655
|
+
},
|
|
1656
|
+
"payer": {
|
|
1657
|
+
"$ref": "#/definitions/Party",
|
|
1658
|
+
"description": "Information about the Payer in the proposed financial transaction."
|
|
1659
|
+
},
|
|
1660
|
+
"amount": {
|
|
1661
|
+
"$ref": "#/definitions/Money",
|
|
1662
|
+
"description": "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."
|
|
1663
|
+
},
|
|
1664
|
+
"transactionType": {
|
|
1665
|
+
"$ref": "#/definitions/TransactionType",
|
|
1666
|
+
"description": "Type of transaction for which the quote is requested."
|
|
1667
|
+
},
|
|
1668
|
+
"note": {
|
|
1669
|
+
"type": "string",
|
|
1670
|
+
"description": "A memo that will be attached to the transaction."
|
|
1671
|
+
},
|
|
1672
|
+
"extensionList": {
|
|
1673
|
+
"$ref": "#/definitions/ExtensionList",
|
|
1674
|
+
"description": "Optional extension, specific to deployment."
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
"QuoteId": {
|
|
1679
|
+
"title": "QuoteId",
|
|
1680
|
+
"type": "string",
|
|
1681
|
+
"minLength": 1,
|
|
1682
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1683
|
+
"description": "Quote Identifier. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to RFC 4122, that is restricted by a regular expression for interoperability reasons. An UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘). A minLength of 1 has been specified due to the regex not being validated on empty strings, this should be removed once the enjoi module has been fixed."
|
|
1684
|
+
},
|
|
1685
|
+
"TransactionId": {
|
|
1686
|
+
"title": "TransactionId",
|
|
1687
|
+
"type": "string",
|
|
1688
|
+
"minLength": 1,
|
|
1689
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1690
|
+
"description": "Transaction Identifier. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to RFC 4122, that is restricted by a regular expression for interoperability reasons. An UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘). A minLength of 1 has been specified due to the regex not being validated on empty strings, this should be removed once the enjoi module has been fixed."
|
|
1691
|
+
},
|
|
1692
|
+
"Party": {
|
|
1693
|
+
"title": "Party",
|
|
1694
|
+
"type": "object",
|
|
1695
|
+
"description": "Data model for the complex type Party.",
|
|
1696
|
+
"properties": {
|
|
1697
|
+
"partyIdInfo": {
|
|
1698
|
+
"$ref": "#/definitions/PartyIdInfo",
|
|
1699
|
+
"description": "Party Id type, id, sub id or type, and FSP Id."
|
|
1700
|
+
},
|
|
1701
|
+
"merchantClassificationCode": {
|
|
1702
|
+
"type": "string",
|
|
1703
|
+
"description": "Used in the context of Payee Information, where the Payee happens to be a merchant accepting merchant payments."
|
|
1704
|
+
},
|
|
1705
|
+
"name": {
|
|
1706
|
+
"type": "string",
|
|
1707
|
+
"description": "Display name of the Party, could be a real name or a nick name."
|
|
1708
|
+
},
|
|
1709
|
+
"personalInfo": {
|
|
1710
|
+
"$ref": "#/definitions/PartyPersonalInfo",
|
|
1711
|
+
"description": "Personal information used to verify identity of Party such as first, middle, last name and date of birth."
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
"required": [
|
|
1715
|
+
"partyIdInfo"
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
"PartyIdInfo": {
|
|
1719
|
+
"title": "PartyIdInfo",
|
|
1720
|
+
"type": "object",
|
|
1721
|
+
"description": "Data model for the complex type PartyIdInfo.",
|
|
1722
|
+
"properties": {
|
|
1723
|
+
"partyIdType": {
|
|
1724
|
+
"$ref": "#/definitions/PartyIdType",
|
|
1725
|
+
"description": "Type of the identifier."
|
|
1726
|
+
},
|
|
1727
|
+
"partyIdentifier": {
|
|
1728
|
+
"$ref": "#/definitions/PartyIdentifier",
|
|
1729
|
+
"description": "An identifier for the Party."
|
|
1730
|
+
},
|
|
1731
|
+
"partySubIdOrType": {
|
|
1732
|
+
"type": "string",
|
|
1733
|
+
"description": "A sub-identifier or sub-type for the Party."
|
|
1734
|
+
},
|
|
1735
|
+
"fspId": {
|
|
1736
|
+
"type": "string",
|
|
1737
|
+
"description": "FSP id (if known)"
|
|
1738
|
+
},
|
|
1739
|
+
"extensionList": {
|
|
1740
|
+
"$ref": "#/definitions/ExtensionList",
|
|
1741
|
+
"description": "Optional extension, specific to deployment."
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
"required": [
|
|
1745
|
+
"partyIdType",
|
|
1746
|
+
"partyIdentifier"
|
|
1747
|
+
]
|
|
1748
|
+
},
|
|
1749
|
+
"PartyIdType": {
|
|
1750
|
+
"title": "PartyIdTypeEnum",
|
|
1751
|
+
"type": "string",
|
|
1752
|
+
"enum": [
|
|
1753
|
+
"MSISDN",
|
|
1754
|
+
"EMAIL",
|
|
1755
|
+
"PERSONAL_ID",
|
|
1756
|
+
"BUSINESS",
|
|
1757
|
+
"DEVICE",
|
|
1758
|
+
"ACCOUNT_ID",
|
|
1759
|
+
"IBAN",
|
|
1760
|
+
"ALIAS"
|
|
1761
|
+
],
|
|
1762
|
+
"description": "Below are the allowed values for the enumeration - MSISDN An MSISDN (Mobile Station International Subscriber Directory Number, that is, the phone number) is used as reference to a participant. The MSISDN identifier should be in international format according to the ITU-T E.164 standard. Optionally, the MSISDN may be prefixed by a single plus sign, indicating the international prefix. - EMAIL An email is used as reference to a participant. The format of the email should be according to the informational RFC 3696. - PERSONAL_ID A personal identifier is used as reference to a participant. Examples of personal identification are passport number, birth certificate number, and national registration number. The identifier number is added in the PartyIdentifier element. The personal identifier type is added in the PartySubIdOrType element. - BUSINESS A specific Business (for example, an organization or a company) is used as reference to a participant. The BUSINESS identifier can be in any format. To make a transaction connected to a specific username or bill number in a Business, the PartySubIdOrType element should be used. - DEVICE A specific device (for example, a POS or ATM) id connected to a specific business or organization is used as reference to a Party. For referencing a specific device under a specific business or organization, use the PartySubIdOrType element. - ACCOUNT_ID A bank account number or FSP account id should be used as reference to a participant. The ACCOUNT_ID identifier can be in any format, as formats can greatly differ depending on country and FSP. - IBAN A bank account number or FSP account id is used as reference to a participant. The IBAN identifier can consist of up to 34 alphanumeric characters and should be entered without whitespace. - ALIAS An alias is used as reference to a participant. The alias should be created in the FSP as an alternative reference to an account owner. Another example of an alias is a username in the FSP system. The ALIAS identifier can be in any format. It is also possible to use the PartySubIdOrType element for identifying an account under an Alias defined by the PartyIdentifier."
|
|
1763
|
+
},
|
|
1764
|
+
"PartyIdentifier": {
|
|
1765
|
+
"title": "PartyIdentifier",
|
|
1766
|
+
"type": "string",
|
|
1767
|
+
"minLength": 1,
|
|
1768
|
+
"maxLength": 128,
|
|
1769
|
+
"description": "Identifier of the Party."
|
|
1770
|
+
},
|
|
1771
|
+
"ExtensionList": {
|
|
1772
|
+
"title": "ExtensionList",
|
|
1773
|
+
"type": "object",
|
|
1774
|
+
"description": "Data model for the complex type ExtensionList",
|
|
1775
|
+
"properties": {
|
|
1776
|
+
"extension": {
|
|
1777
|
+
"type": "array",
|
|
1778
|
+
"items": {
|
|
1779
|
+
"$ref": "#/definitions/Extension"
|
|
1780
|
+
},
|
|
1781
|
+
"minItems": 1,
|
|
1782
|
+
"maxItems": 16,
|
|
1783
|
+
"description": "Number of Extension elements"
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
"required": [
|
|
1787
|
+
"extension"
|
|
1788
|
+
]
|
|
1789
|
+
},
|
|
1790
|
+
"Extension": {
|
|
1791
|
+
"title": "Extension",
|
|
1792
|
+
"type": "object",
|
|
1793
|
+
"description": "Data model for the complex type Extension",
|
|
1794
|
+
"properties": {
|
|
1795
|
+
"key": {
|
|
1796
|
+
"type": "string",
|
|
1797
|
+
"description": "Extension key."
|
|
1798
|
+
},
|
|
1799
|
+
"value": {
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"description": "Extension value."
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
"required": [
|
|
1805
|
+
"key",
|
|
1806
|
+
"value"
|
|
1807
|
+
]
|
|
1808
|
+
},
|
|
1809
|
+
"PartyPersonalInfo": {
|
|
1810
|
+
"title": "PartyPersonalInfo",
|
|
1811
|
+
"type": "object",
|
|
1812
|
+
"description": "Data model for the complex type PartyPersonalInfo.",
|
|
1813
|
+
"properties": {
|
|
1814
|
+
"complexName": {
|
|
1815
|
+
"$ref": "#/definitions/PartyComplexName",
|
|
1816
|
+
"description": "First, middle and last name for the Party."
|
|
1817
|
+
},
|
|
1818
|
+
"dateOfBirth": {
|
|
1819
|
+
"type": "string",
|
|
1820
|
+
"description": "Date of birth for the Party."
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
"PartyComplexName": {
|
|
1825
|
+
"title": "PartyComplexName",
|
|
1826
|
+
"type": "object",
|
|
1827
|
+
"description": "Data model for the complex type PartyComplexName.",
|
|
1828
|
+
"properties": {
|
|
1829
|
+
"firstName": {
|
|
1830
|
+
"type": "string",
|
|
1831
|
+
"description": "Party’s first name."
|
|
1832
|
+
},
|
|
1833
|
+
"middleName": {
|
|
1834
|
+
"type": "string",
|
|
1835
|
+
"description": "Party’s middle name."
|
|
1836
|
+
},
|
|
1837
|
+
"lastName": {
|
|
1838
|
+
"type": "string",
|
|
1839
|
+
"description": "Party’s last name."
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
"TransactionType": {
|
|
1844
|
+
"title": "TransactionType",
|
|
1845
|
+
"type": "object",
|
|
1846
|
+
"description": "Data model for the complex type TransactionType.",
|
|
1847
|
+
"properties": {
|
|
1848
|
+
"scenario": {
|
|
1849
|
+
"type": "string",
|
|
1850
|
+
"description": "Deposit, withdrawal, refund, …"
|
|
1851
|
+
},
|
|
1852
|
+
"subScenario": {
|
|
1853
|
+
"type": "string",
|
|
1854
|
+
"description": "Possible sub-scenario, defined locally within the scheme."
|
|
1855
|
+
},
|
|
1856
|
+
"initiator": {
|
|
1857
|
+
"type": "string",
|
|
1858
|
+
"description": "Who is initiating the transaction - Payer or Payee"
|
|
1859
|
+
},
|
|
1860
|
+
"initiatorType": {
|
|
1861
|
+
"type": "string",
|
|
1862
|
+
"description": "Consumer, agent, business, …"
|
|
1863
|
+
},
|
|
1864
|
+
"refundInfo": {
|
|
1865
|
+
"$ref": "#/definitions/Refund",
|
|
1866
|
+
"description": "Extra information specific to a refund scenario. Should only be populated if scenario is REFUND"
|
|
1867
|
+
},
|
|
1868
|
+
"balanceOfPayments": {
|
|
1869
|
+
"type": "string",
|
|
1870
|
+
"description": "Balance of Payments code."
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
"required": [
|
|
1874
|
+
"scenario",
|
|
1875
|
+
"initiator",
|
|
1876
|
+
"initiatorType"
|
|
1877
|
+
]
|
|
1878
|
+
},
|
|
1879
|
+
"Refund": {
|
|
1880
|
+
"title": "Refund",
|
|
1881
|
+
"type": "object",
|
|
1882
|
+
"description": "Data model for the complex type Refund.",
|
|
1883
|
+
"properties": {
|
|
1884
|
+
"originalTransactionId": {
|
|
1885
|
+
"type": "string",
|
|
1886
|
+
"description": "Reference to the original transaction id that is requested to be refunded."
|
|
1887
|
+
},
|
|
1888
|
+
"refundReason": {
|
|
1889
|
+
"type": "string",
|
|
1890
|
+
"description": "Free text indicating the reason for the refund."
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
"required": [
|
|
1894
|
+
"originalTransactionId"
|
|
1895
|
+
]
|
|
1896
|
+
},
|
|
1897
|
+
"Money": {
|
|
1898
|
+
"title": "Money",
|
|
1899
|
+
"type": "object",
|
|
1900
|
+
"description": "Data model for the complex type Money.",
|
|
1901
|
+
"properties": {
|
|
1902
|
+
"currency": {
|
|
1903
|
+
"$ref": "#/definitions/Currency",
|
|
1904
|
+
"description": "Currency of the amount."
|
|
1905
|
+
},
|
|
1906
|
+
"amount": {
|
|
1907
|
+
"$ref": "#/definitions/Amount",
|
|
1908
|
+
"description": "Amount of Money."
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
"required": [
|
|
1912
|
+
"currency",
|
|
1913
|
+
"amount"
|
|
1914
|
+
]
|
|
1915
|
+
},
|
|
1916
|
+
"Currency": {
|
|
1917
|
+
"title": "CurrencyEnum",
|
|
1918
|
+
"description": "The currency codes defined in ISO 4217 as three-letter alphabetic codes are used as the standard naming representation for currencies.",
|
|
1919
|
+
"type": "string",
|
|
1920
|
+
"minLength": 3,
|
|
1921
|
+
"maxLength": 3,
|
|
1922
|
+
"enum": [
|
|
1923
|
+
"AED",
|
|
1924
|
+
"AFN",
|
|
1925
|
+
"ALL",
|
|
1926
|
+
"AMD",
|
|
1927
|
+
"ANG",
|
|
1928
|
+
"AOA",
|
|
1929
|
+
"ARS",
|
|
1930
|
+
"AUD",
|
|
1931
|
+
"AWG",
|
|
1932
|
+
"AZN",
|
|
1933
|
+
"BAM",
|
|
1934
|
+
"BBD",
|
|
1935
|
+
"BDT",
|
|
1936
|
+
"BGN",
|
|
1937
|
+
"BHD",
|
|
1938
|
+
"BIF",
|
|
1939
|
+
"BMD",
|
|
1940
|
+
"BND",
|
|
1941
|
+
"BOB",
|
|
1942
|
+
"BRL",
|
|
1943
|
+
"BSD",
|
|
1944
|
+
"BTN",
|
|
1945
|
+
"BWP",
|
|
1946
|
+
"BYN",
|
|
1947
|
+
"BZD",
|
|
1948
|
+
"CAD",
|
|
1949
|
+
"CDF",
|
|
1950
|
+
"CHF",
|
|
1951
|
+
"CLP",
|
|
1952
|
+
"CNY",
|
|
1953
|
+
"COP",
|
|
1954
|
+
"CRC",
|
|
1955
|
+
"CUC",
|
|
1956
|
+
"CUP",
|
|
1957
|
+
"CVE",
|
|
1958
|
+
"CZK",
|
|
1959
|
+
"DJF",
|
|
1960
|
+
"DKK",
|
|
1961
|
+
"DOP",
|
|
1962
|
+
"DZD",
|
|
1963
|
+
"EGP",
|
|
1964
|
+
"ERN",
|
|
1965
|
+
"ETB",
|
|
1966
|
+
"EUR",
|
|
1967
|
+
"FJD",
|
|
1968
|
+
"FKP",
|
|
1969
|
+
"GBP",
|
|
1970
|
+
"GEL",
|
|
1971
|
+
"GGP",
|
|
1972
|
+
"GHS",
|
|
1973
|
+
"GIP",
|
|
1974
|
+
"GMD",
|
|
1975
|
+
"GNF",
|
|
1976
|
+
"GTQ",
|
|
1977
|
+
"GYD",
|
|
1978
|
+
"HKD",
|
|
1979
|
+
"HNL",
|
|
1980
|
+
"HRK",
|
|
1981
|
+
"HTG",
|
|
1982
|
+
"HUF",
|
|
1983
|
+
"IDR",
|
|
1984
|
+
"ILS",
|
|
1985
|
+
"IMP",
|
|
1986
|
+
"INR",
|
|
1987
|
+
"IQD",
|
|
1988
|
+
"IRR",
|
|
1989
|
+
"ISK",
|
|
1990
|
+
"JEP",
|
|
1991
|
+
"JMD",
|
|
1992
|
+
"JOD",
|
|
1993
|
+
"JPY",
|
|
1994
|
+
"KES",
|
|
1995
|
+
"KGS",
|
|
1996
|
+
"KHR",
|
|
1997
|
+
"KMF",
|
|
1998
|
+
"KPW",
|
|
1999
|
+
"KRW",
|
|
2000
|
+
"KWD",
|
|
2001
|
+
"KYD",
|
|
2002
|
+
"KZT",
|
|
2003
|
+
"LAK",
|
|
2004
|
+
"LBP",
|
|
2005
|
+
"LKR",
|
|
2006
|
+
"LRD",
|
|
2007
|
+
"LSL",
|
|
2008
|
+
"LYD",
|
|
2009
|
+
"MAD",
|
|
2010
|
+
"MDL",
|
|
2011
|
+
"MGA",
|
|
2012
|
+
"MKD",
|
|
2013
|
+
"MMK",
|
|
2014
|
+
"MNT",
|
|
2015
|
+
"MOP",
|
|
2016
|
+
"MRO",
|
|
2017
|
+
"MUR",
|
|
2018
|
+
"MVR",
|
|
2019
|
+
"MWK",
|
|
2020
|
+
"MXN",
|
|
2021
|
+
"MYR",
|
|
2022
|
+
"MZN",
|
|
2023
|
+
"NAD",
|
|
2024
|
+
"NGN",
|
|
2025
|
+
"NIO",
|
|
2026
|
+
"NOK",
|
|
2027
|
+
"NPR",
|
|
2028
|
+
"NZD",
|
|
2029
|
+
"OMR",
|
|
2030
|
+
"PAB",
|
|
2031
|
+
"PEN",
|
|
2032
|
+
"PGK",
|
|
2033
|
+
"PHP",
|
|
2034
|
+
"PKR",
|
|
2035
|
+
"PLN",
|
|
2036
|
+
"PYG",
|
|
2037
|
+
"QAR",
|
|
2038
|
+
"RON",
|
|
2039
|
+
"RSD",
|
|
2040
|
+
"RUB",
|
|
2041
|
+
"RWF",
|
|
2042
|
+
"SAR",
|
|
2043
|
+
"SBD",
|
|
2044
|
+
"SCR",
|
|
2045
|
+
"SDG",
|
|
2046
|
+
"SEK",
|
|
2047
|
+
"SGD",
|
|
2048
|
+
"SHP",
|
|
2049
|
+
"SLL",
|
|
2050
|
+
"SOS",
|
|
2051
|
+
"SPL",
|
|
2052
|
+
"SRD",
|
|
2053
|
+
"STD",
|
|
2054
|
+
"SVC",
|
|
2055
|
+
"SYP",
|
|
2056
|
+
"SZL",
|
|
2057
|
+
"THB",
|
|
2058
|
+
"TJS",
|
|
2059
|
+
"TMT",
|
|
2060
|
+
"TND",
|
|
2061
|
+
"TOP",
|
|
2062
|
+
"TRY",
|
|
2063
|
+
"TTD",
|
|
2064
|
+
"TVD",
|
|
2065
|
+
"TWD",
|
|
2066
|
+
"TZS",
|
|
2067
|
+
"UAH",
|
|
2068
|
+
"UGX",
|
|
2069
|
+
"USD",
|
|
2070
|
+
"UYU",
|
|
2071
|
+
"UZS",
|
|
2072
|
+
"VEF",
|
|
2073
|
+
"VND",
|
|
2074
|
+
"VUV",
|
|
2075
|
+
"WST",
|
|
2076
|
+
"XAF",
|
|
2077
|
+
"XCD",
|
|
2078
|
+
"XDR",
|
|
2079
|
+
"XOF",
|
|
2080
|
+
"XPF",
|
|
2081
|
+
"YER",
|
|
2082
|
+
"ZAR",
|
|
2083
|
+
"ZMW",
|
|
2084
|
+
"ZWD"
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
"Amount": {
|
|
2088
|
+
"title": "Amount",
|
|
2089
|
+
"type": "string",
|
|
2090
|
+
"pattern": "^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$",
|
|
2091
|
+
"description": "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."
|
|
2312
2092
|
}
|
|
2313
2093
|
}
|
|
2314
2094
|
}
|