spec release

This commit is contained in:
Adyen Automation
2023-10-23 09:28:00 +02:00
parent 6388370837
commit 038332e1e0
4 changed files with 280 additions and 56 deletions

View File

@@ -211,7 +211,7 @@
}
},
"schema" : {
"$ref" : "#/components/schemas/NotificationDataMessage"
"$ref" : "#/components/schemas/PaymentMethodRequestRemovedNotificationRequest"
}
}
}
@@ -262,7 +262,7 @@
}
},
"schema" : {
"$ref" : "#/components/schemas/NotificationDataMessage"
"$ref" : "#/components/schemas/PaymentMethodScheduledForRemovalNotificationRequest"
}
}
}
@@ -596,34 +596,6 @@
],
"type" : "object"
},
"NotificationDataMessage" : {
"properties" : {
"createdAt" : {
"description" : "Timestamp for when the webhook was created.",
"format" : "date-time",
"type" : "string"
},
"data" : {
"description" : "Contains event details.",
"$ref" : "#/components/schemas/MidServiceNotificationData"
},
"environment" : {
"description" : "The environment from which the webhook originated.\n\nPossible values: **test**, **live**.",
"type" : "string"
},
"type" : {
"description" : "Type of notification.",
"type" : "string"
}
},
"required" : [
"type",
"environment",
"createdAt",
"data"
],
"type" : "object"
},
"PaymentMethodCreatedNotificationRequest" : {
"properties" : {
"createdAt" : {
@@ -664,6 +636,68 @@
},
"type" : "object"
},
"PaymentMethodRequestRemovedNotificationRequest" : {
"properties" : {
"createdAt" : {
"description" : "Timestamp for when the webhook was created.",
"format" : "date-time",
"type" : "string"
},
"data" : {
"description" : "Contains event details.",
"$ref" : "#/components/schemas/MidServiceNotificationData"
},
"environment" : {
"description" : "The environment from which the webhook originated.\n\nPossible values: **test**, **live**.",
"type" : "string"
},
"type" : {
"description" : "Type of notification.",
"enum" : [
"paymentMethod.requestRemoved"
],
"type" : "string"
}
},
"required" : [
"environment",
"createdAt",
"data",
"type"
],
"type" : "object"
},
"PaymentMethodScheduledForRemovalNotificationRequest" : {
"properties" : {
"createdAt" : {
"description" : "Timestamp for when the webhook was created.",
"format" : "date-time",
"type" : "string"
},
"data" : {
"description" : "Contains event details.",
"$ref" : "#/components/schemas/MidServiceNotificationData"
},
"environment" : {
"description" : "The environment from which the webhook originated.\n\nPossible values: **test**, **live**.",
"type" : "string"
},
"type" : {
"description" : "Type of notification.",
"enum" : [
"paymentMethod.requestScheduledForRemoval"
],
"type" : "string"
}
},
"required" : [
"environment",
"createdAt",
"data",
"type"
],
"type" : "object"
},
"RemediatingAction" : {
"properties" : {
"code" : {