@mojaloop/api-snippets 18.3.1 → 18.4.0
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 +20 -0
- package/audit-ci.jsonc +7 -1
- package/docs/fspiop-rest-v2.0-ISO20022-openapi3-snippets.yaml +0 -2
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +1 -1
- package/docs/thirdparty-admin-v2.0-openapi3-snippets.yaml +3705 -0
- package/docs/thirdparty-openapi3-snippets.yaml +5 -5
- package/docs/thirdparty-v1.0-openapi3-snippets.yaml +3802 -0
- package/docs/thirdparty-v2.0-openapi3-snippets.yaml +1825 -0
- package/eslint.config.mjs +70 -0
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FinancialInstitutionIdentification18.yaml +0 -1
- package/fspiop/v2_0_ISO20022/openapi3/components/schemas/FinancialInstitutionIdentification23.yaml +0 -1
- package/lib/fspiop/v2_0/index.js +0 -1
- package/lib/fspiop/v2_0/index.js.map +1 -1
- package/lib/fspiop/v2_0_ISO20022/index.js +0 -1
- package/lib/fspiop/v2_0_ISO20022/index.js.map +1 -1
- package/lib/fspiop/v2_0_ISO20022/json-schemas.json +0 -71
- package/lib/fspiop/v2_0_ISO20022/schemas.d.ts +0 -140
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/index.js +0 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/index.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/index.js +0 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/index.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/backend/index.js +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/backend/index.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/index.js +0 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/index.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +1 -1
- package/lib/thirdparty/v2_0/openapi.d.ts +1726 -0
- package/lib/thirdparty/v2_0/openapi.js +7 -0
- package/lib/thirdparty/v2_0/openapi.js.map +1 -0
- package/package.json +48 -45
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +1 -1
- package/test/dto/{thirdparty.test.ts → thirdparty_v1_0.test.ts} +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/FIDOPublicKeyCredentialAssertion.yaml +2 -2
- package/thirdparty/v1_0/openapi3/components/schemas/FIDOPublicKeyCredentialAttestation.yaml +3 -3
- package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml +68 -61
- package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml +82 -75
- package/thirdparty/v2_0/openapi3/components/headers/Content-Length.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/headers/Content-Type.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/Accept.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/Content-Length.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/Content-Type.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/Date.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/FSPIOP-Destination.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/FSPIOP-Encryption.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/FSPIOP-Signature.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/FSPIOP-Source.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/FSPIOP-URI.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/ID.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/ServiceType.yaml +6 -0
- package/thirdparty/v2_0/openapi3/components/parameters/SubId.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/Type.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/parameters/X-Forwarded-For.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/200.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/202.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/400.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/401.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/403.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/404.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/405.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/406.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/501.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/responses/503.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Account.yaml +17 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AccountAddress.yaml +25 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AccountList.yaml +11 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Amount.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AmountType.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AuthenticationResponse.yaml +10 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AuthenticatorAssertionResponse.yaml +32 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AuthenticatorAttestationResponse.yaml +23 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AuthorizationResponseType.yaml +8 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AuthorizationResponseTypeAccepted.yaml +6 -0
- package/thirdparty/v2_0/openapi3/components/schemas/AuthorizationResponseTypeRejected.yaml +6 -0
- package/thirdparty/v2_0/openapi3/components/schemas/BinaryString.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestChannelType.yaml +9 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestChannelTypeOTP.yaml +6 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestChannelTypeWeb.yaml +6 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestsIDPatchRequest.yaml +16 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestsIDPutResponseOTP.yaml +30 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestsIDPutResponseWeb.yaml +39 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentRequestsPostRequest.yaml +44 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentStatus.yaml +9 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentStatusIssued.yaml +7 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentStatusRevoked.yaml +7 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentsIDPatchResponseRevoked.yaml +17 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentsIDPatchResponseVerified.yaml +19 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentsIDPutResponseSigned.yaml +23 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentsIDPutResponseVerified.yaml +23 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentsPostRequestAUTH.yaml +33 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ConsentsPostRequestPISP.yaml +32 -0
- package/thirdparty/v2_0/openapi3/components/schemas/CorrelationId.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/CredentialStatusPending.yaml +7 -0
- package/thirdparty/v2_0/openapi3/components/schemas/CredentialStatusVerified.yaml +7 -0
- package/thirdparty/v2_0/openapi3/components/schemas/CredentialType.yaml +11 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Currency.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/DateOfBirth.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/DateTime.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ErrorCode.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ErrorDescription.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ErrorInformation.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Extension.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ExtensionKey.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ExtensionList.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ExtensionValue.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/FIDOPublicKeyCredentialAssertion.yaml +71 -0
- package/thirdparty/v2_0/openapi3/components/schemas/FIDOPublicKeyCredentialAttestation.yaml +54 -0
- package/thirdparty/v2_0/openapi3/components/schemas/FirstName.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/FspId.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/GenericCredential.yaml +13 -0
- package/thirdparty/v2_0/openapi3/components/schemas/GeoCode.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/IlpCondition.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/IlpFulfilment.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/IlpPacket.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Integer.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/LastName.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Latitude.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Longitude.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/MerchantClassificationCode.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/MiddleName.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Money.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Name.yaml +2 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Note.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ParticipantsIDPutResponse.yaml +17 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ParticipantsPostRequest.yaml +20 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ParticipantsTypeIDPutResponse.yaml +8 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ParticipantsTypeIDSubIDPostRequest.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +13 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Party.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyComplexName.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyIdInfo.yaml +17 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyIdInfoTPLink.yaml +17 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyIdType.yaml +58 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyIdTypeTPLink.yaml +7 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyIdentifier.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyName.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyResult.yaml +10 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartySubIdOrType.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/PartyTPLink.yaml +14 -0
- package/thirdparty/v2_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/QuotesPostRequest.yaml +79 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Scope.yaml +20 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ScopeAction.yaml +14 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ServiceType.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/ServicesServiceTypePutResponse.yaml +26 -0
- package/thirdparty/v2_0/openapi3/components/schemas/SignedCredential.yaml +23 -0
- package/thirdparty/v2_0/openapi3/components/schemas/SignedPayloadFIDO.yaml +11 -0
- package/thirdparty/v2_0/openapi3/components/schemas/SignedPayloadGeneric.yaml +11 -0
- package/thirdparty/v2_0/openapi3/components/schemas/SignedPayloadType.yaml +9 -0
- package/thirdparty/v2_0/openapi3/components/schemas/SignedPayloadTypeFIDO.yaml +5 -0
- package/thirdparty/v2_0/openapi3/components/schemas/SignedPayloadTypeGeneric.yaml +5 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Transaction.yaml +43 -0
- package/thirdparty/v2_0/openapi3/components/schemas/TransactionRequestState.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/TransactionState.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/TransactionType.yaml +1 -0
- package/thirdparty/v2_0/openapi3/components/schemas/TransfersPostRequestFIDO.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/TransfersPostRequestGeneric.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/Uri.yaml +8 -0
- package/thirdparty/v2_0/openapi3/components/schemas/VerifiedCredential.yaml +23 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAccountRequestPostRequest.yaml +35 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAccountRequestPutResponse.yaml +30 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAccountsIDPutResponse.yaml +21 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAuthorizationsIDPutResponseFIDO.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAuthorizationsIDPutResponseGeneric.yaml +15 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAuthorizationsIDPutResponseRejected.yaml +10 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppAuthorizationsPostRequest.yaml +67 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppTransactionRequestPostRequest.yaml +60 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppTransactionRequestPutResponse.yaml +67 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppTransfersPostRequest.yaml +19 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppTransfersPutResponse.yaml +25 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppVerificationsIDPutResponse.yaml +19 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppVerificationsPostRequestFIDO.yaml +28 -0
- package/thirdparty/v2_0/openapi3/components/schemas/tppVerificationsPostRequestGeneric.yaml +28 -0
- package/thirdparty/v2_0/openapi3/openapi-admin.yaml +99 -0
- package/thirdparty/v2_0/openapi3/openapi.yaml +64 -0
- package/thirdparty/v2_0/openapi3/paths/health.yaml +25 -0
- package/thirdparty/v2_0/openapi3/paths/metrics.yaml +25 -0
- package/thirdparty/v2_0/openapi3/paths/participants.yaml +50 -0
- package/thirdparty/v2_0/openapi3/paths/participants_ID.yaml +49 -0
- package/thirdparty/v2_0/openapi3/paths/participants_ID_error.yaml +51 -0
- package/thirdparty/v2_0/openapi3/paths/participants_Type_ID.yaml +169 -0
- package/thirdparty/v2_0/openapi3/paths/participants_Type_ID_error.yaml +52 -0
- package/thirdparty/v2_0/openapi3/paths/services_ServiceType.yaml +77 -0
- package/thirdparty/v2_0/openapi3/paths/services_ServiceType_error.yaml +49 -0
- package/thirdparty/v2_0/openapi3/paths/tppAccountRequest.yaml +49 -0
- package/thirdparty/v2_0/openapi3/paths/tppAccountRequest_ID.yaml +86 -0
- package/thirdparty/v2_0/openapi3/paths/tppAccountRequest_ID_error.yaml +48 -0
- package/thirdparty/v2_0/openapi3/paths/tppAccounts_ID.yaml +88 -0
- package/thirdparty/v2_0/openapi3/paths/tppAccounts_ID_error.yaml +48 -0
- package/thirdparty/v2_0/openapi3/paths/tppAuthorizations.yaml +51 -0
- package/thirdparty/v2_0/openapi3/paths/tppAuthorizations_ID.yaml +86 -0
- package/thirdparty/v2_0/openapi3/paths/tppAuthorizations_ID_error.yaml +55 -0
- package/thirdparty/v2_0/openapi3/paths/tppConsentRequests.yaml +48 -0
- package/thirdparty/v2_0/openapi3/paths/tppConsentRequests_ID.yaml +123 -0
- package/thirdparty/v2_0/openapi3/paths/tppConsentRequests_ID_error.yaml +48 -0
- package/thirdparty/v2_0/openapi3/paths/tppConsents.yaml +49 -0
- package/thirdparty/v2_0/openapi3/paths/tppConsents_ID.yaml +165 -0
- package/thirdparty/v2_0/openapi3/paths/tppConsents_ID_error.yaml +48 -0
- package/thirdparty/v2_0/openapi3/paths/tppTransactionRequests.yaml +48 -0
- package/thirdparty/v2_0/openapi3/paths/tppTransactionRequests_ID.yaml +83 -0
- package/thirdparty/v2_0/openapi3/paths/tppTransactionRequests_ID_error.yaml +52 -0
- package/thirdparty/v2_0/openapi3/paths/tppTransfers.yaml +47 -0
- package/thirdparty/v2_0/openapi3/paths/tppTransfers_ID.yaml +86 -0
- package/thirdparty/v2_0/openapi3/paths/tppTransfers_ID_error.yaml +52 -0
- package/thirdparty/v2_0/openapi3/paths/tppVerifications.yaml +49 -0
- package/thirdparty/v2_0/openapi3/paths/tppVerifications_ID.yaml +87 -0
- package/thirdparty/v2_0/openapi3/paths/tppVerifications_ID_error.yaml +49 -0
- package/thirdparty/v2_0/openapi3/thirdparty-dfsp-admin-api.template.yaml +53 -0
- package/thirdparty/v2_0/openapi3/thirdparty-dfsp-admin-api.yaml +2633 -0
- package/thirdparty/v2_0/openapi3/thirdparty-pisp-admin-api.template.yaml +57 -0
- package/thirdparty/v2_0/openapi3/thirdparty-pisp-admin-api.yaml +3103 -0
- package/tsconfig.build.json +4 -3
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ServiceType.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
|
|
6
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
7
|
+
- $ref: ../components/parameters/Date.yaml
|
|
8
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
14
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
15
|
+
put:
|
|
16
|
+
description: |
|
|
17
|
+
The HTTP request `PUT /services/{ServiceType}/error` is used to return error information
|
|
18
|
+
operationId: PutServicesByServiceTypeAndError
|
|
19
|
+
summary: PutServicesByServiceTypeAndError
|
|
20
|
+
tags:
|
|
21
|
+
- services
|
|
22
|
+
parameters:
|
|
23
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
24
|
+
requestBody:
|
|
25
|
+
description: Details of the error returned.
|
|
26
|
+
required: true
|
|
27
|
+
content:
|
|
28
|
+
application/json:
|
|
29
|
+
schema:
|
|
30
|
+
$ref: '../../../../fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml'
|
|
31
|
+
responses:
|
|
32
|
+
200:
|
|
33
|
+
$ref: ../components/responses/200.yaml
|
|
34
|
+
400:
|
|
35
|
+
$ref: ../components/responses/400.yaml
|
|
36
|
+
401:
|
|
37
|
+
$ref: ../components/responses/401.yaml
|
|
38
|
+
403:
|
|
39
|
+
$ref: ../components/responses/403.yaml
|
|
40
|
+
404:
|
|
41
|
+
$ref: ../components/responses/404.yaml
|
|
42
|
+
405:
|
|
43
|
+
$ref: ../components/responses/405.yaml
|
|
44
|
+
406:
|
|
45
|
+
$ref: ../components/responses/406.yaml
|
|
46
|
+
501:
|
|
47
|
+
$ref: ../components/responses/501.yaml
|
|
48
|
+
503:
|
|
49
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Headers
|
|
3
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
4
|
+
- $ref: ../components/parameters/Date.yaml
|
|
5
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
6
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
7
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
12
|
+
post:
|
|
13
|
+
tags:
|
|
14
|
+
- accountRequest
|
|
15
|
+
operationId: AuthorisingAccountRequest
|
|
16
|
+
summary: AuthorisingAccountRequest
|
|
17
|
+
description: |
|
|
18
|
+
The `/tppAccountsRequest` resource is used to request consent from a user
|
|
19
|
+
for access to their accounts information. This resource must be called before
|
|
20
|
+
the /tppAccounts resource can be queried which provides the account information.
|
|
21
|
+
parameters:
|
|
22
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
23
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
24
|
+
requestBody:
|
|
25
|
+
description: The consentRequest to create
|
|
26
|
+
required: true
|
|
27
|
+
content:
|
|
28
|
+
application/json:
|
|
29
|
+
schema:
|
|
30
|
+
$ref: ../components/schemas/tppAccountRequestPostRequest.yaml
|
|
31
|
+
responses:
|
|
32
|
+
202:
|
|
33
|
+
$ref: ../components/responses/202.yaml
|
|
34
|
+
400:
|
|
35
|
+
$ref: ../components/responses/400.yaml
|
|
36
|
+
401:
|
|
37
|
+
$ref: ../components/responses/401.yaml
|
|
38
|
+
403:
|
|
39
|
+
$ref: ../components/responses/403.yaml
|
|
40
|
+
404:
|
|
41
|
+
$ref: ../components/responses/404.yaml
|
|
42
|
+
405:
|
|
43
|
+
$ref: ../components/responses/405.yaml
|
|
44
|
+
406:
|
|
45
|
+
$ref: ../components/responses/406.yaml
|
|
46
|
+
501:
|
|
47
|
+
$ref: ../components/responses/501.yaml
|
|
48
|
+
503:
|
|
49
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ID.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
6
|
+
- $ref: ../components/parameters/Date.yaml
|
|
7
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
14
|
+
get:
|
|
15
|
+
operationId: GetAccountRequest
|
|
16
|
+
summary: GetAccountRequest
|
|
17
|
+
description: |
|
|
18
|
+
The `GET /tppAccountsRequest/{ID}` is used to request status of POST /tppAccountRequest/ call.
|
|
19
|
+
The *{ID}* in the URI should contain the accountRequestId that was assigned to the
|
|
20
|
+
request by the PISP when the PISP originated the request. The result is return via the PUT callback.
|
|
21
|
+
tags:
|
|
22
|
+
- accountRequest
|
|
23
|
+
parameters:
|
|
24
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
25
|
+
responses:
|
|
26
|
+
202:
|
|
27
|
+
$ref: ../components/responses/202.yaml
|
|
28
|
+
400:
|
|
29
|
+
$ref: ../components/responses/400.yaml
|
|
30
|
+
401:
|
|
31
|
+
$ref: ../components/responses/401.yaml
|
|
32
|
+
403:
|
|
33
|
+
$ref: ../components/responses/403.yaml
|
|
34
|
+
404:
|
|
35
|
+
$ref: ../components/responses/404.yaml
|
|
36
|
+
405:
|
|
37
|
+
$ref: ../components/responses/405.yaml
|
|
38
|
+
406:
|
|
39
|
+
$ref: ../components/responses/406.yaml
|
|
40
|
+
501:
|
|
41
|
+
$ref: ../components/responses/501.yaml
|
|
42
|
+
503:
|
|
43
|
+
$ref: ../components/responses/503.yaml
|
|
44
|
+
put:
|
|
45
|
+
tags:
|
|
46
|
+
- accountRequest
|
|
47
|
+
operationId: UpdateAccountRequest
|
|
48
|
+
summary: UpdateAccountRequest
|
|
49
|
+
description: |
|
|
50
|
+
A DFSP uses this callback to (1) inform the PISP that the accountRequest has been accepted,
|
|
51
|
+
and (2) communicate to the PISP which `authChannel` it should use to authenticate their user
|
|
52
|
+
with.
|
|
53
|
+
|
|
54
|
+
When a PISP requests a series of permissions from a DFSP on behalf of a DFSP's customer,
|
|
55
|
+
not all the permissions requested may be granted by the DFSP.
|
|
56
|
+
Conversely, the out-of-loop authorization process may result in additional privileges
|
|
57
|
+
being granted by the account holder to the PISP. The `PUT /tppAccountsRequest/<ID>`
|
|
58
|
+
resource returns the current state of the permissions relating to a particular
|
|
59
|
+
authorization request.
|
|
60
|
+
parameters:
|
|
61
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
62
|
+
requestBody:
|
|
63
|
+
required: true
|
|
64
|
+
content:
|
|
65
|
+
application/json:
|
|
66
|
+
schema:
|
|
67
|
+
$ref: ../components/schemas/tppAccountRequestPutResponse.yaml
|
|
68
|
+
responses:
|
|
69
|
+
202:
|
|
70
|
+
$ref: ../components/responses/202.yaml
|
|
71
|
+
400:
|
|
72
|
+
$ref: ../components/responses/400.yaml
|
|
73
|
+
401:
|
|
74
|
+
$ref: ../components/responses/401.yaml
|
|
75
|
+
403:
|
|
76
|
+
$ref: ../components/responses/403.yaml
|
|
77
|
+
404:
|
|
78
|
+
$ref: ../components/responses/404.yaml
|
|
79
|
+
405:
|
|
80
|
+
$ref: ../components/responses/405.yaml
|
|
81
|
+
406:
|
|
82
|
+
$ref: ../components/responses/406.yaml
|
|
83
|
+
501:
|
|
84
|
+
$ref: ../components/responses/501.yaml
|
|
85
|
+
503:
|
|
86
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ID.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
6
|
+
- $ref: ../components/parameters/Date.yaml
|
|
7
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
14
|
+
put:
|
|
15
|
+
tags:
|
|
16
|
+
- accountRequest
|
|
17
|
+
operationId: NotifyErrorAccountRequest
|
|
18
|
+
summary: NotifyErrorAccountRequest
|
|
19
|
+
description: |
|
|
20
|
+
DFSP responds to the PISP if something went wrong with validating an OTP or secret.
|
|
21
|
+
parameters:
|
|
22
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
23
|
+
requestBody:
|
|
24
|
+
description: Error information returned.
|
|
25
|
+
required: true
|
|
26
|
+
content:
|
|
27
|
+
application/json:
|
|
28
|
+
schema:
|
|
29
|
+
$ref: '../../../../fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml'
|
|
30
|
+
responses:
|
|
31
|
+
200:
|
|
32
|
+
$ref: ../components/responses/200.yaml
|
|
33
|
+
400:
|
|
34
|
+
$ref: ../components/responses/400.yaml
|
|
35
|
+
401:
|
|
36
|
+
$ref: ../components/responses/401.yaml
|
|
37
|
+
403:
|
|
38
|
+
$ref: ../components/responses/403.yaml
|
|
39
|
+
404:
|
|
40
|
+
$ref: ../components/responses/404.yaml
|
|
41
|
+
405:
|
|
42
|
+
$ref: ../components/responses/405.yaml
|
|
43
|
+
406:
|
|
44
|
+
$ref: ../components/responses/406.yaml
|
|
45
|
+
501:
|
|
46
|
+
$ref: ../components/responses/501.yaml
|
|
47
|
+
503:
|
|
48
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ID.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
6
|
+
- $ref: ../components/parameters/Date.yaml
|
|
7
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
14
|
+
get:
|
|
15
|
+
operationId: GetAccountsByUserId
|
|
16
|
+
summary: GetAccountsByUserId
|
|
17
|
+
description: |
|
|
18
|
+
The HTTP request `GET /tppAccounts/{ID}/{SignedChallenge}` is used to retrieve the list of potential accounts available for linking.
|
|
19
|
+
The request `{ID}` is the accountRequestID and the `{SignedChallenge}` is the signed challenge that resulted from the `POST /tppAccountRequest/` callback.
|
|
20
|
+
|
|
21
|
+
The signed challenge must match the authentication channel that was selected by the DFSP. For example, if the WEB authentication channel was selected by the DFSP, then signed challenge needs to be authToken, otherwise if the OTP channel was selected, then it needs to be the OTP that was entered by the party.
|
|
22
|
+
(For example, GET /tppAccounts/12345/56789).
|
|
23
|
+
tags:
|
|
24
|
+
- accounts
|
|
25
|
+
parameters:
|
|
26
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
27
|
+
responses:
|
|
28
|
+
202:
|
|
29
|
+
$ref: ../components/responses/202.yaml
|
|
30
|
+
400:
|
|
31
|
+
$ref: ../components/responses/400.yaml
|
|
32
|
+
401:
|
|
33
|
+
$ref: ../components/responses/401.yaml
|
|
34
|
+
403:
|
|
35
|
+
$ref: ../components/responses/403.yaml
|
|
36
|
+
404:
|
|
37
|
+
$ref: ../components/responses/404.yaml
|
|
38
|
+
405:
|
|
39
|
+
$ref: ../components/responses/405.yaml
|
|
40
|
+
406:
|
|
41
|
+
$ref: ../components/responses/406.yaml
|
|
42
|
+
501:
|
|
43
|
+
$ref: ../components/responses/501.yaml
|
|
44
|
+
503:
|
|
45
|
+
$ref: ../components/responses/503.yaml
|
|
46
|
+
put:
|
|
47
|
+
description: |
|
|
48
|
+
The HTTP request `PUT /tppAccounts/{ID}` is used to return the list of potential accounts available for linking
|
|
49
|
+
operationId: UpdateAccountsByUserId
|
|
50
|
+
summary: UpdateAccountsByUserId
|
|
51
|
+
tags:
|
|
52
|
+
- accounts
|
|
53
|
+
parameters:
|
|
54
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
55
|
+
requestBody:
|
|
56
|
+
required: true
|
|
57
|
+
content:
|
|
58
|
+
application/json:
|
|
59
|
+
schema:
|
|
60
|
+
$ref: ../components/schemas/tppAccountsIDPutResponse.yaml
|
|
61
|
+
example:
|
|
62
|
+
-
|
|
63
|
+
accountNickname: 'dfspa.user.nickname1'
|
|
64
|
+
id: 'dfspa.username.1234'
|
|
65
|
+
currency: 'ZAR'
|
|
66
|
+
-
|
|
67
|
+
accountNickname: 'dfspa.user.nickname2'
|
|
68
|
+
id: 'dfspa.username.5678'
|
|
69
|
+
currency: 'USD'
|
|
70
|
+
responses:
|
|
71
|
+
200:
|
|
72
|
+
$ref: ../components/responses/200.yaml
|
|
73
|
+
400:
|
|
74
|
+
$ref: ../components/responses/400.yaml
|
|
75
|
+
401:
|
|
76
|
+
$ref: ../components/responses/401.yaml
|
|
77
|
+
403:
|
|
78
|
+
$ref: ../components/responses/403.yaml
|
|
79
|
+
404:
|
|
80
|
+
$ref: ../components/responses/404.yaml
|
|
81
|
+
405:
|
|
82
|
+
$ref: ../components/responses/405.yaml
|
|
83
|
+
406:
|
|
84
|
+
$ref: ../components/responses/406.yaml
|
|
85
|
+
501:
|
|
86
|
+
$ref: ../components/responses/501.yaml
|
|
87
|
+
503:
|
|
88
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ID.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
6
|
+
- $ref: ../components/parameters/Date.yaml
|
|
7
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
14
|
+
put:
|
|
15
|
+
description: |
|
|
16
|
+
The HTTP request `PUT /ttpAccounts/{ID}/error` is used to return error information
|
|
17
|
+
operationId: UpdateAccountsByUserIdError
|
|
18
|
+
summary: UpdateAccountsByUserIdError
|
|
19
|
+
tags:
|
|
20
|
+
- accounts
|
|
21
|
+
parameters:
|
|
22
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
23
|
+
requestBody:
|
|
24
|
+
description: Details of the error returned.
|
|
25
|
+
required: true
|
|
26
|
+
content:
|
|
27
|
+
application/json:
|
|
28
|
+
schema:
|
|
29
|
+
$ref: '../../../../fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml'
|
|
30
|
+
responses:
|
|
31
|
+
200:
|
|
32
|
+
$ref: ../components/responses/200.yaml
|
|
33
|
+
400:
|
|
34
|
+
$ref: ../components/responses/400.yaml
|
|
35
|
+
401:
|
|
36
|
+
$ref: ../components/responses/401.yaml
|
|
37
|
+
403:
|
|
38
|
+
$ref: ../components/responses/403.yaml
|
|
39
|
+
404:
|
|
40
|
+
$ref: ../components/responses/404.yaml
|
|
41
|
+
405:
|
|
42
|
+
$ref: ../components/responses/405.yaml
|
|
43
|
+
406:
|
|
44
|
+
$ref: ../components/responses/406.yaml
|
|
45
|
+
501:
|
|
46
|
+
$ref: ../components/responses/501.yaml
|
|
47
|
+
503:
|
|
48
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Headers
|
|
3
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
4
|
+
- $ref: ../components/parameters/Date.yaml
|
|
5
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
6
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
7
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
12
|
+
post:
|
|
13
|
+
description: >
|
|
14
|
+
The HTTP request **POST /tppAuthorizations** used by a Payer DFSP to request authorization from the Payer to make a payment.
|
|
15
|
+
|
|
16
|
+
This use case is applicable when the Payer DFSP receives a request to pay (a Payee initiated payment) and chooses to authorize the payment through the third party provider.
|
|
17
|
+
|
|
18
|
+
operationId: tppPostAuthorizations
|
|
19
|
+
summary: tppPostAuthorizations
|
|
20
|
+
tags:
|
|
21
|
+
- authorizations
|
|
22
|
+
parameters:
|
|
23
|
+
#Headers
|
|
24
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
25
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
26
|
+
requestBody:
|
|
27
|
+
description: Authorization request details
|
|
28
|
+
required: true
|
|
29
|
+
content:
|
|
30
|
+
application/json:
|
|
31
|
+
schema:
|
|
32
|
+
$ref: ../components/schemas/tppAuthorizationsPostRequest.yaml
|
|
33
|
+
responses:
|
|
34
|
+
202:
|
|
35
|
+
$ref: ../components/responses/202.yaml
|
|
36
|
+
400:
|
|
37
|
+
$ref: ../components/responses/400.yaml
|
|
38
|
+
401:
|
|
39
|
+
$ref: ../components/responses/401.yaml
|
|
40
|
+
403:
|
|
41
|
+
$ref: ../components/responses/403.yaml
|
|
42
|
+
404:
|
|
43
|
+
$ref: ../components/responses/404.yaml
|
|
44
|
+
405:
|
|
45
|
+
$ref: ../components/responses/405.yaml
|
|
46
|
+
406:
|
|
47
|
+
$ref: ../components/responses/406.yaml
|
|
48
|
+
501:
|
|
49
|
+
$ref: ../components/responses/501.yaml
|
|
50
|
+
503:
|
|
51
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ID.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
6
|
+
- $ref: ../components/parameters/Date.yaml
|
|
7
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
14
|
+
get:
|
|
15
|
+
description: |
|
|
16
|
+
The HTTP request **GET /tppAuthorizations/**_{ID}_ is used to get information relating
|
|
17
|
+
to a previously issued authorization request. The *{ID}* in the request should match the
|
|
18
|
+
`authorizationRequestId` which was given when the authorization request was created.
|
|
19
|
+
operationId: tppGetAuthorizationsById
|
|
20
|
+
summary: ttpGetAuthorizationsById
|
|
21
|
+
tags:
|
|
22
|
+
- authorizations
|
|
23
|
+
parameters:
|
|
24
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
25
|
+
responses:
|
|
26
|
+
202:
|
|
27
|
+
$ref: ../components/responses/202.yaml
|
|
28
|
+
400:
|
|
29
|
+
$ref: ../components/responses/400.yaml
|
|
30
|
+
401:
|
|
31
|
+
$ref: ../components/responses/401.yaml
|
|
32
|
+
403:
|
|
33
|
+
$ref: ../components/responses/403.yaml
|
|
34
|
+
404:
|
|
35
|
+
$ref: ../components/responses/404.yaml
|
|
36
|
+
405:
|
|
37
|
+
$ref: ../components/responses/405.yaml
|
|
38
|
+
406:
|
|
39
|
+
$ref: ../components/responses/406.yaml
|
|
40
|
+
501:
|
|
41
|
+
$ref: ../components/responses/501.yaml
|
|
42
|
+
503:
|
|
43
|
+
$ref: ../components/responses/503.yaml
|
|
44
|
+
put:
|
|
45
|
+
description: |
|
|
46
|
+
After receiving the **POST /tppAuthorizations**, the PISP will present the details of the
|
|
47
|
+
transaction to their user, and request that the client sign the `challenge` field using the credential
|
|
48
|
+
they previously registered.
|
|
49
|
+
|
|
50
|
+
The signed challenge will be sent back by the PISP in **PUT /tppAuthorizations/**_{ID}_:
|
|
51
|
+
|
|
52
|
+
operationId: tppPutAuthorizationsById
|
|
53
|
+
summary: tppPutAuthorizationsById
|
|
54
|
+
tags:
|
|
55
|
+
- authorizations
|
|
56
|
+
parameters:
|
|
57
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
58
|
+
requestBody:
|
|
59
|
+
description: Signed authorization object
|
|
60
|
+
required: true
|
|
61
|
+
content:
|
|
62
|
+
application/json:
|
|
63
|
+
schema:
|
|
64
|
+
oneOf:
|
|
65
|
+
- $ref: '../components/schemas/tppAuthorizationsIDPutResponseRejected.yaml'
|
|
66
|
+
- $ref: '../components/schemas/tppAuthorizationsIDPutResponseFIDO.yaml'
|
|
67
|
+
- $ref: '../components/schemas/tppAuthorizationsIDPutResponseGeneric.yaml'
|
|
68
|
+
responses:
|
|
69
|
+
200:
|
|
70
|
+
$ref: ../components/responses/200.yaml
|
|
71
|
+
400:
|
|
72
|
+
$ref: ../components/responses/400.yaml
|
|
73
|
+
401:
|
|
74
|
+
$ref: ../components/responses/401.yaml
|
|
75
|
+
403:
|
|
76
|
+
$ref: ../components/responses/403.yaml
|
|
77
|
+
404:
|
|
78
|
+
$ref: ../components/responses/404.yaml
|
|
79
|
+
405:
|
|
80
|
+
$ref: ../components/responses/405.yaml
|
|
81
|
+
406:
|
|
82
|
+
$ref: ../components/responses/406.yaml
|
|
83
|
+
501:
|
|
84
|
+
$ref: ../components/responses/501.yaml
|
|
85
|
+
503:
|
|
86
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Path
|
|
3
|
+
- $ref: ../components/parameters/ID.yaml
|
|
4
|
+
#Headers
|
|
5
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
6
|
+
- $ref: ../components/parameters/Date.yaml
|
|
7
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
12
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
13
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
14
|
+
put:
|
|
15
|
+
tags:
|
|
16
|
+
- authorizations
|
|
17
|
+
operationId: tppAuthorizationsByIdAndError
|
|
18
|
+
summary: tppAuthorizationsByIdAndError
|
|
19
|
+
description: |
|
|
20
|
+
The HTTP request `PUT /tppAuthorizations/{ID}/error` is used by the DFSP or PISP to inform
|
|
21
|
+
the other party that something went wrong with a Thirdparty Transaction Authorization Request.
|
|
22
|
+
|
|
23
|
+
The PISP may use this to tell the DFSP that the Thirdparty Transaction Authorization Request is invalid or doesn't
|
|
24
|
+
match a `transactionRequestId`.
|
|
25
|
+
|
|
26
|
+
The DFSP may use this to tell the PISP that the signed challenge returned in `PUT /tppAuthorizations/{ID}`
|
|
27
|
+
was invalid.
|
|
28
|
+
parameters:
|
|
29
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
30
|
+
requestBody:
|
|
31
|
+
description: Error information returned.
|
|
32
|
+
required: true
|
|
33
|
+
content:
|
|
34
|
+
application/json:
|
|
35
|
+
schema:
|
|
36
|
+
$ref: '../../../../fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml'
|
|
37
|
+
responses:
|
|
38
|
+
200:
|
|
39
|
+
$ref: ../components/responses/200.yaml
|
|
40
|
+
400:
|
|
41
|
+
$ref: ../components/responses/400.yaml
|
|
42
|
+
401:
|
|
43
|
+
$ref: ../components/responses/401.yaml
|
|
44
|
+
403:
|
|
45
|
+
$ref: ../components/responses/403.yaml
|
|
46
|
+
404:
|
|
47
|
+
$ref: ../components/responses/404.yaml
|
|
48
|
+
405:
|
|
49
|
+
$ref: ../components/responses/405.yaml
|
|
50
|
+
406:
|
|
51
|
+
$ref: ../components/responses/406.yaml
|
|
52
|
+
501:
|
|
53
|
+
$ref: ../components/responses/501.yaml
|
|
54
|
+
503:
|
|
55
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
parameters:
|
|
2
|
+
#Headers
|
|
3
|
+
- $ref: ../components/parameters/Content-Type.yaml
|
|
4
|
+
- $ref: ../components/parameters/Date.yaml
|
|
5
|
+
- $ref: ../components/parameters/X-Forwarded-For.yaml
|
|
6
|
+
- $ref: ../components/parameters/FSPIOP-Source.yaml
|
|
7
|
+
- $ref: ../components/parameters/FSPIOP-Destination.yaml
|
|
8
|
+
- $ref: ../components/parameters/FSPIOP-Encryption.yaml
|
|
9
|
+
- $ref: ../components/parameters/FSPIOP-Signature.yaml
|
|
10
|
+
- $ref: ../components/parameters/FSPIOP-URI.yaml
|
|
11
|
+
- $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
|
|
12
|
+
post:
|
|
13
|
+
tags:
|
|
14
|
+
- consentRequests
|
|
15
|
+
operationId: CreateConsentRequest
|
|
16
|
+
summary: CreateConsentRequest
|
|
17
|
+
description: |
|
|
18
|
+
The HTTP request **POST /tppConsentRequests** is used to request a DFSP to grant access to one or more
|
|
19
|
+
accounts owned by a customer of the DFSP for the PISP who sends the request.
|
|
20
|
+
parameters:
|
|
21
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
22
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
23
|
+
requestBody:
|
|
24
|
+
description: The consentRequest to create
|
|
25
|
+
required: true
|
|
26
|
+
content:
|
|
27
|
+
application/json:
|
|
28
|
+
schema:
|
|
29
|
+
$ref: ../components/schemas/ConsentRequestsPostRequest.yaml
|
|
30
|
+
responses:
|
|
31
|
+
202:
|
|
32
|
+
$ref: ../components/responses/202.yaml
|
|
33
|
+
400:
|
|
34
|
+
$ref: ../components/responses/400.yaml
|
|
35
|
+
401:
|
|
36
|
+
$ref: ../components/responses/401.yaml
|
|
37
|
+
403:
|
|
38
|
+
$ref: ../components/responses/403.yaml
|
|
39
|
+
404:
|
|
40
|
+
$ref: ../components/responses/404.yaml
|
|
41
|
+
405:
|
|
42
|
+
$ref: ../components/responses/405.yaml
|
|
43
|
+
406:
|
|
44
|
+
$ref: ../components/responses/406.yaml
|
|
45
|
+
501:
|
|
46
|
+
$ref: ../components/responses/501.yaml
|
|
47
|
+
503:
|
|
48
|
+
$ref: ../components/responses/503.yaml
|