Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Feb 12, 2024
1 parent a12cfd4 commit 198b3f3
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 66 deletions.
99 changes: 66 additions & 33 deletions json/Webhooks-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,11 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"expire" : {
"$ref" : "#/components/examples/post-EXPIRE-expire"
}
},
"schema" : {
"$ref" : "#/components/schemas/ExpireNotificationRequest"
}
Expand All @@ -598,6 +603,11 @@
"200" : {
"content" : {
"application/json" : {
"examples" : {
"expire" : {
"$ref" : "#/components/examples/WebhookAck"
}
},
"schema" : {
"$ref" : "#/components/schemas/NotificationResponse"
}
Expand Down Expand Up @@ -4065,7 +4075,7 @@
"createdAt" : "2021-01-01T01:00:00+01:00",
"environment" : "test",
"data" : {
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"shopperReference" : "YOUR_SHOPPER_REFERENCE",
"notificationOfChange" : {
"reasonCode" : "C07",
Expand Down Expand Up @@ -4101,7 +4111,7 @@
"CAPTURE",
"REFUND"
],
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "null",
"success" : "true"
}
Expand All @@ -4126,7 +4136,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4155,7 +4165,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand All @@ -4180,7 +4190,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand All @@ -4207,7 +4217,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "No AutoRescue process for retry.rescueReference 8826173525728789",
"success" : "false"
}
Expand Down Expand Up @@ -4235,7 +4245,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand All @@ -4260,7 +4270,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4290,7 +4300,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "facilypay_3x",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Capture Failed",
"success" : "true"
}
Expand Down Expand Up @@ -4330,7 +4340,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Payment.TxId=300000000524534724 dispute",
"success" : "true"
}
Expand All @@ -4357,14 +4367,37 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Fraudulent Processing of Transactions",
"success" : "true"
}
}
]
}
},
"post-EXPIRE-expire" : {
"summary" : "EXPIRE example",
"value" : {
"live" : "false",
"notificationItems" : [
{
"NotificationRequestItem" : {
"amount" : {
"currency" : "EUR",
"value" : 1000
},
"eventCode" : "EXPIRE",
"eventDate" : "2024-02-09T11:19:48+01:00",
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
}
]
}
},
"post-MANUAL_REVIEW_ACCEPT-manual_review_accept" : {
"summary" : "MANUAL_REVIEW_ACCEPT example",
"value" : {
Expand All @@ -4385,7 +4418,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "expire",
"success" : "true"
}
Expand Down Expand Up @@ -4414,7 +4447,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "expire",
"success" : "true"
}
Expand Down Expand Up @@ -4453,7 +4486,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Payment.TxId=300000000524659113 dispute (automatically defended)",
"success" : "true"
}
Expand Down Expand Up @@ -4484,7 +4517,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Fraudulent Use of Account Number",
"success" : "true"
}
Expand Down Expand Up @@ -4512,7 +4545,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"paymentMethod" : "ideal",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4541,7 +4574,7 @@
"eventDate" : "2021-01-01T01:00:00+01:00",
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "false"
}
Expand All @@ -4564,7 +4597,7 @@
"eventDate" : "2021-01-01T01:00:00+01:00",
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand All @@ -4588,7 +4621,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4617,7 +4650,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "bankTransfer_IBAN",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand All @@ -4642,7 +4675,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "bankTransfer_IBAN",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4672,7 +4705,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Approved",
"success" : "true"
}
Expand Down Expand Up @@ -4700,7 +4733,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "directdebit_NL",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4730,7 +4763,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Other Fraud-Card Absent Environment",
"success" : "true"
}
Expand All @@ -4754,7 +4787,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"paymentMethod" : "bankTransfer_IBAN",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4812,7 +4845,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "visa",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Transaction hasn't been captured, refund not possible",
"success" : "false"
}
Expand All @@ -4837,7 +4870,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "test_AUTHORISATION_1",
"success" : "true"
}
Expand Down Expand Up @@ -4866,7 +4899,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "blik",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "Refund Failed",
"success" : "true"
}
Expand All @@ -4891,7 +4924,7 @@
"merchantReference" : "YOUR_MODIFICATION_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand All @@ -4917,7 +4950,7 @@
"eventDate" : "2021-01-01T01:00:00+01:00",
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "URL_TO_DOWNLOAD_REPORT",
"success" : "true"
}
Expand Down Expand Up @@ -4946,7 +4979,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down Expand Up @@ -4975,7 +5008,7 @@
"merchantAccountCode" : "YOUR_MERCHANT_ACCOUNT",
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"paymentMethod" : "jcb",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "502:Cardmember Dispute",
"success" : "true"
}
Expand Down Expand Up @@ -5031,7 +5064,7 @@
"merchantReference" : "YOUR_MERCHANT_REFERENCE",
"originalReference" : "9913140798220028",
"paymentMethod" : "mc",
"pspReference" : "YOUR_PSP_REFERENCE",
"pspReference" : "QFQTPCQ8HXSKGK82",
"reason" : "",
"success" : "true"
}
Expand Down
Loading

0 comments on commit 198b3f3

Please sign in to comment.