spec release

This commit is contained in:
Adyen Automation
2024-05-29 11:39:12 +02:00
parent 735ee3366e
commit 2327694129
8 changed files with 379 additions and 18 deletions

View File

@@ -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"
}
},

View File

@@ -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"
}
},

View File

@@ -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" : {

View File

@@ -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" : {

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: