@mojaloop/api-snippets 13.0.1 → 13.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 +28 -0
- package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +15 -13
- package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +2 -0
- package/docs/thirdparty-openapi3-snippets.yaml +101 -95
- package/fspiop/v1_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +2 -2
- package/fspiop/v1_0/openapi3/components/schemas/Currency.yaml +2 -0
- package/fspiop/v1_0/openapi3/components/schemas/IndividualQuote.yaml +2 -2
- package/fspiop/v1_0/openapi3/components/schemas/IndividualQuoteResult.yaml +4 -4
- package/fspiop/v1_0/openapi3/components/schemas/Money.yaml +1 -1
- package/fspiop/v1_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +4 -4
- package/fspiop/v1_1/openapi3/components/schemas/Currency.yaml +2 -0
- package/lib/fspiop/v1_0/openapi.d.ts +1 -1
- package/lib/fspiop/v1_1/openapi.d.ts +1 -1
- package/lib/thirdparty/index.d.ts +1 -0
- package/lib/thirdparty/openapi.d.ts +268 -195
- package/package.json +5 -2
- package/thirdparty/openapi3/components/schemas/AuthenticationResponse.yaml +9 -0
- package/thirdparty/openapi3/components/schemas/AuthorizationResponseTypeRejected.yaml +1 -1
- package/thirdparty/openapi3/components/schemas/ConsentsPostRequestAUTH.yaml +3 -5
- package/thirdparty/openapi3/components/schemas/ConsentsPostRequestPISP.yaml +2 -1
- package/thirdparty/openapi3/components/schemas/CredentialStatusPending.yaml +1 -1
- package/thirdparty/openapi3/components/schemas/CredentialStatusVerified.yaml +1 -1
- package/thirdparty/openapi3/components/schemas/PartyIdType.yaml +9 -6
- package/thirdparty/openapi3/components/schemas/PartyIdTypeTPLink.yaml +0 -2
- package/thirdparty/openapi3/components/schemas/SignedCredential.yaml +1 -1
- package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseRejected.yaml +3 -3
- package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsIDPutResponse.yaml +1 -5
- package/thirdparty/openapi3/components/schemas/Uri.yaml +1 -1
- package/thirdparty/openapi3/components/schemas/index.yaml +4 -2
- package/thirdparty/openapi3/paths/consentRequests.yaml +0 -14
- package/thirdparty/openapi3/paths/thirdpartyRequests_verifications_ID.yaml +6 -4
- package/thirdparty/openapi3/thirdparty-dfsp-api.yaml +17 -29
- package/thirdparty/openapi3/thirdparty-pisp-api.yaml +17 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
|
2
|
+
### [13.0.5](https://github.com/mojaloop/api-snippets/compare/v13.0.4...v13.0.5) (2022-02-18)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* fix enumeration for authentication response ([#118](https://github.com/mojaloop/api-snippets/issues/118)) ([29e64f0](https://github.com/mojaloop/api-snippets/commit/29e64f07c3ac217e0676d5dd6e04bf4f13eab4c0))
|
|
8
|
+
|
|
9
|
+
### [13.0.4](https://github.com/mojaloop/api-snippets/compare/v13.0.3...v13.0.4) (2021-11-03)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* invalid value string examples as numbers ([#117](https://github.com/mojaloop/api-snippets/issues/117)) ([46fc9ff](https://github.com/mojaloop/api-snippets/commit/46fc9ff058be60da1bd3325924e668a8a8c3853e))
|
|
15
|
+
|
|
16
|
+
### [13.0.3](https://github.com/mojaloop/api-snippets/compare/v13.0.2...v13.0.3) (2021-10-20)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Maintenance
|
|
20
|
+
|
|
21
|
+
* **thirdparty:** minor inline docs improvements ([#116](https://github.com/mojaloop/api-snippets/issues/116)) ([9615e66](https://github.com/mojaloop/api-snippets/commit/9615e664160249e89a4db14046ecfc9bb73664ab))
|
|
22
|
+
|
|
23
|
+
### [13.0.2](https://github.com/mojaloop/api-snippets/compare/v13.0.1...v13.0.2) (2021-10-19)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* adding currencies xxx and xts which are part of iso 4217 ([#115](https://github.com/mojaloop/api-snippets/issues/115)) ([f09fd82](https://github.com/mojaloop/api-snippets/commit/f09fd82cecbc6b36a8eca9d1abdfb67b4c6f7f48))
|
|
29
|
+
|
|
2
30
|
### [13.0.1](https://github.com/mojaloop/api-snippets/compare/v13.0.0...v13.0.1) (2021-10-12)
|
|
3
31
|
|
|
4
32
|
|
|
@@ -2452,6 +2452,8 @@ components:
|
|
|
2452
2452
|
- XDR
|
|
2453
2453
|
- XOF
|
|
2454
2454
|
- XPF
|
|
2455
|
+
- XTS
|
|
2456
|
+
- XXX
|
|
2455
2457
|
- YER
|
|
2456
2458
|
- ZAR
|
|
2457
2459
|
- ZMW
|
|
@@ -2739,7 +2741,7 @@ components:
|
|
|
2739
2741
|
amount:
|
|
2740
2742
|
type: string
|
|
2741
2743
|
description: Amount of money.
|
|
2742
|
-
example: 123.45
|
|
2744
|
+
example: '123.45'
|
|
2743
2745
|
fees:
|
|
2744
2746
|
properties:
|
|
2745
2747
|
currency:
|
|
@@ -2749,7 +2751,7 @@ components:
|
|
|
2749
2751
|
amount:
|
|
2750
2752
|
type: string
|
|
2751
2753
|
description: Amount of money.
|
|
2752
|
-
example: 1.45
|
|
2754
|
+
example: '1.45'
|
|
2753
2755
|
transactionType:
|
|
2754
2756
|
$ref: '#/components/schemas/TransactionType'
|
|
2755
2757
|
description: Type of transaction that the quote is requested for.
|
|
@@ -3001,7 +3003,7 @@ components:
|
|
|
3001
3003
|
amount:
|
|
3002
3004
|
type: string
|
|
3003
3005
|
description: Amount of Money.
|
|
3004
|
-
example: 123.45
|
|
3006
|
+
example: '123.45'
|
|
3005
3007
|
required:
|
|
3006
3008
|
- currency
|
|
3007
3009
|
- amount
|
|
@@ -3562,7 +3564,7 @@ components:
|
|
|
3562
3564
|
amount:
|
|
3563
3565
|
type: string
|
|
3564
3566
|
description: Amount of money.
|
|
3565
|
-
example: 124.45
|
|
3567
|
+
example: '124.45'
|
|
3566
3568
|
payeeReceiveAmount:
|
|
3567
3569
|
properties:
|
|
3568
3570
|
currency:
|
|
@@ -3572,7 +3574,7 @@ components:
|
|
|
3572
3574
|
amount:
|
|
3573
3575
|
type: string
|
|
3574
3576
|
description: Amount of money.
|
|
3575
|
-
example: 123.45
|
|
3577
|
+
example: '123.45'
|
|
3576
3578
|
payeeFspFee:
|
|
3577
3579
|
properties:
|
|
3578
3580
|
currency:
|
|
@@ -3582,7 +3584,7 @@ components:
|
|
|
3582
3584
|
amount:
|
|
3583
3585
|
type: string
|
|
3584
3586
|
description: Amount of money.
|
|
3585
|
-
example: 1.45
|
|
3587
|
+
example: '1.45'
|
|
3586
3588
|
payeeFspCommission:
|
|
3587
3589
|
properties:
|
|
3588
3590
|
currency:
|
|
@@ -3592,7 +3594,7 @@ components:
|
|
|
3592
3594
|
amount:
|
|
3593
3595
|
type: string
|
|
3594
3596
|
description: Amount of money.
|
|
3595
|
-
example: 0
|
|
3597
|
+
example: '0'
|
|
3596
3598
|
expiration:
|
|
3597
3599
|
type: string
|
|
3598
3600
|
description: >-
|
|
@@ -3826,7 +3828,7 @@ components:
|
|
|
3826
3828
|
amount:
|
|
3827
3829
|
type: string
|
|
3828
3830
|
description: Amount of money.
|
|
3829
|
-
example: 123.45
|
|
3831
|
+
example: '123.45'
|
|
3830
3832
|
fees:
|
|
3831
3833
|
properties:
|
|
3832
3834
|
currency:
|
|
@@ -3836,7 +3838,7 @@ components:
|
|
|
3836
3838
|
amount:
|
|
3837
3839
|
type: string
|
|
3838
3840
|
description: Amount of money.
|
|
3839
|
-
example: 1.45
|
|
3841
|
+
example: '1.45'
|
|
3840
3842
|
transactionType:
|
|
3841
3843
|
$ref: '#/components/schemas/TransactionType'
|
|
3842
3844
|
description: Type of transaction that the quote is requested for.
|
|
@@ -3872,7 +3874,7 @@ components:
|
|
|
3872
3874
|
amount:
|
|
3873
3875
|
type: string
|
|
3874
3876
|
description: Amount of money.
|
|
3875
|
-
example: 124.45
|
|
3877
|
+
example: '124.45'
|
|
3876
3878
|
payeeReceiveAmount:
|
|
3877
3879
|
properties:
|
|
3878
3880
|
currency:
|
|
@@ -3882,7 +3884,7 @@ components:
|
|
|
3882
3884
|
amount:
|
|
3883
3885
|
type: string
|
|
3884
3886
|
description: Amount of money.
|
|
3885
|
-
example: 123.45
|
|
3887
|
+
example: '123.45'
|
|
3886
3888
|
payeeFspFee:
|
|
3887
3889
|
properties:
|
|
3888
3890
|
currency:
|
|
@@ -3892,7 +3894,7 @@ components:
|
|
|
3892
3894
|
amount:
|
|
3893
3895
|
type: string
|
|
3894
3896
|
description: Amount of money.
|
|
3895
|
-
example: 1.45
|
|
3897
|
+
example: '1.45'
|
|
3896
3898
|
payeeFspCommission:
|
|
3897
3899
|
properties:
|
|
3898
3900
|
currency:
|
|
@@ -3902,7 +3904,7 @@ components:
|
|
|
3902
3904
|
amount:
|
|
3903
3905
|
type: string
|
|
3904
3906
|
description: Amount of money.
|
|
3905
|
-
example: 1.45
|
|
3907
|
+
example: '1.45'
|
|
3906
3908
|
ilpPacket:
|
|
3907
3909
|
type: string
|
|
3908
3910
|
description: The ILP Packet that must be attached to the transfer by the Payer.
|
|
@@ -258,6 +258,8 @@ paths:
|
|
|
258
258
|
- XDR
|
|
259
259
|
- XOF
|
|
260
260
|
- XPF
|
|
261
|
+
- XTS
|
|
262
|
+
- XXX
|
|
261
263
|
- YER
|
|
262
264
|
- ZAR
|
|
263
265
|
- ZMW
|
|
@@ -492,13 +494,6 @@ paths:
|
|
|
492
494
|
- CONSENT
|
|
493
495
|
- THIRD_PARTY_LINK
|
|
494
496
|
description: >
|
|
495
|
-
This is a variant based on FSPIOP `PartyIdType`
|
|
496
|
-
specification.
|
|
497
|
-
|
|
498
|
-
Main difference being the CONSENT and
|
|
499
|
-
THIRD_PARTY_LINK enums.
|
|
500
|
-
|
|
501
|
-
|
|
502
497
|
Below are the allowed values for the enumeration.
|
|
503
498
|
|
|
504
499
|
- MSISDN - An MSISDN (Mobile Station International
|
|
@@ -532,7 +527,7 @@ paths:
|
|
|
532
527
|
number, birth certificate
|
|
533
528
|
|
|
534
529
|
number, and national registration number. The
|
|
535
|
-
identifier number is added in
|
|
530
|
+
identifier number is added in
|
|
536
531
|
|
|
537
532
|
the PartyIdentifier element. The personal identifier
|
|
538
533
|
type is added in the
|
|
@@ -596,9 +591,28 @@ paths:
|
|
|
596
591
|
|
|
597
592
|
by the PartyIdentifier.
|
|
598
593
|
|
|
599
|
-
- CONSENT -
|
|
594
|
+
- CONSENT - A Consent represents an agreement
|
|
595
|
+
between a PISP, a Customer and
|
|
596
|
+
|
|
597
|
+
a DFSP which allows the PISP permission to perform
|
|
598
|
+
actions on behalf of the
|
|
599
|
+
|
|
600
|
+
customer. A Consent has an authoritative source:
|
|
601
|
+
either the DFSP who issued
|
|
602
|
+
|
|
603
|
+
the Consent, or an Auth Service which administers
|
|
604
|
+
the Consent.
|
|
605
|
+
|
|
606
|
+
- THIRD_PARTY_LINK - A Third Party Link represents
|
|
607
|
+
an agreement between a PISP,
|
|
600
608
|
|
|
601
|
-
|
|
609
|
+
a DFSP, and a specific Customer's account at the
|
|
610
|
+
DFSP. The content of the link
|
|
611
|
+
|
|
612
|
+
is created by the DFSP at the time when it gives
|
|
613
|
+
permission to the PISP for
|
|
614
|
+
|
|
615
|
+
specific access to a given account.
|
|
602
616
|
example: PERSONAL_ID
|
|
603
617
|
partyIdentifier:
|
|
604
618
|
title: PartyIdentifier
|
|
@@ -856,12 +870,6 @@ paths:
|
|
|
856
870
|
enum: &ref_88
|
|
857
871
|
- THIRD_PARTY_LINK
|
|
858
872
|
description: >
|
|
859
|
-
This is a variant based on FSPIOP `PartyIdType`
|
|
860
|
-
specification.
|
|
861
|
-
|
|
862
|
-
This validation interface should be use by `POST
|
|
863
|
-
/thirdpartyRequests/transactions`
|
|
864
|
-
|
|
865
873
|
- THIRD_PARTY_LINK - is the DFSP's internal reference
|
|
866
874
|
which allows DFSP to find out the corresponding consent
|
|
867
875
|
example: PERSONAL_ID
|
|
@@ -2198,7 +2206,7 @@ paths:
|
|
|
2198
2206
|
maxLength: 512
|
|
2199
2207
|
description: >
|
|
2200
2208
|
The API data type Uri is a JSON string in a canonical format
|
|
2201
|
-
that is restricted by a
|
|
2209
|
+
that is restricted by a regular expression for
|
|
2202
2210
|
interoperability reasons.
|
|
2203
2211
|
required: &ref_106
|
|
2204
2212
|
- consentRequestId
|
|
@@ -2206,22 +2214,6 @@ paths:
|
|
|
2206
2214
|
- scopes
|
|
2207
2215
|
- authChannels
|
|
2208
2216
|
- callbackUri
|
|
2209
|
-
example:
|
|
2210
|
-
id: '456'
|
|
2211
|
-
initiatorId: pispA
|
|
2212
|
-
authChannels:
|
|
2213
|
-
- WEB
|
|
2214
|
-
- OTP
|
|
2215
|
-
scopes:
|
|
2216
|
-
- accountId: dfspa.username.1234
|
|
2217
|
-
actions:
|
|
2218
|
-
- accounts.transfer
|
|
2219
|
-
- accounts.getBalance
|
|
2220
|
-
- accountId: dfspa.username.5678
|
|
2221
|
-
actions:
|
|
2222
|
-
- accounts.transfer
|
|
2223
|
-
- accounts.getBalance
|
|
2224
|
-
callbackUri: 'pisp-app://callback.com'
|
|
2225
2217
|
responses:
|
|
2226
2218
|
'202':
|
|
2227
2219
|
description: Accepted
|
|
@@ -2500,7 +2492,7 @@ paths:
|
|
|
2500
2492
|
maxLength: 512
|
|
2501
2493
|
description: >
|
|
2502
2494
|
The API data type Uri is a JSON string in a canonical
|
|
2503
|
-
format that is restricted by a
|
|
2495
|
+
format that is restricted by a regular expression for
|
|
2504
2496
|
interoperability reasons.
|
|
2505
2497
|
authUri:
|
|
2506
2498
|
title: Uri
|
|
@@ -2511,7 +2503,7 @@ paths:
|
|
|
2511
2503
|
maxLength: 512
|
|
2512
2504
|
description: >
|
|
2513
2505
|
The API data type Uri is a JSON string in a canonical
|
|
2514
|
-
format that is restricted by a
|
|
2506
|
+
format that is restricted by a regular expression for
|
|
2515
2507
|
interoperability reasons.
|
|
2516
2508
|
required: &ref_109
|
|
2517
2509
|
- scopes
|
|
@@ -2559,7 +2551,7 @@ paths:
|
|
|
2559
2551
|
maxLength: 512
|
|
2560
2552
|
description: >
|
|
2561
2553
|
The API data type Uri is a JSON string in a canonical
|
|
2562
|
-
format that is restricted by a
|
|
2554
|
+
format that is restricted by a regular expression for
|
|
2563
2555
|
interoperability reasons.
|
|
2564
2556
|
required: &ref_112
|
|
2565
2557
|
- scopes
|
|
@@ -2968,12 +2960,10 @@ paths:
|
|
|
2968
2960
|
- title: ConsentPostRequestAUTH
|
|
2969
2961
|
type: object
|
|
2970
2962
|
description: >
|
|
2971
|
-
The object sent in a `POST /consents` request to
|
|
2972
|
-
|
|
2973
|
-
PublicKey
|
|
2963
|
+
The object sent in a `POST /consents` request to the
|
|
2964
|
+
Auth-Service
|
|
2974
2965
|
|
|
2975
|
-
|
|
2976
|
-
later
|
|
2966
|
+
by a DFSP to store registered Consent and credential
|
|
2977
2967
|
properties: &ref_118
|
|
2978
2968
|
consentId:
|
|
2979
2969
|
allOf:
|
|
@@ -2996,11 +2986,7 @@ paths:
|
|
|
2996
2986
|
Common ID between the PISP and FSP for the Consent
|
|
2997
2987
|
object
|
|
2998
2988
|
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
This field is REQUIRED for POST /consent.
|
|
3002
|
-
|
|
3003
|
-
creation of this Consent.
|
|
2989
|
+
determined by the DFSP who creates the Consent.
|
|
3004
2990
|
scopes:
|
|
3005
2991
|
minLength: 1
|
|
3006
2992
|
maxLength: 256
|
|
@@ -3041,7 +3027,7 @@ paths:
|
|
|
3041
3027
|
- "FIDO" - A FIDO public/private keypair
|
|
3042
3028
|
- "GENERIC" - A Generic public/private keypair
|
|
3043
3029
|
status:
|
|
3044
|
-
title:
|
|
3030
|
+
title: CredentialStatusPending
|
|
3045
3031
|
type: string
|
|
3046
3032
|
enum: &ref_115
|
|
3047
3033
|
- PENDING
|
|
@@ -3176,9 +3162,9 @@ paths:
|
|
|
3176
3162
|
additionalProperties: false
|
|
3177
3163
|
- title: ConsentPostRequestPISP
|
|
3178
3164
|
type: object
|
|
3179
|
-
description:
|
|
3180
|
-
The object sent in
|
|
3181
|
-
|
|
3165
|
+
description: >
|
|
3166
|
+
The provisional Consent object sent by the DFSP in `POST
|
|
3167
|
+
/consents`.
|
|
3182
3168
|
properties: &ref_120
|
|
3183
3169
|
consentId:
|
|
3184
3170
|
allOf:
|
|
@@ -3468,7 +3454,7 @@ paths:
|
|
|
3468
3454
|
type: object
|
|
3469
3455
|
properties:
|
|
3470
3456
|
status:
|
|
3471
|
-
title:
|
|
3457
|
+
title: CredentialStatusVerified
|
|
3472
3458
|
type: string
|
|
3473
3459
|
enum: &ref_128
|
|
3474
3460
|
- VERIFIED
|
|
@@ -6653,14 +6639,14 @@ paths:
|
|
|
6653
6639
|
application/json:
|
|
6654
6640
|
schema:
|
|
6655
6641
|
oneOf:
|
|
6656
|
-
- title:
|
|
6642
|
+
- title: ThirdpartyRequestsAuthorizationsIDPutResponseRejected
|
|
6657
6643
|
type: object
|
|
6658
6644
|
description: >-
|
|
6659
6645
|
The object sent in the PUT
|
|
6660
6646
|
/thirdpartyRequests/authorizations/{ID} callback.
|
|
6661
6647
|
properties: &ref_147
|
|
6662
6648
|
responseType:
|
|
6663
|
-
title:
|
|
6649
|
+
title: AuthorizationResponseTypeRejected
|
|
6664
6650
|
description: |
|
|
6665
6651
|
The customer rejected the terms of the transfer.
|
|
6666
6652
|
type: string
|
|
@@ -7440,7 +7426,7 @@ paths:
|
|
|
7440
7426
|
information regarding a previously created or requested authorization.
|
|
7441
7427
|
The *{ID}*
|
|
7442
7428
|
|
|
7443
|
-
in the URI should contain the verification request ID
|
|
7429
|
+
in the URI should contain the verification request ID
|
|
7444
7430
|
parameters:
|
|
7445
7431
|
- name: Accept
|
|
7446
7432
|
in: header
|
|
@@ -7490,18 +7476,17 @@ paths:
|
|
|
7490
7476
|
- sampled
|
|
7491
7477
|
operationId: PutThirdpartyRequestsVerificationsById
|
|
7492
7478
|
summary: PutThirdpartyRequestsVerificationsById
|
|
7493
|
-
description:
|
|
7479
|
+
description: >-
|
|
7494
7480
|
The HTTP request `PUT /thirdpartyRequests/verifications/{ID}` is used by
|
|
7495
|
-
the Auth-Service to inform
|
|
7496
|
-
|
|
7497
|
-
the DFSP of a successful result in validating the verification of a
|
|
7498
|
-
Thirdparty Transaction Request.
|
|
7499
|
-
|
|
7481
|
+
the Auth-Service to inform the DFSP of a successful result in validating
|
|
7482
|
+
the verification of a Thirdparty Transaction Request.
|
|
7500
7483
|
|
|
7501
|
-
If the validation fails,
|
|
7502
|
-
/thirdpartyRequests/verifications/{ID}
|
|
7484
|
+
If the validation fails, the auth-service will send back `PUT
|
|
7485
|
+
/thirdpartyRequests/verifications/{ID}` with `authenticationResponse:
|
|
7486
|
+
'REJECTED'`.
|
|
7503
7487
|
|
|
7504
|
-
|
|
7488
|
+
In unplanned error cases the Auth-Service MUST use `PUT
|
|
7489
|
+
/thirdpartyRequests/verifications/{ID}/error`.
|
|
7505
7490
|
parameters:
|
|
7506
7491
|
- name: Content-Length
|
|
7507
7492
|
in: header
|
|
@@ -7525,13 +7510,21 @@ paths:
|
|
|
7525
7510
|
description: >-
|
|
7526
7511
|
The object sent in the PUT
|
|
7527
7512
|
/thirdpartyRequests/verifications/{ID} request.
|
|
7528
|
-
properties: &
|
|
7513
|
+
properties: &ref_158
|
|
7529
7514
|
authenticationResponse:
|
|
7515
|
+
title: AuthenticationResponse
|
|
7530
7516
|
type: string
|
|
7531
|
-
enum:
|
|
7517
|
+
enum: &ref_157
|
|
7532
7518
|
- VERIFIED
|
|
7533
|
-
|
|
7534
|
-
|
|
7519
|
+
- REJECTED
|
|
7520
|
+
description: >-
|
|
7521
|
+
Below are the allowed values for the enumeration
|
|
7522
|
+
AuthenticationResponse.
|
|
7523
|
+
|
|
7524
|
+
- VERIFIED - The challenge was correctly signed.
|
|
7525
|
+
|
|
7526
|
+
- REJECTED - The challenge was not correctly signed.
|
|
7527
|
+
required: &ref_159
|
|
7535
7528
|
- authenticationResponse
|
|
7536
7529
|
example:
|
|
7537
7530
|
authenticationResponse: VERIFIED
|
|
@@ -7928,11 +7921,6 @@ components:
|
|
|
7928
7921
|
type: string
|
|
7929
7922
|
enum: *ref_83
|
|
7930
7923
|
description: >
|
|
7931
|
-
This is a variant based on FSPIOP `PartyIdType` specification.
|
|
7932
|
-
|
|
7933
|
-
Main difference being the CONSENT and THIRD_PARTY_LINK enums.
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
7924
|
Below are the allowed values for the enumeration.
|
|
7937
7925
|
|
|
7938
7926
|
- MSISDN - An MSISDN (Mobile Station International Subscriber Directory
|
|
@@ -7963,7 +7951,7 @@ components:
|
|
|
7963
7951
|
certificate
|
|
7964
7952
|
|
|
7965
7953
|
number, and national registration number. The identifier number is added
|
|
7966
|
-
in
|
|
7954
|
+
in
|
|
7967
7955
|
|
|
7968
7956
|
the PartyIdentifier element. The personal identifier type is added in
|
|
7969
7957
|
the
|
|
@@ -8020,9 +8008,27 @@ components:
|
|
|
8020
8008
|
|
|
8021
8009
|
by the PartyIdentifier.
|
|
8022
8010
|
|
|
8023
|
-
- CONSENT -
|
|
8011
|
+
- CONSENT - A Consent represents an agreement between a PISP, a Customer
|
|
8012
|
+
and
|
|
8013
|
+
|
|
8014
|
+
a DFSP which allows the PISP permission to perform actions on behalf of
|
|
8015
|
+
the
|
|
8016
|
+
|
|
8017
|
+
customer. A Consent has an authoritative source: either the DFSP who
|
|
8018
|
+
issued
|
|
8019
|
+
|
|
8020
|
+
the Consent, or an Auth Service which administers the Consent.
|
|
8021
|
+
|
|
8022
|
+
- THIRD_PARTY_LINK - A Third Party Link represents an agreement between
|
|
8023
|
+
a PISP,
|
|
8024
|
+
|
|
8025
|
+
a DFSP, and a specific Customer's account at the DFSP. The content of
|
|
8026
|
+
the link
|
|
8024
8027
|
|
|
8025
|
-
|
|
8028
|
+
is created by the DFSP at the time when it gives permission to the PISP
|
|
8029
|
+
for
|
|
8030
|
+
|
|
8031
|
+
specific access to a given account.
|
|
8026
8032
|
example: PERSONAL_ID
|
|
8027
8033
|
PartyIdentifier:
|
|
8028
8034
|
title: PartyIdentifier
|
|
@@ -8181,11 +8187,6 @@ components:
|
|
|
8181
8187
|
type: string
|
|
8182
8188
|
enum: *ref_88
|
|
8183
8189
|
description: >
|
|
8184
|
-
This is a variant based on FSPIOP `PartyIdType` specification.
|
|
8185
|
-
|
|
8186
|
-
This validation interface should be use by `POST
|
|
8187
|
-
/thirdpartyRequests/transactions`
|
|
8188
|
-
|
|
8189
8190
|
- THIRD_PARTY_LINK - is the DFSP's internal reference which allows DFSP
|
|
8190
8191
|
to find out the corresponding consent
|
|
8191
8192
|
example: PERSONAL_ID
|
|
@@ -8423,7 +8424,7 @@ components:
|
|
|
8423
8424
|
maxLength: 512
|
|
8424
8425
|
description: >
|
|
8425
8426
|
The API data type Uri is a JSON string in a canonical format that is
|
|
8426
|
-
restricted by a
|
|
8427
|
+
restricted by a regular expression for interoperability reasons.
|
|
8427
8428
|
ConsentRequestsPostRequest:
|
|
8428
8429
|
title: ConsentRequestsPostRequest
|
|
8429
8430
|
type: object
|
|
@@ -8496,7 +8497,7 @@ components:
|
|
|
8496
8497
|
- "FIDO" - A FIDO public/private keypair
|
|
8497
8498
|
- "GENERIC" - A Generic public/private keypair
|
|
8498
8499
|
CredentialStatusPending:
|
|
8499
|
-
title:
|
|
8500
|
+
title: CredentialStatusPending
|
|
8500
8501
|
type: string
|
|
8501
8502
|
enum: *ref_115
|
|
8502
8503
|
description: |
|
|
@@ -8560,20 +8561,17 @@ components:
|
|
|
8560
8561
|
ConsentsPostRequestAUTH:
|
|
8561
8562
|
title: ConsentPostRequestAUTH
|
|
8562
8563
|
type: object
|
|
8563
|
-
description:
|
|
8564
|
-
The object sent in a `POST /consents` request to
|
|
8565
|
-
store registered
|
|
8566
|
-
|
|
8567
|
-
and whatever needed to perform authorization validation later
|
|
8564
|
+
description: |
|
|
8565
|
+
The object sent in a `POST /consents` request to the Auth-Service
|
|
8566
|
+
by a DFSP to store registered Consent and credential
|
|
8568
8567
|
properties: *ref_118
|
|
8569
8568
|
required: *ref_119
|
|
8570
8569
|
additionalProperties: false
|
|
8571
8570
|
ConsentsPostRequestPISP:
|
|
8572
8571
|
title: ConsentPostRequestPISP
|
|
8573
8572
|
type: object
|
|
8574
|
-
description:
|
|
8575
|
-
The object sent in
|
|
8576
|
-
delivering the credential object.
|
|
8573
|
+
description: |
|
|
8574
|
+
The provisional Consent object sent by the DFSP in `POST /consents`.
|
|
8577
8575
|
properties: *ref_120
|
|
8578
8576
|
required: *ref_121
|
|
8579
8577
|
ConsentStatusIssued:
|
|
@@ -8627,7 +8625,7 @@ components:
|
|
|
8627
8625
|
required: *ref_127
|
|
8628
8626
|
additionalProperties: false
|
|
8629
8627
|
CredentialStatusVerified:
|
|
8630
|
-
title:
|
|
8628
|
+
title: CredentialStatusVerified
|
|
8631
8629
|
type: string
|
|
8632
8630
|
enum: *ref_128
|
|
8633
8631
|
description: |
|
|
@@ -8717,13 +8715,13 @@ components:
|
|
|
8717
8715
|
required: *ref_145
|
|
8718
8716
|
additionalProperties: false
|
|
8719
8717
|
AuthorizationResponseTypeRejected:
|
|
8720
|
-
title:
|
|
8718
|
+
title: AuthorizationResponseTypeRejected
|
|
8721
8719
|
description: |
|
|
8722
8720
|
The customer rejected the terms of the transfer.
|
|
8723
8721
|
type: string
|
|
8724
8722
|
enum: *ref_146
|
|
8725
8723
|
ThirdpartyRequestsAuthorizationsIDPutResponseRejected:
|
|
8726
|
-
title:
|
|
8724
|
+
title: ThirdpartyRequestsAuthorizationsIDPutResponseRejected
|
|
8727
8725
|
type: object
|
|
8728
8726
|
description: >-
|
|
8729
8727
|
The object sent in the PUT /thirdpartyRequests/authorizations/{ID}
|
|
@@ -8789,14 +8787,22 @@ components:
|
|
|
8789
8787
|
description: The object sent in the POST /thirdpartyRequests/verifications request.
|
|
8790
8788
|
properties: *ref_155
|
|
8791
8789
|
required: *ref_156
|
|
8790
|
+
AuthenticationResponse:
|
|
8791
|
+
title: AuthenticationResponse
|
|
8792
|
+
type: string
|
|
8793
|
+
enum: *ref_157
|
|
8794
|
+
description: |-
|
|
8795
|
+
Below are the allowed values for the enumeration AuthenticationResponse.
|
|
8796
|
+
- VERIFIED - The challenge was correctly signed.
|
|
8797
|
+
- REJECTED - The challenge was not correctly signed.
|
|
8792
8798
|
ThirdpartyRequestsVerificationsIDPutResponse:
|
|
8793
8799
|
title: ThirdpartyRequestsVerificationsIDPutResponse
|
|
8794
8800
|
type: object
|
|
8795
8801
|
description: >-
|
|
8796
8802
|
The object sent in the PUT /thirdpartyRequests/verifications/{ID}
|
|
8797
8803
|
request.
|
|
8798
|
-
properties: *
|
|
8799
|
-
required: *
|
|
8804
|
+
properties: *ref_158
|
|
8805
|
+
required: *ref_159
|
|
8800
8806
|
parameters:
|
|
8801
8807
|
ID:
|
|
8802
8808
|
name: ID
|
|
@@ -83,7 +83,7 @@ properties:
|
|
|
83
83
|
amount:
|
|
84
84
|
type: string
|
|
85
85
|
description: Amount of money.
|
|
86
|
-
example: 123.45
|
|
86
|
+
example: '123.45'
|
|
87
87
|
fees:
|
|
88
88
|
properties:
|
|
89
89
|
currency:
|
|
@@ -93,7 +93,7 @@ properties:
|
|
|
93
93
|
amount:
|
|
94
94
|
type: string
|
|
95
95
|
description: Amount of money.
|
|
96
|
-
example: 1.45
|
|
96
|
+
example: '1.45'
|
|
97
97
|
transactionType:
|
|
98
98
|
$ref: ./TransactionType.yaml
|
|
99
99
|
description: Type of transaction that the quote is requested for.
|
|
@@ -26,7 +26,7 @@ properties:
|
|
|
26
26
|
amount:
|
|
27
27
|
type: string
|
|
28
28
|
description: Amount of money.
|
|
29
|
-
example: 123.45
|
|
29
|
+
example: '123.45'
|
|
30
30
|
fees:
|
|
31
31
|
properties:
|
|
32
32
|
currency:
|
|
@@ -36,7 +36,7 @@ properties:
|
|
|
36
36
|
amount:
|
|
37
37
|
type: string
|
|
38
38
|
description: Amount of money.
|
|
39
|
-
example: 1.45
|
|
39
|
+
example: '1.45'
|
|
40
40
|
transactionType:
|
|
41
41
|
$ref: ./TransactionType.yaml
|
|
42
42
|
description: Type of transaction that the quote is requested for.
|
|
@@ -18,7 +18,7 @@ properties:
|
|
|
18
18
|
amount:
|
|
19
19
|
type: string
|
|
20
20
|
description: Amount of money.
|
|
21
|
-
example: 124.45
|
|
21
|
+
example: '124.45'
|
|
22
22
|
payeeReceiveAmount:
|
|
23
23
|
properties:
|
|
24
24
|
currency:
|
|
@@ -28,7 +28,7 @@ properties:
|
|
|
28
28
|
amount:
|
|
29
29
|
type: string
|
|
30
30
|
description: Amount of money.
|
|
31
|
-
example: 123.45
|
|
31
|
+
example: '123.45'
|
|
32
32
|
payeeFspFee:
|
|
33
33
|
properties:
|
|
34
34
|
currency:
|
|
@@ -38,7 +38,7 @@ properties:
|
|
|
38
38
|
amount:
|
|
39
39
|
type: string
|
|
40
40
|
description: Amount of money.
|
|
41
|
-
example: 1.45
|
|
41
|
+
example: '1.45'
|
|
42
42
|
payeeFspCommission:
|
|
43
43
|
properties:
|
|
44
44
|
currency:
|
|
@@ -48,7 +48,7 @@ properties:
|
|
|
48
48
|
amount:
|
|
49
49
|
type: string
|
|
50
50
|
description: Amount of money.
|
|
51
|
-
example: 1.45
|
|
51
|
+
example: '1.45'
|
|
52
52
|
ilpPacket:
|
|
53
53
|
type: string
|
|
54
54
|
description: The ILP Packet that must be attached to the transfer by the Payer.
|