@mojaloop/api-snippets 16.0.3 → 16.0.5
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 +14 -0
- package/docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml +0 -2
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +71 -86
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/json-schemas.json +0 -3
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +3 -3
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/schemas.d.ts +0 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +5 -20
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +31 -56
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +0 -17
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +0 -2
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/types.d.ts +0 -2
- package/package.json +15 -15
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkQuoteErrorResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkQuoteResponse.yaml +1 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkTransactionRequest.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkTransactionResponse.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransfer.yaml +2 -2
- package/docs/sdk-scheme-adapter-outbound-openapi3-snippets.yaml +0 -4657
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,18 @@
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
2
|
+
### [16.0.5](https://github.com/mojaloop/api-snippets/compare/v16.0.4...v16.0.5) (2022-11-04)
|
3
|
+
|
4
|
+
|
5
|
+
### Bug Fixes
|
6
|
+
|
7
|
+
* **mojaloop/#3003:** remove maxItems on bulkTransaction components ([#146](https://github.com/mojaloop/api-snippets/issues/146)) ([0a91072](https://github.com/mojaloop/api-snippets/commit/0a91072899dd5a832488963047b4988e55d93250)), closes [mojaloop/#3003](https://github.com/mojaloop/api-snippets/issues/3003)
|
8
|
+
|
9
|
+
### [16.0.4](https://github.com/mojaloop/api-snippets/compare/v16.0.3...v16.0.4) (2022-09-30)
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* required props ([#145](https://github.com/mojaloop/api-snippets/issues/145)) ([d615f4a](https://github.com/mojaloop/api-snippets/commit/d615f4aca0e5b6a49e1e944d180ebe2720bff7cb))
|
15
|
+
|
2
16
|
### [16.0.3](https://github.com/mojaloop/api-snippets/compare/v16.0.2...v16.0.3) (2022-09-23)
|
3
17
|
|
4
18
|
|
@@ -16,8 +16,8 @@ info:
|
|
16
16
|
**Note on terminology:** The term "Switch" is equal to the term "Hub", and
|
17
17
|
the term "FSP" is equal to the term "DFSP".
|
18
18
|
license:
|
19
|
-
name:
|
20
|
-
url:
|
19
|
+
name: Apache License Version 2.0, January 2004
|
20
|
+
url: https://github.com/mojaloop/documentation/blob/master/LICENSE.md
|
21
21
|
version: 1.0.0
|
22
22
|
paths:
|
23
23
|
/:
|
@@ -206,7 +206,7 @@ paths:
|
|
206
206
|
displayName:
|
207
207
|
title: Name
|
208
208
|
type: string
|
209
|
-
pattern:
|
209
|
+
pattern: ^(?!\s*$)[\w .,'-]{1,128}$
|
210
210
|
description: >-
|
211
211
|
The API data type Name is a JSON String, restricted by a
|
212
212
|
regular expression to avoid characters which are
|
@@ -265,7 +265,7 @@ paths:
|
|
265
265
|
merchantClassificationCode:
|
266
266
|
title: MerchantClassificationCode
|
267
267
|
type: string
|
268
|
-
pattern:
|
268
|
+
pattern: ^[\d]{1,4}$
|
269
269
|
description: >-
|
270
270
|
A limited set of pre-defined numbers. This list would be
|
271
271
|
a limited set of numbers identifying a set of popular
|
@@ -500,7 +500,7 @@ paths:
|
|
500
500
|
amount:
|
501
501
|
title: Amount
|
502
502
|
type: string
|
503
|
-
pattern:
|
503
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
504
504
|
description: >-
|
505
505
|
The API data type Amount is a JSON String in a canonical
|
506
506
|
format that is restricted by a regular expression for
|
@@ -614,7 +614,7 @@ paths:
|
|
614
614
|
amount:
|
615
615
|
title: Amount
|
616
616
|
type: string
|
617
|
-
pattern:
|
617
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
618
618
|
description: >-
|
619
619
|
The API data type Amount is a JSON String in a canonical
|
620
620
|
format that is restricted by a regular expression for
|
@@ -676,7 +676,7 @@ paths:
|
|
676
676
|
body:
|
677
677
|
title: QuotesIDPutResponse
|
678
678
|
type: object
|
679
|
-
description:
|
679
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
680
680
|
properties: &ref_56
|
681
681
|
transferAmount:
|
682
682
|
title: Money
|
@@ -787,7 +787,7 @@ paths:
|
|
787
787
|
ilpPacket:
|
788
788
|
title: IlpPacket
|
789
789
|
type: string
|
790
|
-
pattern:
|
790
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
791
791
|
minLength: 1
|
792
792
|
maxLength: 32768
|
793
793
|
description: >-
|
@@ -798,7 +798,7 @@ paths:
|
|
798
798
|
condition:
|
799
799
|
title: IlpCondition
|
800
800
|
type: string
|
801
|
-
pattern:
|
801
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
802
802
|
maxLength: 48
|
803
803
|
description: >-
|
804
804
|
Condition that must be attached to the transfer by
|
@@ -846,12 +846,12 @@ paths:
|
|
846
846
|
body:
|
847
847
|
title: TransfersIDPutResponse
|
848
848
|
type: object
|
849
|
-
description:
|
849
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
850
850
|
properties: &ref_20
|
851
851
|
fulfilment:
|
852
852
|
title: IlpFulfilment
|
853
853
|
type: string
|
854
|
-
pattern:
|
854
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
855
855
|
maxLength: 48
|
856
856
|
description: >-
|
857
857
|
Fulfilment that must be attached to the transfer
|
@@ -940,7 +940,7 @@ paths:
|
|
940
940
|
errorCode:
|
941
941
|
title: ErrorCode
|
942
942
|
type: string
|
943
|
-
pattern:
|
943
|
+
pattern: ^[1-9]\d{3}$
|
944
944
|
description: >-
|
945
945
|
The API data type ErrorCode is a JSON String
|
946
946
|
of four characters, consisting of digits only.
|
@@ -979,7 +979,7 @@ paths:
|
|
979
979
|
previous party resolution has been performed.
|
980
980
|
type: boolean
|
981
981
|
'400':
|
982
|
-
description:
|
982
|
+
description: Malformed or missing required body, headers or parameters
|
983
983
|
content: &ref_143
|
984
984
|
application/json:
|
985
985
|
schema:
|
@@ -1012,7 +1012,7 @@ paths:
|
|
1012
1012
|
application/json:
|
1013
1013
|
schema:
|
1014
1014
|
allOf: *ref_14
|
1015
|
-
|
1015
|
+
/transfers/{transferId}:
|
1016
1016
|
put:
|
1017
1017
|
summary: >-
|
1018
1018
|
Continues a transfer that has paused at the quote stage in order to
|
@@ -1141,7 +1141,7 @@ paths:
|
|
1141
1141
|
body:
|
1142
1142
|
title: TransfersIDPutResponse
|
1143
1143
|
type: object
|
1144
|
-
description:
|
1144
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
1145
1145
|
properties: *ref_20
|
1146
1146
|
required: *ref_21
|
1147
1147
|
headers:
|
@@ -1414,7 +1414,7 @@ paths:
|
|
1414
1414
|
merchantClassificationCode:
|
1415
1415
|
title: MerchantClassificationCode
|
1416
1416
|
type: string
|
1417
|
-
pattern:
|
1417
|
+
pattern: ^[\d]{1,4}$
|
1418
1418
|
description: >-
|
1419
1419
|
A limited set of pre-defined numbers. This list would be
|
1420
1420
|
a limited set of numbers identifying a set of popular
|
@@ -1479,7 +1479,6 @@ paths:
|
|
1479
1479
|
description: List of individual transfers in a bulk transfer.
|
1480
1480
|
type: array
|
1481
1481
|
minItems: 1
|
1482
|
-
maxItems: 1000
|
1483
1482
|
items:
|
1484
1483
|
title: BulkTransactionIndividualTransfer
|
1485
1484
|
type: object
|
@@ -1532,7 +1531,7 @@ paths:
|
|
1532
1531
|
amount:
|
1533
1532
|
title: Amount
|
1534
1533
|
type: string
|
1535
|
-
pattern:
|
1534
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
1536
1535
|
description: >-
|
1537
1536
|
The API data type Amount is a JSON String in a
|
1538
1537
|
canonical format that is restricted by a regular
|
@@ -1591,7 +1590,7 @@ paths:
|
|
1591
1590
|
'202':
|
1592
1591
|
description: Bulk transfer accepted successfully
|
1593
1592
|
'400':
|
1594
|
-
description:
|
1593
|
+
description: Malformed or missing required body, headers or parameters
|
1595
1594
|
content: &ref_41
|
1596
1595
|
application/json:
|
1597
1596
|
schema:
|
@@ -1730,7 +1729,7 @@ paths:
|
|
1730
1729
|
transfer by the Payee.
|
1731
1730
|
title: IlpFulfilment
|
1732
1731
|
type: string
|
1733
|
-
pattern:
|
1732
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
1734
1733
|
maxLength: 48
|
1735
1734
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
1736
1735
|
extensionList:
|
@@ -1759,7 +1758,7 @@ paths:
|
|
1759
1758
|
schema:
|
1760
1759
|
type: object
|
1761
1760
|
properties: *ref_22
|
1762
|
-
|
1761
|
+
/bulkTransactions/{bulkTransactionId}:
|
1763
1762
|
put:
|
1764
1763
|
summary: Amends the bulk transaction request
|
1765
1764
|
description: >-
|
@@ -1889,7 +1888,7 @@ paths:
|
|
1889
1888
|
'202':
|
1890
1889
|
description: Bulk transaction information successfully amended
|
1891
1890
|
'400':
|
1892
|
-
description:
|
1891
|
+
description: Malformed or missing required body, headers or parameters
|
1893
1892
|
content: &ref_144
|
1894
1893
|
application/json:
|
1895
1894
|
schema:
|
@@ -2090,7 +2089,7 @@ paths:
|
|
2090
2089
|
amount:
|
2091
2090
|
title: Amount
|
2092
2091
|
type: string
|
2093
|
-
pattern:
|
2092
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2094
2093
|
description: >-
|
2095
2094
|
The API data type Amount is a JSON String in a
|
2096
2095
|
canonical format that is restricted by a regular
|
@@ -2109,7 +2108,7 @@ paths:
|
|
2109
2108
|
ilpPacket:
|
2110
2109
|
title: IlpPacket
|
2111
2110
|
type: string
|
2112
|
-
pattern:
|
2111
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
2113
2112
|
minLength: 1
|
2114
2113
|
maxLength: 32768
|
2115
2114
|
description: >-
|
@@ -2120,7 +2119,7 @@ paths:
|
|
2120
2119
|
condition:
|
2121
2120
|
title: IlpCondition
|
2122
2121
|
type: string
|
2123
|
-
pattern:
|
2122
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2124
2123
|
maxLength: 48
|
2125
2124
|
description: >-
|
2126
2125
|
Condition that must be attached to the transfer by the
|
@@ -2167,12 +2166,12 @@ paths:
|
|
2167
2166
|
required: *ref_39
|
2168
2167
|
properties: *ref_40
|
2169
2168
|
'400':
|
2170
|
-
description:
|
2169
|
+
description: Malformed or missing required body, headers or parameters
|
2171
2170
|
content: *ref_41
|
2172
2171
|
'500':
|
2173
2172
|
description: Internal Server Error
|
2174
2173
|
content: *ref_42
|
2175
|
-
|
2174
|
+
/bulkTransfers/{bulkTransferId}:
|
2176
2175
|
get:
|
2177
2176
|
summary: Retrieves information for a specific bulk transfer
|
2178
2177
|
description: >-
|
@@ -2249,7 +2248,7 @@ paths:
|
|
2249
2248
|
the Payee.
|
2250
2249
|
title: IlpFulfilment
|
2251
2250
|
type: string
|
2252
|
-
pattern:
|
2251
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2253
2252
|
maxLength: 48
|
2254
2253
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
2255
2254
|
extensionList:
|
@@ -2369,7 +2368,7 @@ paths:
|
|
2369
2368
|
amount:
|
2370
2369
|
title: Amount
|
2371
2370
|
type: string
|
2372
|
-
pattern:
|
2371
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2373
2372
|
description: >-
|
2374
2373
|
The API data type Amount is a JSON String in a
|
2375
2374
|
canonical format that is restricted by a regular
|
@@ -2427,6 +2426,7 @@ paths:
|
|
2427
2426
|
- bulkQuoteId
|
2428
2427
|
- individualQuoteResults
|
2429
2428
|
- currentState
|
2429
|
+
- expiration
|
2430
2430
|
properties: &ref_48
|
2431
2431
|
bulkQuoteId:
|
2432
2432
|
title: CorrelationId
|
@@ -2534,7 +2534,7 @@ paths:
|
|
2534
2534
|
ilpPacket:
|
2535
2535
|
title: IlpPacket
|
2536
2536
|
type: string
|
2537
|
-
pattern:
|
2537
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
2538
2538
|
minLength: 1
|
2539
2539
|
maxLength: 32768
|
2540
2540
|
description: >-
|
@@ -2545,7 +2545,7 @@ paths:
|
|
2545
2545
|
condition:
|
2546
2546
|
title: IlpCondition
|
2547
2547
|
type: string
|
2548
|
-
pattern:
|
2548
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2549
2549
|
maxLength: 48
|
2550
2550
|
description: >-
|
2551
2551
|
Condition that must be attached to the transfer by
|
@@ -2573,7 +2573,7 @@ paths:
|
|
2573
2573
|
List of individualQuoteResults in a bulk transfer
|
2574
2574
|
response.
|
2575
2575
|
'400':
|
2576
|
-
description:
|
2576
|
+
description: Malformed or missing required body, headers or parameters
|
2577
2577
|
content: &ref_147
|
2578
2578
|
application/json:
|
2579
2579
|
schema:
|
@@ -2582,7 +2582,7 @@ paths:
|
|
2582
2582
|
properties: *ref_22
|
2583
2583
|
- type: object
|
2584
2584
|
required:
|
2585
|
-
-
|
2585
|
+
- bulkQuoteState
|
2586
2586
|
properties:
|
2587
2587
|
bulkQuoteState:
|
2588
2588
|
type: object
|
@@ -2600,7 +2600,7 @@ paths:
|
|
2600
2600
|
application/json:
|
2601
2601
|
schema:
|
2602
2602
|
allOf: *ref_49
|
2603
|
-
|
2603
|
+
/bulkQuotes/{bulkQuoteId}:
|
2604
2604
|
get:
|
2605
2605
|
summary: Retrieves information for a specific bulk quote
|
2606
2606
|
description: >-
|
@@ -2752,7 +2752,7 @@ paths:
|
|
2752
2752
|
amount:
|
2753
2753
|
title: Amount
|
2754
2754
|
type: string
|
2755
|
-
pattern:
|
2755
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2756
2756
|
description: >-
|
2757
2757
|
The API data type Amount is a JSON String in a canonical
|
2758
2758
|
format that is restricted by a regular expression for
|
@@ -2807,7 +2807,7 @@ paths:
|
|
2807
2807
|
subScenario:
|
2808
2808
|
title: TransactionSubScenario
|
2809
2809
|
type: string
|
2810
|
-
pattern:
|
2810
|
+
pattern: ^[A-Z_]{1,32}$
|
2811
2811
|
description: >-
|
2812
2812
|
Possible sub-scenario, defined locally within the scheme
|
2813
2813
|
(UndefinedEnum Type).
|
@@ -2881,7 +2881,7 @@ paths:
|
|
2881
2881
|
balanceOfPayments:
|
2882
2882
|
title: BalanceOfPayments
|
2883
2883
|
type: string
|
2884
|
-
pattern:
|
2884
|
+
pattern: ^[1-9]\d{2}$
|
2885
2885
|
description: >-
|
2886
2886
|
(BopCode) The API data type
|
2887
2887
|
[BopCode](https://www.imf.org/external/np/sta/bopcode/)
|
@@ -2992,7 +2992,7 @@ paths:
|
|
2992
2992
|
amount:
|
2993
2993
|
title: Amount
|
2994
2994
|
type: string
|
2995
|
-
pattern:
|
2995
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2996
2996
|
description: >-
|
2997
2997
|
The API data type Amount is a JSON String in a canonical
|
2998
2998
|
format that is restricted by a regular expression for
|
@@ -3177,7 +3177,7 @@ paths:
|
|
3177
3177
|
amount:
|
3178
3178
|
title: Amount
|
3179
3179
|
type: string
|
3180
|
-
pattern:
|
3180
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
3181
3181
|
description: >-
|
3182
3182
|
The API data type Amount is a JSON String in a canonical
|
3183
3183
|
format that is restricted by a regular expression for
|
@@ -3303,7 +3303,7 @@ paths:
|
|
3303
3303
|
amount:
|
3304
3304
|
title: Amount
|
3305
3305
|
type: string
|
3306
|
-
pattern:
|
3306
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
3307
3307
|
description: >-
|
3308
3308
|
The API data type Amount is a JSON String in a canonical
|
3309
3309
|
format that is restricted by a regular expression for
|
@@ -3347,7 +3347,7 @@ paths:
|
|
3347
3347
|
quoteResponse:
|
3348
3348
|
title: QuotesIDPutResponse
|
3349
3349
|
type: object
|
3350
|
-
description:
|
3350
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
3351
3351
|
properties: *ref_56
|
3352
3352
|
required: *ref_57
|
3353
3353
|
quoteResponseSource:
|
@@ -3360,7 +3360,7 @@ paths:
|
|
3360
3360
|
fulfil:
|
3361
3361
|
title: TransfersIDPutResponse
|
3362
3362
|
type: object
|
3363
|
-
description:
|
3363
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
3364
3364
|
properties: *ref_20
|
3365
3365
|
required: *ref_21
|
3366
3366
|
lastError:
|
@@ -3370,7 +3370,7 @@ paths:
|
|
3370
3370
|
type: object
|
3371
3371
|
properties: *ref_26
|
3372
3372
|
'400':
|
3373
|
-
description:
|
3373
|
+
description: Malformed or missing required body, headers or parameters
|
3374
3374
|
content: &ref_152
|
3375
3375
|
application/json:
|
3376
3376
|
schema:
|
@@ -3381,7 +3381,7 @@ paths:
|
|
3381
3381
|
'504':
|
3382
3382
|
description: Timeout occurred processing the transfer
|
3383
3383
|
content: *ref_17
|
3384
|
-
|
3384
|
+
/requestToPayTransfer/{requestToPayTransactionId}:
|
3385
3385
|
put:
|
3386
3386
|
summary: >-
|
3387
3387
|
Continues a transfer that has paused at the otp stage in order to accept
|
@@ -3720,7 +3720,7 @@ paths:
|
|
3720
3720
|
application/json:
|
3721
3721
|
schema:
|
3722
3722
|
allOf: *ref_62
|
3723
|
-
|
3723
|
+
/parties/{Type}/{ID}:
|
3724
3724
|
parameters:
|
3725
3725
|
- name: Type
|
3726
3726
|
in: path
|
@@ -3754,7 +3754,7 @@ paths:
|
|
3754
3754
|
schema:
|
3755
3755
|
title: partiesByIdResponse
|
3756
3756
|
type: object
|
3757
|
-
description:
|
3757
|
+
description: GET /parties/{Type}/{ID} response object
|
3758
3758
|
properties: &ref_127
|
3759
3759
|
party:
|
3760
3760
|
properties:
|
@@ -3791,7 +3791,7 @@ paths:
|
|
3791
3791
|
description: Data model for the complex type ErrorInformation.
|
3792
3792
|
properties: *ref_63
|
3793
3793
|
required: *ref_64
|
3794
|
-
|
3794
|
+
/parties/{Type}/{ID}/{SubId}:
|
3795
3795
|
parameters:
|
3796
3796
|
- name: Type
|
3797
3797
|
in: path
|
@@ -4013,7 +4013,7 @@ paths:
|
|
4013
4013
|
quotes:
|
4014
4014
|
title: QuotesIDPutResponse
|
4015
4015
|
type: object
|
4016
|
-
description:
|
4016
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
4017
4017
|
properties:
|
4018
4018
|
body:
|
4019
4019
|
type: object
|
@@ -4061,7 +4061,7 @@ paths:
|
|
4061
4061
|
ilpPacket:
|
4062
4062
|
title: IlpPacket
|
4063
4063
|
type: string
|
4064
|
-
pattern:
|
4064
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
4065
4065
|
minLength: 1
|
4066
4066
|
maxLength: 32768
|
4067
4067
|
description: >-
|
@@ -4072,7 +4072,7 @@ paths:
|
|
4072
4072
|
condition:
|
4073
4073
|
title: IlpCondition
|
4074
4074
|
type: string
|
4075
|
-
pattern:
|
4075
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4076
4076
|
maxLength: 48
|
4077
4077
|
description: >-
|
4078
4078
|
Condition that must be attached to the transfer by
|
@@ -4173,7 +4173,7 @@ paths:
|
|
4173
4173
|
ilpPacket:
|
4174
4174
|
title: IlpPacket
|
4175
4175
|
type: string
|
4176
|
-
pattern:
|
4176
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
4177
4177
|
minLength: 1
|
4178
4178
|
maxLength: 32768
|
4179
4179
|
description: Information for recipient (transport layer information).
|
@@ -4182,7 +4182,7 @@ paths:
|
|
4182
4182
|
condition:
|
4183
4183
|
title: IlpCondition
|
4184
4184
|
type: string
|
4185
|
-
pattern:
|
4185
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4186
4186
|
maxLength: 48
|
4187
4187
|
description: >-
|
4188
4188
|
Condition that must be attached to the transfer by the
|
@@ -4239,7 +4239,7 @@ paths:
|
|
4239
4239
|
body:
|
4240
4240
|
title: TransfersIDPutResponse
|
4241
4241
|
type: object
|
4242
|
-
description:
|
4242
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
4243
4243
|
properties: *ref_20
|
4244
4244
|
required: *ref_21
|
4245
4245
|
headers:
|
@@ -4343,7 +4343,7 @@ components:
|
|
4343
4343
|
Name:
|
4344
4344
|
title: Name
|
4345
4345
|
type: string
|
4346
|
-
pattern:
|
4346
|
+
pattern: ^(?!\s*$)[\w .,'-]{1,128}$
|
4347
4347
|
description: >-
|
4348
4348
|
The API data type Name is a JSON String, restricted by a regular
|
4349
4349
|
expression to avoid characters which are generally not used in a name.
|
@@ -4399,7 +4399,7 @@ components:
|
|
4399
4399
|
MerchantClassificationCode:
|
4400
4400
|
title: MerchantClassificationCode
|
4401
4401
|
type: string
|
4402
|
-
pattern:
|
4402
|
+
pattern: ^[\d]{1,4}$
|
4403
4403
|
description: >-
|
4404
4404
|
A limited set of pre-defined numbers. This list would be a limited set
|
4405
4405
|
of numbers identifying a set of popular merchant types like School Fees,
|
@@ -4464,7 +4464,7 @@ components:
|
|
4464
4464
|
Amount:
|
4465
4465
|
title: Amount
|
4466
4466
|
type: string
|
4467
|
-
pattern:
|
4467
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
4468
4468
|
description: >-
|
4469
4469
|
The API data type Amount is a JSON String in a canonical format that is
|
4470
4470
|
restricted by a regular expression for interoperability reasons. This
|
@@ -4555,7 +4555,7 @@ components:
|
|
4555
4555
|
IlpPacket:
|
4556
4556
|
title: IlpPacket
|
4557
4557
|
type: string
|
4558
|
-
pattern:
|
4558
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
4559
4559
|
minLength: 1
|
4560
4560
|
maxLength: 32768
|
4561
4561
|
description: Information for recipient (transport layer information).
|
@@ -4564,7 +4564,7 @@ components:
|
|
4564
4564
|
IlpCondition:
|
4565
4565
|
title: IlpCondition
|
4566
4566
|
type: string
|
4567
|
-
pattern:
|
4567
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4568
4568
|
maxLength: 48
|
4569
4569
|
description: Condition that must be attached to the transfer by the Payer.
|
4570
4570
|
ExtensionList:
|
@@ -4578,13 +4578,13 @@ components:
|
|
4578
4578
|
QuotesIDPutResponse:
|
4579
4579
|
title: QuotesIDPutResponse
|
4580
4580
|
type: object
|
4581
|
-
description:
|
4581
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
4582
4582
|
properties: *ref_56
|
4583
4583
|
required: *ref_57
|
4584
4584
|
IlpFulfilment:
|
4585
4585
|
title: IlpFulfilment
|
4586
4586
|
type: string
|
4587
|
-
pattern:
|
4587
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4588
4588
|
maxLength: 48
|
4589
4589
|
description: Fulfilment that must be attached to the transfer by the Payee.
|
4590
4590
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
@@ -4607,13 +4607,13 @@ components:
|
|
4607
4607
|
TransfersIDPutResponse:
|
4608
4608
|
title: TransfersIDPutResponse
|
4609
4609
|
type: object
|
4610
|
-
description:
|
4610
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
4611
4611
|
properties: *ref_20
|
4612
4612
|
required: *ref_21
|
4613
4613
|
ErrorCode:
|
4614
4614
|
title: ErrorCode
|
4615
4615
|
type: string
|
4616
|
-
pattern:
|
4616
|
+
pattern: ^[1-9]\d{3}$
|
4617
4617
|
description: >-
|
4618
4618
|
The API data type ErrorCode is a JSON String of four characters,
|
4619
4619
|
consisting of digits only. Negative numbers are not allowed. A leading
|
@@ -4769,21 +4769,6 @@ components:
|
|
4769
4769
|
properties: *ref_46
|
4770
4770
|
bulkTransactionAcceptQuoteErrorResponse:
|
4771
4771
|
allOf: *ref_95
|
4772
|
-
ilpPacket:
|
4773
|
-
title: IlpPacket
|
4774
|
-
type: string
|
4775
|
-
pattern: '^[A-Za-z0-9-_]+[=]{0,2}$'
|
4776
|
-
minLength: 1
|
4777
|
-
maxLength: 32768
|
4778
|
-
description: Information for recipient (transport layer information).
|
4779
|
-
example: >-
|
4780
|
-
AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
|
4781
|
-
ilpCondition:
|
4782
|
-
title: IlpCondition
|
4783
|
-
type: string
|
4784
|
-
pattern: '^[A-Za-z0-9-_]{43}$'
|
4785
|
-
maxLength: 48
|
4786
|
-
description: Condition that must be attached to the transfer by the Payer.
|
4787
4772
|
individualTransfer:
|
4788
4773
|
title: IndividualTransfer
|
4789
4774
|
type: object
|
@@ -4862,7 +4847,7 @@ components:
|
|
4862
4847
|
TransactionSubScenario:
|
4863
4848
|
title: TransactionSubScenario
|
4864
4849
|
type: string
|
4865
|
-
pattern:
|
4850
|
+
pattern: ^[A-Z_]{1,32}$
|
4866
4851
|
description: >-
|
4867
4852
|
Possible sub-scenario, defined locally within the scheme (UndefinedEnum
|
4868
4853
|
Type).
|
@@ -4899,7 +4884,7 @@ components:
|
|
4899
4884
|
BalanceOfPayments:
|
4900
4885
|
title: BalanceOfPayments
|
4901
4886
|
type: string
|
4902
|
-
pattern:
|
4887
|
+
pattern: ^[1-9]\d{2}$
|
4903
4888
|
description: >-
|
4904
4889
|
(BopCode) The API data type
|
4905
4890
|
[BopCode](https://www.imf.org/external/np/sta/bopcode/) is a JSON String
|
@@ -4974,7 +4959,7 @@ components:
|
|
4974
4959
|
partiesByIdResponse:
|
4975
4960
|
title: partiesByIdResponse
|
4976
4961
|
type: object
|
4977
|
-
description:
|
4962
|
+
description: GET /parties/{Type}/{ID} response object
|
4978
4963
|
properties: *ref_127
|
4979
4964
|
required: *ref_128
|
4980
4965
|
QuotesPostRequest:
|
@@ -5018,7 +5003,7 @@ components:
|
|
5018
5003
|
description: Transfer completed successfully
|
5019
5004
|
content: *ref_15
|
5020
5005
|
transferBadRequest:
|
5021
|
-
description:
|
5006
|
+
description: Malformed or missing required body, headers or parameters
|
5022
5007
|
content: *ref_143
|
5023
5008
|
transferServerError:
|
5024
5009
|
description: An error occurred processing the transfer
|
@@ -5029,13 +5014,13 @@ components:
|
|
5029
5014
|
bulkTransactionAccepted:
|
5030
5015
|
description: Bulk transfer accepted successfully
|
5031
5016
|
bulkTransferBadRequest:
|
5032
|
-
description:
|
5017
|
+
description: Malformed or missing required body, headers or parameters
|
5033
5018
|
content: *ref_41
|
5034
5019
|
errorResponse:
|
5035
5020
|
description: Internal Server Error
|
5036
5021
|
content: *ref_42
|
5037
5022
|
bulkTransactionPutBadRequest:
|
5038
|
-
description:
|
5023
|
+
description: Malformed or missing required body, headers or parameters
|
5039
5024
|
content: *ref_144
|
5040
5025
|
bulkTransferSuccess:
|
5041
5026
|
description: Bulk transfer completed successfully
|
@@ -5044,7 +5029,7 @@ components:
|
|
5044
5029
|
description: Bulk quote completed successfully
|
5045
5030
|
content: *ref_146
|
5046
5031
|
bulkQuoteBadRequest:
|
5047
|
-
description:
|
5032
|
+
description: Malformed or missing required body, headers or parameters
|
5048
5033
|
content: *ref_147
|
5049
5034
|
bulkQuoteServerError:
|
5050
5035
|
description: An error occurred processing the bulk quote
|
@@ -5059,7 +5044,7 @@ components:
|
|
5059
5044
|
description: Transfer completed successfully
|
5060
5045
|
content: *ref_151
|
5061
5046
|
requestToPayTransferBadRequest:
|
5062
|
-
description:
|
5047
|
+
description: Malformed or missing required body, headers or parameters
|
5063
5048
|
content: *ref_152
|
5064
5049
|
accountsCreationCompleted:
|
5065
5050
|
description: Accounts creation completed
|
@@ -5134,7 +5119,7 @@ components:
|
|
5134
5119
|
in: path
|
5135
5120
|
required: true
|
5136
5121
|
schema: *ref_65
|
5137
|
-
description:
|
5122
|
+
description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
|
5138
5123
|
ID:
|
5139
5124
|
name: ID
|
5140
5125
|
in: path
|