@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,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
|
+
tags:
|
|
16
|
+
- transfers
|
|
17
|
+
operationId: tppGetTransfers
|
|
18
|
+
summary: tppGetTransfers
|
|
19
|
+
description: |
|
|
20
|
+
The HTTP request `GET /tppTransfers/{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
|
+
- transfers
|
|
48
|
+
operationId: tppUpdateTransfersRequest
|
|
49
|
+
summary: tppUpdateTransfersRequest
|
|
50
|
+
description: |
|
|
51
|
+
The HTTP request `PUT /tppTransfers/{ID}` is used by the DFSP to inform the client about
|
|
52
|
+
the status of a previously requested thirdparty transaction request. The ID is the executionRequestId that was provided in the corresponding POST 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/tppTransfersPutResponse.yaml
|
|
64
|
+
example:
|
|
65
|
+
transactionRequestState: 'RECEIVED'
|
|
66
|
+
responses:
|
|
67
|
+
200:
|
|
68
|
+
$ref: ../components/responses/200.yaml
|
|
69
|
+
400:
|
|
70
|
+
$ref: ../components/responses/400.yaml
|
|
71
|
+
401:
|
|
72
|
+
$ref: ../components/responses/401.yaml
|
|
73
|
+
403:
|
|
74
|
+
$ref: ../components/responses/403.yaml
|
|
75
|
+
404:
|
|
76
|
+
$ref: ../components/responses/404.yaml
|
|
77
|
+
405:
|
|
78
|
+
$ref: ../components/responses/405.yaml
|
|
79
|
+
406:
|
|
80
|
+
$ref: ../components/responses/406.yaml
|
|
81
|
+
501:
|
|
82
|
+
$ref: ../components/responses/501.yaml
|
|
83
|
+
503:
|
|
84
|
+
$ref: ../components/responses/503.yaml
|
|
85
|
+
|
|
86
|
+
|
|
@@ -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
|
+
- transfers
|
|
17
|
+
operationId: tppTransfersRequestsError
|
|
18
|
+
summary: tppTransfersRequestsError
|
|
19
|
+
description: |
|
|
20
|
+
If the server is unable to find the transaction request, or another processing error occurs,
|
|
21
|
+
the error callback `PUT /tppTransfers/{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,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
|
+
- verifications
|
|
15
|
+
operationId: tppPostVerifications
|
|
16
|
+
summary: tppPostVerifications
|
|
17
|
+
description: |
|
|
18
|
+
The HTTP request `POST /tppVerifications` is used by the DFSP to verify a third party authorization in cases where the authentication service to be used is implemented by the switch and not internally by the DFSP.
|
|
19
|
+
parameters:
|
|
20
|
+
- $ref: ../components/parameters/Accept.yaml
|
|
21
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
22
|
+
requestBody:
|
|
23
|
+
description: The thirdparty authorization details to verify
|
|
24
|
+
required: true
|
|
25
|
+
content:
|
|
26
|
+
application/json:
|
|
27
|
+
schema:
|
|
28
|
+
oneOf:
|
|
29
|
+
- $ref: ../components/schemas/tppVerificationsPostRequestFIDO.yaml
|
|
30
|
+
- $ref: ../components/schemas/tppVerificationsPostRequestGeneric.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,87 @@
|
|
|
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
|
+
- verifications
|
|
17
|
+
operationId: tppGetVerificationsById
|
|
18
|
+
summary: tppGetVerificationsById
|
|
19
|
+
description: |
|
|
20
|
+
The HTTP request `/tppVerifications/{ID}` is used to get
|
|
21
|
+
information regarding a previously created or requested authorization. The *{ID}*
|
|
22
|
+
in the URI should contain the verification request ID
|
|
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
|
+
put:
|
|
46
|
+
tags:
|
|
47
|
+
- verifications
|
|
48
|
+
operationId: tppPutVerificationsById
|
|
49
|
+
summary: tppPutVerificationsById
|
|
50
|
+
description: >-
|
|
51
|
+
The HTTP request `PUT /tppVerifications/{ID}` is used by the Auth-Service to inform
|
|
52
|
+
the DFSP of a successful result in validating the verification of a Thirdparty Transaction Request.
|
|
53
|
+
|
|
54
|
+
If the validation fails, the auth-service will send back `PUT /tppVerifications/{ID}`
|
|
55
|
+
with `authenticationResponse: 'REJECTED'`.
|
|
56
|
+
|
|
57
|
+
In unplanned error cases the Auth-Service MUST use `PUT /tppVerifications/{ID}/error`.
|
|
58
|
+
parameters:
|
|
59
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
60
|
+
requestBody:
|
|
61
|
+
description: The result of validating the Thirdparty Transaction Request
|
|
62
|
+
required: true
|
|
63
|
+
content:
|
|
64
|
+
application/json:
|
|
65
|
+
schema:
|
|
66
|
+
$ref: ../components/schemas/tppVerificationsIDPutResponse.yaml
|
|
67
|
+
example:
|
|
68
|
+
authenticationResponse: 'VERIFIED'
|
|
69
|
+
responses:
|
|
70
|
+
200:
|
|
71
|
+
$ref: ../components/responses/200.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
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
- verifications
|
|
17
|
+
operationId: tppPutVerificationsByIdAndError
|
|
18
|
+
summary: tppPutVerificationsByIdAndError
|
|
19
|
+
description: |
|
|
20
|
+
The HTTP request `PUT /tppVerifications/{ID}/error` is used by the Auth-Service to inform
|
|
21
|
+
the DFSP of a failure in validating or looking up the verification of a Thirdparty Transaction Request.
|
|
22
|
+
parameters:
|
|
23
|
+
- $ref: ../components/parameters/Content-Length.yaml
|
|
24
|
+
requestBody:
|
|
25
|
+
description: Error information 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,53 @@
|
|
|
1
|
+
openapi: 3.0.2
|
|
2
|
+
info:
|
|
3
|
+
title: Mojaloop Third Party Admin API for DFSPs
|
|
4
|
+
version: '2.0'
|
|
5
|
+
description: >
|
|
6
|
+
A Mojaloop API for DFSPs supporting Third Party functions.
|
|
7
|
+
|
|
8
|
+
DFSPs who want to enable Payment Initiation Service Providers
|
|
9
|
+
(PISPs) to perform actions on behalf of a DFSP's user should
|
|
10
|
+
implement this API.
|
|
11
|
+
|
|
12
|
+
PISPs should implement the accompanying API - Mojaloop Third
|
|
13
|
+
Party API (PISP) instead.
|
|
14
|
+
license:
|
|
15
|
+
name: Open API for FSP Interoperability (FSPIOP) (Implementation Friendly Version)
|
|
16
|
+
url: https://github.com/mojaloop/mojaloop-specification/blob/main/LICENSE.md
|
|
17
|
+
servers:
|
|
18
|
+
- url: /
|
|
19
|
+
paths:
|
|
20
|
+
/tppAccountRequest:
|
|
21
|
+
$ref: paths/tppAccountRequest.yaml
|
|
22
|
+
/tppAccountRequest/{ID}:
|
|
23
|
+
$ref: paths/tppAccountRequest_ID.yaml
|
|
24
|
+
/tppAccountRequest/{ID}/error:
|
|
25
|
+
$ref: paths/tppAccountRequest_ID_error.yaml
|
|
26
|
+
/tppAccounts/{ID}:
|
|
27
|
+
$ref: 'paths/tppAccounts_ID.yaml'
|
|
28
|
+
/tppAccounts/{ID}/error:
|
|
29
|
+
$ref: 'paths/tppAccounts_ID_error.yaml'
|
|
30
|
+
/tppConsentRequests:
|
|
31
|
+
$ref: 'paths/tppConsentRequests.yaml'
|
|
32
|
+
/tppConsentRequests/{ID}:
|
|
33
|
+
$ref: 'paths/tppConsentRequests_ID.yaml'
|
|
34
|
+
/tppConsentRequests/{ID}/error:
|
|
35
|
+
$ref: 'paths/tppConsentRequests_ID_error.yaml'
|
|
36
|
+
/tppConsents:
|
|
37
|
+
$ref: 'paths/tppConsents.yaml'
|
|
38
|
+
/tppConsents/{ID}:
|
|
39
|
+
$ref: 'paths/tppConsents_ID.yaml'
|
|
40
|
+
/tppConsents/{ID}/error:
|
|
41
|
+
$ref: 'paths/tppConsents_ID_error.yaml'
|
|
42
|
+
/tppVerifications:
|
|
43
|
+
$ref: 'paths/tppVerifications.yaml'
|
|
44
|
+
/tppVerifications/{ID}:
|
|
45
|
+
$ref: 'paths/tppVerifications_ID.yaml'
|
|
46
|
+
/tppVerifications/{ID}/error:
|
|
47
|
+
$ref: 'paths/tppVerifications_ID_error.yaml'
|
|
48
|
+
/tppAuthorizations:
|
|
49
|
+
$ref: 'paths/tppAuthorizations.yaml'
|
|
50
|
+
/tppAuthorizations/{ID}:
|
|
51
|
+
$ref: 'paths/tppAuthorizations_ID.yaml'
|
|
52
|
+
/tppAuthorizations/{ID}/error:
|
|
53
|
+
$ref: 'paths/tppAuthorizations_ID_error.yaml'
|