Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed May 29, 2024
1 parent 735ee33 commit 2327694
Show file tree
Hide file tree
Showing 8 changed files with 379 additions and 18 deletions.
6 changes: 3 additions & 3 deletions json/ManagementNotificationService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
Expand Down Expand Up @@ -559,7 +559,7 @@
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
Expand Down Expand Up @@ -653,7 +653,7 @@
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
Expand Down
6 changes: 3 additions & 3 deletions json/ManagementNotificationService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
Expand Down Expand Up @@ -653,7 +653,7 @@
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
Expand Down Expand Up @@ -811,7 +811,7 @@
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"description" : "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"description" : "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).",
"type" : "string"
}
},
Expand Down
52 changes: 52 additions & 0 deletions json/ManagementService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -17990,6 +17990,14 @@
"visa" : {
"description" : "Visa details.",
"$ref" : "#/components/schemas/GenericPmWithTdiInfo"
},
"wechatpay" : {
"description" : "WeChat Pay details.",
"$ref" : "#/components/schemas/WeChatPayInfo"
},
"wechatpay_pos" : {
"description" : "WeChat Pay POS details.",
"$ref" : "#/components/schemas/WeChatPayPosInfo"
}
},
"required" : [
Expand Down Expand Up @@ -18293,6 +18301,14 @@
"visa" : {
"description" : "Visa details.",
"$ref" : "#/components/schemas/GenericPmWithTdiInfo"
},
"wechatpay" : {
"description" : "WeChat Pay details.",
"$ref" : "#/components/schemas/WeChatPayInfo"
},
"wechatpay_pos" : {
"description" : "WeChat Pay POS details.",
"$ref" : "#/components/schemas/WeChatPayPosInfo"
}
},
"required" : [
Expand Down Expand Up @@ -20774,6 +20790,42 @@
],
"type" : "object"
},
"WeChatPayInfo" : {
"additionalProperties" : false,
"properties" : {
"contactPersonName" : {
"description" : "The name of the contact person from merchant support.",
"type" : "string"
},
"email" : {
"description" : "The email address of merchant support.",
"type" : "string"
}
},
"required" : [
"email",
"contactPersonName"
],
"type" : "object"
},
"WeChatPayPosInfo" : {
"additionalProperties" : false,
"properties" : {
"contactPersonName" : {
"description" : "The name of the contact person from merchant support.",
"type" : "string"
},
"email" : {
"description" : "The email address of merchant support.",
"type" : "string"
}
},
"required" : [
"email",
"contactPersonName"
],
"type" : "object"
},
"Webhook" : {
"additionalProperties" : false,
"properties" : {
Expand Down
165 changes: 165 additions & 0 deletions json/ManagementService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,109 @@
"description" : "Internal Server Error - the server could not process the request."
}
}
},
"patch" : {
"tags" : [
"Android files - company level"
],
"summary" : "Reprocess Android App",
"description" : "Reuploads the Android app identified in the path. \nTo make this request, your API credential must have this [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions):\n* Management API—Android files read and write\n\n>By choosing to upload, install, or run any third-party applications on an Adyen payment terminal, you accept full responsibility and liability for any consequences of uploading, installing, or running any such applications.",
"x-addedInVersion" : "3",
"operationId" : "patch-companies-companyId-androidApps-id",
"x-sortIndex" : 6,
"x-methodName" : "reprocessAndroidApp",
"security" : [
{
"BasicAuth" : [
]
},
{
"ApiKeyAuth" : [
]
}
],
"parameters" : [
{
"description" : "The unique identifier of the company account.",
"name" : "companyId",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
},
{
"description" : "The unique identifier of the app.",
"name" : "id",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}
],
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ReprocessAndroidAppResponse"
}
}
},
"description" : "OK - the request has succeeded."
},
"400" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/RestServiceError"
}
}
},
"description" : "Bad Request - a problem reading or understanding the request."
},
"401" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/RestServiceError"
}
}
},
"description" : "Unauthorized - authentication required."
},
"403" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/RestServiceError"
}
}
},
"description" : "Forbidden - insufficient permissions to process the request."
},
"422" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/RestServiceError"
}
}
},
"description" : "Unprocessable Entity - a request validation error."
},
"500" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/RestServiceError"
}
}
},
"description" : "Internal Server Error - the server could not process the request."
}
}
}
},
"/companies/{companyId}/androidCertificates" : {
Expand Down Expand Up @@ -18283,6 +18386,14 @@
"visa" : {
"description" : "Visa details.",
"$ref" : "#/components/schemas/GenericPmWithTdiInfo"
},
"wechatpay" : {
"description" : "WeChat Pay details.",
"$ref" : "#/components/schemas/WeChatPayInfo"
},
"wechatpay_pos" : {
"description" : "WeChat Pay POS details.",
"$ref" : "#/components/schemas/WeChatPayPosInfo"
}
},
"required" : [
Expand Down Expand Up @@ -18590,6 +18701,14 @@
"visa" : {
"description" : "Visa details.",
"$ref" : "#/components/schemas/GenericPmWithTdiInfo"
},
"wechatpay" : {
"description" : "WeChat Pay details.",
"$ref" : "#/components/schemas/WeChatPayInfo"
},
"wechatpay_pos" : {
"description" : "WeChat Pay POS details.",
"$ref" : "#/components/schemas/WeChatPayPosInfo"
}
},
"required" : [
Expand Down Expand Up @@ -18892,6 +19011,16 @@
},
"type" : "object"
},
"ReprocessAndroidAppResponse" : {
"additionalProperties" : false,
"properties" : {
"Message" : {
"description" : "The result of the reprocess.",
"type" : "string"
}
},
"type" : "object"
},
"RequestActivationResponse" : {
"additionalProperties" : false,
"properties" : {
Expand Down Expand Up @@ -21187,6 +21316,42 @@
],
"type" : "object"
},
"WeChatPayInfo" : {
"additionalProperties" : false,
"properties" : {
"contactPersonName" : {
"description" : "The name of the contact person from merchant support.",
"type" : "string"
},
"email" : {
"description" : "The email address of merchant support.",
"type" : "string"
}
},
"required" : [
"email",
"contactPersonName"
],
"type" : "object"
},
"WeChatPayPosInfo" : {
"additionalProperties" : false,
"properties" : {
"contactPersonName" : {
"description" : "The name of the contact person from merchant support.",
"type" : "string"
},
"email" : {
"description" : "The email address of merchant support.",
"type" : "string"
}
},
"required" : [
"email",
"contactPersonName"
],
"type" : "object"
},
"Webhook" : {
"additionalProperties" : false,
"properties" : {
Expand Down
9 changes: 3 additions & 6 deletions yaml/ManagementNotificationService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,7 @@ components:
additionalProperties: false
properties:
notificationResponse:
description: Respond with **HTTP 200 OK** and `[accepted]` in the response
body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
AccountUpdateNotificationData:
Expand Down Expand Up @@ -515,8 +514,7 @@ components:
additionalProperties: false
properties:
notificationResponse:
description: Respond with **HTTP 200 OK** and `[accepted]` in the response
body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
RemediatingAction:
Expand Down Expand Up @@ -590,8 +588,7 @@ components:
additionalProperties: false
properties:
notificationResponse:
description: Respond with **HTTP 200 OK** and `[accepted]` in the response
body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
VerificationError:
Expand Down
9 changes: 3 additions & 6 deletions yaml/ManagementNotificationService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,7 @@ components:
additionalProperties: false
properties:
notificationResponse:
description: Respond with **HTTP 200 OK** and `[accepted]` in the response
body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
AccountUpdateNotificationData:
Expand Down Expand Up @@ -586,8 +585,7 @@ components:
additionalProperties: false
properties:
notificationResponse:
description: Respond with **HTTP 200 OK** and `[accepted]` in the response
body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
PaymentMethodRequestRemovedNotificationRequest:
Expand Down Expand Up @@ -715,8 +713,7 @@ components:
additionalProperties: false
properties:
notificationResponse:
description: Respond with **HTTP 200 OK** and `[accepted]` in the response
body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
description: Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
type: string
type: object
VerificationError:
Expand Down
Loading

0 comments on commit 2327694

Please sign in to comment.