@mojaloop/api-snippets 17.0.2-snapshot.0 → 17.0.2-snapshot.1
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 +1513 -759
- package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7031 -1736
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +2687 -1232
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.d.ts +4441 -2637
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js +40 -15
- 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 +40 -15
- package/package.json +1 -1
- package/sdk-scheme-adapter/v2_0_0/backend/openapi.yaml +6 -248
@@ -8,10 +8,6 @@ const json_schemas_json_1 = tslib_1.__importDefault(require("./json-schemas.json
|
|
8
8
|
var Schemas;
|
9
9
|
(function (Schemas) {
|
10
10
|
Schemas.DateOfBirth = json_schemas_json_1.default.DateOfBirth;
|
11
|
-
Schemas.Extension = json_schemas_json_1.default.Extension;
|
12
|
-
Schemas.ExtensionKey = json_schemas_json_1.default.ExtensionKey;
|
13
|
-
Schemas.ExtensionList = json_schemas_json_1.default.ExtensionList;
|
14
|
-
Schemas.ExtensionValue = json_schemas_json_1.default.ExtensionValue;
|
15
11
|
Schemas.FirstName = json_schemas_json_1.default.FirstName;
|
16
12
|
Schemas.FspId = json_schemas_json_1.default.FspId;
|
17
13
|
Schemas.IndividualQuote = json_schemas_json_1.default.IndividualQuote;
|
@@ -22,14 +18,6 @@ var Schemas;
|
|
22
18
|
Schemas.LastName = json_schemas_json_1.default.LastName;
|
23
19
|
Schemas.MerchantClassificationCode = json_schemas_json_1.default.MerchantClassificationCode;
|
24
20
|
Schemas.MiddleName = json_schemas_json_1.default.MiddleName;
|
25
|
-
Schemas.Party = json_schemas_json_1.default.Party;
|
26
|
-
Schemas.PartyComplexName = json_schemas_json_1.default.PartyComplexName;
|
27
|
-
Schemas.PartyIdInfo = json_schemas_json_1.default.PartyIdInfo;
|
28
|
-
Schemas.PartyIdType = json_schemas_json_1.default.PartyIdType;
|
29
|
-
Schemas.PartyIdentifier = json_schemas_json_1.default.PartyIdentifier;
|
30
|
-
Schemas.PartyName = json_schemas_json_1.default.PartyName;
|
31
|
-
Schemas.PartyPersonalInfo = json_schemas_json_1.default.PartyPersonalInfo;
|
32
|
-
Schemas.PartySubIdOrType = json_schemas_json_1.default.PartySubIdOrType;
|
33
21
|
Schemas.amountCurrency = json_schemas_json_1.default.amountCurrency;
|
34
22
|
Schemas.amountType = json_schemas_json_1.default.amountType;
|
35
23
|
Schemas.bulkQuoteId = json_schemas_json_1.default.bulkQuoteId;
|
@@ -54,13 +42,11 @@ var Schemas;
|
|
54
42
|
Schemas.idSubValue = json_schemas_json_1.default.idSubValue;
|
55
43
|
Schemas.idType = json_schemas_json_1.default.idType;
|
56
44
|
Schemas.idValue = json_schemas_json_1.default.idValue;
|
57
|
-
Schemas.ilpFulfilment = json_schemas_json_1.default.ilpFulfilment;
|
58
45
|
Schemas.ilpPacketData = json_schemas_json_1.default.ilpPacketData;
|
59
46
|
Schemas.initiator = json_schemas_json_1.default.initiator;
|
60
47
|
Schemas.initiatorType = json_schemas_json_1.default.initiatorType;
|
61
48
|
Schemas.latitude = json_schemas_json_1.default.latitude;
|
62
49
|
Schemas.longitude = json_schemas_json_1.default.longitude;
|
63
|
-
Schemas.mojaloopError = json_schemas_json_1.default.mojaloopError;
|
64
50
|
Schemas.money = json_schemas_json_1.default.money;
|
65
51
|
Schemas.otpDetails = json_schemas_json_1.default.otpDetails;
|
66
52
|
Schemas.participantsResponse = json_schemas_json_1.default.participantsResponse;
|
@@ -79,12 +65,51 @@ var Schemas;
|
|
79
65
|
Schemas.transactionType = json_schemas_json_1.default.transactionType;
|
80
66
|
Schemas.transactionTypeObject = json_schemas_json_1.default.transactionTypeObject;
|
81
67
|
Schemas.transferDetailsResponse = json_schemas_json_1.default.transferDetailsResponse;
|
82
|
-
Schemas.transferError = json_schemas_json_1.default.transferError;
|
83
68
|
Schemas.transferId = json_schemas_json_1.default.transferId;
|
84
69
|
Schemas.transferParty = json_schemas_json_1.default.transferParty;
|
85
70
|
Schemas.transferRequest = json_schemas_json_1.default.transferRequest;
|
86
71
|
Schemas.transferResponse = json_schemas_json_1.default.transferResponse;
|
87
72
|
Schemas.transferState = json_schemas_json_1.default.transferState;
|
88
73
|
Schemas.transferStatus = json_schemas_json_1.default.transferStatus;
|
74
|
+
Schemas.CorrelationId = json_schemas_json_1.default.CorrelationId;
|
75
|
+
Schemas.bulkTransactionStatus = json_schemas_json_1.default.bulkTransactionStatus;
|
76
|
+
Schemas.autoAcceptPartyOption = json_schemas_json_1.default.autoAcceptPartyOption;
|
77
|
+
Schemas.Currency = json_schemas_json_1.default.Currency;
|
78
|
+
Schemas.Amount = json_schemas_json_1.default.Amount;
|
79
|
+
Schemas.bulkPerTransferFeeLimit = json_schemas_json_1.default.bulkPerTransferFeeLimit;
|
80
|
+
Schemas.autoAcceptQuote = json_schemas_json_1.default.autoAcceptQuote;
|
81
|
+
Schemas.DateTime = json_schemas_json_1.default.DateTime;
|
82
|
+
Schemas.bulkTransactionOptions = json_schemas_json_1.default.bulkTransactionOptions;
|
83
|
+
Schemas.PartyIdType = json_schemas_json_1.default.PartyIdType;
|
84
|
+
Schemas.PartyIdentifier = json_schemas_json_1.default.PartyIdentifier;
|
85
|
+
Schemas.PartySubIdOrType = json_schemas_json_1.default.PartySubIdOrType;
|
86
|
+
Schemas.ExtensionKey = json_schemas_json_1.default.ExtensionKey;
|
87
|
+
Schemas.ExtensionValue = json_schemas_json_1.default.ExtensionValue;
|
88
|
+
Schemas.Extension = json_schemas_json_1.default.Extension;
|
89
|
+
Schemas.ExtensionList = json_schemas_json_1.default.ExtensionList;
|
90
|
+
Schemas.PartyIdInfo = json_schemas_json_1.default.PartyIdInfo;
|
91
|
+
Schemas.PartyName = json_schemas_json_1.default.PartyName;
|
92
|
+
Schemas.PartyComplexName = json_schemas_json_1.default.PartyComplexName;
|
93
|
+
Schemas.PartyPersonalInfo = json_schemas_json_1.default.PartyPersonalInfo;
|
94
|
+
Schemas.Party = json_schemas_json_1.default.Party;
|
95
|
+
Schemas.AmountType = json_schemas_json_1.default.AmountType;
|
96
|
+
Schemas.Note = json_schemas_json_1.default.Note;
|
97
|
+
Schemas.Money = json_schemas_json_1.default.Money;
|
98
|
+
Schemas.Latitude = json_schemas_json_1.default.Latitude;
|
99
|
+
Schemas.Longitude = json_schemas_json_1.default.Longitude;
|
100
|
+
Schemas.GeoCode = json_schemas_json_1.default.GeoCode;
|
101
|
+
Schemas.IlpPacket = json_schemas_json_1.default.IlpPacket;
|
102
|
+
Schemas.IlpCondition = json_schemas_json_1.default.IlpCondition;
|
103
|
+
Schemas.QuotesIDPutResponse = json_schemas_json_1.default.QuotesIDPutResponse;
|
104
|
+
Schemas.IlpFulfilment = json_schemas_json_1.default.IlpFulfilment;
|
105
|
+
Schemas.TransferState = json_schemas_json_1.default.TransferState;
|
106
|
+
Schemas.TransfersIDPutResponse = json_schemas_json_1.default.TransfersIDPutResponse;
|
107
|
+
Schemas.ErrorCode = json_schemas_json_1.default.ErrorCode;
|
108
|
+
Schemas.ErrorDescription = json_schemas_json_1.default.ErrorDescription;
|
109
|
+
Schemas.ErrorInformation = json_schemas_json_1.default.ErrorInformation;
|
110
|
+
Schemas.mojaloopError = json_schemas_json_1.default.mojaloopError;
|
111
|
+
Schemas.transferError = json_schemas_json_1.default.transferError;
|
112
|
+
Schemas.bulkTransactionIndividualTransferResult = json_schemas_json_1.default.bulkTransactionIndividualTransferResult;
|
113
|
+
Schemas.bulkTransactionResponse = json_schemas_json_1.default.bulkTransactionResponse;
|
89
114
|
})(Schemas = exports.Schemas || (exports.Schemas = {}));
|
90
115
|
//# sourceMappingURL=schemas.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/backend/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/backend/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,CAyGvB;AAzGD,WAAiB,OAAO;IACT,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,aAAK,GAAG,2BAAW,CAAC,KAAK,CAAA;IACzB,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,mCAA2B,GAAG,2BAAW,CAAC,2BAA2B,CAAA;IACrE,oCAA4B,GAAG,2BAAW,CAAC,4BAA4B,CAAA;IACvE,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,gCAAwB,GAAG,2BAAW,CAAC,wBAAwB,CAAA;IAC/D,gBAAQ,GAAG,2BAAW,CAAC,QAAQ,CAAA;IAC/B,kCAA0B,GAAG,2BAAW,CAAC,0BAA0B,CAAA;IACnE,kBAAU,GAAG,2BAAW,CAAC,UAAU,CAAA;IACnC,sBAAc,GAAG,2BAAW,CAAC,cAAc,CAAA;IAC3C,kBAAU,GAAG,2BAAW,CAAC,UAAU,CAAA;IACnC,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,yBAAiB,GAAG,2BAAW,CAAC,iBAAiB,CAAA;IACjD,sBAAc,GAAG,2BAAW,CAAC,cAAc,CAAA;IAC3C,2BAAmB,GAAG,2BAAW,CAAC,mBAAmB,CAAA;IACrD,4BAAoB,GAAG,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AAgB,CAAA;IAC/C,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,+CAAuC,GAAG,2BAAW,CAAC,uCAAuC,CAAA;IAC7F,+BAAuB,GAAG,2BAAW,CAAC,uBAAuB,CAAA;AAC5E,CAAC,EAzGgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAyGvB"}
|
@@ -2,10 +2,6 @@
|
|
2
2
|
import { components } from './openapi';
|
3
3
|
export declare namespace Types {
|
4
4
|
type DateOfBirth = components['schemas']['DateOfBirth'];
|
5
|
-
type Extension = components['schemas']['Extension'];
|
6
|
-
type ExtensionKey = components['schemas']['ExtensionKey'];
|
7
|
-
type ExtensionList = components['schemas']['ExtensionList'];
|
8
|
-
type ExtensionValue = components['schemas']['ExtensionValue'];
|
9
5
|
type FirstName = components['schemas']['FirstName'];
|
10
6
|
type FspId = components['schemas']['FspId'];
|
11
7
|
type IndividualQuote = components['schemas']['IndividualQuote'];
|
@@ -16,14 +12,6 @@ export declare namespace Types {
|
|
16
12
|
type LastName = components['schemas']['LastName'];
|
17
13
|
type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
|
18
14
|
type MiddleName = components['schemas']['MiddleName'];
|
19
|
-
type Party = components['schemas']['Party'];
|
20
|
-
type PartyComplexName = components['schemas']['PartyComplexName'];
|
21
|
-
type PartyIdInfo = components['schemas']['PartyIdInfo'];
|
22
|
-
type PartyIdType = components['schemas']['PartyIdType'];
|
23
|
-
type PartyIdentifier = components['schemas']['PartyIdentifier'];
|
24
|
-
type PartyName = components['schemas']['PartyName'];
|
25
|
-
type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
|
26
|
-
type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
|
27
15
|
type amountCurrency = components['schemas']['amountCurrency'];
|
28
16
|
type amountType = components['schemas']['amountType'];
|
29
17
|
type bulkQuoteId = components['schemas']['bulkQuoteId'];
|
@@ -48,13 +36,11 @@ export declare namespace Types {
|
|
48
36
|
type idSubValue = components['schemas']['idSubValue'];
|
49
37
|
type idType = components['schemas']['idType'];
|
50
38
|
type idValue = components['schemas']['idValue'];
|
51
|
-
type ilpFulfilment = components['schemas']['ilpFulfilment'];
|
52
39
|
type ilpPacketData = components['schemas']['ilpPacketData'];
|
53
40
|
type initiator = components['schemas']['initiator'];
|
54
41
|
type initiatorType = components['schemas']['initiatorType'];
|
55
42
|
type latitude = components['schemas']['latitude'];
|
56
43
|
type longitude = components['schemas']['longitude'];
|
57
|
-
type mojaloopError = components['schemas']['mojaloopError'];
|
58
44
|
type money = components['schemas']['money'];
|
59
45
|
type otpDetails = components['schemas']['otpDetails'];
|
60
46
|
type participantsResponse = components['schemas']['participantsResponse'];
|
@@ -73,11 +59,50 @@ export declare namespace Types {
|
|
73
59
|
type transactionType = components['schemas']['transactionType'];
|
74
60
|
type transactionTypeObject = components['schemas']['transactionTypeObject'];
|
75
61
|
type transferDetailsResponse = components['schemas']['transferDetailsResponse'];
|
76
|
-
type transferError = components['schemas']['transferError'];
|
77
62
|
type transferId = components['schemas']['transferId'];
|
78
63
|
type transferParty = components['schemas']['transferParty'];
|
79
64
|
type transferRequest = components['schemas']['transferRequest'];
|
80
65
|
type transferResponse = components['schemas']['transferResponse'];
|
81
66
|
type transferState = components['schemas']['transferState'];
|
82
67
|
type transferStatus = components['schemas']['transferStatus'];
|
68
|
+
type CorrelationId = components['schemas']['CorrelationId'];
|
69
|
+
type bulkTransactionStatus = components['schemas']['bulkTransactionStatus'];
|
70
|
+
type autoAcceptPartyOption = components['schemas']['autoAcceptPartyOption'];
|
71
|
+
type Currency = components['schemas']['Currency'];
|
72
|
+
type Amount = components['schemas']['Amount'];
|
73
|
+
type bulkPerTransferFeeLimit = components['schemas']['bulkPerTransferFeeLimit'];
|
74
|
+
type autoAcceptQuote = components['schemas']['autoAcceptQuote'];
|
75
|
+
type DateTime = components['schemas']['DateTime'];
|
76
|
+
type bulkTransactionOptions = components['schemas']['bulkTransactionOptions'];
|
77
|
+
type PartyIdType = components['schemas']['PartyIdType'];
|
78
|
+
type PartyIdentifier = components['schemas']['PartyIdentifier'];
|
79
|
+
type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
|
80
|
+
type ExtensionKey = components['schemas']['ExtensionKey'];
|
81
|
+
type ExtensionValue = components['schemas']['ExtensionValue'];
|
82
|
+
type Extension = components['schemas']['Extension'];
|
83
|
+
type ExtensionList = components['schemas']['ExtensionList'];
|
84
|
+
type PartyIdInfo = components['schemas']['PartyIdInfo'];
|
85
|
+
type PartyName = components['schemas']['PartyName'];
|
86
|
+
type PartyComplexName = components['schemas']['PartyComplexName'];
|
87
|
+
type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
|
88
|
+
type Party = components['schemas']['Party'];
|
89
|
+
type AmountType = components['schemas']['AmountType'];
|
90
|
+
type Note = components['schemas']['Note'];
|
91
|
+
type Money = components['schemas']['Money'];
|
92
|
+
type Latitude = components['schemas']['Latitude'];
|
93
|
+
type Longitude = components['schemas']['Longitude'];
|
94
|
+
type GeoCode = components['schemas']['GeoCode'];
|
95
|
+
type IlpPacket = components['schemas']['IlpPacket'];
|
96
|
+
type IlpCondition = components['schemas']['IlpCondition'];
|
97
|
+
type QuotesIDPutResponse = components['schemas']['QuotesIDPutResponse'];
|
98
|
+
type IlpFulfilment = components['schemas']['IlpFulfilment'];
|
99
|
+
type TransferState = components['schemas']['TransferState'];
|
100
|
+
type TransfersIDPutResponse = components['schemas']['TransfersIDPutResponse'];
|
101
|
+
type ErrorCode = components['schemas']['ErrorCode'];
|
102
|
+
type ErrorDescription = components['schemas']['ErrorDescription'];
|
103
|
+
type ErrorInformation = components['schemas']['ErrorInformation'];
|
104
|
+
type mojaloopError = components['schemas']['mojaloopError'];
|
105
|
+
type transferError = components['schemas']['transferError'];
|
106
|
+
type bulkTransactionIndividualTransferResult = components['schemas']['bulkTransactionIndividualTransferResult'];
|
107
|
+
type bulkTransactionResponse = components['schemas']['bulkTransactionResponse'];
|
83
108
|
}
|
package/package.json
CHANGED
@@ -73,40 +73,12 @@ paths:
|
|
73
73
|
description: The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend information regarding a bulk transaction, i.e. when autoAcceptParty or autoAcceptQuote is false then the payer need to provide confirmation to proceed with further processing of the request. The `{bulkTransactionId}` in the URI should contain the `bulkTransactionId` that was used for the creation of the bulk transfer.
|
74
74
|
operationId: BackendBulkTransactionsPut
|
75
75
|
parameters:
|
76
|
-
- $ref: '
|
76
|
+
- $ref: '../components/parameters/bulkTransactionId.yaml'
|
77
77
|
requestBody:
|
78
78
|
content:
|
79
79
|
application/json:
|
80
80
|
schema:
|
81
|
-
|
82
|
-
bulkHomeTransactionID:
|
83
|
-
description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
|
84
|
-
type: string
|
85
|
-
individualTransferResults:
|
86
|
-
description: List of individual transfers in a bulk transfer with accept party information.
|
87
|
-
items:
|
88
|
-
description: Data model for the 'individualTransfer' while accepting party or quote.
|
89
|
-
properties:
|
90
|
-
homeTransactionId:
|
91
|
-
description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
|
92
|
-
type: string
|
93
|
-
transactionId:
|
94
|
-
description: Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
|
95
|
-
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
96
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
97
|
-
title: CorrelationId
|
98
|
-
type: string
|
99
|
-
required:
|
100
|
-
- homeTransactionId
|
101
|
-
type: object
|
102
|
-
minItems: 1
|
103
|
-
type: array
|
104
|
-
required:
|
105
|
-
- bulkHomeTransactionID
|
106
|
-
- individualTransferResults
|
107
|
-
type: object
|
108
|
-
description: Bulk transaction request body.
|
109
|
-
required: true
|
81
|
+
$ref: '../components/schemas/bulkTransactionResponse.yaml'
|
110
82
|
responses:
|
111
83
|
'202':
|
112
84
|
description: Bulk transaction information successfully amended.
|
@@ -386,17 +358,6 @@ paths:
|
|
386
358
|
- Transfers
|
387
359
|
components:
|
388
360
|
parameters:
|
389
|
-
bulkTransactionId:
|
390
|
-
description: Identifier of the bulk transaction to continue as returned in.
|
391
|
-
in: path
|
392
|
-
name: bulkTransactionId
|
393
|
-
required: true
|
394
|
-
schema:
|
395
|
-
description: Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
|
396
|
-
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
397
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
398
|
-
title: CorrelationId
|
399
|
-
type: string
|
400
361
|
idSubValue:
|
401
362
|
description: A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`.
|
402
363
|
in: path
|
@@ -454,46 +415,6 @@ components:
|
|
454
415
|
pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
|
455
416
|
title: DateofBirth (type Date)
|
456
417
|
type: string
|
457
|
-
Extension:
|
458
|
-
description: Data model for the complex type Extension
|
459
|
-
properties:
|
460
|
-
key:
|
461
|
-
$ref: '#/components/schemas/ExtensionKey'
|
462
|
-
description: Extension key.
|
463
|
-
value:
|
464
|
-
$ref: '#/components/schemas/ExtensionValue'
|
465
|
-
description: Extension value.
|
466
|
-
required:
|
467
|
-
- key
|
468
|
-
- value
|
469
|
-
title: Extension
|
470
|
-
type: object
|
471
|
-
ExtensionKey:
|
472
|
-
description: Extension key.
|
473
|
-
maxLength: 32
|
474
|
-
minLength: 1
|
475
|
-
title: ExtensionKey
|
476
|
-
type: string
|
477
|
-
ExtensionList:
|
478
|
-
description: Data model for the complex type ExtensionList
|
479
|
-
properties:
|
480
|
-
extension:
|
481
|
-
description: Number of Extension elements
|
482
|
-
items:
|
483
|
-
$ref: '#/components/schemas/Extension'
|
484
|
-
maxItems: 16
|
485
|
-
minItems: 1
|
486
|
-
type: array
|
487
|
-
required:
|
488
|
-
- extension
|
489
|
-
title: ExtensionList
|
490
|
-
type: object
|
491
|
-
ExtensionValue:
|
492
|
-
description: Extension value.
|
493
|
-
maxLength: 128
|
494
|
-
minLength: 1
|
495
|
-
title: ExtensionValue
|
496
|
-
type: string
|
497
418
|
FirstName:
|
498
419
|
description: First name of the Party (Name Type).
|
499
420
|
example: Henrik
|
@@ -654,147 +575,6 @@ components:
|
|
654
575
|
pattern: ^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$
|
655
576
|
title: MiddleName
|
656
577
|
type: string
|
657
|
-
Party:
|
658
|
-
description: Data model for the complex type Party.
|
659
|
-
properties:
|
660
|
-
merchantClassificationCode:
|
661
|
-
$ref: '#/components/schemas/MerchantClassificationCode'
|
662
|
-
name:
|
663
|
-
$ref: '#/components/schemas/PartyName'
|
664
|
-
partyIdInfo:
|
665
|
-
$ref: '#/components/schemas/PartyIdInfo'
|
666
|
-
personalInfo:
|
667
|
-
$ref: '#/components/schemas/PartyPersonalInfo'
|
668
|
-
required:
|
669
|
-
- partyIdInfo
|
670
|
-
title: Party
|
671
|
-
type: object
|
672
|
-
PartyComplexName:
|
673
|
-
description: Data model for the complex type PartyComplexName.
|
674
|
-
properties:
|
675
|
-
displayName:
|
676
|
-
description: Display name of the sender if known
|
677
|
-
type: string
|
678
|
-
firstName:
|
679
|
-
$ref: '#/components/schemas/FirstName'
|
680
|
-
idSubValue:
|
681
|
-
description: The sub identifier string used to identify the sender
|
682
|
-
type: string
|
683
|
-
idType:
|
684
|
-
$ref: '#/components/schemas/idType'
|
685
|
-
idValue:
|
686
|
-
description: The identifier string used to identify the sender
|
687
|
-
type: string
|
688
|
-
lastName:
|
689
|
-
$ref: '#/components/schemas/LastName'
|
690
|
-
middleName:
|
691
|
-
$ref: '#/components/schemas/MiddleName'
|
692
|
-
type:
|
693
|
-
$ref: '#/components/schemas/payerType'
|
694
|
-
title: PartyComplexName
|
695
|
-
type: object
|
696
|
-
PartyIdInfo:
|
697
|
-
description: Data model for the complex type PartyIdInfo.
|
698
|
-
properties:
|
699
|
-
extensionList:
|
700
|
-
$ref: '#/components/schemas/ExtensionList'
|
701
|
-
fspId:
|
702
|
-
$ref: '#/components/schemas/FspId'
|
703
|
-
partyIdType:
|
704
|
-
$ref: '#/components/schemas/PartyIdType'
|
705
|
-
partyIdentifier:
|
706
|
-
$ref: '#/components/schemas/PartyIdentifier'
|
707
|
-
partySubIdOrType:
|
708
|
-
$ref: '#/components/schemas/PartySubIdOrType'
|
709
|
-
required:
|
710
|
-
- partyIdType
|
711
|
-
- partyIdentifier
|
712
|
-
title: PartyIdInfo
|
713
|
-
type: object
|
714
|
-
PartyIdType:
|
715
|
-
description: |
|
716
|
-
This is a variant based on FSPIOP `PartyIdType` specification.
|
717
|
-
Main difference being the CONSENT and THIRD_PARTY_LINK enums.
|
718
|
-
|
719
|
-
Below are the allowed values for the enumeration.
|
720
|
-
- MSISDN - An MSISDN (Mobile Station International Subscriber Directory
|
721
|
-
Number, that is, the phone number) is used as reference to a participant.
|
722
|
-
The MSISDN identifier should be in international format according to the
|
723
|
-
[ITU-T E.164 standard](https://www.itu.int/rec/T-REC-E.164/en).
|
724
|
-
Optionally, the MSISDN may be prefixed by a single plus sign, indicating the
|
725
|
-
international prefix.
|
726
|
-
- EMAIL - An email is used as reference to a
|
727
|
-
participant. The format of the email should be according to the informational
|
728
|
-
[RFC 3696](https://tools.ietf.org/html/rfc3696).
|
729
|
-
- PERSONAL_ID - A personal identifier is used as reference to a participant.
|
730
|
-
Examples of personal identification are passport number, birth certificate
|
731
|
-
number, and national registration number. The identifier number is added in
|
732
|
-
the PartyIdentifier element. The personal identifier type is added in the
|
733
|
-
PartySubIdOrType element.
|
734
|
-
- BUSINESS - A specific Business (for example, an organization or a company)
|
735
|
-
is used as reference to a participant. The BUSINESS identifier can be in any
|
736
|
-
format. To make a transaction connected to a specific username or bill number
|
737
|
-
in a Business, the PartySubIdOrType element should be used.
|
738
|
-
- DEVICE - A specific device (for example, a POS or ATM) ID connected to a
|
739
|
-
specific business or organization is used as reference to a Party.
|
740
|
-
For referencing a specific device under a specific business or organization,
|
741
|
-
use the PartySubIdOrType element.
|
742
|
-
- ACCOUNT_ID - A bank account number or FSP account ID should be used as
|
743
|
-
reference to a participant. The ACCOUNT_ID identifier can be in any format,
|
744
|
-
as formats can greatly differ depending on country and FSP.
|
745
|
-
- IBAN - A bank account number or FSP account ID is used as reference to a
|
746
|
-
participant. The IBAN identifier can consist of up to 34 alphanumeric
|
747
|
-
characters and should be entered without whitespace.
|
748
|
-
- ALIAS An alias is used as reference to a participant. The alias should be
|
749
|
-
created in the FSP as an alternative reference to an account owner.
|
750
|
-
Another example of an alias is a username in the FSP system.
|
751
|
-
The ALIAS identifier can be in any format. It is also possible to use the
|
752
|
-
PartySubIdOrType element for identifying an account under an Alias defined
|
753
|
-
by the PartyIdentifier.
|
754
|
-
- CONSENT - TBD
|
755
|
-
- THIRD_PARTY_LINK - TBD
|
756
|
-
enum:
|
757
|
-
- MSISDN
|
758
|
-
- EMAIL
|
759
|
-
- PERSONAL_ID
|
760
|
-
- BUSINESS
|
761
|
-
- DEVICE
|
762
|
-
- ACCOUNT_ID
|
763
|
-
- IBAN
|
764
|
-
- ALIAS
|
765
|
-
- CONSENT
|
766
|
-
- THIRD_PARTY_LINK
|
767
|
-
example: PERSONAL_ID
|
768
|
-
title: PartyIdType
|
769
|
-
type: string
|
770
|
-
PartyIdentifier:
|
771
|
-
description: Identifier of the Party.
|
772
|
-
example: '16135551212'
|
773
|
-
maxLength: 128
|
774
|
-
minLength: 1
|
775
|
-
title: PartyIdentifier
|
776
|
-
type: string
|
777
|
-
PartyName:
|
778
|
-
description: Name of the Party. Could be a real name or a nickname.
|
779
|
-
maxLength: 128
|
780
|
-
minLength: 1
|
781
|
-
title: PartyName
|
782
|
-
type: string
|
783
|
-
PartyPersonalInfo:
|
784
|
-
description: Data model for the complex type PartyPersonalInfo.
|
785
|
-
properties:
|
786
|
-
complexName:
|
787
|
-
$ref: '#/components/schemas/PartyComplexName'
|
788
|
-
dateOfBirth:
|
789
|
-
$ref: '#/components/schemas/DateOfBirth'
|
790
|
-
title: PartyPersonalInfo
|
791
|
-
type: object
|
792
|
-
PartySubIdOrType:
|
793
|
-
description: Either a sub-identifier of a PartyIdentifier, or a sub-type of the PartyIdType, normally a PersonalIdentifierType.
|
794
|
-
maxLength: 128
|
795
|
-
minLength: 1
|
796
|
-
title: PartySubIdOrType
|
797
|
-
type: string
|
798
578
|
amountCurrency:
|
799
579
|
description: Object containing Amount and Currency of the transfer.
|
800
580
|
properties:
|
@@ -1179,7 +959,7 @@ components:
|
|
1179
959
|
initiatedTimestamp:
|
1180
960
|
$ref: '#/components/schemas/timestamp'
|
1181
961
|
lastError:
|
1182
|
-
$ref: '
|
962
|
+
$ref: '../components/schemas/transferError.yaml'
|
1183
963
|
prepare:
|
1184
964
|
properties:
|
1185
965
|
body:
|
@@ -1253,13 +1033,6 @@ components:
|
|
1253
1033
|
maxLength: 128
|
1254
1034
|
minLength: 1
|
1255
1035
|
type: string
|
1256
|
-
ilpFulfilment:
|
1257
|
-
description: Fulfilment that must be attached to the transfer by the Payee.
|
1258
|
-
example: WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
|
1259
|
-
maxLength: 48
|
1260
|
-
pattern: ^[A-Za-z0-9-_]{43}$
|
1261
|
-
title: ilpFulfilment
|
1262
|
-
type: string
|
1263
1036
|
ilpPacketData:
|
1264
1037
|
description: Object containing transfer object.
|
1265
1038
|
properties:
|
@@ -1267,10 +1040,10 @@ components:
|
|
1267
1040
|
$ref: '#/components/schemas/amountCurrency'
|
1268
1041
|
description: Amount and currency of the transaction
|
1269
1042
|
payee:
|
1270
|
-
$ref: '
|
1043
|
+
$ref: '../components/schemas/Party.yaml'
|
1271
1044
|
description: Information about the Payee in the proposed financial transaction.
|
1272
1045
|
payer:
|
1273
|
-
$ref: '
|
1046
|
+
$ref: '../components/schemas/Party.yaml'
|
1274
1047
|
description: Information about the Payer in the proposed financial transaction.
|
1275
1048
|
quoteId:
|
1276
1049
|
$ref: '#/components/schemas/quoteId'
|
@@ -1308,11 +1081,6 @@ components:
|
|
1308
1081
|
description: The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
|
1309
1082
|
pattern: ^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$
|
1310
1083
|
type: string
|
1311
|
-
mojaloopError:
|
1312
|
-
properties:
|
1313
|
-
errorInformation:
|
1314
|
-
$ref: '#/components/schemas/errorInformation'
|
1315
|
-
type: object
|
1316
1084
|
money:
|
1317
1085
|
pattern: ^([0]|([1-9][0-9]{0,17}))([.][0-9]{0,3}[1-9])?$
|
1318
1086
|
type: string
|
@@ -1592,16 +1360,6 @@ components:
|
|
1592
1360
|
- transactionType
|
1593
1361
|
- timestamp
|
1594
1362
|
type: object
|
1595
|
-
transferError:
|
1596
|
-
description: This object represents a Mojaloop API error received at any time during the transfer process.
|
1597
|
-
properties:
|
1598
|
-
httpStatusCode:
|
1599
|
-
description: The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response.
|
1600
|
-
type: integer
|
1601
|
-
mojaloopError:
|
1602
|
-
$ref: '#/components/schemas/mojaloopError'
|
1603
|
-
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.
|
1604
|
-
type: object
|
1605
1363
|
transferId:
|
1606
1364
|
description: A Mojaloop API transfer identifier (UUID).
|
1607
1365
|
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
@@ -1693,7 +1451,7 @@ components:
|
|
1693
1451
|
description: Completed timestamp from the DFSP backend, used for testing purposes to inject a given completed timestamp via a rule.
|
1694
1452
|
example: '2020-05-19T08:38:08.699-04:00'
|
1695
1453
|
fulfilment:
|
1696
|
-
$ref: '
|
1454
|
+
$ref: '../components/schemas/IlpFulfilment.yaml'
|
1697
1455
|
description: Fulfilment from the DFSP backend, used for testing purposes to inject an invalid fulfilment via a rule.
|
1698
1456
|
homeTransactionId:
|
1699
1457
|
description: Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems.
|