@mojaloop/api-snippets 16.0.3 → 16.0.4
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/docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml +0 -1
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +71 -85
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/json-schemas.json +0 -2
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +3 -3
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +5 -19
- 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 -16
- 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 +10 -10
- 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/individualTransfer.yaml +2 -2
- package/docs/sdk-scheme-adapter-outbound-openapi3-snippets.yaml +0 -4657
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
2
|
+
### [16.0.4](https://github.com/mojaloop/api-snippets/compare/v16.0.3...v16.0.4) (2022-09-30)
|
3
|
+
|
4
|
+
|
5
|
+
### Bug Fixes
|
6
|
+
|
7
|
+
* required props ([#145](https://github.com/mojaloop/api-snippets/issues/145)) ([d615f4a](https://github.com/mojaloop/api-snippets/commit/d615f4aca0e5b6a49e1e944d180ebe2720bff7cb))
|
8
|
+
|
2
9
|
### [16.0.3](https://github.com/mojaloop/api-snippets/compare/v16.0.2...v16.0.3) (2022-09-23)
|
3
10
|
|
4
11
|
|
@@ -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
|
@@ -1532,7 +1532,7 @@ paths:
|
|
1532
1532
|
amount:
|
1533
1533
|
title: Amount
|
1534
1534
|
type: string
|
1535
|
-
pattern:
|
1535
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
1536
1536
|
description: >-
|
1537
1537
|
The API data type Amount is a JSON String in a
|
1538
1538
|
canonical format that is restricted by a regular
|
@@ -1591,7 +1591,7 @@ paths:
|
|
1591
1591
|
'202':
|
1592
1592
|
description: Bulk transfer accepted successfully
|
1593
1593
|
'400':
|
1594
|
-
description:
|
1594
|
+
description: Malformed or missing required body, headers or parameters
|
1595
1595
|
content: &ref_41
|
1596
1596
|
application/json:
|
1597
1597
|
schema:
|
@@ -1730,7 +1730,7 @@ paths:
|
|
1730
1730
|
transfer by the Payee.
|
1731
1731
|
title: IlpFulfilment
|
1732
1732
|
type: string
|
1733
|
-
pattern:
|
1733
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
1734
1734
|
maxLength: 48
|
1735
1735
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
1736
1736
|
extensionList:
|
@@ -1759,7 +1759,7 @@ paths:
|
|
1759
1759
|
schema:
|
1760
1760
|
type: object
|
1761
1761
|
properties: *ref_22
|
1762
|
-
|
1762
|
+
/bulkTransactions/{bulkTransactionId}:
|
1763
1763
|
put:
|
1764
1764
|
summary: Amends the bulk transaction request
|
1765
1765
|
description: >-
|
@@ -1889,7 +1889,7 @@ paths:
|
|
1889
1889
|
'202':
|
1890
1890
|
description: Bulk transaction information successfully amended
|
1891
1891
|
'400':
|
1892
|
-
description:
|
1892
|
+
description: Malformed or missing required body, headers or parameters
|
1893
1893
|
content: &ref_144
|
1894
1894
|
application/json:
|
1895
1895
|
schema:
|
@@ -2090,7 +2090,7 @@ paths:
|
|
2090
2090
|
amount:
|
2091
2091
|
title: Amount
|
2092
2092
|
type: string
|
2093
|
-
pattern:
|
2093
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2094
2094
|
description: >-
|
2095
2095
|
The API data type Amount is a JSON String in a
|
2096
2096
|
canonical format that is restricted by a regular
|
@@ -2109,7 +2109,7 @@ paths:
|
|
2109
2109
|
ilpPacket:
|
2110
2110
|
title: IlpPacket
|
2111
2111
|
type: string
|
2112
|
-
pattern:
|
2112
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
2113
2113
|
minLength: 1
|
2114
2114
|
maxLength: 32768
|
2115
2115
|
description: >-
|
@@ -2120,7 +2120,7 @@ paths:
|
|
2120
2120
|
condition:
|
2121
2121
|
title: IlpCondition
|
2122
2122
|
type: string
|
2123
|
-
pattern:
|
2123
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2124
2124
|
maxLength: 48
|
2125
2125
|
description: >-
|
2126
2126
|
Condition that must be attached to the transfer by the
|
@@ -2167,12 +2167,12 @@ paths:
|
|
2167
2167
|
required: *ref_39
|
2168
2168
|
properties: *ref_40
|
2169
2169
|
'400':
|
2170
|
-
description:
|
2170
|
+
description: Malformed or missing required body, headers or parameters
|
2171
2171
|
content: *ref_41
|
2172
2172
|
'500':
|
2173
2173
|
description: Internal Server Error
|
2174
2174
|
content: *ref_42
|
2175
|
-
|
2175
|
+
/bulkTransfers/{bulkTransferId}:
|
2176
2176
|
get:
|
2177
2177
|
summary: Retrieves information for a specific bulk transfer
|
2178
2178
|
description: >-
|
@@ -2249,7 +2249,7 @@ paths:
|
|
2249
2249
|
the Payee.
|
2250
2250
|
title: IlpFulfilment
|
2251
2251
|
type: string
|
2252
|
-
pattern:
|
2252
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2253
2253
|
maxLength: 48
|
2254
2254
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
2255
2255
|
extensionList:
|
@@ -2369,7 +2369,7 @@ paths:
|
|
2369
2369
|
amount:
|
2370
2370
|
title: Amount
|
2371
2371
|
type: string
|
2372
|
-
pattern:
|
2372
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2373
2373
|
description: >-
|
2374
2374
|
The API data type Amount is a JSON String in a
|
2375
2375
|
canonical format that is restricted by a regular
|
@@ -2427,6 +2427,7 @@ paths:
|
|
2427
2427
|
- bulkQuoteId
|
2428
2428
|
- individualQuoteResults
|
2429
2429
|
- currentState
|
2430
|
+
- expiration
|
2430
2431
|
properties: &ref_48
|
2431
2432
|
bulkQuoteId:
|
2432
2433
|
title: CorrelationId
|
@@ -2534,7 +2535,7 @@ paths:
|
|
2534
2535
|
ilpPacket:
|
2535
2536
|
title: IlpPacket
|
2536
2537
|
type: string
|
2537
|
-
pattern:
|
2538
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
2538
2539
|
minLength: 1
|
2539
2540
|
maxLength: 32768
|
2540
2541
|
description: >-
|
@@ -2545,7 +2546,7 @@ paths:
|
|
2545
2546
|
condition:
|
2546
2547
|
title: IlpCondition
|
2547
2548
|
type: string
|
2548
|
-
pattern:
|
2549
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2549
2550
|
maxLength: 48
|
2550
2551
|
description: >-
|
2551
2552
|
Condition that must be attached to the transfer by
|
@@ -2573,7 +2574,7 @@ paths:
|
|
2573
2574
|
List of individualQuoteResults in a bulk transfer
|
2574
2575
|
response.
|
2575
2576
|
'400':
|
2576
|
-
description:
|
2577
|
+
description: Malformed or missing required body, headers or parameters
|
2577
2578
|
content: &ref_147
|
2578
2579
|
application/json:
|
2579
2580
|
schema:
|
@@ -2582,7 +2583,7 @@ paths:
|
|
2582
2583
|
properties: *ref_22
|
2583
2584
|
- type: object
|
2584
2585
|
required:
|
2585
|
-
-
|
2586
|
+
- bulkQuoteState
|
2586
2587
|
properties:
|
2587
2588
|
bulkQuoteState:
|
2588
2589
|
type: object
|
@@ -2600,7 +2601,7 @@ paths:
|
|
2600
2601
|
application/json:
|
2601
2602
|
schema:
|
2602
2603
|
allOf: *ref_49
|
2603
|
-
|
2604
|
+
/bulkQuotes/{bulkQuoteId}:
|
2604
2605
|
get:
|
2605
2606
|
summary: Retrieves information for a specific bulk quote
|
2606
2607
|
description: >-
|
@@ -2752,7 +2753,7 @@ paths:
|
|
2752
2753
|
amount:
|
2753
2754
|
title: Amount
|
2754
2755
|
type: string
|
2755
|
-
pattern:
|
2756
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2756
2757
|
description: >-
|
2757
2758
|
The API data type Amount is a JSON String in a canonical
|
2758
2759
|
format that is restricted by a regular expression for
|
@@ -2807,7 +2808,7 @@ paths:
|
|
2807
2808
|
subScenario:
|
2808
2809
|
title: TransactionSubScenario
|
2809
2810
|
type: string
|
2810
|
-
pattern:
|
2811
|
+
pattern: ^[A-Z_]{1,32}$
|
2811
2812
|
description: >-
|
2812
2813
|
Possible sub-scenario, defined locally within the scheme
|
2813
2814
|
(UndefinedEnum Type).
|
@@ -2881,7 +2882,7 @@ paths:
|
|
2881
2882
|
balanceOfPayments:
|
2882
2883
|
title: BalanceOfPayments
|
2883
2884
|
type: string
|
2884
|
-
pattern:
|
2885
|
+
pattern: ^[1-9]\d{2}$
|
2885
2886
|
description: >-
|
2886
2887
|
(BopCode) The API data type
|
2887
2888
|
[BopCode](https://www.imf.org/external/np/sta/bopcode/)
|
@@ -2992,7 +2993,7 @@ paths:
|
|
2992
2993
|
amount:
|
2993
2994
|
title: Amount
|
2994
2995
|
type: string
|
2995
|
-
pattern:
|
2996
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
2996
2997
|
description: >-
|
2997
2998
|
The API data type Amount is a JSON String in a canonical
|
2998
2999
|
format that is restricted by a regular expression for
|
@@ -3177,7 +3178,7 @@ paths:
|
|
3177
3178
|
amount:
|
3178
3179
|
title: Amount
|
3179
3180
|
type: string
|
3180
|
-
pattern:
|
3181
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
3181
3182
|
description: >-
|
3182
3183
|
The API data type Amount is a JSON String in a canonical
|
3183
3184
|
format that is restricted by a regular expression for
|
@@ -3303,7 +3304,7 @@ paths:
|
|
3303
3304
|
amount:
|
3304
3305
|
title: Amount
|
3305
3306
|
type: string
|
3306
|
-
pattern:
|
3307
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
3307
3308
|
description: >-
|
3308
3309
|
The API data type Amount is a JSON String in a canonical
|
3309
3310
|
format that is restricted by a regular expression for
|
@@ -3347,7 +3348,7 @@ paths:
|
|
3347
3348
|
quoteResponse:
|
3348
3349
|
title: QuotesIDPutResponse
|
3349
3350
|
type: object
|
3350
|
-
description:
|
3351
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
3351
3352
|
properties: *ref_56
|
3352
3353
|
required: *ref_57
|
3353
3354
|
quoteResponseSource:
|
@@ -3360,7 +3361,7 @@ paths:
|
|
3360
3361
|
fulfil:
|
3361
3362
|
title: TransfersIDPutResponse
|
3362
3363
|
type: object
|
3363
|
-
description:
|
3364
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
3364
3365
|
properties: *ref_20
|
3365
3366
|
required: *ref_21
|
3366
3367
|
lastError:
|
@@ -3370,7 +3371,7 @@ paths:
|
|
3370
3371
|
type: object
|
3371
3372
|
properties: *ref_26
|
3372
3373
|
'400':
|
3373
|
-
description:
|
3374
|
+
description: Malformed or missing required body, headers or parameters
|
3374
3375
|
content: &ref_152
|
3375
3376
|
application/json:
|
3376
3377
|
schema:
|
@@ -3381,7 +3382,7 @@ paths:
|
|
3381
3382
|
'504':
|
3382
3383
|
description: Timeout occurred processing the transfer
|
3383
3384
|
content: *ref_17
|
3384
|
-
|
3385
|
+
/requestToPayTransfer/{requestToPayTransactionId}:
|
3385
3386
|
put:
|
3386
3387
|
summary: >-
|
3387
3388
|
Continues a transfer that has paused at the otp stage in order to accept
|
@@ -3720,7 +3721,7 @@ paths:
|
|
3720
3721
|
application/json:
|
3721
3722
|
schema:
|
3722
3723
|
allOf: *ref_62
|
3723
|
-
|
3724
|
+
/parties/{Type}/{ID}:
|
3724
3725
|
parameters:
|
3725
3726
|
- name: Type
|
3726
3727
|
in: path
|
@@ -3754,7 +3755,7 @@ paths:
|
|
3754
3755
|
schema:
|
3755
3756
|
title: partiesByIdResponse
|
3756
3757
|
type: object
|
3757
|
-
description:
|
3758
|
+
description: GET /parties/{Type}/{ID} response object
|
3758
3759
|
properties: &ref_127
|
3759
3760
|
party:
|
3760
3761
|
properties:
|
@@ -3791,7 +3792,7 @@ paths:
|
|
3791
3792
|
description: Data model for the complex type ErrorInformation.
|
3792
3793
|
properties: *ref_63
|
3793
3794
|
required: *ref_64
|
3794
|
-
|
3795
|
+
/parties/{Type}/{ID}/{SubId}:
|
3795
3796
|
parameters:
|
3796
3797
|
- name: Type
|
3797
3798
|
in: path
|
@@ -4013,7 +4014,7 @@ paths:
|
|
4013
4014
|
quotes:
|
4014
4015
|
title: QuotesIDPutResponse
|
4015
4016
|
type: object
|
4016
|
-
description:
|
4017
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
4017
4018
|
properties:
|
4018
4019
|
body:
|
4019
4020
|
type: object
|
@@ -4061,7 +4062,7 @@ paths:
|
|
4061
4062
|
ilpPacket:
|
4062
4063
|
title: IlpPacket
|
4063
4064
|
type: string
|
4064
|
-
pattern:
|
4065
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
4065
4066
|
minLength: 1
|
4066
4067
|
maxLength: 32768
|
4067
4068
|
description: >-
|
@@ -4072,7 +4073,7 @@ paths:
|
|
4072
4073
|
condition:
|
4073
4074
|
title: IlpCondition
|
4074
4075
|
type: string
|
4075
|
-
pattern:
|
4076
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4076
4077
|
maxLength: 48
|
4077
4078
|
description: >-
|
4078
4079
|
Condition that must be attached to the transfer by
|
@@ -4173,7 +4174,7 @@ paths:
|
|
4173
4174
|
ilpPacket:
|
4174
4175
|
title: IlpPacket
|
4175
4176
|
type: string
|
4176
|
-
pattern:
|
4177
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
4177
4178
|
minLength: 1
|
4178
4179
|
maxLength: 32768
|
4179
4180
|
description: Information for recipient (transport layer information).
|
@@ -4182,7 +4183,7 @@ paths:
|
|
4182
4183
|
condition:
|
4183
4184
|
title: IlpCondition
|
4184
4185
|
type: string
|
4185
|
-
pattern:
|
4186
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4186
4187
|
maxLength: 48
|
4187
4188
|
description: >-
|
4188
4189
|
Condition that must be attached to the transfer by the
|
@@ -4239,7 +4240,7 @@ paths:
|
|
4239
4240
|
body:
|
4240
4241
|
title: TransfersIDPutResponse
|
4241
4242
|
type: object
|
4242
|
-
description:
|
4243
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
4243
4244
|
properties: *ref_20
|
4244
4245
|
required: *ref_21
|
4245
4246
|
headers:
|
@@ -4343,7 +4344,7 @@ components:
|
|
4343
4344
|
Name:
|
4344
4345
|
title: Name
|
4345
4346
|
type: string
|
4346
|
-
pattern:
|
4347
|
+
pattern: ^(?!\s*$)[\w .,'-]{1,128}$
|
4347
4348
|
description: >-
|
4348
4349
|
The API data type Name is a JSON String, restricted by a regular
|
4349
4350
|
expression to avoid characters which are generally not used in a name.
|
@@ -4399,7 +4400,7 @@ components:
|
|
4399
4400
|
MerchantClassificationCode:
|
4400
4401
|
title: MerchantClassificationCode
|
4401
4402
|
type: string
|
4402
|
-
pattern:
|
4403
|
+
pattern: ^[\d]{1,4}$
|
4403
4404
|
description: >-
|
4404
4405
|
A limited set of pre-defined numbers. This list would be a limited set
|
4405
4406
|
of numbers identifying a set of popular merchant types like School Fees,
|
@@ -4464,7 +4465,7 @@ components:
|
|
4464
4465
|
Amount:
|
4465
4466
|
title: Amount
|
4466
4467
|
type: string
|
4467
|
-
pattern:
|
4468
|
+
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
4468
4469
|
description: >-
|
4469
4470
|
The API data type Amount is a JSON String in a canonical format that is
|
4470
4471
|
restricted by a regular expression for interoperability reasons. This
|
@@ -4555,7 +4556,7 @@ components:
|
|
4555
4556
|
IlpPacket:
|
4556
4557
|
title: IlpPacket
|
4557
4558
|
type: string
|
4558
|
-
pattern:
|
4559
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
4559
4560
|
minLength: 1
|
4560
4561
|
maxLength: 32768
|
4561
4562
|
description: Information for recipient (transport layer information).
|
@@ -4564,7 +4565,7 @@ components:
|
|
4564
4565
|
IlpCondition:
|
4565
4566
|
title: IlpCondition
|
4566
4567
|
type: string
|
4567
|
-
pattern:
|
4568
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4568
4569
|
maxLength: 48
|
4569
4570
|
description: Condition that must be attached to the transfer by the Payer.
|
4570
4571
|
ExtensionList:
|
@@ -4578,13 +4579,13 @@ components:
|
|
4578
4579
|
QuotesIDPutResponse:
|
4579
4580
|
title: QuotesIDPutResponse
|
4580
4581
|
type: object
|
4581
|
-
description:
|
4582
|
+
description: The object sent in the PUT /quotes/{ID} callback.
|
4582
4583
|
properties: *ref_56
|
4583
4584
|
required: *ref_57
|
4584
4585
|
IlpFulfilment:
|
4585
4586
|
title: IlpFulfilment
|
4586
4587
|
type: string
|
4587
|
-
pattern:
|
4588
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
4588
4589
|
maxLength: 48
|
4589
4590
|
description: Fulfilment that must be attached to the transfer by the Payee.
|
4590
4591
|
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
@@ -4607,13 +4608,13 @@ components:
|
|
4607
4608
|
TransfersIDPutResponse:
|
4608
4609
|
title: TransfersIDPutResponse
|
4609
4610
|
type: object
|
4610
|
-
description:
|
4611
|
+
description: The object sent in the PUT /transfers/{ID} callback.
|
4611
4612
|
properties: *ref_20
|
4612
4613
|
required: *ref_21
|
4613
4614
|
ErrorCode:
|
4614
4615
|
title: ErrorCode
|
4615
4616
|
type: string
|
4616
|
-
pattern:
|
4617
|
+
pattern: ^[1-9]\d{3}$
|
4617
4618
|
description: >-
|
4618
4619
|
The API data type ErrorCode is a JSON String of four characters,
|
4619
4620
|
consisting of digits only. Negative numbers are not allowed. A leading
|
@@ -4769,21 +4770,6 @@ components:
|
|
4769
4770
|
properties: *ref_46
|
4770
4771
|
bulkTransactionAcceptQuoteErrorResponse:
|
4771
4772
|
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
4773
|
individualTransfer:
|
4788
4774
|
title: IndividualTransfer
|
4789
4775
|
type: object
|
@@ -4862,7 +4848,7 @@ components:
|
|
4862
4848
|
TransactionSubScenario:
|
4863
4849
|
title: TransactionSubScenario
|
4864
4850
|
type: string
|
4865
|
-
pattern:
|
4851
|
+
pattern: ^[A-Z_]{1,32}$
|
4866
4852
|
description: >-
|
4867
4853
|
Possible sub-scenario, defined locally within the scheme (UndefinedEnum
|
4868
4854
|
Type).
|
@@ -4899,7 +4885,7 @@ components:
|
|
4899
4885
|
BalanceOfPayments:
|
4900
4886
|
title: BalanceOfPayments
|
4901
4887
|
type: string
|
4902
|
-
pattern:
|
4888
|
+
pattern: ^[1-9]\d{2}$
|
4903
4889
|
description: >-
|
4904
4890
|
(BopCode) The API data type
|
4905
4891
|
[BopCode](https://www.imf.org/external/np/sta/bopcode/) is a JSON String
|
@@ -4974,7 +4960,7 @@ components:
|
|
4974
4960
|
partiesByIdResponse:
|
4975
4961
|
title: partiesByIdResponse
|
4976
4962
|
type: object
|
4977
|
-
description:
|
4963
|
+
description: GET /parties/{Type}/{ID} response object
|
4978
4964
|
properties: *ref_127
|
4979
4965
|
required: *ref_128
|
4980
4966
|
QuotesPostRequest:
|
@@ -5018,7 +5004,7 @@ components:
|
|
5018
5004
|
description: Transfer completed successfully
|
5019
5005
|
content: *ref_15
|
5020
5006
|
transferBadRequest:
|
5021
|
-
description:
|
5007
|
+
description: Malformed or missing required body, headers or parameters
|
5022
5008
|
content: *ref_143
|
5023
5009
|
transferServerError:
|
5024
5010
|
description: An error occurred processing the transfer
|
@@ -5029,13 +5015,13 @@ components:
|
|
5029
5015
|
bulkTransactionAccepted:
|
5030
5016
|
description: Bulk transfer accepted successfully
|
5031
5017
|
bulkTransferBadRequest:
|
5032
|
-
description:
|
5018
|
+
description: Malformed or missing required body, headers or parameters
|
5033
5019
|
content: *ref_41
|
5034
5020
|
errorResponse:
|
5035
5021
|
description: Internal Server Error
|
5036
5022
|
content: *ref_42
|
5037
5023
|
bulkTransactionPutBadRequest:
|
5038
|
-
description:
|
5024
|
+
description: Malformed or missing required body, headers or parameters
|
5039
5025
|
content: *ref_144
|
5040
5026
|
bulkTransferSuccess:
|
5041
5027
|
description: Bulk transfer completed successfully
|
@@ -5044,7 +5030,7 @@ components:
|
|
5044
5030
|
description: Bulk quote completed successfully
|
5045
5031
|
content: *ref_146
|
5046
5032
|
bulkQuoteBadRequest:
|
5047
|
-
description:
|
5033
|
+
description: Malformed or missing required body, headers or parameters
|
5048
5034
|
content: *ref_147
|
5049
5035
|
bulkQuoteServerError:
|
5050
5036
|
description: An error occurred processing the bulk quote
|
@@ -5059,7 +5045,7 @@ components:
|
|
5059
5045
|
description: Transfer completed successfully
|
5060
5046
|
content: *ref_151
|
5061
5047
|
requestToPayTransferBadRequest:
|
5062
|
-
description:
|
5048
|
+
description: Malformed or missing required body, headers or parameters
|
5063
5049
|
content: *ref_152
|
5064
5050
|
accountsCreationCompleted:
|
5065
5051
|
description: Accounts creation completed
|
@@ -5134,7 +5120,7 @@ components:
|
|
5134
5120
|
in: path
|
5135
5121
|
required: true
|
5136
5122
|
schema: *ref_65
|
5137
|
-
description:
|
5123
|
+
description: The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`.
|
5138
5124
|
ID:
|
5139
5125
|
name: ID
|
5140
5126
|
in: path
|
@@ -7684,7 +7684,6 @@
|
|
7684
7684
|
"type": "object",
|
7685
7685
|
"required": [
|
7686
7686
|
"homeTransactionId",
|
7687
|
-
"transactionId",
|
7688
7687
|
"to",
|
7689
7688
|
"amountType",
|
7690
7689
|
"currency",
|
@@ -9485,7 +9484,6 @@
|
|
9485
9484
|
"type": "object",
|
9486
9485
|
"required": [
|
9487
9486
|
"homeTransactionId",
|
9488
|
-
"transactionId",
|
9489
9487
|
"to",
|
9490
9488
|
"amountType",
|
9491
9489
|
"currency",
|