Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Jul 28, 2023
1 parent dccd059 commit 23875b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
27 changes: 12 additions & 15 deletions json/Webhooks-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2370,15 +2370,15 @@
},
"operations" : {
"description" : "The operations indicate the supported follow-up actions concerning the payment.\n> This is an **experimental field**. Do not base your code on this field. Not all specific cases are covered yet. It's possible that the field is empty or contains generic information.",
"enum" : [
"CAPTURE",
"CANCEL",
"REFUND"
],
"items" : {
"enum" : [
"CAPTURE",
"CANCEL",
"REFUND"
],
"type" : "string"
},
"type" : "string"
"type" : "array"
},
"paymentMethod" : {
"description" : "The payment method used in the transaction.",
Expand All @@ -2404,8 +2404,7 @@
"merchantAccountCode",
"eventDate",
"eventCode",
"amount",
"paymentMethod"
"amount"
],
"type" : "object"
},
Expand Down Expand Up @@ -2975,8 +2974,7 @@
"merchantAccountCode",
"eventDate",
"eventCode",
"amount",
"paymentMethod"
"amount"
],
"type" : "object"
},
Expand Down Expand Up @@ -3063,8 +3061,7 @@
"merchantAccountCode",
"eventDate",
"eventCode",
"amount",
"paymentMethod"
"amount"
],
"type" : "object"
},
Expand Down Expand Up @@ -3643,7 +3640,6 @@
"eventDate",
"eventCode",
"amount",
"paymentMethod",
"originalPsp",
"pspReference"
],
Expand Down Expand Up @@ -3724,7 +3720,6 @@
"eventDate",
"eventCode",
"amount",
"paymentMethod",
"reason",
"success"
],
Expand All @@ -3747,7 +3742,9 @@
"examples" : {
"WebhookAck" : {
"summary" : "Acknowledge Webhook",
"value" : "[accepted]"
"value" : {
"notificationResponse" : "[accepted]"
}
},
"post-AUTHORISATION-authorisation" : {
"summary" : "AUTHORISATION example",
Expand Down
18 changes: 7 additions & 11 deletions yaml/Webhooks-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1635,13 +1635,13 @@ components:
> This is an **experimental field**. Do not base your code on this field.
Not all specific cases are covered yet. It''s possible that the field
is empty or contains generic information.'
enum:
- CAPTURE
- CANCEL
- REFUND
items:
enum:
- CAPTURE
- CANCEL
- REFUND
type: string
type: string
type: array
paymentMethod:
description: The payment method used in the transaction.
example: visa, mc, iDeal
Expand Down Expand Up @@ -1669,7 +1669,6 @@ components:
- eventDate
- eventCode
- amount
- paymentMethod
type: object
AuthorisationNotificationRequestItemWrapper:
properties:
Expand Down Expand Up @@ -2145,7 +2144,6 @@ components:
- eventDate
- eventCode
- amount
- paymentMethod
type: object
NotificationRequestItemWrapper:
properties:
Expand Down Expand Up @@ -2217,7 +2215,6 @@ components:
- eventDate
- eventCode
- amount
- paymentMethod
type: object
PaidoutReversedNotificationRequestItemWrapper:
properties:
Expand Down Expand Up @@ -2699,7 +2696,6 @@ components:
- eventDate
- eventCode
- amount
- paymentMethod
- originalPsp
- pspReference
type: object
Expand Down Expand Up @@ -2764,7 +2760,6 @@ components:
- eventDate
- eventCode
- amount
- paymentMethod
- reason
- success
type: object
Expand All @@ -2779,7 +2774,8 @@ components:
examples:
WebhookAck:
summary: Acknowledge Webhook
value: '[accepted]'
value:
notificationResponse: '[accepted]'
post-AUTHORISATION-authorisation:
summary: AUTHORISATION example
value:
Expand Down

0 comments on commit 23875b8

Please sign in to comment.