Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Oct 18, 2024
1 parent 4e65550 commit 5950525
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 472 deletions.
142 changes: 0 additions & 142 deletions json/LegalEntityService-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1286,120 +1286,6 @@
}
}
},
"/legalEntities/{id}/acceptedTermsOfServiceDocument/{termsofserviceacceptancereference}" : {
"get" : {
"tags" : [
"Terms of Service"
],
"summary" : "Get accepted Terms of Service document",
"description" : "Returns the accepted Terms of Service document for a legal entity.",
"x-addedInVersion" : "2",
"operationId" : "get-legalEntities-id-acceptedTermsOfServiceDocument-termsofserviceacceptancereference",
"x-sortIndex" : 4,
"x-methodName" : "getAcceptedTermsOfServiceDocument",
"security" : [
{
"BasicAuth" : [
]
},
{
"ApiKeyAuth" : [
]
}
],
"parameters" : [
{
"description" : "The unique identifier of the legal entity. For sole proprietorship, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization.",
"name" : "id",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
},
{
"description" : "An Adyen-generated reference for the accepted Terms of Service.",
"name" : "termsofserviceacceptancereference",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
},
{
"description" : "The format of the Terms of Service document. Possible values: **JSON**, **PDF**, or **TXT**",
"name" : "termsOfServiceDocumentFormat",
"in" : "query",
"required" : false,
"schema" : {
"type" : "string"
}
}
],
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/GetAcceptedTermsOfServiceDocumentResponse"
}
}
},
"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}/businessLines" : {
"get" : {
"tags" : [
Expand Down Expand Up @@ -4039,34 +3925,6 @@
},
"type" : "object"
},
"GetAcceptedTermsOfServiceDocumentResponse" : {
"additionalProperties" : false,
"properties" : {
"document" : {
"description" : "The accepted Terms of Service document in the requested format represented as a Base64-encoded bytes array.",
"format" : "byte",
"type" : "string"
},
"id" : {
"description" : "The unique identifier of the legal entity.",
"type" : "string"
},
"termsOfServiceAcceptanceReference" : {
"description" : "An Adyen-generated reference for the accepted Terms of Service.",
"type" : "string"
},
"termsOfServiceDocumentFormat" : {
"description" : "The format of the Terms of Service document.",
"enum" : [
"JSON",
"PDF",
"TXT"
],
"type" : "string"
}
},
"type" : "object"
},
"GetPciQuestionnaireInfosResponse" : {
"additionalProperties" : false,
"properties" : {
Expand Down
142 changes: 0 additions & 142 deletions json/LegalEntityService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1298,120 +1298,6 @@
}
}
},
"/legalEntities/{id}/acceptedTermsOfServiceDocument/{termsofserviceacceptancereference}" : {
"get" : {
"tags" : [
"Terms of Service"
],
"summary" : "Get accepted Terms of Service document",
"description" : "Returns the accepted Terms of Service document for a legal entity.",
"x-addedInVersion" : "2",
"operationId" : "get-legalEntities-id-acceptedTermsOfServiceDocument-termsofserviceacceptancereference",
"x-sortIndex" : 4,
"x-methodName" : "getAcceptedTermsOfServiceDocument",
"security" : [
{
"BasicAuth" : [
]
},
{
"ApiKeyAuth" : [
]
}
],
"parameters" : [
{
"description" : "The unique identifier of the legal entity. For sole proprietorship, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization.",
"name" : "id",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
},
{
"description" : "An Adyen-generated reference for the accepted Terms of Service.",
"name" : "termsofserviceacceptancereference",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
},
{
"description" : "The format of the Terms of Service document. Possible values: **JSON**, **PDF**, or **TXT**",
"name" : "termsOfServiceDocumentFormat",
"in" : "query",
"required" : false,
"schema" : {
"type" : "string"
}
}
],
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/GetAcceptedTermsOfServiceDocumentResponse"
}
}
},
"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}/businessLines" : {
"get" : {
"tags" : [
Expand Down Expand Up @@ -4470,34 +4356,6 @@
},
"type" : "object"
},
"GetAcceptedTermsOfServiceDocumentResponse" : {
"additionalProperties" : false,
"properties" : {
"document" : {
"description" : "The accepted Terms of Service document in the requested format represented as a Base64-encoded bytes array.",
"format" : "byte",
"type" : "string"
},
"id" : {
"description" : "The unique identifier of the legal entity.",
"type" : "string"
},
"termsOfServiceAcceptanceReference" : {
"description" : "An Adyen-generated reference for the accepted Terms of Service.",
"type" : "string"
},
"termsOfServiceDocumentFormat" : {
"description" : "The format of the Terms of Service document.",
"enum" : [
"JSON",
"PDF",
"TXT"
],
"type" : "string"
}
},
"type" : "object"
},
"GetPciQuestionnaireInfosResponse" : {
"additionalProperties" : false,
"properties" : {
Expand Down
Loading

0 comments on commit 5950525

Please sign in to comment.