@mojaloop/api-snippets 17.0.3-snapshot.1 → 17.0.3-snapshot.3
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/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +22 -21
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +2 -29
- package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +57 -29
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +15 -9
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.d.ts +34 -17
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js +1 -0
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/types.d.ts +1 -0
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +47 -38
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +4 -12
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +29 -26
- package/package.json +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualQuoteResult.yaml +1 -10
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransferFulfilment.yaml +0 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransferResult.yaml +2 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/partyError.yaml +0 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/quoteError.yaml +0 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +0 -4
@@ -2163,10 +2163,6 @@ components:
|
|
2163
2163
|
The HTTP status code returned to the caller. This is the same as the
|
2164
2164
|
actual HTTP status code returned with the response.
|
2165
2165
|
mojaloopError:
|
2166
|
-
description: >-
|
2167
|
-
If a quote process results in an error callback during the
|
2168
|
-
asynchronous Mojaloop API exchange, this property will contain the
|
2169
|
-
underlying Mojaloop API error object.
|
2170
2166
|
$ref: '#/components/schemas/mojaloopError'
|
2171
2167
|
individualQuoteResult:
|
2172
2168
|
type: object
|
@@ -2189,19 +2185,10 @@ components:
|
|
2189
2185
|
$ref: '#/components/schemas/IlpCondition'
|
2190
2186
|
extensionList:
|
2191
2187
|
$ref: '#/components/schemas/ExtensionList'
|
2192
|
-
description: Optional extension, specific to deployment.
|
2193
2188
|
lastError:
|
2194
|
-
description: >
|
2195
|
-
Object representing the last error to occur during a quote process.
|
2196
|
-
This may be a Mojaloop API error returned from another entity in the
|
2197
|
-
scheme or an object representing other types of error e.g.
|
2198
|
-
exceptions that may occur inside the scheme adapter.
|
2199
2189
|
$ref: '#/components/schemas/quoteError'
|
2200
2190
|
required:
|
2201
2191
|
- quoteId
|
2202
|
-
- transferAmount
|
2203
|
-
- ilpPacket
|
2204
|
-
- condition
|
2205
2192
|
IlpFulfilment:
|
2206
2193
|
title: IlpFulfilment
|
2207
2194
|
type: string
|
@@ -2209,6 +2196,26 @@ components:
|
|
2209
2196
|
maxLength: 48
|
2210
2197
|
description: Fulfilment that must be attached to the transfer by the Payee.
|
2211
2198
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
2199
|
+
TransferState:
|
2200
|
+
title: TransferState
|
2201
|
+
type: string
|
2202
|
+
enum:
|
2203
|
+
- RECEIVED
|
2204
|
+
- RESERVED
|
2205
|
+
- COMMITTED
|
2206
|
+
- ABORTED
|
2207
|
+
description: >-
|
2208
|
+
Below are the allowed values for the enumeration.
|
2209
|
+
|
2210
|
+
- RECEIVED - Next ledger has received the transfer.
|
2211
|
+
|
2212
|
+
- RESERVED - Next ledger has reserved the transfer.
|
2213
|
+
|
2214
|
+
- COMMITTED - Next ledger has successfully performed the transfer.
|
2215
|
+
|
2216
|
+
- ABORTED - Next ledger has aborted the transfer due to a rejection or
|
2217
|
+
failure to perform the transfer.
|
2218
|
+
example: RESERVED
|
2212
2219
|
transferError:
|
2213
2220
|
type: object
|
2214
2221
|
description: >-
|
@@ -2221,10 +2228,6 @@ components:
|
|
2221
2228
|
The HTTP status code returned to the caller. This is the same as the
|
2222
2229
|
actual HTTP status code returned with the response.
|
2223
2230
|
mojaloopError:
|
2224
|
-
description: >-
|
2225
|
-
If a transfer process results in an error callback during the
|
2226
|
-
asynchronous Mojaloop API exchange, this property will contain the
|
2227
|
-
underlying Mojaloop API error object.
|
2228
2231
|
$ref: '#/components/schemas/mojaloopError'
|
2229
2232
|
individualTransferResult:
|
2230
2233
|
type: object
|
@@ -2235,12 +2238,10 @@ components:
|
|
2235
2238
|
$ref: '#/components/schemas/CorrelationId'
|
2236
2239
|
fulfilment:
|
2237
2240
|
$ref: '#/components/schemas/IlpFulfilment'
|
2238
|
-
description: >
|
2239
|
-
Fulfilment of the condition specified with the transaction.
|
2240
|
-
Mandatory if transfer has completed successfully.
|
2241
2241
|
extensionList:
|
2242
2242
|
$ref: '#/components/schemas/ExtensionList'
|
2243
|
-
|
2243
|
+
transferState:
|
2244
|
+
$ref: '#/components/schemas/TransferState'
|
2244
2245
|
lastError:
|
2245
2246
|
$ref: '#/components/schemas/transferError'
|
2246
2247
|
bulkTransactionIndividualTransferResult:
|
@@ -922,10 +922,6 @@ components:
|
|
922
922
|
The HTTP status code returned to the caller. This is the same as the
|
923
923
|
actual HTTP status code returned with the response.
|
924
924
|
mojaloopError:
|
925
|
-
description: >-
|
926
|
-
If a transfer process results in an error callback during the
|
927
|
-
asynchronous Mojaloop API exchange, this property will contain the
|
928
|
-
underlying Mojaloop API error object.
|
929
925
|
$ref: '#/components/schemas/mojaloopError'
|
930
926
|
accountsResponse:
|
931
927
|
type: object
|
@@ -1275,10 +1271,6 @@ components:
|
|
1275
1271
|
The HTTP status code returned to the caller. This is the same as the
|
1276
1272
|
actual HTTP status code returned with the response.
|
1277
1273
|
mojaloopError:
|
1278
|
-
description: >-
|
1279
|
-
If a quote process results in an error callback during the
|
1280
|
-
asynchronous Mojaloop API exchange, this property will contain the
|
1281
|
-
underlying Mojaloop API error object.
|
1282
1274
|
$ref: '#/components/schemas/mojaloopError'
|
1283
1275
|
individualQuoteResult:
|
1284
1276
|
type: object
|
@@ -1301,19 +1293,10 @@ components:
|
|
1301
1293
|
$ref: '#/components/schemas/IlpCondition'
|
1302
1294
|
extensionList:
|
1303
1295
|
$ref: '#/components/schemas/ExtensionList'
|
1304
|
-
description: Optional extension, specific to deployment.
|
1305
1296
|
lastError:
|
1306
|
-
description: >
|
1307
|
-
Object representing the last error to occur during a quote process.
|
1308
|
-
This may be a Mojaloop API error returned from another entity in the
|
1309
|
-
scheme or an object representing other types of error e.g.
|
1310
|
-
exceptions that may occur inside the scheme adapter.
|
1311
1297
|
$ref: '#/components/schemas/quoteError'
|
1312
1298
|
required:
|
1313
1299
|
- quoteId
|
1314
|
-
- transferAmount
|
1315
|
-
- ilpPacket
|
1316
|
-
- condition
|
1317
1300
|
bulkQuoteResponse:
|
1318
1301
|
type: object
|
1319
1302
|
required:
|
@@ -1605,12 +1588,10 @@ components:
|
|
1605
1588
|
$ref: '#/components/schemas/CorrelationId'
|
1606
1589
|
fulfilment:
|
1607
1590
|
$ref: '#/components/schemas/IlpFulfilment'
|
1608
|
-
description: >
|
1609
|
-
Fulfilment of the condition specified with the transaction.
|
1610
|
-
Mandatory if transfer has completed successfully.
|
1611
1591
|
extensionList:
|
1612
1592
|
$ref: '#/components/schemas/ExtensionList'
|
1613
|
-
|
1593
|
+
transferState:
|
1594
|
+
$ref: '#/components/schemas/TransferState'
|
1614
1595
|
lastError:
|
1615
1596
|
$ref: '#/components/schemas/transferError'
|
1616
1597
|
bulkTransferResponse:
|
@@ -1726,10 +1707,6 @@ components:
|
|
1726
1707
|
The HTTP status code returned to the caller. This is the same as the
|
1727
1708
|
actual HTTP status code returned with the response.
|
1728
1709
|
mojaloopError:
|
1729
|
-
description: >-
|
1730
|
-
If a transfer process results in an error callback during the
|
1731
|
-
asynchronous Mojaloop API exchange, this property will contain the
|
1732
|
-
underlying Mojaloop API error object.
|
1733
1710
|
$ref: '#/components/schemas/mojaloopError'
|
1734
1711
|
bulkTransactionAcceptPartyErrorResponse:
|
1735
1712
|
allOf:
|
@@ -1825,12 +1802,8 @@ components:
|
|
1825
1802
|
properties:
|
1826
1803
|
fulfilment:
|
1827
1804
|
$ref: '#/components/schemas/IlpFulfilment'
|
1828
|
-
description: >
|
1829
|
-
Fulfilment of the condition specified with the transaction.
|
1830
|
-
Mandatory if transfer has completed successfully.
|
1831
1805
|
extensionList:
|
1832
1806
|
$ref: '#/components/schemas/ExtensionList'
|
1833
|
-
description: Optional extension, specific to deployment.
|
1834
1807
|
bulkTransferStatusResponse:
|
1835
1808
|
type: object
|
1836
1809
|
required:
|
@@ -5331,7 +5331,6 @@
|
|
5331
5331
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
5332
5332
|
},
|
5333
5333
|
"mojaloopError": {
|
5334
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
5335
5334
|
"type": "object",
|
5336
5335
|
"properties": {
|
5337
5336
|
"errorInformation": {
|
@@ -12215,7 +12214,6 @@
|
|
12215
12214
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
12216
12215
|
},
|
12217
12216
|
"mojaloopError": {
|
12218
|
-
"description": "If a quote process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
12219
12217
|
"type": "object",
|
12220
12218
|
"properties": {
|
12221
12219
|
"errorInformation": {
|
@@ -13145,15 +13143,14 @@
|
|
13145
13143
|
]
|
13146
13144
|
},
|
13147
13145
|
"lastError": {
|
13148
|
-
"description": "Object representing the last error to occur during a quote process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter.\n",
|
13149
13146
|
"type": "object",
|
13147
|
+
"description": "This object represents a Mojaloop API error received at any time during the quote process",
|
13150
13148
|
"properties": {
|
13151
13149
|
"httpStatusCode": {
|
13152
13150
|
"type": "integer",
|
13153
13151
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
13154
13152
|
},
|
13155
13153
|
"mojaloopError": {
|
13156
|
-
"description": "If a quote process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
13157
13154
|
"type": "object",
|
13158
13155
|
"properties": {
|
13159
13156
|
"errorInformation": {
|
@@ -13228,10 +13225,7 @@
|
|
13228
13225
|
}
|
13229
13226
|
},
|
13230
13227
|
"required": [
|
13231
|
-
"quoteId"
|
13232
|
-
"transferAmount",
|
13233
|
-
"ilpPacket",
|
13234
|
-
"condition"
|
13228
|
+
"quoteId"
|
13235
13229
|
]
|
13236
13230
|
},
|
13237
13231
|
"IlpFulfilment": {
|
@@ -13242,6 +13236,18 @@
|
|
13242
13236
|
"description": "Fulfilment that must be attached to the transfer by the Payee.",
|
13243
13237
|
"example": "WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8"
|
13244
13238
|
},
|
13239
|
+
"TransferState": {
|
13240
|
+
"title": "TransferState",
|
13241
|
+
"type": "string",
|
13242
|
+
"enum": [
|
13243
|
+
"RECEIVED",
|
13244
|
+
"RESERVED",
|
13245
|
+
"COMMITTED",
|
13246
|
+
"ABORTED"
|
13247
|
+
],
|
13248
|
+
"description": "Below are the allowed values for the enumeration.\n- RECEIVED - Next ledger has received the transfer.\n- RESERVED - Next ledger has reserved the transfer.\n- COMMITTED - Next ledger has successfully performed the transfer.\n- ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.",
|
13249
|
+
"example": "RESERVED"
|
13250
|
+
},
|
13245
13251
|
"transferError": {
|
13246
13252
|
"type": "object",
|
13247
13253
|
"description": "This object represents a Mojaloop API error received at any time during the transfer process",
|
@@ -13251,7 +13257,6 @@
|
|
13251
13257
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
13252
13258
|
},
|
13253
13259
|
"mojaloopError": {
|
13254
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
13255
13260
|
"type": "object",
|
13256
13261
|
"properties": {
|
13257
13262
|
"errorInformation": {
|
@@ -13338,11 +13343,11 @@
|
|
13338
13343
|
"example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
|
13339
13344
|
},
|
13340
13345
|
"fulfilment": {
|
13341
|
-
"description": "Fulfilment of the condition specified with the transaction. Mandatory if transfer has completed successfully.\n",
|
13342
13346
|
"title": "IlpFulfilment",
|
13343
13347
|
"type": "string",
|
13344
13348
|
"pattern": "^[A-Za-z0-9-_]{43}$",
|
13345
13349
|
"maxLength": 48,
|
13350
|
+
"description": "Fulfilment that must be attached to the transfer by the Payee.",
|
13346
13351
|
"example": "WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8"
|
13347
13352
|
},
|
13348
13353
|
"extensionList": {
|
@@ -13386,6 +13391,18 @@
|
|
13386
13391
|
"extension"
|
13387
13392
|
]
|
13388
13393
|
},
|
13394
|
+
"transferState": {
|
13395
|
+
"title": "TransferState",
|
13396
|
+
"type": "string",
|
13397
|
+
"enum": [
|
13398
|
+
"RECEIVED",
|
13399
|
+
"RESERVED",
|
13400
|
+
"COMMITTED",
|
13401
|
+
"ABORTED"
|
13402
|
+
],
|
13403
|
+
"description": "Below are the allowed values for the enumeration.\n- RECEIVED - Next ledger has received the transfer.\n- RESERVED - Next ledger has reserved the transfer.\n- COMMITTED - Next ledger has successfully performed the transfer.\n- ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.",
|
13404
|
+
"example": "RESERVED"
|
13405
|
+
},
|
13389
13406
|
"lastError": {
|
13390
13407
|
"type": "object",
|
13391
13408
|
"description": "This object represents a Mojaloop API error received at any time during the transfer process",
|
@@ -13395,7 +13412,6 @@
|
|
13395
13412
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
13396
13413
|
},
|
13397
13414
|
"mojaloopError": {
|
13398
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
13399
13415
|
"type": "object",
|
13400
13416
|
"properties": {
|
13401
13417
|
"errorInformation": {
|
@@ -14720,15 +14736,14 @@
|
|
14720
14736
|
]
|
14721
14737
|
},
|
14722
14738
|
"lastError": {
|
14723
|
-
"description": "Object representing the last error to occur during a quote process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter.\n",
|
14724
14739
|
"type": "object",
|
14740
|
+
"description": "This object represents a Mojaloop API error received at any time during the quote process",
|
14725
14741
|
"properties": {
|
14726
14742
|
"httpStatusCode": {
|
14727
14743
|
"type": "integer",
|
14728
14744
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
14729
14745
|
},
|
14730
14746
|
"mojaloopError": {
|
14731
|
-
"description": "If a quote process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
14732
14747
|
"type": "object",
|
14733
14748
|
"properties": {
|
14734
14749
|
"errorInformation": {
|
@@ -14803,10 +14818,7 @@
|
|
14803
14818
|
}
|
14804
14819
|
},
|
14805
14820
|
"required": [
|
14806
|
-
"quoteId"
|
14807
|
-
"transferAmount",
|
14808
|
-
"ilpPacket",
|
14809
|
-
"condition"
|
14821
|
+
"quoteId"
|
14810
14822
|
]
|
14811
14823
|
},
|
14812
14824
|
"fulfil": {
|
@@ -14823,11 +14835,11 @@
|
|
14823
14835
|
"example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
|
14824
14836
|
},
|
14825
14837
|
"fulfilment": {
|
14826
|
-
"description": "Fulfilment of the condition specified with the transaction. Mandatory if transfer has completed successfully.\n",
|
14827
14838
|
"title": "IlpFulfilment",
|
14828
14839
|
"type": "string",
|
14829
14840
|
"pattern": "^[A-Za-z0-9-_]{43}$",
|
14830
14841
|
"maxLength": 48,
|
14842
|
+
"description": "Fulfilment that must be attached to the transfer by the Payee.",
|
14831
14843
|
"example": "WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8"
|
14832
14844
|
},
|
14833
14845
|
"extensionList": {
|
@@ -14871,6 +14883,18 @@
|
|
14871
14883
|
"extension"
|
14872
14884
|
]
|
14873
14885
|
},
|
14886
|
+
"transferState": {
|
14887
|
+
"title": "TransferState",
|
14888
|
+
"type": "string",
|
14889
|
+
"enum": [
|
14890
|
+
"RECEIVED",
|
14891
|
+
"RESERVED",
|
14892
|
+
"COMMITTED",
|
14893
|
+
"ABORTED"
|
14894
|
+
],
|
14895
|
+
"description": "Below are the allowed values for the enumeration.\n- RECEIVED - Next ledger has received the transfer.\n- RESERVED - Next ledger has reserved the transfer.\n- COMMITTED - Next ledger has successfully performed the transfer.\n- ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.",
|
14896
|
+
"example": "RESERVED"
|
14897
|
+
},
|
14874
14898
|
"lastError": {
|
14875
14899
|
"type": "object",
|
14876
14900
|
"description": "This object represents a Mojaloop API error received at any time during the transfer process",
|
@@ -14880,7 +14904,6 @@
|
|
14880
14904
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
14881
14905
|
},
|
14882
14906
|
"mojaloopError": {
|
14883
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
14884
14907
|
"type": "object",
|
14885
14908
|
"properties": {
|
14886
14909
|
"errorInformation": {
|
@@ -15046,7 +15069,6 @@
|
|
15046
15069
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
15047
15070
|
},
|
15048
15071
|
"mojaloopError": {
|
15049
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
15050
15072
|
"type": "object",
|
15051
15073
|
"properties": {
|
15052
15074
|
"errorInformation": {
|
@@ -16663,15 +16685,14 @@
|
|
16663
16685
|
]
|
16664
16686
|
},
|
16665
16687
|
"lastError": {
|
16666
|
-
"description": "Object representing the last error to occur during a quote process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter.\n",
|
16667
16688
|
"type": "object",
|
16689
|
+
"description": "This object represents a Mojaloop API error received at any time during the quote process",
|
16668
16690
|
"properties": {
|
16669
16691
|
"httpStatusCode": {
|
16670
16692
|
"type": "integer",
|
16671
16693
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
16672
16694
|
},
|
16673
16695
|
"mojaloopError": {
|
16674
|
-
"description": "If a quote process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
16675
16696
|
"type": "object",
|
16676
16697
|
"properties": {
|
16677
16698
|
"errorInformation": {
|
@@ -16746,10 +16767,7 @@
|
|
16746
16767
|
}
|
16747
16768
|
},
|
16748
16769
|
"required": [
|
16749
|
-
"quoteId"
|
16750
|
-
"transferAmount",
|
16751
|
-
"ilpPacket",
|
16752
|
-
"condition"
|
16770
|
+
"quoteId"
|
16753
16771
|
]
|
16754
16772
|
},
|
16755
16773
|
"fulfil": {
|
@@ -16766,11 +16784,11 @@
|
|
16766
16784
|
"example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
|
16767
16785
|
},
|
16768
16786
|
"fulfilment": {
|
16769
|
-
"description": "Fulfilment of the condition specified with the transaction. Mandatory if transfer has completed successfully.\n",
|
16770
16787
|
"title": "IlpFulfilment",
|
16771
16788
|
"type": "string",
|
16772
16789
|
"pattern": "^[A-Za-z0-9-_]{43}$",
|
16773
16790
|
"maxLength": 48,
|
16791
|
+
"description": "Fulfilment that must be attached to the transfer by the Payee.",
|
16774
16792
|
"example": "WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8"
|
16775
16793
|
},
|
16776
16794
|
"extensionList": {
|
@@ -16814,6 +16832,18 @@
|
|
16814
16832
|
"extension"
|
16815
16833
|
]
|
16816
16834
|
},
|
16835
|
+
"transferState": {
|
16836
|
+
"title": "TransferState",
|
16837
|
+
"type": "string",
|
16838
|
+
"enum": [
|
16839
|
+
"RECEIVED",
|
16840
|
+
"RESERVED",
|
16841
|
+
"COMMITTED",
|
16842
|
+
"ABORTED"
|
16843
|
+
],
|
16844
|
+
"description": "Below are the allowed values for the enumeration.\n- RECEIVED - Next ledger has received the transfer.\n- RESERVED - Next ledger has reserved the transfer.\n- COMMITTED - Next ledger has successfully performed the transfer.\n- ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.",
|
16845
|
+
"example": "RESERVED"
|
16846
|
+
},
|
16817
16847
|
"lastError": {
|
16818
16848
|
"type": "object",
|
16819
16849
|
"description": "This object represents a Mojaloop API error received at any time during the transfer process",
|
@@ -16823,7 +16853,6 @@
|
|
16823
16853
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
16824
16854
|
},
|
16825
16855
|
"mojaloopError": {
|
16826
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
16827
16856
|
"type": "object",
|
16828
16857
|
"properties": {
|
16829
16858
|
"errorInformation": {
|
@@ -16989,7 +17018,6 @@
|
|
16989
17018
|
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
16990
17019
|
},
|
16991
17020
|
"mojaloopError": {
|
16992
|
-
"description": "If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object.",
|
16993
17021
|
"type": "object",
|
16994
17022
|
"properties": {
|
16995
17023
|
"errorInformation": {
|
@@ -726,21 +726,18 @@ export interface components {
|
|
726
726
|
quoteError: {
|
727
727
|
/** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
|
728
728
|
httpStatusCode?: number;
|
729
|
-
/** @description If a quote process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object. */
|
730
729
|
mojaloopError?: components["schemas"]["mojaloopError"];
|
731
730
|
};
|
732
731
|
individualQuoteResult: {
|
733
732
|
quoteId: components["schemas"]["CorrelationId"];
|
734
|
-
transferAmount
|
733
|
+
transferAmount?: components["schemas"]["Money"];
|
735
734
|
payeeReceiveAmount?: components["schemas"]["Money"];
|
736
735
|
payeeFspFee?: components["schemas"]["Money"];
|
737
736
|
payeeFspCommission?: components["schemas"]["Money"];
|
738
737
|
geoCode?: components["schemas"]["GeoCode"];
|
739
|
-
ilpPacket
|
740
|
-
condition
|
741
|
-
/** @description Optional extension, specific to deployment. */
|
738
|
+
ilpPacket?: components["schemas"]["IlpPacket"];
|
739
|
+
condition?: components["schemas"]["IlpCondition"];
|
742
740
|
extensionList?: components["schemas"]["ExtensionList"];
|
743
|
-
/** @description Object representing the last error to occur during a quote process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter. */
|
744
741
|
lastError?: components["schemas"]["quoteError"];
|
745
742
|
};
|
746
743
|
/**
|
@@ -749,19 +746,28 @@ export interface components {
|
|
749
746
|
* @example WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
750
747
|
*/
|
751
748
|
IlpFulfilment: string;
|
749
|
+
/**
|
750
|
+
* TransferState
|
751
|
+
* @description Below are the allowed values for the enumeration.
|
752
|
+
* - RECEIVED - Next ledger has received the transfer.
|
753
|
+
* - RESERVED - Next ledger has reserved the transfer.
|
754
|
+
* - COMMITTED - Next ledger has successfully performed the transfer.
|
755
|
+
* - ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.
|
756
|
+
* @example RESERVED
|
757
|
+
* @enum {string}
|
758
|
+
*/
|
759
|
+
TransferState: "RECEIVED" | "RESERVED" | "COMMITTED" | "ABORTED";
|
752
760
|
/** @description This object represents a Mojaloop API error received at any time during the transfer process */
|
753
761
|
transferError: {
|
754
762
|
/** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
|
755
763
|
httpStatusCode?: number;
|
756
|
-
/** @description If a transfer process results in an error callback during the asynchronous Mojaloop API exchange, this property will contain the underlying Mojaloop API error object. */
|
757
764
|
mojaloopError?: components["schemas"]["mojaloopError"];
|
758
765
|
};
|
759
766
|
individualTransferResult: {
|
760
767
|
transferId: components["schemas"]["CorrelationId"];
|
761
|
-
/** @description Fulfilment of the condition specified with the transaction. Mandatory if transfer has completed successfully. */
|
762
768
|
fulfilment?: components["schemas"]["IlpFulfilment"];
|
763
|
-
/** @description Optional extension, specific to deployment. */
|
764
769
|
extensionList?: components["schemas"]["ExtensionList"];
|
770
|
+
transferState?: components["schemas"]["TransferState"];
|
765
771
|
lastError?: components["schemas"]["transferError"];
|
766
772
|
};
|
767
773
|
bulkTransactionIndividualTransferResult: {
|