From 6715bb56a4f7acd192eac0fe79537d3a13ffdcd3 Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Fri, 23 Feb 2024 17:00:14 +0100 Subject: [PATCH] spec release --- json/Webhooks-v1.json | 519 +++--------------------------------------- yaml/Webhooks-v1.yaml | 371 ++++++------------------------ 2 files changed, 108 insertions(+), 782 deletions(-) diff --git a/json/Webhooks-v1.json b/json/Webhooks-v1.json index 57065a6..e16ee05 100644 --- a/json/Webhooks-v1.json +++ b/json/Webhooks-v1.json @@ -62,19 +62,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "ach_notification_of_change" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -111,19 +99,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "authorisation" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -160,19 +136,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "authorisation_adjustment" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -209,19 +173,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "autorescue" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -258,19 +210,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "cancellation" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -307,19 +247,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "cancel_autorescue" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -356,19 +284,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "cancel_or_refund" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -405,19 +321,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "capture" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -454,19 +358,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "capture_failed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -503,19 +395,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "chargeback" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -552,19 +432,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "chargeback_reversed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -601,19 +469,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "expire" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -650,19 +506,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "manual_review_accept" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -699,19 +543,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "manual_review_reject" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -748,19 +580,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "notification_of_chargeback" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -797,19 +617,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "notification_of_fraud" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -846,19 +654,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "offer_closed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -895,19 +691,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "order_closed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -944,19 +728,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "order_opened" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -993,19 +765,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "paidout_reversed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1042,19 +802,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "payout_decline" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1091,19 +839,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "payout_expire" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1140,19 +876,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "payout_thirdparty" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1189,19 +913,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "postponed_refund" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1238,19 +950,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "prearbitration_lost" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1287,19 +987,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "prearbitration_won" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1336,19 +1024,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "recurring_contract" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1385,19 +1061,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "refund" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1434,19 +1098,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "refunded_reversed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1483,19 +1135,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "refund_failed" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1532,19 +1172,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "refund_with_data" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1581,19 +1209,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "report_available" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1630,19 +1246,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "request_for_information" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1679,19 +1283,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "second_chargeback" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1728,19 +1320,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "technical_cancel" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -1777,19 +1357,7 @@ }, "responses" : { "200" : { - "content" : { - "application/json" : { - "examples" : { - "void_pending_refund" : { - "$ref" : "#/components/examples/WebhookAck" - } - }, - "schema" : { - "$ref" : "#/components/schemas/NotificationResponse" - } - } - }, - "description" : "OK - the request has succeeded." + "description" : "No Content - webhook events are accepted on the basis of the HTTP status code." } } } @@ -3281,15 +2849,6 @@ } } }, - "NotificationResponse" : { - "properties" : { - "notificationResponse" : { - "description" : "Set this parameter to **[accepted]** to acknowledge that you received a notification from Adyen.", - "type" : "string" - } - }, - "type" : "object" - }, "PaidoutReversedNotificationRequest" : { "properties" : { "live" : { @@ -4061,12 +3620,6 @@ } }, "examples" : { - "WebhookAck" : { - "summary" : "Acknowledge Webhook", - "value" : { - "notificationResponse" : "[accepted]" - } - }, "post-ACH_NOTIFICATION_OF_CHANGE-ach_notification_of_change" : { "summary" : "ACH_NOTIFICATION_OF_CHANGE example", "value" : { diff --git a/yaml/Webhooks-v1.yaml b/yaml/Webhooks-v1.yaml index 693b0b5..c0c61fd 100644 --- a/yaml/Webhooks-v1.yaml +++ b/yaml/Webhooks-v1.yaml @@ -40,14 +40,8 @@ webhooks: $ref: '#/components/schemas/AchNotificationOfChangeNotificationRequest' responses: '200': - content: - application/json: - examples: - ach_notification_of_change: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /AUTHORISATION: post: tags: @@ -69,14 +63,8 @@ webhooks: $ref: '#/components/schemas/AuthorisationNotificationRequest' responses: '200': - content: - application/json: - examples: - authorisation: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /AUTHORISATION_ADJUSTMENT: post: tags: @@ -100,14 +88,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - authorisation_adjustment: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /AUTORESCUE: post: tags: @@ -130,14 +112,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - autorescue: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CANCELLATION: post: tags: @@ -159,14 +135,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - cancellation: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CANCEL_AUTORESCUE: post: tags: @@ -189,14 +159,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - cancel_autorescue: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CANCEL_OR_REFUND: post: tags: @@ -218,14 +182,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - cancel_or_refund: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CAPTURE: post: tags: @@ -247,14 +205,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - capture: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CAPTURE_FAILED: post: tags: @@ -276,14 +228,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - capture_failed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CHARGEBACK: post: tags: @@ -306,14 +252,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - chargeback: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /CHARGEBACK_REVERSED: post: tags: @@ -337,14 +277,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - chargeback_reversed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /EXPIRE: post: tags: @@ -366,14 +300,8 @@ webhooks: $ref: '#/components/schemas/ExpireNotificationRequest' responses: '200': - content: - application/json: - examples: - expire: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /MANUAL_REVIEW_ACCEPT: post: tags: @@ -396,14 +324,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - manual_review_accept: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /MANUAL_REVIEW_REJECT: post: tags: @@ -426,14 +348,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - manual_review_reject: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /NOTIFICATION_OF_CHARGEBACK: post: tags: @@ -456,14 +372,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - notification_of_chargeback: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /NOTIFICATION_OF_FRAUD: post: tags: @@ -489,14 +399,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - notification_of_fraud: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /OFFER_CLOSED: post: tags: @@ -519,14 +423,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - offer_closed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /ORDER_CLOSED: post: tags: @@ -549,14 +447,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - order_closed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /ORDER_OPENED: post: tags: @@ -579,14 +471,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - order_opened: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /PAIDOUT_REVERSED: post: tags: @@ -610,14 +496,8 @@ webhooks: $ref: '#/components/schemas/PaidoutReversedNotificationRequest' responses: '200': - content: - application/json: - examples: - paidout_reversed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /PAYOUT_DECLINE: post: tags: @@ -639,14 +519,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - payout_decline: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /PAYOUT_EXPIRE: post: tags: @@ -668,14 +542,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - payout_expire: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /PAYOUT_THIRDPARTY: post: tags: @@ -697,14 +565,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - payout_thirdparty: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /POSTPONED_REFUND: post: tags: @@ -727,14 +589,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - postponed_refund: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /PREARBITRATION_LOST: post: tags: @@ -757,14 +613,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - prearbitration_lost: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /PREARBITRATION_WON: post: tags: @@ -787,14 +637,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - prearbitration_won: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /RECURRING_CONTRACT: post: tags: @@ -817,14 +661,8 @@ webhooks: $ref: '#/components/schemas/RecurringContractNotificationRequest' responses: '200': - content: - application/json: - examples: - recurring_contract: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /REFUND: post: tags: @@ -846,14 +684,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - refund: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /REFUNDED_REVERSED: post: tags: @@ -876,14 +708,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - refunded_reversed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /REFUND_FAILED: post: tags: @@ -905,14 +731,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - refund_failed: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /REFUND_WITH_DATA: post: tags: @@ -934,14 +754,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - refund_with_data: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /REPORT_AVAILABLE: post: tags: @@ -963,14 +777,8 @@ webhooks: $ref: '#/components/schemas/ReportAvailableNotificationRequest' responses: '200': - content: - application/json: - examples: - report_available: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /REQUEST_FOR_INFORMATION: post: tags: @@ -994,14 +802,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - request_for_information: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /SECOND_CHARGEBACK: post: tags: @@ -1025,14 +827,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - second_chargeback: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /TECHNICAL_CANCEL: post: tags: @@ -1055,14 +851,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - technical_cancel: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. /VOID_PENDING_REFUND: post: tags: @@ -1084,14 +874,8 @@ webhooks: $ref: '#/components/schemas/NotificationRequest' responses: '200': - content: - application/json: - examples: - void_pending_refund: - $ref: '#/components/examples/WebhookAck' - schema: - $ref: '#/components/schemas/NotificationResponse' - description: OK - the request has succeeded. + description: No Content - webhook events are accepted on the basis of the + HTTP status code. components: schemas: AchNotificationOfChangeNotificationRequest: @@ -2400,13 +2184,6 @@ components: properties: NotificationRequestItem: $ref: '#/components/schemas/NotificationRequestItem' - NotificationResponse: - properties: - notificationResponse: - description: Set this parameter to **[accepted]** to acknowledge that you - received a notification from Adyen. - type: string - type: object PaidoutReversedNotificationRequest: properties: live: @@ -3046,10 +2823,6 @@ components: scheme: basic type: http examples: - WebhookAck: - summary: Acknowledge Webhook - value: - notificationResponse: '[accepted]' post-ACH_NOTIFICATION_OF_CHANGE-ach_notification_of_change: summary: ACH_NOTIFICATION_OF_CHANGE example value: