Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Dec 7, 2023
1 parent d19fb25 commit 4862b40
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 195 deletions.
118 changes: 0 additions & 118 deletions json/LegalEntityService-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1390,108 +1390,6 @@
}
}
},
"/legalEntities/{id}/confirmDataReview" : {
"post" : {
"tags" : [
"Legal entities"
],
"summary" : "Confirm data review",
"description" : "Confirms that your user has reviewed the data for the legal entity specified in the path. Call this endpoint to inform Adyen that your user reviewed and verified that the data is up-to-date. The endpoint returns the timestamp of when Adyen received the request.",
"x-addedInVersion" : "2",
"operationId" : "post-legalEntities-id-confirmDataReview",
"x-groupName" : "Legal entities",
"x-sortIndex" : 22,
"x-methodName" : "confirmDataReview",
"security" : [
{
"BasicAuth" : [
]
},
{
"ApiKeyAuth" : [
]
}
],
"parameters" : [
{
"description" : "The unique identifier of the legal entity.",
"name" : "id",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}
],
"responses" : {
"200" : {
"content" : {
"application/json" : {
"examples" : {
"confirmDataReview" : {
"$ref" : "#/components/examples/post-legalEntities-id-confirmDataReview-confirmDataReview-200"
}
},
"schema" : {
"$ref" : "#/components/schemas/DataReviewConfirmationResponse"
}
}
},
"description" : "OK - the request has succeeded."
},
"400" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Bad Request - a problem reading or understanding the request."
},
"401" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Unauthorized - authentication required."
},
"403" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Forbidden - insufficient permissions to process the request."
},
"422" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Unprocessable Entity - a request validation error."
},
"500" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ServiceError"
}
}
},
"description" : "Internal Server Error - the server could not process the request."
}
}
}
},
"/legalEntities/{id}/onboardingLinks" : {
"post" : {
"tags" : [
Expand Down Expand Up @@ -3623,15 +3521,6 @@
},
"type" : "object"
},
"DataReviewConfirmationResponse" : {
"properties" : {
"dataReviewedAt" : {
"description" : "Date when data review was confirmed.",
"type" : "string"
}
},
"type" : "object"
},
"Document" : {
"properties" : {
"attachment" : {
Expand Down Expand Up @@ -6476,13 +6365,6 @@
"id" : "LE322KH223222J5HJ6JRB75C5"
}
},
"post-legalEntities-id-confirmDataReview-confirmDataReview-200" : {
"summary" : "Data review for a legal entity",
"description" : "Example response when reviewing the data for a legal entity",
"value" : {
"dataReviewedAt" : "2023-11-13T15:19:02Z"
}
},
"post-legalEntities-id-onboardingLinks-createOnboardingLink" : {
"summary" : "Create a hosted onboarding link",
"description" : "Example request for creating a hosted onboarding link",
Expand Down
2 changes: 1 addition & 1 deletion json/LegalEntityService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@
],
"summary" : "Confirm data review",
"description" : "Confirms that your user has reviewed the data for the legal entity specified in the path. Call this endpoint to inform Adyen that your user reviewed and verified that the data is up-to-date. The endpoint returns the timestamp of when Adyen received the request.",
"x-addedInVersion" : "2",
"x-addedInVersion" : "3",
"operationId" : "post-legalEntities-id-confirmDataReview",
"x-groupName" : "Legal entities",
"x-sortIndex" : 22,
Expand Down
75 changes: 0 additions & 75 deletions yaml/LegalEntityService-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -883,70 +883,6 @@ paths:
schema:
$ref: '#/components/schemas/ServiceError'
description: Internal Server Error - the server could not process the request.
/legalEntities/{id}/confirmDataReview:
post:
tags:
- Legal entities
summary: Confirm data review
description: Confirms that your user has reviewed the data for the legal entity
specified in the path. Call this endpoint to inform Adyen that your user reviewed
and verified that the data is up-to-date. The endpoint returns the timestamp
of when Adyen received the request.
x-addedInVersion: '2'
operationId: post-legalEntities-id-confirmDataReview
x-groupName: Legal entities
x-sortIndex: 22
x-methodName: confirmDataReview
security:
- BasicAuth: []
- ApiKeyAuth: []
parameters:
- description: The unique identifier of the legal entity.
name: id
in: path
required: true
schema:
type: string
responses:
'200':
content:
application/json:
examples:
confirmDataReview:
$ref: '#/components/examples/post-legalEntities-id-confirmDataReview-confirmDataReview-200'
schema:
$ref: '#/components/schemas/DataReviewConfirmationResponse'
description: OK - the request has succeeded.
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Bad Request - a problem reading or understanding the request.
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Unauthorized - authentication required.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Forbidden - insufficient permissions to process the request.
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Unprocessable Entity - a request validation error.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceError'
description: Internal Server Error - the server could not process the request.
/legalEntities/{id}/onboardingLinks:
post:
tags:
Expand Down Expand Up @@ -2432,12 +2368,6 @@ components:
description: The maximum amount a card holder can withdraw per day.
$ref: '#/components/schemas/Amount'
type: object
DataReviewConfirmationResponse:
properties:
dataReviewedAt:
description: Date when data review was confirmed.
type: string
type: object
Document:
properties:
attachment:
Expand Down Expand Up @@ -4991,11 +4921,6 @@ components:
reference: SE322KH223222J5HJ6JRB75HQ
type: trust
id: LE322KH223222J5HJ6JRB75C5
post-legalEntities-id-confirmDataReview-confirmDataReview-200:
summary: Data review for a legal entity
description: Example response when reviewing the data for a legal entity
value:
dataReviewedAt: '2023-11-13T15:19:02Z'
post-legalEntities-id-onboardingLinks-createOnboardingLink:
summary: Create a hosted onboarding link
description: Example request for creating a hosted onboarding link
Expand Down
2 changes: 1 addition & 1 deletion yaml/LegalEntityService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ paths:
specified in the path. Call this endpoint to inform Adyen that your user reviewed
and verified that the data is up-to-date. The endpoint returns the timestamp
of when Adyen received the request.
x-addedInVersion: '2'
x-addedInVersion: '3'
operationId: post-legalEntities-id-confirmDataReview
x-groupName: Legal entities
x-sortIndex: 22
Expand Down

0 comments on commit 4862b40

Please sign in to comment.