@mojaloop/api-snippets 14.1.0 → 14.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/CHANGELOG.md +7 -0
- package/README.md +4 -0
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +627 -410
- package/lib/sdk-scheme-adapter/outbound/v2_0_0/json-schemas.json +2899 -2463
- package/lib/sdk-scheme-adapter/outbound/v2_0_0/openapi.d.ts +3885 -1746
- package/lib/sdk-scheme-adapter/outbound/v2_0_0/schemas.d.ts +1260 -892
- package/lib/sdk-scheme-adapter/outbound/v2_0_0/schemas.js +15 -12
- package/lib/sdk-scheme-adapter/outbound/v2_0_0/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/outbound/v2_0_0/types.d.ts +15 -12
- package/package.json +9 -9
- package/sdk-scheme-adapter/outbound/v2_0_0/components/parameters/bulkTransactionId.yaml +2 -2
- package/sdk-scheme-adapter/outbound/v2_0_0/components/parameters/bulkTransferId.yaml +8 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/responses/{bulkTransferAccepted.yaml → bulkTransactionAccepted.yaml} +0 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/responses/bulkTransferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{transactionType.yaml → TransactionType.yaml} +0 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{bulkAcceptPartyErrorResponse.yaml → bulkTransactionAcceptPartyErrorResponse.yaml} +2 -2
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{bulkAcceptQuoteErrorResponse.yaml → bulkTransactionAcceptQuoteErrorResponse.yaml} +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{bulkTransferContinuationAcceptParty.yaml → bulkTransactionContinuationAcceptParty.yaml} +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{bulkTransferContinuationAcceptQuote.yaml → bulkTransactionContinuationAcceptQuote.yaml} +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{bulkTransferOptions.yaml → bulkTransactionOptions.yaml} +0 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/bulkTransactionRequest.yaml +27 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/bulkTransactionResponse.yaml +27 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/bulkTransactionStatus.yaml +6 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/bulkTransferRequest.yaml +6 -9
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/bulkTransferResponse.yaml +6 -18
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/bulkTransferStatus.yaml +0 -2
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualQuote.yaml +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualQuoteResult.yaml +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualTransaction.yaml +31 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/{individualTransferAccept.yaml → individualTransactionAccept.yaml} +0 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualTransactionResult.yaml +37 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualTransfer.yaml +6 -11
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualTransferFulfilment.yaml +13 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/individualTransferResult.yaml +10 -10
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/transferRequest.yaml +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/schemas/transferResponse.yaml +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/openapi.yaml +6 -2
- package/sdk-scheme-adapter/outbound/v2_0_0/paths/bulkTransactions.yaml +21 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/paths/bulkTransfers.yaml +2 -2
- package/sdk-scheme-adapter/outbound/v2_0_0/paths/bulkTransfers_bulkTransferId.yaml +24 -0
- package/sdk-scheme-adapter/outbound/v2_0_0/paths/quotes.yaml +1 -1
- package/sdk-scheme-adapter/outbound/v2_0_0/components/responses/bulkTransferPutBadRequest.yaml +0 -7
- package/sdk-scheme-adapter/outbound/v2_0_0/paths/bulkTransfers_bulkTransactionId.yaml +0 -33
|
@@ -79,7 +79,7 @@ paths:
|
|
|
79
79
|
application/json:
|
|
80
80
|
schema:
|
|
81
81
|
type: object
|
|
82
|
-
required: &
|
|
82
|
+
required: &ref_66
|
|
83
83
|
- homeTransactionId
|
|
84
84
|
- from
|
|
85
85
|
- to
|
|
@@ -87,7 +87,7 @@ paths:
|
|
|
87
87
|
- currency
|
|
88
88
|
- amount
|
|
89
89
|
- transactionType
|
|
90
|
-
properties: &
|
|
90
|
+
properties: &ref_67
|
|
91
91
|
homeTransactionId:
|
|
92
92
|
type: string
|
|
93
93
|
description: >-
|
|
@@ -102,7 +102,7 @@ paths:
|
|
|
102
102
|
type:
|
|
103
103
|
title: TransactionInitiatorType
|
|
104
104
|
type: string
|
|
105
|
-
enum: &
|
|
105
|
+
enum: &ref_50
|
|
106
106
|
- CONSUMER
|
|
107
107
|
- AGENT
|
|
108
108
|
- BUSINESS
|
|
@@ -675,7 +675,7 @@ paths:
|
|
|
675
675
|
title: QuotesIDPutResponse
|
|
676
676
|
type: object
|
|
677
677
|
description: The object sent in the PUT /quotes/{ID} callback.
|
|
678
|
-
properties: &
|
|
678
|
+
properties: &ref_27
|
|
679
679
|
transferAmount:
|
|
680
680
|
title: Money
|
|
681
681
|
type: object
|
|
@@ -756,7 +756,7 @@ paths:
|
|
|
756
756
|
Data model for the complex type GeoCode. Indicates
|
|
757
757
|
the geographic location from where the transaction
|
|
758
758
|
was initiated.
|
|
759
|
-
properties: &
|
|
759
|
+
properties: &ref_63
|
|
760
760
|
latitude:
|
|
761
761
|
title: Latitude
|
|
762
762
|
type: string
|
|
@@ -779,7 +779,7 @@ paths:
|
|
|
779
779
|
regular expression for interoperability
|
|
780
780
|
reasons.
|
|
781
781
|
example: '+75.6972'
|
|
782
|
-
required: &
|
|
782
|
+
required: &ref_64
|
|
783
783
|
- latitude
|
|
784
784
|
- longitude
|
|
785
785
|
ilpPacket:
|
|
@@ -822,7 +822,7 @@ paths:
|
|
|
822
822
|
description: Number of Extension elements.
|
|
823
823
|
required: &ref_11
|
|
824
824
|
- extension
|
|
825
|
-
required: &
|
|
825
|
+
required: &ref_28
|
|
826
826
|
- transferAmount
|
|
827
827
|
- expiration
|
|
828
828
|
- ilpPacket
|
|
@@ -876,7 +876,7 @@ paths:
|
|
|
876
876
|
transferState:
|
|
877
877
|
title: TransferState
|
|
878
878
|
type: string
|
|
879
|
-
enum: &
|
|
879
|
+
enum: &ref_68
|
|
880
880
|
- RECEIVED
|
|
881
881
|
- RESERVED
|
|
882
882
|
- COMMITTED
|
|
@@ -929,12 +929,12 @@ paths:
|
|
|
929
929
|
property will contain the underlying Mojaloop API
|
|
930
930
|
error object.
|
|
931
931
|
type: object
|
|
932
|
-
properties: &
|
|
932
|
+
properties: &ref_37
|
|
933
933
|
errorInformation:
|
|
934
934
|
title: ErrorInformation
|
|
935
935
|
type: object
|
|
936
936
|
description: Data model for the complex type ErrorInformation.
|
|
937
|
-
properties: &
|
|
937
|
+
properties: &ref_57
|
|
938
938
|
errorCode:
|
|
939
939
|
title: ErrorCode
|
|
940
940
|
type: string
|
|
@@ -967,7 +967,7 @@ paths:
|
|
|
967
967
|
deployment.
|
|
968
968
|
properties: *ref_10
|
|
969
969
|
required: *ref_11
|
|
970
|
-
required: &
|
|
970
|
+
required: &ref_58
|
|
971
971
|
- errorCode
|
|
972
972
|
- errorDescription
|
|
973
973
|
skipPartyLookup:
|
|
@@ -978,7 +978,7 @@ paths:
|
|
|
978
978
|
type: boolean
|
|
979
979
|
'400':
|
|
980
980
|
description: Malformed or missing required body, headers or parameters
|
|
981
|
-
content: &
|
|
981
|
+
content: &ref_135
|
|
982
982
|
application/json:
|
|
983
983
|
schema:
|
|
984
984
|
allOf: &ref_14
|
|
@@ -1036,17 +1036,17 @@ paths:
|
|
|
1036
1036
|
schema:
|
|
1037
1037
|
oneOf:
|
|
1038
1038
|
- type: object
|
|
1039
|
-
required: &
|
|
1039
|
+
required: &ref_29
|
|
1040
1040
|
- acceptParty
|
|
1041
|
-
properties: &
|
|
1041
|
+
properties: &ref_30
|
|
1042
1042
|
acceptParty:
|
|
1043
1043
|
type: boolean
|
|
1044
1044
|
enum:
|
|
1045
1045
|
- true
|
|
1046
1046
|
- type: object
|
|
1047
|
-
required: &
|
|
1047
|
+
required: &ref_33
|
|
1048
1048
|
- acceptQuote
|
|
1049
|
-
properties: &
|
|
1049
|
+
properties: &ref_34
|
|
1050
1050
|
acceptQuote:
|
|
1051
1051
|
type: boolean
|
|
1052
1052
|
enum:
|
|
@@ -1107,11 +1107,11 @@ paths:
|
|
|
1107
1107
|
application/json:
|
|
1108
1108
|
schema:
|
|
1109
1109
|
type: object
|
|
1110
|
-
required: &
|
|
1110
|
+
required: &ref_69
|
|
1111
1111
|
- transferId
|
|
1112
1112
|
- currentState
|
|
1113
1113
|
- fulfil
|
|
1114
|
-
properties: &
|
|
1114
|
+
properties: &ref_70
|
|
1115
1115
|
transferId:
|
|
1116
1116
|
title: CorrelationId
|
|
1117
1117
|
type: string
|
|
@@ -1150,26 +1150,26 @@ paths:
|
|
|
1150
1150
|
schema:
|
|
1151
1151
|
type: object
|
|
1152
1152
|
properties: *ref_22
|
|
1153
|
-
/
|
|
1153
|
+
/bulkTransactions:
|
|
1154
1154
|
post:
|
|
1155
1155
|
summary: Sends money from one account to multiple accounts
|
|
1156
1156
|
description: >
|
|
1157
|
-
The HTTP request `POST /
|
|
1158
|
-
of funds from payer DFSP to payees' DFSP.
|
|
1157
|
+
The HTTP request `POST /bulkTransactions` is used to request the
|
|
1158
|
+
movement of funds from payer DFSP to payees' DFSP.
|
|
1159
1159
|
tags:
|
|
1160
|
-
-
|
|
1160
|
+
- BulkTransactions
|
|
1161
1161
|
requestBody:
|
|
1162
1162
|
description: Bulk transfer request body
|
|
1163
1163
|
content:
|
|
1164
1164
|
application/json:
|
|
1165
1165
|
schema:
|
|
1166
1166
|
type: object
|
|
1167
|
-
required: &
|
|
1167
|
+
required: &ref_85
|
|
1168
1168
|
- bulkHomeTransactionID
|
|
1169
1169
|
- options
|
|
1170
1170
|
- from
|
|
1171
1171
|
- individualTransfers
|
|
1172
|
-
properties: &
|
|
1172
|
+
properties: &ref_86
|
|
1173
1173
|
bulkHomeTransactionID:
|
|
1174
1174
|
type: string
|
|
1175
1175
|
description: >-
|
|
@@ -1191,11 +1191,11 @@ paths:
|
|
|
1191
1191
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1192
1192
|
options:
|
|
1193
1193
|
type: object
|
|
1194
|
-
required: &
|
|
1194
|
+
required: &ref_77
|
|
1195
1195
|
- autoAcceptParty
|
|
1196
1196
|
- autoAcceptQuote
|
|
1197
1197
|
- bulkExpiration
|
|
1198
|
-
properties: &
|
|
1198
|
+
properties: &ref_78
|
|
1199
1199
|
onlyValidateParty:
|
|
1200
1200
|
description: >-
|
|
1201
1201
|
Set to true if only party validation is required. This
|
|
@@ -1204,9 +1204,9 @@ paths:
|
|
|
1204
1204
|
type: boolean
|
|
1205
1205
|
autoAcceptParty:
|
|
1206
1206
|
type: object
|
|
1207
|
-
required: &
|
|
1207
|
+
required: &ref_71
|
|
1208
1208
|
- enabled
|
|
1209
|
-
properties: &
|
|
1209
|
+
properties: &ref_72
|
|
1210
1210
|
enabled:
|
|
1211
1211
|
type: boolean
|
|
1212
1212
|
enum:
|
|
@@ -1221,9 +1221,9 @@ paths:
|
|
|
1221
1221
|
type: object
|
|
1222
1222
|
oneOf:
|
|
1223
1223
|
- type: object
|
|
1224
|
-
required: &
|
|
1224
|
+
required: &ref_75
|
|
1225
1225
|
- enabled
|
|
1226
|
-
properties: &
|
|
1226
|
+
properties: &ref_76
|
|
1227
1227
|
enabled:
|
|
1228
1228
|
type: boolean
|
|
1229
1229
|
enum:
|
|
@@ -1234,10 +1234,10 @@ paths:
|
|
|
1234
1234
|
minItems: 0
|
|
1235
1235
|
items:
|
|
1236
1236
|
type: object
|
|
1237
|
-
required: &
|
|
1237
|
+
required: &ref_73
|
|
1238
1238
|
- currency
|
|
1239
1239
|
- amount
|
|
1240
|
-
properties: &
|
|
1240
|
+
properties: &ref_74
|
|
1241
1241
|
currency:
|
|
1242
1242
|
title: Currency
|
|
1243
1243
|
description: >-
|
|
@@ -1311,7 +1311,7 @@ paths:
|
|
|
1311
1311
|
Data model for the complex type PartyIdInfo. An
|
|
1312
1312
|
ExtensionList element has been added to this reqeust in
|
|
1313
1313
|
version v1.1
|
|
1314
|
-
properties: &
|
|
1314
|
+
properties: &ref_79
|
|
1315
1315
|
partyIdType:
|
|
1316
1316
|
title: PartyIdType
|
|
1317
1317
|
type: string
|
|
@@ -1404,7 +1404,7 @@ paths:
|
|
|
1404
1404
|
optional list of extensions, specific to deployment.
|
|
1405
1405
|
properties: *ref_10
|
|
1406
1406
|
required: *ref_11
|
|
1407
|
-
required: &
|
|
1407
|
+
required: &ref_80
|
|
1408
1408
|
- partyIdType
|
|
1409
1409
|
- partyIdentifier
|
|
1410
1410
|
merchantClassificationCode:
|
|
@@ -1426,12 +1426,12 @@ paths:
|
|
|
1426
1426
|
title: PartyPersonalInfo
|
|
1427
1427
|
type: object
|
|
1428
1428
|
description: Data model for the complex type PartyPersonalInfo.
|
|
1429
|
-
properties: &
|
|
1429
|
+
properties: &ref_82
|
|
1430
1430
|
complexName:
|
|
1431
1431
|
title: PartyComplexName
|
|
1432
1432
|
type: object
|
|
1433
1433
|
description: Data model for the complex type PartyComplexName.
|
|
1434
|
-
properties: &
|
|
1434
|
+
properties: &ref_81
|
|
1435
1435
|
firstName:
|
|
1436
1436
|
title: FirstName
|
|
1437
1437
|
type: string
|
|
@@ -1477,10 +1477,10 @@ paths:
|
|
|
1477
1477
|
minItems: 1
|
|
1478
1478
|
maxItems: 1000
|
|
1479
1479
|
items:
|
|
1480
|
-
title:
|
|
1480
|
+
title: IndividualTransaction
|
|
1481
1481
|
type: object
|
|
1482
|
-
description: Data model for the complex type '
|
|
1483
|
-
properties: &
|
|
1482
|
+
description: Data model for the complex type 'individualTransaction'.
|
|
1483
|
+
properties: &ref_83
|
|
1484
1484
|
homeTransactionId:
|
|
1485
1485
|
title: CorrelationId
|
|
1486
1486
|
type: string
|
|
@@ -1576,7 +1576,7 @@ paths:
|
|
|
1576
1576
|
This object represents a Mojaloop API error received
|
|
1577
1577
|
at any time during the transfer process
|
|
1578
1578
|
properties: *ref_26
|
|
1579
|
-
required: &
|
|
1579
|
+
required: &ref_84
|
|
1580
1580
|
- homeTransactionId
|
|
1581
1581
|
- to
|
|
1582
1582
|
- amountType
|
|
@@ -1596,7 +1596,7 @@ paths:
|
|
|
1596
1596
|
description: Bulk transfer accepted successfully
|
|
1597
1597
|
'400':
|
|
1598
1598
|
description: Malformed or missing required body, headers or parameters
|
|
1599
|
-
content: &
|
|
1599
|
+
content: &ref_42
|
|
1600
1600
|
application/json:
|
|
1601
1601
|
schema:
|
|
1602
1602
|
allOf: &ref_89
|
|
@@ -1608,19 +1608,11 @@ paths:
|
|
|
1608
1608
|
properties:
|
|
1609
1609
|
bulkTransferState:
|
|
1610
1610
|
type: object
|
|
1611
|
-
required: &
|
|
1612
|
-
-
|
|
1613
|
-
- bulkTransactionId
|
|
1614
|
-
- currentState
|
|
1611
|
+
required: &ref_40
|
|
1612
|
+
- from
|
|
1615
1613
|
- individualTransferResults
|
|
1616
|
-
properties: &
|
|
1617
|
-
|
|
1618
|
-
type: string
|
|
1619
|
-
description: >-
|
|
1620
|
-
Transaction ID from the DFSP backend, used to
|
|
1621
|
-
reconcile transactions between the Switch and DFSP
|
|
1622
|
-
backend systems.
|
|
1623
|
-
bulkTransactionId:
|
|
1614
|
+
properties: &ref_41
|
|
1615
|
+
transferId:
|
|
1624
1616
|
title: CorrelationId
|
|
1625
1617
|
type: string
|
|
1626
1618
|
pattern: >-
|
|
@@ -1636,34 +1628,22 @@ paths:
|
|
|
1636
1628
|
characters long, 32 hexadecimal symbols and 4
|
|
1637
1629
|
dashes (‘-‘).
|
|
1638
1630
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1639
|
-
|
|
1640
|
-
type: string
|
|
1641
|
-
enum: &ref_84
|
|
1642
|
-
- ERROR_OCCURRED
|
|
1643
|
-
- WAITING_FOR_PARTY_ACCEPTANCE
|
|
1644
|
-
- WAITING_FOR_QUOTE_ACCEPTANCE
|
|
1645
|
-
- COMPLETED
|
|
1646
|
-
options:
|
|
1631
|
+
from:
|
|
1647
1632
|
type: object
|
|
1648
|
-
required: *
|
|
1649
|
-
properties: *
|
|
1633
|
+
required: *ref_0
|
|
1634
|
+
properties: *ref_1
|
|
1650
1635
|
individualTransferResults:
|
|
1651
|
-
description: >-
|
|
1652
|
-
List of individual transfer result in a bulk
|
|
1653
|
-
transfer response.
|
|
1654
1636
|
type: array
|
|
1655
|
-
minItems: 1
|
|
1656
1637
|
maxItems: 1000
|
|
1657
1638
|
items:
|
|
1658
1639
|
type: object
|
|
1659
|
-
required: &
|
|
1660
|
-
- homeTransactionId
|
|
1640
|
+
required: &ref_87
|
|
1661
1641
|
- transactionId
|
|
1662
1642
|
- to
|
|
1663
1643
|
- amountType
|
|
1664
1644
|
- currency
|
|
1665
1645
|
- amount
|
|
1666
|
-
properties: &
|
|
1646
|
+
properties: &ref_88
|
|
1667
1647
|
transferId:
|
|
1668
1648
|
title: CorrelationId
|
|
1669
1649
|
type: string
|
|
@@ -1681,46 +1661,10 @@ paths:
|
|
|
1681
1661
|
always 36 characters long, 32 hexadecimal
|
|
1682
1662
|
symbols and 4 dashes (‘-‘).
|
|
1683
1663
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1684
|
-
homeTransactionId:
|
|
1685
|
-
title: CorrelationId
|
|
1686
|
-
type: string
|
|
1687
|
-
pattern: >-
|
|
1688
|
-
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
1689
|
-
description: >-
|
|
1690
|
-
Identifier that correlates all messages of
|
|
1691
|
-
the same sequence. The API data type UUID
|
|
1692
|
-
(Universally Unique Identifier) is a JSON
|
|
1693
|
-
String in canonical format, conforming to
|
|
1694
|
-
[RFC
|
|
1695
|
-
4122](https://tools.ietf.org/html/rfc4122),
|
|
1696
|
-
that is restricted by a regular expression
|
|
1697
|
-
for interoperability reasons. A UUID is
|
|
1698
|
-
always 36 characters long, 32 hexadecimal
|
|
1699
|
-
symbols and 4 dashes (‘-‘).
|
|
1700
|
-
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1701
|
-
transactionId:
|
|
1702
|
-
title: CorrelationId
|
|
1703
|
-
type: string
|
|
1704
|
-
pattern: >-
|
|
1705
|
-
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
1706
|
-
description: >-
|
|
1707
|
-
Identifier that correlates all messages of
|
|
1708
|
-
the same sequence. The API data type UUID
|
|
1709
|
-
(Universally Unique Identifier) is a JSON
|
|
1710
|
-
String in canonical format, conforming to
|
|
1711
|
-
[RFC
|
|
1712
|
-
4122](https://tools.ietf.org/html/rfc4122),
|
|
1713
|
-
that is restricted by a regular expression
|
|
1714
|
-
for interoperability reasons. A UUID is
|
|
1715
|
-
always 36 characters long, 32 hexadecimal
|
|
1716
|
-
symbols and 4 dashes (‘-‘).
|
|
1717
|
-
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1718
1664
|
to:
|
|
1719
|
-
title: Party
|
|
1720
1665
|
type: object
|
|
1721
|
-
|
|
1722
|
-
properties: *
|
|
1723
|
-
required: *ref_25
|
|
1666
|
+
required: *ref_0
|
|
1667
|
+
properties: *ref_1
|
|
1724
1668
|
amountType:
|
|
1725
1669
|
title: AmountType
|
|
1726
1670
|
type: string
|
|
@@ -1768,6 +1712,10 @@ paths:
|
|
|
1768
1712
|
more than 18 digits in the major currency
|
|
1769
1713
|
unit is not allowed.
|
|
1770
1714
|
example: '123.45'
|
|
1715
|
+
transactionType:
|
|
1716
|
+
type: string
|
|
1717
|
+
enum: *ref_5
|
|
1718
|
+
description: Type of transaction.
|
|
1771
1719
|
note:
|
|
1772
1720
|
title: Note
|
|
1773
1721
|
type: string
|
|
@@ -1798,8 +1746,16 @@ paths:
|
|
|
1798
1746
|
description: >-
|
|
1799
1747
|
The object sent in the PUT /quotes/{ID}
|
|
1800
1748
|
callback.
|
|
1801
|
-
properties: *
|
|
1802
|
-
required: *
|
|
1749
|
+
properties: *ref_27
|
|
1750
|
+
required: *ref_28
|
|
1751
|
+
quoteResponseSource:
|
|
1752
|
+
type: string
|
|
1753
|
+
description: >
|
|
1754
|
+
FSPID of the entity that supplied the quote
|
|
1755
|
+
response. This may not be the same as the
|
|
1756
|
+
FSPID of the entity which owns the end user
|
|
1757
|
+
account in the case of a FOREX transfer.
|
|
1758
|
+
i.e. it may be a FOREX gateway.
|
|
1803
1759
|
fulfil:
|
|
1804
1760
|
title: TransfersIDPutResponse
|
|
1805
1761
|
type: object
|
|
@@ -1808,24 +1764,6 @@ paths:
|
|
|
1808
1764
|
callback.
|
|
1809
1765
|
properties: *ref_20
|
|
1810
1766
|
required: *ref_21
|
|
1811
|
-
quoteExtensions:
|
|
1812
|
-
title: ExtensionList
|
|
1813
|
-
type: object
|
|
1814
|
-
description: >-
|
|
1815
|
-
Data model for the complex type
|
|
1816
|
-
ExtensionList. An optional list of
|
|
1817
|
-
extensions, specific to deployment.
|
|
1818
|
-
properties: *ref_10
|
|
1819
|
-
required: *ref_11
|
|
1820
|
-
transferExtensions:
|
|
1821
|
-
title: ExtensionList
|
|
1822
|
-
type: object
|
|
1823
|
-
description: >-
|
|
1824
|
-
Data model for the complex type
|
|
1825
|
-
ExtensionList. An optional list of
|
|
1826
|
-
extensions, specific to deployment.
|
|
1827
|
-
properties: *ref_10
|
|
1828
|
-
required: *ref_11
|
|
1829
1767
|
lastError:
|
|
1830
1768
|
type: object
|
|
1831
1769
|
description: >-
|
|
@@ -1833,39 +1771,33 @@ paths:
|
|
|
1833
1771
|
received at any time during the transfer
|
|
1834
1772
|
process
|
|
1835
1773
|
properties: *ref_26
|
|
1836
|
-
extensions:
|
|
1837
|
-
title: ExtensionList
|
|
1838
|
-
type: object
|
|
1839
1774
|
description: >-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
deployment.
|
|
1843
|
-
properties: *ref_10
|
|
1844
|
-
required: *ref_11
|
|
1775
|
+
List of individual transfer result in a bulk
|
|
1776
|
+
transfer response.
|
|
1845
1777
|
'500':
|
|
1846
1778
|
description: Internal Server Error
|
|
1847
|
-
content: &
|
|
1779
|
+
content: &ref_43
|
|
1848
1780
|
application/json:
|
|
1849
1781
|
schema:
|
|
1850
1782
|
type: object
|
|
1851
1783
|
properties: *ref_22
|
|
1852
|
-
/
|
|
1784
|
+
/bulkTransactions/{bulkTransactionId}:
|
|
1853
1785
|
put:
|
|
1854
|
-
summary: Amends the bulk
|
|
1786
|
+
summary: Amends the bulk transaction request
|
|
1855
1787
|
description: >-
|
|
1856
|
-
The HTTP request `PUT /
|
|
1857
|
-
amend information regarding a bulk
|
|
1858
|
-
or autoAcceptQuote is false then the payer need to
|
|
1859
|
-
to proceed with further processing of the request.
|
|
1860
|
-
`{bulkTransactionId}` in the URI should contain the
|
|
1861
|
-
that was used for the creation of the bulk transfer.
|
|
1788
|
+
The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to
|
|
1789
|
+
amend information regarding a bulk transaction, i.e. when
|
|
1790
|
+
autoAcceptParty or autoAcceptQuote is false then the payer need to
|
|
1791
|
+
provide confirmation to proceed with further processing of the request.
|
|
1792
|
+
The `{bulkTransactionId}` in the URI should contain the
|
|
1793
|
+
`bulkTransactionId` that was used for the creation of the bulk transfer.
|
|
1862
1794
|
tags:
|
|
1863
|
-
-
|
|
1795
|
+
- BulkTransactions
|
|
1864
1796
|
parameters:
|
|
1865
1797
|
- name: bulkTransactionId
|
|
1866
1798
|
in: path
|
|
1867
1799
|
required: true
|
|
1868
|
-
schema: &
|
|
1800
|
+
schema: &ref_151
|
|
1869
1801
|
title: CorrelationId
|
|
1870
1802
|
type: string
|
|
1871
1803
|
pattern: >-
|
|
@@ -1880,10 +1812,10 @@ paths:
|
|
|
1880
1812
|
(‘-‘).
|
|
1881
1813
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1882
1814
|
description: >-
|
|
1883
|
-
Identifier of the bulk
|
|
1884
|
-
response to a `POST /
|
|
1815
|
+
Identifier of the bulk transaction to continue as returned in the
|
|
1816
|
+
response to a `POST /bulkTransaction` request.
|
|
1885
1817
|
requestBody:
|
|
1886
|
-
description: Bulk
|
|
1818
|
+
description: Bulk transaction request body
|
|
1887
1819
|
content:
|
|
1888
1820
|
application/json:
|
|
1889
1821
|
schema:
|
|
@@ -1892,10 +1824,10 @@ paths:
|
|
|
1892
1824
|
The object sent back as confirmation of payee parties when
|
|
1893
1825
|
autoAcceptParty is false.
|
|
1894
1826
|
type: object
|
|
1895
|
-
required: &
|
|
1827
|
+
required: &ref_35
|
|
1896
1828
|
- bulkHomeTransactionID
|
|
1897
1829
|
- individualTransfers
|
|
1898
|
-
properties: &
|
|
1830
|
+
properties: &ref_36
|
|
1899
1831
|
bulkHomeTransactionID:
|
|
1900
1832
|
type: string
|
|
1901
1833
|
description: >-
|
|
@@ -1915,7 +1847,7 @@ paths:
|
|
|
1915
1847
|
description: >-
|
|
1916
1848
|
Data model for the 'individualTransfer' while
|
|
1917
1849
|
accepting party or quote.
|
|
1918
|
-
properties: &
|
|
1850
|
+
properties: &ref_31
|
|
1919
1851
|
homeTransactionId:
|
|
1920
1852
|
title: CorrelationId
|
|
1921
1853
|
type: string
|
|
@@ -1948,20 +1880,20 @@ paths:
|
|
|
1948
1880
|
characters long, 32 hexadecimal symbols and 4
|
|
1949
1881
|
dashes (‘-‘).
|
|
1950
1882
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
1951
|
-
required: &
|
|
1883
|
+
required: &ref_32
|
|
1952
1884
|
- homeTransactionId
|
|
1953
1885
|
- transactionId
|
|
1954
1886
|
- type: object
|
|
1955
|
-
required: *
|
|
1956
|
-
properties: *
|
|
1887
|
+
required: *ref_29
|
|
1888
|
+
properties: *ref_30
|
|
1957
1889
|
- description: >-
|
|
1958
1890
|
The object sent back as confirmation of quotes when
|
|
1959
1891
|
autoAcceptQuotes is false.
|
|
1960
1892
|
type: object
|
|
1961
|
-
required: &
|
|
1893
|
+
required: &ref_38
|
|
1962
1894
|
- bulkHomeTransactionID
|
|
1963
1895
|
- individualTransfers
|
|
1964
|
-
properties: &
|
|
1896
|
+
properties: &ref_39
|
|
1965
1897
|
bulkHomeTransactionID:
|
|
1966
1898
|
type: string
|
|
1967
1899
|
description: >-
|
|
@@ -1979,18 +1911,18 @@ paths:
|
|
|
1979
1911
|
description: >-
|
|
1980
1912
|
Data model for the 'individualTransfer' while
|
|
1981
1913
|
accepting party or quote.
|
|
1982
|
-
properties: *
|
|
1983
|
-
required: *
|
|
1914
|
+
properties: *ref_31
|
|
1915
|
+
required: *ref_32
|
|
1984
1916
|
- type: object
|
|
1985
|
-
required: *
|
|
1986
|
-
properties: *
|
|
1917
|
+
required: *ref_33
|
|
1918
|
+
properties: *ref_34
|
|
1987
1919
|
required: true
|
|
1988
1920
|
responses:
|
|
1989
1921
|
'202':
|
|
1990
|
-
description: Bulk
|
|
1922
|
+
description: Bulk transaction information successfully amended
|
|
1991
1923
|
'400':
|
|
1992
1924
|
description: Malformed or missing required body, headers or parameters
|
|
1993
|
-
content: &
|
|
1925
|
+
content: &ref_136
|
|
1994
1926
|
application/json:
|
|
1995
1927
|
schema:
|
|
1996
1928
|
oneOf:
|
|
@@ -1999,7 +1931,7 @@ paths:
|
|
|
1999
1931
|
properties: *ref_22
|
|
2000
1932
|
- type: object
|
|
2001
1933
|
required:
|
|
2002
|
-
-
|
|
1934
|
+
- bulkTransferState
|
|
2003
1935
|
properties:
|
|
2004
1936
|
bulkTransferState:
|
|
2005
1937
|
allOf:
|
|
@@ -2007,8 +1939,8 @@ paths:
|
|
|
2007
1939
|
The object sent back as confirmation of payee
|
|
2008
1940
|
parties when autoAcceptParty is false.
|
|
2009
1941
|
type: object
|
|
2010
|
-
required: *
|
|
2011
|
-
properties: *
|
|
1942
|
+
required: *ref_35
|
|
1943
|
+
properties: *ref_36
|
|
2012
1944
|
- type: object
|
|
2013
1945
|
description: >-
|
|
2014
1946
|
This object represents a Mojaloop API error
|
|
@@ -2029,7 +1961,7 @@ paths:
|
|
|
2029
1961
|
API exchange, this property will contain
|
|
2030
1962
|
the underlying Mojaloop API error object.
|
|
2031
1963
|
type: object
|
|
2032
|
-
properties: *
|
|
1964
|
+
properties: *ref_37
|
|
2033
1965
|
- allOf: &ref_92
|
|
2034
1966
|
- type: object
|
|
2035
1967
|
properties: *ref_22
|
|
@@ -2043,13 +1975,13 @@ paths:
|
|
|
2043
1975
|
The object sent back as confirmation of quotes
|
|
2044
1976
|
when autoAcceptQuotes is false.
|
|
2045
1977
|
type: object
|
|
2046
|
-
required: *
|
|
2047
|
-
properties: *
|
|
1978
|
+
required: *ref_38
|
|
1979
|
+
properties: *ref_39
|
|
2048
1980
|
- type: object
|
|
2049
1981
|
description: >-
|
|
2050
1982
|
This object represents a Mojaloop API error
|
|
2051
1983
|
received at any time during the quote process
|
|
2052
|
-
properties: &
|
|
1984
|
+
properties: &ref_44
|
|
2053
1985
|
httpStatusCode:
|
|
2054
1986
|
type: integer
|
|
2055
1987
|
description: >-
|
|
@@ -2064,7 +1996,266 @@ paths:
|
|
|
2064
1996
|
API exchange, this property will contain
|
|
2065
1997
|
the underlying Mojaloop API error object.
|
|
2066
1998
|
type: object
|
|
2067
|
-
properties: *
|
|
1999
|
+
properties: *ref_37
|
|
2000
|
+
'500':
|
|
2001
|
+
description: An error occurred processing the bulk transaction
|
|
2002
|
+
content:
|
|
2003
|
+
application/json:
|
|
2004
|
+
schema:
|
|
2005
|
+
type: object
|
|
2006
|
+
properties: *ref_22
|
|
2007
|
+
/bulkTransfers:
|
|
2008
|
+
post:
|
|
2009
|
+
summary: Sends money from one account to multiple accounts
|
|
2010
|
+
description: >
|
|
2011
|
+
The HTTP request `POST /bulkTransfers` is used to request the movement
|
|
2012
|
+
of funds from payer DFSP to payees' DFSP.
|
|
2013
|
+
tags:
|
|
2014
|
+
- BulkTransfers
|
|
2015
|
+
requestBody:
|
|
2016
|
+
description: Bulk transfer request body
|
|
2017
|
+
content:
|
|
2018
|
+
application/json:
|
|
2019
|
+
schema:
|
|
2020
|
+
type: object
|
|
2021
|
+
required: &ref_95
|
|
2022
|
+
- homeTransactionId
|
|
2023
|
+
- from
|
|
2024
|
+
- individualTransfers
|
|
2025
|
+
properties: &ref_96
|
|
2026
|
+
homeTransactionId:
|
|
2027
|
+
type: string
|
|
2028
|
+
description: >-
|
|
2029
|
+
Transaction ID from the DFSP backend, used to reconcile
|
|
2030
|
+
transactions between the Switch and DFSP backend systems.
|
|
2031
|
+
bulkTransferId:
|
|
2032
|
+
title: CorrelationId
|
|
2033
|
+
type: string
|
|
2034
|
+
pattern: >-
|
|
2035
|
+
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
2036
|
+
description: >-
|
|
2037
|
+
Identifier that correlates all messages of the same
|
|
2038
|
+
sequence. The API data type UUID (Universally Unique
|
|
2039
|
+
Identifier) is a JSON String in canonical format, conforming
|
|
2040
|
+
to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is
|
|
2041
|
+
restricted by a regular expression for interoperability
|
|
2042
|
+
reasons. A UUID is always 36 characters long, 32 hexadecimal
|
|
2043
|
+
symbols and 4 dashes (‘-‘).
|
|
2044
|
+
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2045
|
+
from:
|
|
2046
|
+
type: object
|
|
2047
|
+
required: *ref_0
|
|
2048
|
+
properties: *ref_1
|
|
2049
|
+
individualTransfers:
|
|
2050
|
+
description: List of individual transfers in a bulk transfer.
|
|
2051
|
+
type: array
|
|
2052
|
+
minItems: 1
|
|
2053
|
+
maxItems: 1000
|
|
2054
|
+
items:
|
|
2055
|
+
title: IndividualTransfer
|
|
2056
|
+
type: object
|
|
2057
|
+
description: Data model for the complex type 'individualTransfer'.
|
|
2058
|
+
properties: &ref_93
|
|
2059
|
+
transferId:
|
|
2060
|
+
title: CorrelationId
|
|
2061
|
+
type: string
|
|
2062
|
+
pattern: >-
|
|
2063
|
+
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
2064
|
+
description: >-
|
|
2065
|
+
Identifier that correlates all messages of the same
|
|
2066
|
+
sequence. The API data type UUID (Universally Unique
|
|
2067
|
+
Identifier) is a JSON String in canonical format,
|
|
2068
|
+
conforming to [RFC
|
|
2069
|
+
4122](https://tools.ietf.org/html/rfc4122), that is
|
|
2070
|
+
restricted by a regular expression for
|
|
2071
|
+
interoperability reasons. A UUID is always 36
|
|
2072
|
+
characters long, 32 hexadecimal symbols and 4 dashes
|
|
2073
|
+
(‘-‘).
|
|
2074
|
+
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2075
|
+
to:
|
|
2076
|
+
type: object
|
|
2077
|
+
required: *ref_0
|
|
2078
|
+
properties: *ref_1
|
|
2079
|
+
amountType:
|
|
2080
|
+
title: AmountType
|
|
2081
|
+
type: string
|
|
2082
|
+
enum: *ref_3
|
|
2083
|
+
description: >-
|
|
2084
|
+
Below are the allowed values for the enumeration
|
|
2085
|
+
AmountType.
|
|
2086
|
+
|
|
2087
|
+
- SEND - Amount the Payer would like to send, that is,
|
|
2088
|
+
the amount that should be withdrawn from the Payer
|
|
2089
|
+
account including any fees.
|
|
2090
|
+
|
|
2091
|
+
- RECEIVE - Amount the Payer would like the Payee to
|
|
2092
|
+
receive, that is, the amount that should be sent to
|
|
2093
|
+
the receiver exclusive of any fees.
|
|
2094
|
+
example: RECEIVE
|
|
2095
|
+
currency:
|
|
2096
|
+
title: Currency
|
|
2097
|
+
description: >-
|
|
2098
|
+
The currency codes defined in [ISO
|
|
2099
|
+
4217](https://www.iso.org/iso-4217-currency-codes.html)
|
|
2100
|
+
as three-letter alphabetic codes are used as the
|
|
2101
|
+
standard naming representation for currencies.
|
|
2102
|
+
type: string
|
|
2103
|
+
minLength: 3
|
|
2104
|
+
maxLength: 3
|
|
2105
|
+
enum: *ref_4
|
|
2106
|
+
amount:
|
|
2107
|
+
title: Amount
|
|
2108
|
+
type: string
|
|
2109
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
|
2110
|
+
description: >-
|
|
2111
|
+
The API data type Amount is a JSON String in a
|
|
2112
|
+
canonical format that is restricted by a regular
|
|
2113
|
+
expression for interoperability reasons. This pattern
|
|
2114
|
+
does not allow any trailing zeroes at all, but allows
|
|
2115
|
+
an amount without a minor currency unit. It also only
|
|
2116
|
+
allows four digits in the minor currency unit; a
|
|
2117
|
+
negative value is not allowed. Using more than 18
|
|
2118
|
+
digits in the major currency unit is not allowed.
|
|
2119
|
+
example: '123.45'
|
|
2120
|
+
transactionType:
|
|
2121
|
+
type: string
|
|
2122
|
+
enum: *ref_5
|
|
2123
|
+
description: Type of transaction.
|
|
2124
|
+
note:
|
|
2125
|
+
title: Note
|
|
2126
|
+
type: string
|
|
2127
|
+
minLength: 1
|
|
2128
|
+
maxLength: 128
|
|
2129
|
+
description: Memo assigned to transaction.
|
|
2130
|
+
example: Note sent to Payee.
|
|
2131
|
+
extensions:
|
|
2132
|
+
title: ExtensionList
|
|
2133
|
+
type: object
|
|
2134
|
+
description: >-
|
|
2135
|
+
Data model for the complex type ExtensionList. An
|
|
2136
|
+
optional list of extensions, specific to deployment.
|
|
2137
|
+
properties: *ref_10
|
|
2138
|
+
required: *ref_11
|
|
2139
|
+
required: &ref_94
|
|
2140
|
+
- transferId
|
|
2141
|
+
- to
|
|
2142
|
+
- amountType
|
|
2143
|
+
- currency
|
|
2144
|
+
- amount
|
|
2145
|
+
extensions:
|
|
2146
|
+
title: ExtensionList
|
|
2147
|
+
type: object
|
|
2148
|
+
description: >-
|
|
2149
|
+
Data model for the complex type ExtensionList. An optional
|
|
2150
|
+
list of extensions, specific to deployment.
|
|
2151
|
+
properties: *ref_10
|
|
2152
|
+
required: *ref_11
|
|
2153
|
+
required: true
|
|
2154
|
+
responses:
|
|
2155
|
+
'200':
|
|
2156
|
+
description: Bulk transfer completed successfully
|
|
2157
|
+
content: &ref_137
|
|
2158
|
+
application/json:
|
|
2159
|
+
schema:
|
|
2160
|
+
type: object
|
|
2161
|
+
required: *ref_40
|
|
2162
|
+
properties: *ref_41
|
|
2163
|
+
'400':
|
|
2164
|
+
description: Malformed or missing required body, headers or parameters
|
|
2165
|
+
content: *ref_42
|
|
2166
|
+
'500':
|
|
2167
|
+
description: Internal Server Error
|
|
2168
|
+
content: *ref_43
|
|
2169
|
+
/bulkTransfers/{bulkTransferId}:
|
|
2170
|
+
get:
|
|
2171
|
+
summary: Retrieves information for a specific bulk transfer
|
|
2172
|
+
description: >-
|
|
2173
|
+
The HTTP request `GET /bulkTransfers/{bulkTransferId}` is used to get
|
|
2174
|
+
information regarding a bulk transfer created or requested earlier. The
|
|
2175
|
+
`{bulkTransferId}` in the URI should contain the `bulkTransferId` that
|
|
2176
|
+
was used for the creation of the bulk transfer.
|
|
2177
|
+
tags:
|
|
2178
|
+
- BulkTransfers
|
|
2179
|
+
parameters:
|
|
2180
|
+
- name: bulkTransferId
|
|
2181
|
+
in: path
|
|
2182
|
+
required: true
|
|
2183
|
+
schema: &ref_152
|
|
2184
|
+
title: CorrelationId
|
|
2185
|
+
type: string
|
|
2186
|
+
pattern: >-
|
|
2187
|
+
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
2188
|
+
description: >-
|
|
2189
|
+
Identifier that correlates all messages of the same sequence. The
|
|
2190
|
+
API data type UUID (Universally Unique Identifier) is a JSON
|
|
2191
|
+
String in canonical format, conforming to [RFC
|
|
2192
|
+
4122](https://tools.ietf.org/html/rfc4122), that is restricted by
|
|
2193
|
+
a regular expression for interoperability reasons. A UUID is
|
|
2194
|
+
always 36 characters long, 32 hexadecimal symbols and 4 dashes
|
|
2195
|
+
(‘-‘).
|
|
2196
|
+
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2197
|
+
description: >-
|
|
2198
|
+
Identifier of the bulk transfer to continue as returned in the
|
|
2199
|
+
response to a `POST /bulkTransfers` request.
|
|
2200
|
+
responses:
|
|
2201
|
+
'200':
|
|
2202
|
+
description: Bulk transfer information successfully retrieved
|
|
2203
|
+
content:
|
|
2204
|
+
application/json:
|
|
2205
|
+
schema:
|
|
2206
|
+
type: object
|
|
2207
|
+
required: &ref_99
|
|
2208
|
+
- bulkTransferId
|
|
2209
|
+
- currentState
|
|
2210
|
+
- fulfils
|
|
2211
|
+
properties: &ref_100
|
|
2212
|
+
bulkTransferId:
|
|
2213
|
+
title: CorrelationId
|
|
2214
|
+
type: string
|
|
2215
|
+
pattern: >-
|
|
2216
|
+
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
2217
|
+
description: >-
|
|
2218
|
+
Identifier that correlates all messages of the same
|
|
2219
|
+
sequence. The API data type UUID (Universally Unique
|
|
2220
|
+
Identifier) is a JSON String in canonical format,
|
|
2221
|
+
conforming to [RFC
|
|
2222
|
+
4122](https://tools.ietf.org/html/rfc4122), that is
|
|
2223
|
+
restricted by a regular expression for interoperability
|
|
2224
|
+
reasons. A UUID is always 36 characters long, 32
|
|
2225
|
+
hexadecimal symbols and 4 dashes (‘-‘).
|
|
2226
|
+
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2227
|
+
currentState:
|
|
2228
|
+
type: string
|
|
2229
|
+
enum: &ref_97
|
|
2230
|
+
- ERROR_OCCURRED
|
|
2231
|
+
- COMPLETED
|
|
2232
|
+
fulfils:
|
|
2233
|
+
type: array
|
|
2234
|
+
minItems: 1
|
|
2235
|
+
maxItems: 1000
|
|
2236
|
+
items:
|
|
2237
|
+
type: object
|
|
2238
|
+
description: >-
|
|
2239
|
+
A Mojaloop API transfer fulfilment for individual
|
|
2240
|
+
transfers in a bulk transfer
|
|
2241
|
+
properties: &ref_98
|
|
2242
|
+
fulfilment:
|
|
2243
|
+
description: >-
|
|
2244
|
+
Fulfilment that must be attached to the transfer by
|
|
2245
|
+
the Payee.
|
|
2246
|
+
title: IlpFulfilment
|
|
2247
|
+
type: string
|
|
2248
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
|
2249
|
+
maxLength: 48
|
|
2250
|
+
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
|
2251
|
+
extensionList:
|
|
2252
|
+
description: >-
|
|
2253
|
+
Data model for the complex type ExtensionList. An
|
|
2254
|
+
optional list of extensions, specific to deployment.
|
|
2255
|
+
title: ExtensionList
|
|
2256
|
+
type: object
|
|
2257
|
+
properties: *ref_10
|
|
2258
|
+
required: *ref_11
|
|
2068
2259
|
'500':
|
|
2069
2260
|
description: An error occurred processing the bulk transfer
|
|
2070
2261
|
content:
|
|
@@ -2086,11 +2277,11 @@ paths:
|
|
|
2086
2277
|
application/json:
|
|
2087
2278
|
schema:
|
|
2088
2279
|
type: object
|
|
2089
|
-
required: &
|
|
2280
|
+
required: &ref_101
|
|
2090
2281
|
- homeTransactionId
|
|
2091
2282
|
- from
|
|
2092
2283
|
- individualQuotes
|
|
2093
|
-
properties: &
|
|
2284
|
+
properties: &ref_102
|
|
2094
2285
|
homeTransactionId:
|
|
2095
2286
|
type: string
|
|
2096
2287
|
description: >-
|
|
@@ -2123,7 +2314,7 @@ paths:
|
|
|
2123
2314
|
title: IndividualQuote
|
|
2124
2315
|
type: object
|
|
2125
2316
|
description: Data model for the complex type 'individualQuote'.
|
|
2126
|
-
properties: &
|
|
2317
|
+
properties: &ref_48
|
|
2127
2318
|
quoteId:
|
|
2128
2319
|
title: CorrelationId
|
|
2129
2320
|
type: string
|
|
@@ -2204,7 +2395,7 @@ paths:
|
|
|
2204
2395
|
optional list of extensions, specific to deployment.
|
|
2205
2396
|
properties: *ref_10
|
|
2206
2397
|
required: *ref_11
|
|
2207
|
-
required: &
|
|
2398
|
+
required: &ref_49
|
|
2208
2399
|
- quoteId
|
|
2209
2400
|
- to
|
|
2210
2401
|
- amountType
|
|
@@ -2222,14 +2413,14 @@ paths:
|
|
|
2222
2413
|
responses:
|
|
2223
2414
|
'200':
|
|
2224
2415
|
description: Bulk quote completed successfully
|
|
2225
|
-
content: &
|
|
2416
|
+
content: &ref_138
|
|
2226
2417
|
application/json:
|
|
2227
2418
|
schema:
|
|
2228
2419
|
type: object
|
|
2229
|
-
required: &
|
|
2420
|
+
required: &ref_45
|
|
2230
2421
|
- from
|
|
2231
2422
|
- individualQuoteResults
|
|
2232
|
-
properties: &
|
|
2423
|
+
properties: &ref_46
|
|
2233
2424
|
quoteId:
|
|
2234
2425
|
title: CorrelationId
|
|
2235
2426
|
type: string
|
|
@@ -2259,7 +2450,7 @@ paths:
|
|
|
2259
2450
|
maxItems: 1000
|
|
2260
2451
|
items:
|
|
2261
2452
|
type: object
|
|
2262
|
-
properties: &
|
|
2453
|
+
properties: &ref_103
|
|
2263
2454
|
quoteId:
|
|
2264
2455
|
title: CorrelationId
|
|
2265
2456
|
type: string
|
|
@@ -2338,16 +2529,16 @@ paths:
|
|
|
2338
2529
|
This object represents a Mojaloop API error received
|
|
2339
2530
|
at any time during the quote process
|
|
2340
2531
|
type: object
|
|
2341
|
-
properties: *
|
|
2532
|
+
properties: *ref_44
|
|
2342
2533
|
description: >-
|
|
2343
2534
|
List of individualQuoteResults in a bulk transfer
|
|
2344
2535
|
response.
|
|
2345
2536
|
'400':
|
|
2346
2537
|
description: Malformed or missing required body, headers or parameters
|
|
2347
|
-
content: &
|
|
2538
|
+
content: &ref_139
|
|
2348
2539
|
application/json:
|
|
2349
2540
|
schema:
|
|
2350
|
-
allOf: &
|
|
2541
|
+
allOf: &ref_47
|
|
2351
2542
|
- type: object
|
|
2352
2543
|
properties: *ref_22
|
|
2353
2544
|
- type: object
|
|
@@ -2356,20 +2547,20 @@ paths:
|
|
|
2356
2547
|
properties:
|
|
2357
2548
|
bulkQuoteState:
|
|
2358
2549
|
type: object
|
|
2359
|
-
required: *
|
|
2360
|
-
properties: *
|
|
2550
|
+
required: *ref_45
|
|
2551
|
+
properties: *ref_46
|
|
2361
2552
|
'500':
|
|
2362
2553
|
description: An error occurred processing the bulk quote
|
|
2363
|
-
content: &
|
|
2554
|
+
content: &ref_140
|
|
2364
2555
|
application/json:
|
|
2365
2556
|
schema:
|
|
2366
|
-
allOf: *
|
|
2557
|
+
allOf: *ref_47
|
|
2367
2558
|
'504':
|
|
2368
2559
|
description: Timeout occurred processing the bulk quote
|
|
2369
|
-
content: &
|
|
2560
|
+
content: &ref_141
|
|
2370
2561
|
application/json:
|
|
2371
2562
|
schema:
|
|
2372
|
-
allOf: *
|
|
2563
|
+
allOf: *ref_47
|
|
2373
2564
|
/bulkQuotes/{bulkQuoteId}:
|
|
2374
2565
|
get:
|
|
2375
2566
|
summary: Retrieves information for a specific bulk quote
|
|
@@ -2384,7 +2575,7 @@ paths:
|
|
|
2384
2575
|
- name: bulkQuoteId
|
|
2385
2576
|
in: path
|
|
2386
2577
|
required: true
|
|
2387
|
-
schema: &
|
|
2578
|
+
schema: &ref_153
|
|
2388
2579
|
title: CorrelationId
|
|
2389
2580
|
type: string
|
|
2390
2581
|
pattern: >-
|
|
@@ -2408,11 +2599,11 @@ paths:
|
|
|
2408
2599
|
application/json:
|
|
2409
2600
|
schema:
|
|
2410
2601
|
type: object
|
|
2411
|
-
required: &
|
|
2602
|
+
required: &ref_105
|
|
2412
2603
|
- bulkQuoteId
|
|
2413
2604
|
- currentState
|
|
2414
2605
|
- individualQuotes
|
|
2415
|
-
properties: &
|
|
2606
|
+
properties: &ref_106
|
|
2416
2607
|
bulkQuoteId:
|
|
2417
2608
|
title: CorrelationId
|
|
2418
2609
|
type: string
|
|
@@ -2430,7 +2621,7 @@ paths:
|
|
|
2430
2621
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2431
2622
|
currentState:
|
|
2432
2623
|
type: string
|
|
2433
|
-
enum: &
|
|
2624
|
+
enum: &ref_104
|
|
2434
2625
|
- ERROR_OCCURRED
|
|
2435
2626
|
- COMPLETED
|
|
2436
2627
|
individualQuotes:
|
|
@@ -2441,8 +2632,8 @@ paths:
|
|
|
2441
2632
|
title: IndividualQuote
|
|
2442
2633
|
type: object
|
|
2443
2634
|
description: Data model for the complex type 'individualQuote'.
|
|
2444
|
-
properties: *
|
|
2445
|
-
required: *
|
|
2635
|
+
properties: *ref_48
|
|
2636
|
+
required: *ref_49
|
|
2446
2637
|
'500':
|
|
2447
2638
|
description: An error occurred processing the bulk quote
|
|
2448
2639
|
content:
|
|
@@ -2469,7 +2660,7 @@ paths:
|
|
|
2469
2660
|
application/json:
|
|
2470
2661
|
schema:
|
|
2471
2662
|
type: object
|
|
2472
|
-
required: &
|
|
2663
|
+
required: &ref_107
|
|
2473
2664
|
- homeTransactionId
|
|
2474
2665
|
- from
|
|
2475
2666
|
- to
|
|
@@ -2479,7 +2670,7 @@ paths:
|
|
|
2479
2670
|
- scenario
|
|
2480
2671
|
- initiator
|
|
2481
2672
|
- initiatorType
|
|
2482
|
-
properties: &
|
|
2673
|
+
properties: &ref_108
|
|
2483
2674
|
homeTransactionId:
|
|
2484
2675
|
type: string
|
|
2485
2676
|
description: >-
|
|
@@ -2534,13 +2725,12 @@ paths:
|
|
|
2534
2725
|
example: '123.45'
|
|
2535
2726
|
scenario:
|
|
2536
2727
|
type: string
|
|
2537
|
-
enum:
|
|
2538
|
-
- TRANSFER
|
|
2728
|
+
enum: *ref_5
|
|
2539
2729
|
description: Type of transaction.
|
|
2540
2730
|
initiator:
|
|
2541
2731
|
title: TransactionInitiator
|
|
2542
2732
|
type: string
|
|
2543
|
-
enum: &
|
|
2733
|
+
enum: &ref_51
|
|
2544
2734
|
- PAYER
|
|
2545
2735
|
- PAYEE
|
|
2546
2736
|
description: >-
|
|
@@ -2559,7 +2749,7 @@ paths:
|
|
|
2559
2749
|
initiatorType:
|
|
2560
2750
|
title: TransactionInitiatorType
|
|
2561
2751
|
type: string
|
|
2562
|
-
enum: *
|
|
2752
|
+
enum: *ref_50
|
|
2563
2753
|
description: |-
|
|
2564
2754
|
Below are the allowed values for the enumeration.
|
|
2565
2755
|
- CONSUMER - Consumer is the initiator of the transaction.
|
|
@@ -2571,11 +2761,11 @@ paths:
|
|
|
2571
2761
|
responses:
|
|
2572
2762
|
'200':
|
|
2573
2763
|
description: Request to Pay completed successfully
|
|
2574
|
-
content: &
|
|
2764
|
+
content: &ref_142
|
|
2575
2765
|
application/json:
|
|
2576
2766
|
schema:
|
|
2577
2767
|
type: object
|
|
2578
|
-
required: &
|
|
2768
|
+
required: &ref_111
|
|
2579
2769
|
- transactionRequestId
|
|
2580
2770
|
- from
|
|
2581
2771
|
- to
|
|
@@ -2584,7 +2774,7 @@ paths:
|
|
|
2584
2774
|
- amount
|
|
2585
2775
|
- transactionType
|
|
2586
2776
|
- requestToPayState
|
|
2587
|
-
properties: &
|
|
2777
|
+
properties: &ref_112
|
|
2588
2778
|
transactionRequestId:
|
|
2589
2779
|
title: CorrelationId
|
|
2590
2780
|
type: string
|
|
@@ -2651,12 +2841,12 @@ paths:
|
|
|
2651
2841
|
example: '123.45'
|
|
2652
2842
|
scenario:
|
|
2653
2843
|
type: string
|
|
2654
|
-
enum: *
|
|
2844
|
+
enum: *ref_5
|
|
2655
2845
|
description: Type of transaction.
|
|
2656
2846
|
initiator:
|
|
2657
2847
|
title: TransactionInitiator
|
|
2658
2848
|
type: string
|
|
2659
|
-
enum: *
|
|
2849
|
+
enum: *ref_51
|
|
2660
2850
|
description: >-
|
|
2661
2851
|
Below are the allowed values for the enumeration.
|
|
2662
2852
|
|
|
@@ -2673,7 +2863,7 @@ paths:
|
|
|
2673
2863
|
initiatorType:
|
|
2674
2864
|
title: TransactionInitiatorType
|
|
2675
2865
|
type: string
|
|
2676
|
-
enum: *
|
|
2866
|
+
enum: *ref_50
|
|
2677
2867
|
description: |-
|
|
2678
2868
|
Below are the allowed values for the enumeration.
|
|
2679
2869
|
- CONSUMER - Consumer is the initiator of the transaction.
|
|
@@ -2684,7 +2874,7 @@ paths:
|
|
|
2684
2874
|
authenticationType:
|
|
2685
2875
|
title: AuthenticationType
|
|
2686
2876
|
type: string
|
|
2687
|
-
enum: &
|
|
2877
|
+
enum: &ref_109
|
|
2688
2878
|
- OTP
|
|
2689
2879
|
- QRCODE
|
|
2690
2880
|
- U2F
|
|
@@ -2702,7 +2892,7 @@ paths:
|
|
|
2702
2892
|
requestToPayState:
|
|
2703
2893
|
title: TransactionRequestState
|
|
2704
2894
|
type: string
|
|
2705
|
-
enum: &
|
|
2895
|
+
enum: &ref_110
|
|
2706
2896
|
- RECEIVED
|
|
2707
2897
|
- PENDING
|
|
2708
2898
|
- ACCEPTED
|
|
@@ -2768,7 +2958,7 @@ paths:
|
|
|
2768
2958
|
application/json:
|
|
2769
2959
|
schema:
|
|
2770
2960
|
type: object
|
|
2771
|
-
required: &
|
|
2961
|
+
required: &ref_113
|
|
2772
2962
|
- requestToPayTransactionId
|
|
2773
2963
|
- from
|
|
2774
2964
|
- to
|
|
@@ -2778,7 +2968,7 @@ paths:
|
|
|
2778
2968
|
- scenario
|
|
2779
2969
|
- initiator
|
|
2780
2970
|
- initiatorType
|
|
2781
|
-
properties: &
|
|
2971
|
+
properties: &ref_114
|
|
2782
2972
|
requestToPayTransactionId:
|
|
2783
2973
|
type: string
|
|
2784
2974
|
description: >-
|
|
@@ -2833,12 +3023,12 @@ paths:
|
|
|
2833
3023
|
example: '123.45'
|
|
2834
3024
|
scenario:
|
|
2835
3025
|
type: string
|
|
2836
|
-
enum: *
|
|
3026
|
+
enum: *ref_5
|
|
2837
3027
|
description: Type of transaction.
|
|
2838
3028
|
initiator:
|
|
2839
3029
|
title: TransactionInitiator
|
|
2840
3030
|
type: string
|
|
2841
|
-
enum: *
|
|
3031
|
+
enum: *ref_51
|
|
2842
3032
|
description: >-
|
|
2843
3033
|
Below are the allowed values for the enumeration.
|
|
2844
3034
|
|
|
@@ -2855,7 +3045,7 @@ paths:
|
|
|
2855
3045
|
initiatorType:
|
|
2856
3046
|
title: TransactionInitiatorType
|
|
2857
3047
|
type: string
|
|
2858
|
-
enum: *
|
|
3048
|
+
enum: *ref_50
|
|
2859
3049
|
description: |-
|
|
2860
3050
|
Below are the allowed values for the enumeration.
|
|
2861
3051
|
- CONSUMER - Consumer is the initiator of the transaction.
|
|
@@ -2874,11 +3064,11 @@ paths:
|
|
|
2874
3064
|
responses:
|
|
2875
3065
|
'200':
|
|
2876
3066
|
description: Transfer completed successfully
|
|
2877
|
-
content: &
|
|
3067
|
+
content: &ref_143
|
|
2878
3068
|
application/json:
|
|
2879
3069
|
schema:
|
|
2880
3070
|
type: object
|
|
2881
|
-
required: &
|
|
3071
|
+
required: &ref_115
|
|
2882
3072
|
- requestToPayTransactionId
|
|
2883
3073
|
- from
|
|
2884
3074
|
- to
|
|
@@ -2886,7 +3076,7 @@ paths:
|
|
|
2886
3076
|
- currency
|
|
2887
3077
|
- amount
|
|
2888
3078
|
- transactionType
|
|
2889
|
-
properties: &
|
|
3079
|
+
properties: &ref_116
|
|
2890
3080
|
transferId:
|
|
2891
3081
|
title: CorrelationId
|
|
2892
3082
|
type: string
|
|
@@ -2989,8 +3179,8 @@ paths:
|
|
|
2989
3179
|
title: QuotesIDPutResponse
|
|
2990
3180
|
type: object
|
|
2991
3181
|
description: The object sent in the PUT /quotes/{ID} callback.
|
|
2992
|
-
properties: *
|
|
2993
|
-
required: *
|
|
3182
|
+
properties: *ref_27
|
|
3183
|
+
required: *ref_28
|
|
2994
3184
|
quoteResponseSource:
|
|
2995
3185
|
type: string
|
|
2996
3186
|
description: >
|
|
@@ -3012,7 +3202,7 @@ paths:
|
|
|
3012
3202
|
properties: *ref_26
|
|
3013
3203
|
'400':
|
|
3014
3204
|
description: Malformed or missing required body, headers or parameters
|
|
3015
|
-
content: &
|
|
3205
|
+
content: &ref_144
|
|
3016
3206
|
application/json:
|
|
3017
3207
|
schema:
|
|
3018
3208
|
allOf: *ref_14
|
|
@@ -3047,12 +3237,12 @@ paths:
|
|
|
3047
3237
|
schema:
|
|
3048
3238
|
oneOf:
|
|
3049
3239
|
- type: object
|
|
3050
|
-
required: *
|
|
3051
|
-
properties: *
|
|
3240
|
+
required: *ref_33
|
|
3241
|
+
properties: *ref_34
|
|
3052
3242
|
- type: object
|
|
3053
|
-
required: &
|
|
3243
|
+
required: &ref_117
|
|
3054
3244
|
- acceptOTP
|
|
3055
|
-
properties: &
|
|
3245
|
+
properties: &ref_118
|
|
3056
3246
|
acceptOTP:
|
|
3057
3247
|
type: boolean
|
|
3058
3248
|
enum:
|
|
@@ -3062,7 +3252,7 @@ paths:
|
|
|
3062
3252
|
- name: requestToPayTransactionId
|
|
3063
3253
|
in: path
|
|
3064
3254
|
required: true
|
|
3065
|
-
schema: &
|
|
3255
|
+
schema: &ref_154
|
|
3066
3256
|
title: CorrelationId
|
|
3067
3257
|
type: string
|
|
3068
3258
|
pattern: >-
|
|
@@ -3107,7 +3297,7 @@ paths:
|
|
|
3107
3297
|
application/json:
|
|
3108
3298
|
schema:
|
|
3109
3299
|
type: array
|
|
3110
|
-
items: &
|
|
3300
|
+
items: &ref_52
|
|
3111
3301
|
type: object
|
|
3112
3302
|
required:
|
|
3113
3303
|
- idType
|
|
@@ -3202,13 +3392,13 @@ paths:
|
|
|
3202
3392
|
responses:
|
|
3203
3393
|
'200':
|
|
3204
3394
|
description: Accounts creation completed
|
|
3205
|
-
content: &
|
|
3395
|
+
content: &ref_145
|
|
3206
3396
|
application/json:
|
|
3207
3397
|
schema:
|
|
3208
3398
|
type: object
|
|
3209
|
-
required: &
|
|
3399
|
+
required: &ref_53
|
|
3210
3400
|
- accounts
|
|
3211
|
-
properties: &
|
|
3401
|
+
properties: &ref_54
|
|
3212
3402
|
modelId:
|
|
3213
3403
|
title: CorrelationId
|
|
3214
3404
|
type: string
|
|
@@ -3226,10 +3416,10 @@ paths:
|
|
|
3226
3416
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
3227
3417
|
accounts:
|
|
3228
3418
|
type: array
|
|
3229
|
-
items: *
|
|
3419
|
+
items: *ref_52
|
|
3230
3420
|
response:
|
|
3231
3421
|
type: array
|
|
3232
|
-
items: &
|
|
3422
|
+
items: &ref_119
|
|
3233
3423
|
type: object
|
|
3234
3424
|
required:
|
|
3235
3425
|
- idType
|
|
@@ -3318,7 +3508,7 @@ paths:
|
|
|
3318
3508
|
properties: *ref_22
|
|
3319
3509
|
currentState:
|
|
3320
3510
|
type: string
|
|
3321
|
-
enum: &
|
|
3511
|
+
enum: &ref_120
|
|
3322
3512
|
- ERROR_OCCURRED
|
|
3323
3513
|
- COMPLETED
|
|
3324
3514
|
lastError:
|
|
@@ -3338,10 +3528,10 @@ paths:
|
|
|
3338
3528
|
type: object
|
|
3339
3529
|
'400':
|
|
3340
3530
|
description: An error occurred creating accounts
|
|
3341
|
-
content: &
|
|
3531
|
+
content: &ref_55
|
|
3342
3532
|
application/json:
|
|
3343
3533
|
schema:
|
|
3344
|
-
allOf: &
|
|
3534
|
+
allOf: &ref_56
|
|
3345
3535
|
- type: object
|
|
3346
3536
|
properties: *ref_22
|
|
3347
3537
|
- type: object
|
|
@@ -3350,23 +3540,23 @@ paths:
|
|
|
3350
3540
|
properties:
|
|
3351
3541
|
executionState:
|
|
3352
3542
|
type: object
|
|
3353
|
-
required: *
|
|
3354
|
-
properties: *
|
|
3543
|
+
required: *ref_53
|
|
3544
|
+
properties: *ref_54
|
|
3355
3545
|
'500':
|
|
3356
3546
|
description: An error occurred creating accounts
|
|
3357
|
-
content: *
|
|
3547
|
+
content: *ref_55
|
|
3358
3548
|
'504':
|
|
3359
3549
|
description: Timeout occurred creating accounts
|
|
3360
|
-
content: &
|
|
3550
|
+
content: &ref_146
|
|
3361
3551
|
application/json:
|
|
3362
3552
|
schema:
|
|
3363
|
-
allOf: *
|
|
3553
|
+
allOf: *ref_56
|
|
3364
3554
|
/parties/{Type}/{ID}:
|
|
3365
3555
|
parameters:
|
|
3366
3556
|
- name: Type
|
|
3367
3557
|
in: path
|
|
3368
3558
|
required: true
|
|
3369
|
-
schema: &
|
|
3559
|
+
schema: &ref_59
|
|
3370
3560
|
type: string
|
|
3371
3561
|
description: >-
|
|
3372
3562
|
The type of the party identifier. For example, `MSISDN`,
|
|
@@ -3374,7 +3564,7 @@ paths:
|
|
|
3374
3564
|
- name: ID
|
|
3375
3565
|
in: path
|
|
3376
3566
|
required: true
|
|
3377
|
-
schema: &
|
|
3567
|
+
schema: &ref_60
|
|
3378
3568
|
type: string
|
|
3379
3569
|
description: The identifier value.
|
|
3380
3570
|
get:
|
|
@@ -3390,13 +3580,13 @@ paths:
|
|
|
3390
3580
|
responses:
|
|
3391
3581
|
'200':
|
|
3392
3582
|
description: PartiesByIdSuccess
|
|
3393
|
-
content: &
|
|
3583
|
+
content: &ref_61
|
|
3394
3584
|
application/json:
|
|
3395
3585
|
schema:
|
|
3396
3586
|
title: partiesByIdResponse
|
|
3397
3587
|
type: object
|
|
3398
3588
|
description: GET /parties/{Type}/{ID} response object
|
|
3399
|
-
properties: &
|
|
3589
|
+
properties: &ref_121
|
|
3400
3590
|
party:
|
|
3401
3591
|
properties:
|
|
3402
3592
|
body:
|
|
@@ -3412,16 +3602,16 @@ paths:
|
|
|
3412
3602
|
- headers
|
|
3413
3603
|
currentState:
|
|
3414
3604
|
type: string
|
|
3415
|
-
enum: &
|
|
3605
|
+
enum: &ref_65
|
|
3416
3606
|
- WAITING_FOR_ACTION
|
|
3417
3607
|
- COMPLETED
|
|
3418
3608
|
- ERROR_OCCURRED
|
|
3419
|
-
required: &
|
|
3609
|
+
required: &ref_122
|
|
3420
3610
|
- party
|
|
3421
3611
|
- currentState
|
|
3422
3612
|
'404':
|
|
3423
3613
|
description: PartiesByIdError404
|
|
3424
|
-
content: &
|
|
3614
|
+
content: &ref_62
|
|
3425
3615
|
application/json:
|
|
3426
3616
|
schema:
|
|
3427
3617
|
type: object
|
|
@@ -3430,26 +3620,26 @@ paths:
|
|
|
3430
3620
|
title: ErrorInformation
|
|
3431
3621
|
type: object
|
|
3432
3622
|
description: Data model for the complex type ErrorInformation.
|
|
3433
|
-
properties: *
|
|
3434
|
-
required: *
|
|
3623
|
+
properties: *ref_57
|
|
3624
|
+
required: *ref_58
|
|
3435
3625
|
/parties/{Type}/{ID}/{SubId}:
|
|
3436
3626
|
parameters:
|
|
3437
3627
|
- name: Type
|
|
3438
3628
|
in: path
|
|
3439
3629
|
required: true
|
|
3440
|
-
schema: *
|
|
3630
|
+
schema: *ref_59
|
|
3441
3631
|
description: >-
|
|
3442
3632
|
The type of the party identifier. For example, `MSISDN`,
|
|
3443
3633
|
`PERSONAL_ID`.
|
|
3444
3634
|
- name: ID
|
|
3445
3635
|
in: path
|
|
3446
3636
|
required: true
|
|
3447
|
-
schema: *
|
|
3637
|
+
schema: *ref_60
|
|
3448
3638
|
description: The identifier value.
|
|
3449
3639
|
- name: SubId
|
|
3450
3640
|
in: path
|
|
3451
3641
|
required: true
|
|
3452
|
-
schema: &
|
|
3642
|
+
schema: &ref_155
|
|
3453
3643
|
type: string
|
|
3454
3644
|
description: >-
|
|
3455
3645
|
A sub-identifier of the party identifier, or a sub-type of the party
|
|
@@ -3467,10 +3657,10 @@ paths:
|
|
|
3467
3657
|
responses:
|
|
3468
3658
|
'200':
|
|
3469
3659
|
description: PartiesByIdSuccess
|
|
3470
|
-
content: *
|
|
3660
|
+
content: *ref_61
|
|
3471
3661
|
'404':
|
|
3472
3662
|
description: PartiesByIdError404
|
|
3473
|
-
content: *
|
|
3663
|
+
content: *ref_62
|
|
3474
3664
|
/quotes:
|
|
3475
3665
|
post:
|
|
3476
3666
|
summary: Quotes endpoint
|
|
@@ -3486,7 +3676,7 @@ paths:
|
|
|
3486
3676
|
title: QuotesPostRequest
|
|
3487
3677
|
type: object
|
|
3488
3678
|
description: The object sent in the POST /quotes request.
|
|
3489
|
-
properties: &
|
|
3679
|
+
properties: &ref_123
|
|
3490
3680
|
quoteId:
|
|
3491
3681
|
title: CorrelationId
|
|
3492
3682
|
type: string
|
|
@@ -3570,7 +3760,7 @@ paths:
|
|
|
3570
3760
|
required: *ref_7
|
|
3571
3761
|
transactionType:
|
|
3572
3762
|
type: string
|
|
3573
|
-
enum: *
|
|
3763
|
+
enum: *ref_5
|
|
3574
3764
|
description: Type of transaction.
|
|
3575
3765
|
geoCode:
|
|
3576
3766
|
title: GeoCode
|
|
@@ -3579,8 +3769,8 @@ paths:
|
|
|
3579
3769
|
Data model for the complex type GeoCode. Indicates the
|
|
3580
3770
|
geographic location from where the transaction was
|
|
3581
3771
|
initiated.
|
|
3582
|
-
properties: *
|
|
3583
|
-
required: *
|
|
3772
|
+
properties: *ref_63
|
|
3773
|
+
required: *ref_64
|
|
3584
3774
|
note:
|
|
3585
3775
|
title: Note
|
|
3586
3776
|
type: string
|
|
@@ -3612,7 +3802,7 @@ paths:
|
|
|
3612
3802
|
list of extensions, specific to deployment.
|
|
3613
3803
|
properties: *ref_10
|
|
3614
3804
|
required: *ref_11
|
|
3615
|
-
required: &
|
|
3805
|
+
required: &ref_124
|
|
3616
3806
|
- quoteId
|
|
3617
3807
|
- transactionId
|
|
3618
3808
|
- payee
|
|
@@ -3624,12 +3814,12 @@ paths:
|
|
|
3624
3814
|
responses:
|
|
3625
3815
|
'200':
|
|
3626
3816
|
description: sync response from POST /quotes
|
|
3627
|
-
content: &
|
|
3817
|
+
content: &ref_147
|
|
3628
3818
|
application/json:
|
|
3629
3819
|
schema:
|
|
3630
3820
|
title: QuotesPostResponse
|
|
3631
3821
|
type: object
|
|
3632
|
-
properties: &
|
|
3822
|
+
properties: &ref_125
|
|
3633
3823
|
quotes:
|
|
3634
3824
|
title: QuotesIDPutResponse
|
|
3635
3825
|
type: object
|
|
@@ -3676,8 +3866,8 @@ paths:
|
|
|
3676
3866
|
Data model for the complex type GeoCode. Indicates
|
|
3677
3867
|
the geographic location from where the transaction
|
|
3678
3868
|
was initiated.
|
|
3679
|
-
properties: *
|
|
3680
|
-
required: *
|
|
3869
|
+
properties: *ref_63
|
|
3870
|
+
required: *ref_64
|
|
3681
3871
|
ilpPacket:
|
|
3682
3872
|
title: IlpPacket
|
|
3683
3873
|
type: string
|
|
@@ -3718,16 +3908,16 @@ paths:
|
|
|
3718
3908
|
- headers
|
|
3719
3909
|
currentState:
|
|
3720
3910
|
type: string
|
|
3721
|
-
enum: *
|
|
3722
|
-
required: &
|
|
3911
|
+
enum: *ref_65
|
|
3912
|
+
required: &ref_126
|
|
3723
3913
|
- quotes
|
|
3724
3914
|
- currentState
|
|
3725
3915
|
'500':
|
|
3726
3916
|
description: An error occurred processing the quotes request
|
|
3727
|
-
content: &
|
|
3917
|
+
content: &ref_148
|
|
3728
3918
|
application/json:
|
|
3729
3919
|
schema:
|
|
3730
|
-
allOf: &
|
|
3920
|
+
allOf: &ref_127
|
|
3731
3921
|
- type: object
|
|
3732
3922
|
properties: *ref_22
|
|
3733
3923
|
- type: object
|
|
@@ -3745,7 +3935,7 @@ paths:
|
|
|
3745
3935
|
schema:
|
|
3746
3936
|
title: SimpleTransfersPostRequest
|
|
3747
3937
|
type: object
|
|
3748
|
-
properties: &
|
|
3938
|
+
properties: &ref_130
|
|
3749
3939
|
fspId:
|
|
3750
3940
|
title: FspId
|
|
3751
3941
|
type: string
|
|
@@ -3756,7 +3946,7 @@ paths:
|
|
|
3756
3946
|
title: TransfersPostRequest
|
|
3757
3947
|
type: object
|
|
3758
3948
|
description: The object sent in the POST /transfers request.
|
|
3759
|
-
properties: &
|
|
3949
|
+
properties: &ref_128
|
|
3760
3950
|
transferId:
|
|
3761
3951
|
title: CorrelationId
|
|
3762
3952
|
type: string
|
|
@@ -3833,7 +4023,7 @@ paths:
|
|
|
3833
4023
|
optional list of extensions, specific to deployment.
|
|
3834
4024
|
properties: *ref_10
|
|
3835
4025
|
required: *ref_11
|
|
3836
|
-
required: &
|
|
4026
|
+
required: &ref_129
|
|
3837
4027
|
- transferId
|
|
3838
4028
|
- payeeFsp
|
|
3839
4029
|
- payerFsp
|
|
@@ -3841,19 +4031,19 @@ paths:
|
|
|
3841
4031
|
- ilpPacket
|
|
3842
4032
|
- condition
|
|
3843
4033
|
- expiration
|
|
3844
|
-
required: &
|
|
4034
|
+
required: &ref_131
|
|
3845
4035
|
- fspId
|
|
3846
4036
|
- transfersPostRequest
|
|
3847
4037
|
required: true
|
|
3848
4038
|
responses:
|
|
3849
4039
|
'200':
|
|
3850
4040
|
description: sync response from POST /simpleTransfers
|
|
3851
|
-
content: &
|
|
4041
|
+
content: &ref_149
|
|
3852
4042
|
application/json:
|
|
3853
4043
|
schema:
|
|
3854
4044
|
title: SimpleTransfersPostResponse
|
|
3855
4045
|
type: object
|
|
3856
|
-
properties: &
|
|
4046
|
+
properties: &ref_132
|
|
3857
4047
|
transfer:
|
|
3858
4048
|
properties:
|
|
3859
4049
|
body:
|
|
@@ -3869,16 +4059,16 @@ paths:
|
|
|
3869
4059
|
- headers
|
|
3870
4060
|
currentState:
|
|
3871
4061
|
type: string
|
|
3872
|
-
enum: *
|
|
3873
|
-
required: &
|
|
4062
|
+
enum: *ref_65
|
|
4063
|
+
required: &ref_133
|
|
3874
4064
|
- transfer
|
|
3875
4065
|
- currentState
|
|
3876
4066
|
'500':
|
|
3877
4067
|
description: An error occurred processing the simple transfers request
|
|
3878
|
-
content: &
|
|
4068
|
+
content: &ref_150
|
|
3879
4069
|
application/json:
|
|
3880
4070
|
schema:
|
|
3881
|
-
allOf: &
|
|
4071
|
+
allOf: &ref_134
|
|
3882
4072
|
- type: object
|
|
3883
4073
|
properties: *ref_22
|
|
3884
4074
|
- type: object
|
|
@@ -3887,7 +4077,7 @@ components:
|
|
|
3887
4077
|
TransactionInitiatorType:
|
|
3888
4078
|
title: TransactionInitiatorType
|
|
3889
4079
|
type: string
|
|
3890
|
-
enum: *
|
|
4080
|
+
enum: *ref_50
|
|
3891
4081
|
description: |-
|
|
3892
4082
|
Below are the allowed values for the enumeration.
|
|
3893
4083
|
- CONSUMER - Consumer is the initiator of the transaction.
|
|
@@ -4093,7 +4283,7 @@ components:
|
|
|
4093
4283
|
minor currency unit; a negative value is not allowed. Using more than 18
|
|
4094
4284
|
digits in the major currency unit is not allowed.
|
|
4095
4285
|
example: '123.45'
|
|
4096
|
-
|
|
4286
|
+
TransactionType:
|
|
4097
4287
|
type: string
|
|
4098
4288
|
enum: *ref_5
|
|
4099
4289
|
description: Type of transaction.
|
|
@@ -4106,8 +4296,8 @@ components:
|
|
|
4106
4296
|
example: Note sent to Payee.
|
|
4107
4297
|
transferRequest:
|
|
4108
4298
|
type: object
|
|
4109
|
-
required: *
|
|
4110
|
-
properties: *
|
|
4299
|
+
required: *ref_66
|
|
4300
|
+
properties: *ref_67
|
|
4111
4301
|
CorrelationId:
|
|
4112
4302
|
title: CorrelationId
|
|
4113
4303
|
type: string
|
|
@@ -4169,8 +4359,8 @@ components:
|
|
|
4169
4359
|
description: >-
|
|
4170
4360
|
Data model for the complex type GeoCode. Indicates the geographic
|
|
4171
4361
|
location from where the transaction was initiated.
|
|
4172
|
-
properties: *
|
|
4173
|
-
required: *
|
|
4362
|
+
properties: *ref_63
|
|
4363
|
+
required: *ref_64
|
|
4174
4364
|
IlpPacket:
|
|
4175
4365
|
title: IlpPacket
|
|
4176
4366
|
type: string
|
|
@@ -4198,8 +4388,8 @@ components:
|
|
|
4198
4388
|
title: QuotesIDPutResponse
|
|
4199
4389
|
type: object
|
|
4200
4390
|
description: The object sent in the PUT /quotes/{ID} callback.
|
|
4201
|
-
properties: *
|
|
4202
|
-
required: *
|
|
4391
|
+
properties: *ref_27
|
|
4392
|
+
required: *ref_28
|
|
4203
4393
|
IlpFulfilment:
|
|
4204
4394
|
title: IlpFulfilment
|
|
4205
4395
|
type: string
|
|
@@ -4210,7 +4400,7 @@ components:
|
|
|
4210
4400
|
TransferState:
|
|
4211
4401
|
title: TransferState
|
|
4212
4402
|
type: string
|
|
4213
|
-
enum: *
|
|
4403
|
+
enum: *ref_68
|
|
4214
4404
|
description: >-
|
|
4215
4405
|
Below are the allowed values for the enumeration.
|
|
4216
4406
|
|
|
@@ -4252,11 +4442,11 @@ components:
|
|
|
4252
4442
|
title: ErrorInformation
|
|
4253
4443
|
type: object
|
|
4254
4444
|
description: Data model for the complex type ErrorInformation.
|
|
4255
|
-
properties: *
|
|
4256
|
-
required: *
|
|
4445
|
+
properties: *ref_57
|
|
4446
|
+
required: *ref_58
|
|
4257
4447
|
mojaloopError:
|
|
4258
4448
|
type: object
|
|
4259
|
-
properties: *
|
|
4449
|
+
properties: *ref_37
|
|
4260
4450
|
transferError:
|
|
4261
4451
|
type: object
|
|
4262
4452
|
description: >-
|
|
@@ -4274,40 +4464,40 @@ components:
|
|
|
4274
4464
|
allOf: *ref_14
|
|
4275
4465
|
transferStatusResponse:
|
|
4276
4466
|
type: object
|
|
4277
|
-
required: *
|
|
4278
|
-
properties: *
|
|
4467
|
+
required: *ref_69
|
|
4468
|
+
properties: *ref_70
|
|
4279
4469
|
transferContinuationAcceptParty:
|
|
4280
4470
|
type: object
|
|
4281
|
-
required: *
|
|
4282
|
-
properties: *
|
|
4471
|
+
required: *ref_29
|
|
4472
|
+
properties: *ref_30
|
|
4283
4473
|
transferContinuationAcceptQuote:
|
|
4284
4474
|
type: object
|
|
4285
|
-
required: *
|
|
4286
|
-
properties: *
|
|
4475
|
+
required: *ref_33
|
|
4476
|
+
properties: *ref_34
|
|
4287
4477
|
autoAcceptPartyOption:
|
|
4288
4478
|
type: object
|
|
4289
|
-
required: *
|
|
4290
|
-
properties: *
|
|
4479
|
+
required: *ref_71
|
|
4480
|
+
properties: *ref_72
|
|
4291
4481
|
bulkPerTransferFeeLimit:
|
|
4292
4482
|
type: object
|
|
4293
|
-
required: *
|
|
4294
|
-
properties: *
|
|
4483
|
+
required: *ref_73
|
|
4484
|
+
properties: *ref_74
|
|
4295
4485
|
autoAcceptQuote:
|
|
4296
4486
|
type: object
|
|
4297
|
-
required: *
|
|
4298
|
-
properties: *
|
|
4299
|
-
|
|
4487
|
+
required: *ref_75
|
|
4488
|
+
properties: *ref_76
|
|
4489
|
+
bulkTransactionOptions:
|
|
4300
4490
|
type: object
|
|
4301
|
-
required: *
|
|
4302
|
-
properties: *
|
|
4491
|
+
required: *ref_77
|
|
4492
|
+
properties: *ref_78
|
|
4303
4493
|
PartyIdInfo:
|
|
4304
4494
|
title: PartyIdInfo
|
|
4305
4495
|
type: object
|
|
4306
4496
|
description: >-
|
|
4307
4497
|
Data model for the complex type PartyIdInfo. An ExtensionList element
|
|
4308
4498
|
has been added to this reqeust in version v1.1
|
|
4309
|
-
properties: *
|
|
4310
|
-
required: *
|
|
4499
|
+
properties: *ref_79
|
|
4500
|
+
required: *ref_80
|
|
4311
4501
|
PartyName:
|
|
4312
4502
|
title: PartyName
|
|
4313
4503
|
type: string
|
|
@@ -4318,110 +4508,126 @@ components:
|
|
|
4318
4508
|
title: PartyComplexName
|
|
4319
4509
|
type: object
|
|
4320
4510
|
description: Data model for the complex type PartyComplexName.
|
|
4321
|
-
properties: *
|
|
4511
|
+
properties: *ref_81
|
|
4322
4512
|
PartyPersonalInfo:
|
|
4323
4513
|
title: PartyPersonalInfo
|
|
4324
4514
|
type: object
|
|
4325
4515
|
description: Data model for the complex type PartyPersonalInfo.
|
|
4326
|
-
properties: *
|
|
4516
|
+
properties: *ref_82
|
|
4327
4517
|
Party:
|
|
4328
4518
|
title: Party
|
|
4329
4519
|
type: object
|
|
4330
4520
|
description: Data model for the complex type Party.
|
|
4331
4521
|
properties: *ref_24
|
|
4332
4522
|
required: *ref_25
|
|
4333
|
-
|
|
4334
|
-
title:
|
|
4523
|
+
individualTransaction:
|
|
4524
|
+
title: IndividualTransaction
|
|
4335
4525
|
type: object
|
|
4336
|
-
description: Data model for the complex type '
|
|
4337
|
-
properties: *ref_80
|
|
4338
|
-
required: *ref_81
|
|
4339
|
-
bulkTransferRequest:
|
|
4340
|
-
type: object
|
|
4341
|
-
required: *ref_82
|
|
4526
|
+
description: Data model for the complex type 'individualTransaction'.
|
|
4342
4527
|
properties: *ref_83
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
enum: *ref_84
|
|
4346
|
-
individualTransferResult:
|
|
4528
|
+
required: *ref_84
|
|
4529
|
+
bulkTransactionRequest:
|
|
4347
4530
|
type: object
|
|
4348
4531
|
required: *ref_85
|
|
4349
4532
|
properties: *ref_86
|
|
4350
|
-
|
|
4533
|
+
individualTransferResult:
|
|
4351
4534
|
type: object
|
|
4352
4535
|
required: *ref_87
|
|
4353
4536
|
properties: *ref_88
|
|
4537
|
+
bulkTransferResponse:
|
|
4538
|
+
type: object
|
|
4539
|
+
required: *ref_40
|
|
4540
|
+
properties: *ref_41
|
|
4354
4541
|
bulkTransferErrorResponse:
|
|
4355
4542
|
allOf: *ref_89
|
|
4356
|
-
|
|
4543
|
+
individualTransactionAccept:
|
|
4357
4544
|
type: object
|
|
4358
4545
|
description: Data model for the 'individualTransfer' while accepting party or quote.
|
|
4359
|
-
properties: *
|
|
4360
|
-
required: *
|
|
4361
|
-
|
|
4546
|
+
properties: *ref_31
|
|
4547
|
+
required: *ref_32
|
|
4548
|
+
bulkTransactionContinuationAcceptParty:
|
|
4362
4549
|
description: >-
|
|
4363
4550
|
The object sent back as confirmation of payee parties when
|
|
4364
4551
|
autoAcceptParty is false.
|
|
4365
4552
|
type: object
|
|
4366
|
-
required: *
|
|
4367
|
-
properties: *
|
|
4368
|
-
|
|
4553
|
+
required: *ref_35
|
|
4554
|
+
properties: *ref_36
|
|
4555
|
+
bulkTransactionContinuationAcceptQuote:
|
|
4369
4556
|
description: >-
|
|
4370
4557
|
The object sent back as confirmation of quotes when autoAcceptQuotes is
|
|
4371
4558
|
false.
|
|
4372
4559
|
type: object
|
|
4373
|
-
required: *
|
|
4374
|
-
properties: *
|
|
4560
|
+
required: *ref_38
|
|
4561
|
+
properties: *ref_39
|
|
4375
4562
|
partyError:
|
|
4376
4563
|
type: object
|
|
4377
4564
|
description: >-
|
|
4378
4565
|
This object represents a Mojaloop API error received at any time during
|
|
4379
4566
|
the party discovery process
|
|
4380
4567
|
properties: *ref_90
|
|
4381
|
-
|
|
4568
|
+
bulkTransactionAcceptPartyErrorResponse:
|
|
4382
4569
|
allOf: *ref_91
|
|
4383
4570
|
quoteError:
|
|
4384
4571
|
type: object
|
|
4385
4572
|
description: >-
|
|
4386
4573
|
This object represents a Mojaloop API error received at any time during
|
|
4387
4574
|
the quote process
|
|
4388
|
-
properties: *
|
|
4389
|
-
|
|
4575
|
+
properties: *ref_44
|
|
4576
|
+
bulkTransactionAcceptQuoteErrorResponse:
|
|
4390
4577
|
allOf: *ref_92
|
|
4578
|
+
individualTransfer:
|
|
4579
|
+
title: IndividualTransfer
|
|
4580
|
+
type: object
|
|
4581
|
+
description: Data model for the complex type 'individualTransfer'.
|
|
4582
|
+
properties: *ref_93
|
|
4583
|
+
required: *ref_94
|
|
4584
|
+
bulkTransferRequest:
|
|
4585
|
+
type: object
|
|
4586
|
+
required: *ref_95
|
|
4587
|
+
properties: *ref_96
|
|
4588
|
+
bulkTransferStatus:
|
|
4589
|
+
type: string
|
|
4590
|
+
enum: *ref_97
|
|
4591
|
+
individualTransferFulfilment:
|
|
4592
|
+
type: object
|
|
4593
|
+
description: >-
|
|
4594
|
+
A Mojaloop API transfer fulfilment for individual transfers in a bulk
|
|
4595
|
+
transfer
|
|
4596
|
+
properties: *ref_98
|
|
4597
|
+
bulkTransferStatusResponse:
|
|
4598
|
+
type: object
|
|
4599
|
+
required: *ref_99
|
|
4600
|
+
properties: *ref_100
|
|
4391
4601
|
individualQuote:
|
|
4392
4602
|
title: IndividualQuote
|
|
4393
4603
|
type: object
|
|
4394
4604
|
description: Data model for the complex type 'individualQuote'.
|
|
4395
|
-
properties: *
|
|
4396
|
-
required: *
|
|
4605
|
+
properties: *ref_48
|
|
4606
|
+
required: *ref_49
|
|
4397
4607
|
bulkQuoteRequest:
|
|
4398
4608
|
type: object
|
|
4399
|
-
required: *
|
|
4400
|
-
properties: *
|
|
4609
|
+
required: *ref_101
|
|
4610
|
+
properties: *ref_102
|
|
4401
4611
|
individualQuoteResult:
|
|
4402
4612
|
type: object
|
|
4403
|
-
properties: *
|
|
4613
|
+
properties: *ref_103
|
|
4404
4614
|
bulkQuoteResponse:
|
|
4405
4615
|
type: object
|
|
4406
|
-
required: *
|
|
4407
|
-
properties: *
|
|
4616
|
+
required: *ref_45
|
|
4617
|
+
properties: *ref_46
|
|
4408
4618
|
bulkQuoteErrorResponse:
|
|
4409
|
-
allOf: *
|
|
4619
|
+
allOf: *ref_47
|
|
4410
4620
|
bulkQuoteStatus:
|
|
4411
4621
|
type: string
|
|
4412
|
-
enum: *
|
|
4622
|
+
enum: *ref_104
|
|
4413
4623
|
bulkQuoteStatusResponse:
|
|
4414
4624
|
type: object
|
|
4415
|
-
required: *
|
|
4416
|
-
properties: *
|
|
4417
|
-
TransactionType:
|
|
4418
|
-
type: string
|
|
4419
|
-
enum: *ref_49
|
|
4420
|
-
description: Type of transaction.
|
|
4625
|
+
required: *ref_105
|
|
4626
|
+
properties: *ref_106
|
|
4421
4627
|
TransactionInitiator:
|
|
4422
4628
|
title: TransactionInitiator
|
|
4423
4629
|
type: string
|
|
4424
|
-
enum: *
|
|
4630
|
+
enum: *ref_51
|
|
4425
4631
|
description: >-
|
|
4426
4632
|
Below are the allowed values for the enumeration.
|
|
4427
4633
|
|
|
@@ -4436,12 +4642,12 @@ components:
|
|
|
4436
4642
|
example: PAYEE
|
|
4437
4643
|
requestToPayRequest:
|
|
4438
4644
|
type: object
|
|
4439
|
-
required: *
|
|
4440
|
-
properties: *
|
|
4645
|
+
required: *ref_107
|
|
4646
|
+
properties: *ref_108
|
|
4441
4647
|
AuthenticationType:
|
|
4442
4648
|
title: AuthenticationType
|
|
4443
4649
|
type: string
|
|
4444
|
-
enum: *
|
|
4650
|
+
enum: *ref_109
|
|
4445
4651
|
description: |-
|
|
4446
4652
|
Below are the allowed values for the enumeration AuthenticationType.
|
|
4447
4653
|
- OTP - One-time password generated by the Payer FSP.
|
|
@@ -4451,7 +4657,7 @@ components:
|
|
|
4451
4657
|
TransactionRequestState:
|
|
4452
4658
|
title: TransactionRequestState
|
|
4453
4659
|
type: string
|
|
4454
|
-
enum: *
|
|
4660
|
+
enum: *ref_110
|
|
4455
4661
|
description: |-
|
|
4456
4662
|
Below are the allowed values for the enumeration.
|
|
4457
4663
|
- RECEIVED - Payer FSP has received the transaction from the Payee FSP.
|
|
@@ -4461,147 +4667,150 @@ components:
|
|
|
4461
4667
|
example: RECEIVED
|
|
4462
4668
|
requestToPayResponse:
|
|
4463
4669
|
type: object
|
|
4464
|
-
required: *
|
|
4465
|
-
properties: *
|
|
4670
|
+
required: *ref_111
|
|
4671
|
+
properties: *ref_112
|
|
4466
4672
|
requestToPayTransferRequest:
|
|
4467
4673
|
type: object
|
|
4468
|
-
required: *
|
|
4469
|
-
properties: *
|
|
4674
|
+
required: *ref_113
|
|
4675
|
+
properties: *ref_114
|
|
4470
4676
|
requestToPayTransferResponse:
|
|
4471
4677
|
type: object
|
|
4472
|
-
required: *
|
|
4473
|
-
properties: *
|
|
4678
|
+
required: *ref_115
|
|
4679
|
+
properties: *ref_116
|
|
4474
4680
|
transferContinuationAcceptOTP:
|
|
4475
4681
|
type: object
|
|
4476
|
-
required: *
|
|
4477
|
-
properties: *
|
|
4682
|
+
required: *ref_117
|
|
4683
|
+
properties: *ref_118
|
|
4478
4684
|
accountsRequest:
|
|
4479
4685
|
type: array
|
|
4480
|
-
items: *
|
|
4686
|
+
items: *ref_52
|
|
4481
4687
|
accountCreationStatus:
|
|
4482
4688
|
type: array
|
|
4483
|
-
items: *
|
|
4689
|
+
items: *ref_119
|
|
4484
4690
|
accountsCreationState:
|
|
4485
4691
|
type: string
|
|
4486
|
-
enum: *
|
|
4692
|
+
enum: *ref_120
|
|
4487
4693
|
accountsResponse:
|
|
4488
4694
|
type: object
|
|
4489
|
-
required: *
|
|
4490
|
-
properties: *
|
|
4695
|
+
required: *ref_53
|
|
4696
|
+
properties: *ref_54
|
|
4491
4697
|
errorAccountsResponse:
|
|
4492
|
-
allOf: *
|
|
4698
|
+
allOf: *ref_56
|
|
4493
4699
|
async2SyncCurrentState:
|
|
4494
4700
|
type: string
|
|
4495
|
-
enum: *
|
|
4701
|
+
enum: *ref_65
|
|
4496
4702
|
partiesByIdResponse:
|
|
4497
4703
|
title: partiesByIdResponse
|
|
4498
4704
|
type: object
|
|
4499
4705
|
description: GET /parties/{Type}/{ID} response object
|
|
4500
|
-
properties: *
|
|
4501
|
-
required: *
|
|
4502
|
-
|
|
4706
|
+
properties: *ref_121
|
|
4707
|
+
required: *ref_122
|
|
4708
|
+
QuotesPostRequest:
|
|
4503
4709
|
title: QuotesPostRequest
|
|
4504
4710
|
type: object
|
|
4505
4711
|
description: The object sent in the POST /quotes request.
|
|
4506
|
-
properties: *
|
|
4507
|
-
required: *
|
|
4712
|
+
properties: *ref_123
|
|
4713
|
+
required: *ref_124
|
|
4508
4714
|
quotesPostResponse:
|
|
4509
4715
|
title: QuotesPostResponse
|
|
4510
4716
|
type: object
|
|
4511
|
-
properties: *
|
|
4512
|
-
required: *
|
|
4717
|
+
properties: *ref_125
|
|
4718
|
+
required: *ref_126
|
|
4513
4719
|
errorQuotesResponse:
|
|
4514
|
-
allOf: *
|
|
4720
|
+
allOf: *ref_127
|
|
4515
4721
|
TransfersPostRequest:
|
|
4516
4722
|
title: TransfersPostRequest
|
|
4517
4723
|
type: object
|
|
4518
4724
|
description: The object sent in the POST /transfers request.
|
|
4519
|
-
properties: *
|
|
4520
|
-
required: *
|
|
4725
|
+
properties: *ref_128
|
|
4726
|
+
required: *ref_129
|
|
4521
4727
|
simpleTransfersPostRequest:
|
|
4522
4728
|
title: SimpleTransfersPostRequest
|
|
4523
4729
|
type: object
|
|
4524
|
-
properties: *
|
|
4525
|
-
required: *
|
|
4730
|
+
properties: *ref_130
|
|
4731
|
+
required: *ref_131
|
|
4526
4732
|
simpleTransfersPostResponse:
|
|
4527
4733
|
title: SimpleTransfersPostResponse
|
|
4528
4734
|
type: object
|
|
4529
|
-
properties: *
|
|
4530
|
-
required: *
|
|
4735
|
+
properties: *ref_132
|
|
4736
|
+
required: *ref_133
|
|
4531
4737
|
errorSimpleTransfersResponse:
|
|
4532
|
-
allOf: *
|
|
4738
|
+
allOf: *ref_134
|
|
4533
4739
|
responses:
|
|
4534
4740
|
transferSuccess:
|
|
4535
4741
|
description: Transfer completed successfully
|
|
4536
4742
|
content: *ref_15
|
|
4537
4743
|
transferBadRequest:
|
|
4538
4744
|
description: Malformed or missing required body, headers or parameters
|
|
4539
|
-
content: *
|
|
4745
|
+
content: *ref_135
|
|
4540
4746
|
transferServerError:
|
|
4541
4747
|
description: An error occurred processing the transfer
|
|
4542
4748
|
content: *ref_16
|
|
4543
4749
|
transferTimeout:
|
|
4544
4750
|
description: Timeout occurred processing the transfer
|
|
4545
4751
|
content: *ref_17
|
|
4546
|
-
|
|
4752
|
+
bulkTransactionAccepted:
|
|
4547
4753
|
description: Bulk transfer accepted successfully
|
|
4548
4754
|
bulkTransferBadRequest:
|
|
4549
4755
|
description: Malformed or missing required body, headers or parameters
|
|
4550
|
-
content: *
|
|
4756
|
+
content: *ref_42
|
|
4551
4757
|
errorResponse:
|
|
4552
4758
|
description: Internal Server Error
|
|
4553
|
-
content: *
|
|
4554
|
-
|
|
4759
|
+
content: *ref_43
|
|
4760
|
+
bulkTransactionPutBadRequest:
|
|
4555
4761
|
description: Malformed or missing required body, headers or parameters
|
|
4556
|
-
content: *
|
|
4762
|
+
content: *ref_136
|
|
4763
|
+
bulkTransferSuccess:
|
|
4764
|
+
description: Bulk transfer completed successfully
|
|
4765
|
+
content: *ref_137
|
|
4557
4766
|
bulkQuoteSuccess:
|
|
4558
4767
|
description: Bulk quote completed successfully
|
|
4559
|
-
content: *
|
|
4768
|
+
content: *ref_138
|
|
4560
4769
|
bulkQuoteBadRequest:
|
|
4561
4770
|
description: Malformed or missing required body, headers or parameters
|
|
4562
|
-
content: *
|
|
4771
|
+
content: *ref_139
|
|
4563
4772
|
bulkQuoteServerError:
|
|
4564
4773
|
description: An error occurred processing the bulk quote
|
|
4565
|
-
content: *
|
|
4774
|
+
content: *ref_140
|
|
4566
4775
|
bulkQuoteTimeout:
|
|
4567
4776
|
description: Timeout occurred processing the bulk quote
|
|
4568
|
-
content: *
|
|
4777
|
+
content: *ref_141
|
|
4569
4778
|
requestToPaySuccess:
|
|
4570
4779
|
description: Request to Pay completed successfully
|
|
4571
|
-
content: *
|
|
4780
|
+
content: *ref_142
|
|
4572
4781
|
requestToPayTransferSuccess:
|
|
4573
4782
|
description: Transfer completed successfully
|
|
4574
|
-
content: *
|
|
4783
|
+
content: *ref_143
|
|
4575
4784
|
requestToPayTransferBadRequest:
|
|
4576
4785
|
description: Malformed or missing required body, headers or parameters
|
|
4577
|
-
content: *
|
|
4786
|
+
content: *ref_144
|
|
4578
4787
|
accountsCreationCompleted:
|
|
4579
4788
|
description: Accounts creation completed
|
|
4580
|
-
content: *
|
|
4789
|
+
content: *ref_145
|
|
4581
4790
|
accountsCreationError:
|
|
4582
4791
|
description: An error occurred creating accounts
|
|
4583
|
-
content: *
|
|
4792
|
+
content: *ref_55
|
|
4584
4793
|
accountsCreationTimeout:
|
|
4585
4794
|
description: Timeout occurred creating accounts
|
|
4586
|
-
content: *
|
|
4795
|
+
content: *ref_146
|
|
4587
4796
|
partiesByIdSuccess:
|
|
4588
4797
|
description: PartiesByIdSuccess
|
|
4589
|
-
content: *
|
|
4798
|
+
content: *ref_61
|
|
4590
4799
|
partiesByIdError404:
|
|
4591
4800
|
description: PartiesByIdError404
|
|
4592
|
-
content: *
|
|
4801
|
+
content: *ref_62
|
|
4593
4802
|
quotesPostSuccess:
|
|
4594
4803
|
description: sync response from POST /quotes
|
|
4595
|
-
content: *
|
|
4804
|
+
content: *ref_147
|
|
4596
4805
|
quotesServerError:
|
|
4597
4806
|
description: An error occurred processing the quotes request
|
|
4598
|
-
content: *
|
|
4807
|
+
content: *ref_148
|
|
4599
4808
|
simpleTransfersPostSuccess:
|
|
4600
4809
|
description: sync response from POST /simpleTransfers
|
|
4601
|
-
content: *
|
|
4810
|
+
content: *ref_149
|
|
4602
4811
|
simpleTransfersServerError:
|
|
4603
4812
|
description: An error occurred processing the simple transfers request
|
|
4604
|
-
content: *
|
|
4813
|
+
content: *ref_150
|
|
4605
4814
|
parameters:
|
|
4606
4815
|
transferId:
|
|
4607
4816
|
name: transferId
|
|
@@ -4615,7 +4824,15 @@ components:
|
|
|
4615
4824
|
name: bulkTransactionId
|
|
4616
4825
|
in: path
|
|
4617
4826
|
required: true
|
|
4618
|
-
schema: *
|
|
4827
|
+
schema: *ref_151
|
|
4828
|
+
description: >-
|
|
4829
|
+
Identifier of the bulk transaction to continue as returned in the
|
|
4830
|
+
response to a `POST /bulkTransaction` request.
|
|
4831
|
+
bulkTransferId:
|
|
4832
|
+
name: bulkTransferId
|
|
4833
|
+
in: path
|
|
4834
|
+
required: true
|
|
4835
|
+
schema: *ref_152
|
|
4619
4836
|
description: >-
|
|
4620
4837
|
Identifier of the bulk transfer to continue as returned in the response
|
|
4621
4838
|
to a `POST /bulkTransfers` request.
|
|
@@ -4623,7 +4840,7 @@ components:
|
|
|
4623
4840
|
name: bulkQuoteId
|
|
4624
4841
|
in: path
|
|
4625
4842
|
required: true
|
|
4626
|
-
schema: *
|
|
4843
|
+
schema: *ref_153
|
|
4627
4844
|
description: >-
|
|
4628
4845
|
Identifier of the bulk transfer to continue as returned in the response
|
|
4629
4846
|
to a `POST /bulkTransfers` request.
|
|
@@ -4631,7 +4848,7 @@ components:
|
|
|
4631
4848
|
name: requestToPayTransactionId
|
|
4632
4849
|
in: path
|
|
4633
4850
|
required: true
|
|
4634
|
-
schema: *
|
|
4851
|
+
schema: *ref_154
|
|
4635
4852
|
description: >-
|
|
4636
4853
|
Identifier of the merchant request to pay transfer to continue as
|
|
4637
4854
|
returned in the response to a `POST /requestToPayTransfer` request.
|
|
@@ -4639,19 +4856,19 @@ components:
|
|
|
4639
4856
|
name: Type
|
|
4640
4857
|
in: path
|
|
4641
4858
|
required: true
|
|
4642
|
-
schema: *
|
|
4859
|
+
schema: *ref_59
|
|
4643
4860
|
description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
|
|
4644
4861
|
ID:
|
|
4645
4862
|
name: ID
|
|
4646
4863
|
in: path
|
|
4647
4864
|
required: true
|
|
4648
|
-
schema: *
|
|
4865
|
+
schema: *ref_60
|
|
4649
4866
|
description: The identifier value.
|
|
4650
4867
|
SubId:
|
|
4651
4868
|
name: SubId
|
|
4652
4869
|
in: path
|
|
4653
4870
|
required: true
|
|
4654
|
-
schema: *
|
|
4871
|
+
schema: *ref_155
|
|
4655
4872
|
description: >-
|
|
4656
4873
|
A sub-identifier of the party identifier, or a sub-type of the party
|
|
4657
4874
|
identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`.
|