diff --git a/json/ManagementNotificationService-v1.json b/json/ManagementNotificationService-v1.json index 67ef1a0..384b917 100644 --- a/json/ManagementNotificationService-v1.json +++ b/json/ManagementNotificationService-v1.json @@ -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" } }, @@ -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" } }, @@ -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" } }, diff --git a/json/ManagementNotificationService-v3.json b/json/ManagementNotificationService-v3.json index e311ad7..b2112d8 100644 --- a/json/ManagementNotificationService-v3.json +++ b/json/ManagementNotificationService-v3.json @@ -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" } }, @@ -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" } }, @@ -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" } }, diff --git a/json/ManagementService-v1.json b/json/ManagementService-v1.json index 32cdb70..ead5d4e 100644 --- a/json/ManagementService-v1.json +++ b/json/ManagementService-v1.json @@ -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" : [ @@ -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" : [ @@ -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" : { diff --git a/json/ManagementService-v3.json b/json/ManagementService-v3.json index 165503c..4ab7f03 100644 --- a/json/ManagementService-v3.json +++ b/json/ManagementService-v3.json @@ -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" : { @@ -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" : [ @@ -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" : [ @@ -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" : { @@ -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" : { diff --git a/yaml/ManagementNotificationService-v1.yaml b/yaml/ManagementNotificationService-v1.yaml index 71aa9af..827031e 100644 --- a/yaml/ManagementNotificationService-v1.yaml +++ b/yaml/ManagementNotificationService-v1.yaml @@ -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: @@ -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: @@ -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: diff --git a/yaml/ManagementNotificationService-v3.yaml b/yaml/ManagementNotificationService-v3.yaml index bd21d71..209c769 100644 --- a/yaml/ManagementNotificationService-v3.yaml +++ b/yaml/ManagementNotificationService-v3.yaml @@ -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: @@ -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: @@ -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: diff --git a/yaml/ManagementService-v1.yaml b/yaml/ManagementService-v1.yaml index d7098bb..66192b3 100644 --- a/yaml/ManagementService-v1.yaml +++ b/yaml/ManagementService-v1.yaml @@ -12494,6 +12494,12 @@ components: 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: - id type: object @@ -12755,6 +12761,12 @@ components: 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: - type type: object @@ -15247,6 +15259,32 @@ components: required: - logo 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: diff --git a/yaml/ManagementService-v3.yaml b/yaml/ManagementService-v3.yaml index 1fbae7f..139edb1 100644 --- a/yaml/ManagementService-v3.yaml +++ b/yaml/ManagementService-v3.yaml @@ -444,6 +444,73 @@ paths: schema: $ref: '#/components/schemas/RestServiceError' 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\u2014Android 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: get: tags: @@ -12682,6 +12749,12 @@ components: 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: - id type: object @@ -12946,6 +13019,12 @@ components: 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: - type type: object @@ -13265,6 +13344,13 @@ components: reboot time. type: boolean type: object + ReprocessAndroidAppResponse: + additionalProperties: false + properties: + Message: + description: The result of the reprocess. + type: string + type: object RequestActivationResponse: additionalProperties: false properties: @@ -15611,6 +15697,32 @@ components: required: - logo 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: