@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,123 @@
|
|
|
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: GetConsentRequestsById
|
|
16
|
+
summary: GetConsentRequestsById
|
|
17
|
+
description: |
|
|
18
|
+
The HTTP request `GET /tppConsentRequests/{ID}` is used to get information about a previously
|
|
19
|
+
requested consent. The *{ID}* in the URI should contain the consentRequestId that was assigned to the
|
|
20
|
+
request by the PISP when the PISP originated the request.
|
|
21
|
+
tags:
|
|
22
|
+
- consentRequests
|
|
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
|
+
- consentRequests
|
|
47
|
+
operationId: UpdateConsentRequest
|
|
48
|
+
summary: UpdateConsentRequest
|
|
49
|
+
description: |
|
|
50
|
+
A DFSP uses this callback to (1) inform the PISP that the consentRequest 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, not all
|
|
55
|
+
the permissions requested may be granted by the DFSP. Conversely, the out-of-band authorization
|
|
56
|
+
process may result in additional privileges being granted by the account holder to the PISP. The
|
|
57
|
+
**PUT /consentRequests/**_{ID}_ resource returns the current state of the permissions relating to a
|
|
58
|
+
particular authorization request.
|
|
59
|
+
parameters:
|
|
60
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
61
|
+
requestBody:
|
|
62
|
+
required: true
|
|
63
|
+
content:
|
|
64
|
+
application/json:
|
|
65
|
+
schema:
|
|
66
|
+
oneOf:
|
|
67
|
+
- $ref: ../components/schemas/ConsentRequestsIDPutResponseWeb.yaml
|
|
68
|
+
- $ref: ../components/schemas/ConsentRequestsIDPutResponseOTP.yaml
|
|
69
|
+
responses:
|
|
70
|
+
202:
|
|
71
|
+
$ref: ../components/responses/202.yaml
|
|
72
|
+
400:
|
|
73
|
+
$ref: ../components/responses/400.yaml
|
|
74
|
+
401:
|
|
75
|
+
$ref: ../components/responses/401.yaml
|
|
76
|
+
403:
|
|
77
|
+
$ref: ../components/responses/403.yaml
|
|
78
|
+
404:
|
|
79
|
+
$ref: ../components/responses/404.yaml
|
|
80
|
+
405:
|
|
81
|
+
$ref: ../components/responses/405.yaml
|
|
82
|
+
406:
|
|
83
|
+
$ref: ../components/responses/406.yaml
|
|
84
|
+
501:
|
|
85
|
+
$ref: ../components/responses/501.yaml
|
|
86
|
+
503:
|
|
87
|
+
$ref: ../components/responses/503.yaml
|
|
88
|
+
patch:
|
|
89
|
+
tags:
|
|
90
|
+
- consentRequests
|
|
91
|
+
operationId: PatchConsentRequest
|
|
92
|
+
summary: PatchConsentRequest
|
|
93
|
+
description: >
|
|
94
|
+
After the user completes an out-of-band authorization with the DFSP, the PISP will receive
|
|
95
|
+
a token which they can use to prove to the DFSP that the user trusts this PISP.
|
|
96
|
+
parameters:
|
|
97
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
98
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
99
|
+
requestBody:
|
|
100
|
+
required: true
|
|
101
|
+
content:
|
|
102
|
+
application/json:
|
|
103
|
+
schema:
|
|
104
|
+
$ref: ../components/schemas/ConsentRequestsIDPatchRequest.yaml
|
|
105
|
+
responses:
|
|
106
|
+
202:
|
|
107
|
+
$ref: ../components/responses/202.yaml
|
|
108
|
+
400:
|
|
109
|
+
$ref: ../components/responses/400.yaml
|
|
110
|
+
401:
|
|
111
|
+
$ref: ../components/responses/401.yaml
|
|
112
|
+
403:
|
|
113
|
+
$ref: ../components/responses/403.yaml
|
|
114
|
+
404:
|
|
115
|
+
$ref: ../components/responses/404.yaml
|
|
116
|
+
405:
|
|
117
|
+
$ref: ../components/responses/405.yaml
|
|
118
|
+
406:
|
|
119
|
+
$ref: ../components/responses/406.yaml
|
|
120
|
+
501:
|
|
121
|
+
$ref: ../components/responses/501.yaml
|
|
122
|
+
503:
|
|
123
|
+
$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
|
+
- consentRequests
|
|
17
|
+
operationId: NotifyErrorConsentRequests
|
|
18
|
+
summary: NotifyErrorConsentRequests
|
|
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,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
|
+
- consents
|
|
15
|
+
operationId: PostConsents
|
|
16
|
+
summary: PostConsents
|
|
17
|
+
description: >
|
|
18
|
+
The **POST /tppConsents** request is used to request the creation of a consent for interactions between
|
|
19
|
+
a PISP and the DFSP who owns the account which a PISP’s customer wants to allow the PISP access to.
|
|
20
|
+
parameters:
|
|
21
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
22
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
23
|
+
requestBody:
|
|
24
|
+
required: true
|
|
25
|
+
content:
|
|
26
|
+
application/json:
|
|
27
|
+
schema:
|
|
28
|
+
oneOf:
|
|
29
|
+
- $ref: ../components/schemas/ConsentsPostRequestAUTH.yaml
|
|
30
|
+
- $ref: ../components/schemas/ConsentsPostRequestPISP.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,165 @@
|
|
|
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 **GET /tppConsents/**_{ID}_ resource allows a party to enquire after the status of a consent. The
|
|
17
|
+
*{ID}* used in the URI of the request should be the consent request ID which was used to identify
|
|
18
|
+
the consent when it was created.
|
|
19
|
+
tags:
|
|
20
|
+
- consents
|
|
21
|
+
operationId: GetConsent
|
|
22
|
+
summary: GetConsent
|
|
23
|
+
parameters:
|
|
24
|
+
#Headers
|
|
25
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
26
|
+
responses:
|
|
27
|
+
202:
|
|
28
|
+
$ref: ../components/responses/202.yaml
|
|
29
|
+
400:
|
|
30
|
+
$ref: ../components/responses/400.yaml
|
|
31
|
+
401:
|
|
32
|
+
$ref: ../components/responses/401.yaml
|
|
33
|
+
403:
|
|
34
|
+
$ref: ../components/responses/403.yaml
|
|
35
|
+
404:
|
|
36
|
+
$ref: ../components/responses/404.yaml
|
|
37
|
+
405:
|
|
38
|
+
$ref: ../components/responses/405.yaml
|
|
39
|
+
406:
|
|
40
|
+
$ref: ../components/responses/406.yaml
|
|
41
|
+
501:
|
|
42
|
+
$ref: ../components/responses/501.yaml
|
|
43
|
+
503:
|
|
44
|
+
$ref: ../components/responses/503.yaml
|
|
45
|
+
patch:
|
|
46
|
+
description: |
|
|
47
|
+
The HTTP request `PATCH /consents/{ID}` is used
|
|
48
|
+
|
|
49
|
+
- In account linking in the Credential Registration phase. Used by a DFSP
|
|
50
|
+
to notify a PISP a credential has been verified and registered with an
|
|
51
|
+
Auth service.
|
|
52
|
+
|
|
53
|
+
- In account unlinking by a hub hosted auth service and by DFSPs
|
|
54
|
+
in non-hub hosted scenarios to notify participants of a consent being revoked.
|
|
55
|
+
|
|
56
|
+
Called by a `auth-service` to notify a PISP and DFSP of consent status in hub hosted scenario.
|
|
57
|
+
Called by a `DFSP` to notify a PISP of consent status in non-hub hosted scenario.
|
|
58
|
+
tags:
|
|
59
|
+
- consents
|
|
60
|
+
operationId: PatchConsentByID
|
|
61
|
+
summary: PatchConsentByID
|
|
62
|
+
requestBody:
|
|
63
|
+
required: true
|
|
64
|
+
content:
|
|
65
|
+
application/json:
|
|
66
|
+
schema:
|
|
67
|
+
oneOf:
|
|
68
|
+
- $ref: ../components/schemas/ConsentsIDPatchResponseVerified.yaml
|
|
69
|
+
- $ref: ../components/schemas/ConsentsIDPatchResponseRevoked.yaml
|
|
70
|
+
parameters:
|
|
71
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
72
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
73
|
+
responses:
|
|
74
|
+
200:
|
|
75
|
+
$ref: ../components/responses/200.yaml
|
|
76
|
+
400:
|
|
77
|
+
$ref: ../components/responses/400.yaml
|
|
78
|
+
401:
|
|
79
|
+
$ref: ../components/responses/401.yaml
|
|
80
|
+
403:
|
|
81
|
+
$ref: ../components/responses/403.yaml
|
|
82
|
+
404:
|
|
83
|
+
$ref: ../components/responses/404.yaml
|
|
84
|
+
405:
|
|
85
|
+
$ref: ../components/responses/405.yaml
|
|
86
|
+
406:
|
|
87
|
+
$ref: ../components/responses/406.yaml
|
|
88
|
+
501:
|
|
89
|
+
$ref: ../components/responses/501.yaml
|
|
90
|
+
503:
|
|
91
|
+
$ref: ../components/responses/503.yaml
|
|
92
|
+
put:
|
|
93
|
+
description: |
|
|
94
|
+
The HTTP request `PUT /consents/{ID}` is used by the PISP and Auth Service.
|
|
95
|
+
|
|
96
|
+
- Called by a `PISP` to after signing a challenge. Sent to an DFSP for verification.
|
|
97
|
+
- Called by a `auth-service` to notify a DFSP that a credential has been verified and registered.
|
|
98
|
+
tags:
|
|
99
|
+
- consents
|
|
100
|
+
operationId: PutConsentByID
|
|
101
|
+
summary: PutConsentByID
|
|
102
|
+
requestBody:
|
|
103
|
+
required: true
|
|
104
|
+
content:
|
|
105
|
+
application/json:
|
|
106
|
+
schema:
|
|
107
|
+
oneOf:
|
|
108
|
+
- $ref: ../components/schemas/ConsentsIDPutResponseSigned.yaml
|
|
109
|
+
- $ref: ../components/schemas/ConsentsIDPutResponseVerified.yaml
|
|
110
|
+
parameters:
|
|
111
|
+
#Headers
|
|
112
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
113
|
+
responses:
|
|
114
|
+
200:
|
|
115
|
+
$ref: ../components/responses/200.yaml
|
|
116
|
+
202:
|
|
117
|
+
$ref: ../components/responses/202.yaml
|
|
118
|
+
400:
|
|
119
|
+
$ref: ../components/responses/400.yaml
|
|
120
|
+
401:
|
|
121
|
+
$ref: ../components/responses/401.yaml
|
|
122
|
+
403:
|
|
123
|
+
$ref: ../components/responses/403.yaml
|
|
124
|
+
404:
|
|
125
|
+
$ref: ../components/responses/404.yaml
|
|
126
|
+
405:
|
|
127
|
+
$ref: ../components/responses/405.yaml
|
|
128
|
+
406:
|
|
129
|
+
$ref: ../components/responses/406.yaml
|
|
130
|
+
501:
|
|
131
|
+
$ref: ../components/responses/501.yaml
|
|
132
|
+
503:
|
|
133
|
+
$ref: ../components/responses/503.yaml
|
|
134
|
+
delete:
|
|
135
|
+
description: |
|
|
136
|
+
Used by PISP, DFSP
|
|
137
|
+
|
|
138
|
+
The **DELETE /consents/**_{ID}_ request is used to request the revocation of a previously agreed consent.
|
|
139
|
+
For tracing and auditing purposes, the switch should be sure not to delete the consent physically;
|
|
140
|
+
instead, information relating to the consent should be marked as deleted and requests relating to the
|
|
141
|
+
consent should not be honoured.
|
|
142
|
+
operationId: DeleteConsentByID
|
|
143
|
+
parameters:
|
|
144
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
145
|
+
tags:
|
|
146
|
+
- consents
|
|
147
|
+
responses:
|
|
148
|
+
202:
|
|
149
|
+
$ref: ../components/responses/202.yaml
|
|
150
|
+
400:
|
|
151
|
+
$ref: ../components/responses/400.yaml
|
|
152
|
+
401:
|
|
153
|
+
$ref: ../components/responses/401.yaml
|
|
154
|
+
403:
|
|
155
|
+
$ref: ../components/responses/403.yaml
|
|
156
|
+
404:
|
|
157
|
+
$ref: ../components/responses/404.yaml
|
|
158
|
+
405:
|
|
159
|
+
$ref: ../components/responses/405.yaml
|
|
160
|
+
406:
|
|
161
|
+
$ref: ../components/responses/406.yaml
|
|
162
|
+
501:
|
|
163
|
+
$ref: ../components/responses/501.yaml
|
|
164
|
+
503:
|
|
165
|
+
$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
|
+
- consents
|
|
17
|
+
operationId: NotifyErrorConsents
|
|
18
|
+
summary: NotifyErrorConsents
|
|
19
|
+
description: |
|
|
20
|
+
DFSP responds to the PISP if something went wrong with validating or storing consent.
|
|
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,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
|
+
operationId: tppTransactionsPost
|
|
14
|
+
summary: tppTransactionsPost
|
|
15
|
+
description: |
|
|
16
|
+
The `/tppTransactionRequests` resource is analogous to the `/transactionRequests` resource described fspiop API. The PISP uses it to request the owner of the PISP's customer's account to transfer a specified amount from the customer's account with the DFSP to a named Payee, or a request to pay request from a named payer into the customer's account.
|
|
17
|
+
tags:
|
|
18
|
+
- transaction Requests
|
|
19
|
+
parameters:
|
|
20
|
+
#Headers
|
|
21
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
22
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
23
|
+
requestBody:
|
|
24
|
+
description: Transaction request to be created.
|
|
25
|
+
required: true
|
|
26
|
+
content:
|
|
27
|
+
application/json:
|
|
28
|
+
schema:
|
|
29
|
+
$ref: ../components/schemas/tppTransactionRequestPostRequest.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
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
tags:
|
|
16
|
+
- transaction Requests
|
|
17
|
+
operationId: GetThirdpartyTransactionRequests
|
|
18
|
+
summary: GetThirdpartyTransactionRequests
|
|
19
|
+
description: |
|
|
20
|
+
The HTTP request `GET /tppTransactionRequests/{ID}` is used to request the
|
|
21
|
+
retrieval of a third party transaction request.
|
|
22
|
+
parameters:
|
|
23
|
+
#Headers
|
|
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
|
+
|
|
45
|
+
put:
|
|
46
|
+
tags:
|
|
47
|
+
- transaction Requests
|
|
48
|
+
operationId: tppUpdateTransactionRequests
|
|
49
|
+
summary: tppUpdateTransactionRequests
|
|
50
|
+
description: |
|
|
51
|
+
The HTTP request `PUT /tppTransactionRequests/{ID}` is used by the DFSP to inform the client about
|
|
52
|
+
the status of a previously requested thirdparty transaction request.
|
|
53
|
+
|
|
54
|
+
Switch(Thirdparty API Adapter) -> PISP
|
|
55
|
+
parameters:
|
|
56
|
+
#Headers
|
|
57
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
58
|
+
requestBody:
|
|
59
|
+
required: true
|
|
60
|
+
content:
|
|
61
|
+
application/json:
|
|
62
|
+
schema:
|
|
63
|
+
$ref: ../components/schemas/tppTransactionRequestPutResponse.yaml
|
|
64
|
+
responses:
|
|
65
|
+
200:
|
|
66
|
+
$ref: ../components/responses/200.yaml
|
|
67
|
+
400:
|
|
68
|
+
$ref: ../components/responses/400.yaml
|
|
69
|
+
401:
|
|
70
|
+
$ref: ../components/responses/401.yaml
|
|
71
|
+
403:
|
|
72
|
+
$ref: ../components/responses/403.yaml
|
|
73
|
+
404:
|
|
74
|
+
$ref: ../components/responses/404.yaml
|
|
75
|
+
405:
|
|
76
|
+
$ref: ../components/responses/405.yaml
|
|
77
|
+
406:
|
|
78
|
+
$ref: ../components/responses/406.yaml
|
|
79
|
+
501:
|
|
80
|
+
$ref: ../components/responses/501.yaml
|
|
81
|
+
503:
|
|
82
|
+
$ref: ../components/responses/503.yaml
|
|
83
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
- transaction Requests
|
|
17
|
+
operationId: tppTransactionRequestsError
|
|
18
|
+
summary: tppTransactionRequestsError
|
|
19
|
+
description: |
|
|
20
|
+
If the server is unable to find the transaction request, or another processing error occurs,
|
|
21
|
+
the error callback `PUT /tppTransactionRequests/{ID}/error` is used.
|
|
22
|
+
The `{ID}` in the URI should contain the `transactionRequestId` that was used for the creation of
|
|
23
|
+
the thirdparty transaction request.
|
|
24
|
+
parameters:
|
|
25
|
+
#Headers
|
|
26
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
27
|
+
requestBody:
|
|
28
|
+
description: Error information returned.
|
|
29
|
+
required: true
|
|
30
|
+
content:
|
|
31
|
+
application/json:
|
|
32
|
+
schema:
|
|
33
|
+
$ref: '../../../../fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml'
|
|
34
|
+
responses:
|
|
35
|
+
200:
|
|
36
|
+
$ref: ../components/responses/200.yaml
|
|
37
|
+
400:
|
|
38
|
+
$ref: ../components/responses/400.yaml
|
|
39
|
+
401:
|
|
40
|
+
$ref: ../components/responses/401.yaml
|
|
41
|
+
403:
|
|
42
|
+
$ref: ../components/responses/403.yaml
|
|
43
|
+
404:
|
|
44
|
+
$ref: ../components/responses/404.yaml
|
|
45
|
+
405:
|
|
46
|
+
$ref: ../components/responses/405.yaml
|
|
47
|
+
406:
|
|
48
|
+
$ref: ../components/responses/406.yaml
|
|
49
|
+
501:
|
|
50
|
+
$ref: ../components/responses/501.yaml
|
|
51
|
+
503:
|
|
52
|
+
$ref: ../components/responses/503.yaml
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
operationId: tppPostTransfers
|
|
14
|
+
summary: tppPostTransfers
|
|
15
|
+
description: The HTTP request POST `/tppTransfers` is used by a PISP to initiate a 3rd party Transaction request with a DFSP
|
|
16
|
+
tags:
|
|
17
|
+
- transfers
|
|
18
|
+
parameters:
|
|
19
|
+
#Headers
|
|
20
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
21
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
22
|
+
requestBody:
|
|
23
|
+
description: Transaction request to be created.
|
|
24
|
+
required: true
|
|
25
|
+
content:
|
|
26
|
+
application/json:
|
|
27
|
+
schema:
|
|
28
|
+
$ref: '../components/schemas/tppTransfersPostRequest.yaml'
|
|
29
|
+
responses:
|
|
30
|
+
202:
|
|
31
|
+
$ref: ../components/responses/202.yaml
|
|
32
|
+
400:
|
|
33
|
+
$ref: ../components/responses/400.yaml
|
|
34
|
+
401:
|
|
35
|
+
$ref: ../components/responses/401.yaml
|
|
36
|
+
403:
|
|
37
|
+
$ref: ../components/responses/403.yaml
|
|
38
|
+
404:
|
|
39
|
+
$ref: ../components/responses/404.yaml
|
|
40
|
+
405:
|
|
41
|
+
$ref: ../components/responses/405.yaml
|
|
42
|
+
406:
|
|
43
|
+
$ref: ../components/responses/406.yaml
|
|
44
|
+
501:
|
|
45
|
+
$ref: ../components/responses/501.yaml
|
|
46
|
+
503:
|
|
47
|
+
$ref: ../components/responses/503.yaml
|