spec release

This commit is contained in:
Adyen Automation
2024-07-31 14:43:15 +02:00
parent acaff6450c
commit f8d7171396
8 changed files with 482 additions and 10 deletions

View File

@@ -22,7 +22,6 @@
"name" : "Terminal management"
}
],
"x-staticResponse" : "response.json",
"webhooks" : {
"merchant.created" : {
"post" : {
@@ -252,6 +251,46 @@
}
}
},
"terminalBoarding.triggered" : {
"post" : {
"tags" : [
"Terminal management"
],
"summary" : "Result of terminal boarding",
"description" : "The boarding of a payment terminal succeeded or failed.",
"x-addedInVersion" : "1",
"operationId" : "post-terminalBoarding.triggered",
"x-sortIndex" : 2,
"x-methodName" : "resultOfTerminalBoarding",
"security" : [
{
"BasicAuth" : [
]
}
],
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TerminalBoardingNotificationRequest"
}
}
}
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TerminalBoardingNotificationResponse"
}
}
},
"description" : "OK - the request has succeeded."
}
}
}
},
"terminalSettings.modified" : {
"post" : {
"tags" : [
@@ -737,6 +776,74 @@
},
"type" : "object"
},
"TerminalBoardingData" : {
"additionalProperties" : false,
"properties" : {
"companyId" : {
"description" : "The unique identifier of the company account.",
"type" : "string"
},
"merchantId" : {
"description" : "The unique identifier of the merchant account.",
"type" : "string"
},
"storeId" : {
"description" : "The unique identifier of the store.",
"type" : "string"
},
"uniqueTerminalId" : {
"description" : "The unique identifier of the terminal.",
"type" : "string"
}
},
"required" : [
"uniqueTerminalId",
"companyId"
],
"type" : "object"
},
"TerminalBoardingNotificationRequest" : {
"additionalProperties" : false,
"properties" : {
"createdAt" : {
"description" : "Timestamp for when the webhook was created.",
"format" : "date-time",
"type" : "string"
},
"data" : {
"description" : "Contains event details.",
"$ref" : "#/components/schemas/TerminalBoardingData"
},
"environment" : {
"description" : "The environment from which the webhook originated.\n\nPossible values: **test**, **live**.",
"type" : "string"
},
"type" : {
"description" : "Type of notification.",
"enum" : [
"terminalBoarding.triggered"
],
"type" : "string"
}
},
"required" : [
"environment",
"createdAt",
"data",
"type"
],
"type" : "object"
},
"TerminalBoardingNotificationResponse" : {
"additionalProperties" : false,
"properties" : {
"notificationResponse" : {
"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"
},
"TerminalSettingsData" : {
"additionalProperties" : false,
"properties" : {