-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hello,
It appears that several event codes for dispute notifications are missing from the Webhooks-v1.json specification. This prevents us from performing complete validation on incoming webhook types.
The following event codes are mentioned in your documentation but are not present in the OpenAPI spec at this location:
adyen-openapi/json/Webhooks-v1.json
Lines 5123 to 5157 in 635ca43
| "eventCode" : { | |
| "description" : "The type of event the notification item is for.", | |
| "enum" : [ | |
| "AUTHORISATION_ADJUSTMENT", | |
| "AUTORESCUE", | |
| "CANCELLATION", | |
| "CANCEL_AUTORESCUE", | |
| "CANCEL_OR_REFUND", | |
| "CAPTURE", | |
| "CAPTURE_FAILED", | |
| "CHARGEBACK", | |
| "CHARGEBACK_REVERSED", | |
| "MANUAL_REVIEW_ACCEPT", | |
| "MANUAL_REVIEW_REJECT", | |
| "NOTIFICATION_OF_CHARGEBACK", | |
| "NOTIFICATION_OF_FRAUD", | |
| "OFFER_CLOSED", | |
| "ORDER_CLOSED", | |
| "ORDER_OPENED", | |
| "PAYOUT_DECLINE", | |
| "PAYOUT_EXPIRE", | |
| "PAYOUT_THIRDPARTY", | |
| "POSTPONED_REFUND", | |
| "PREARBITRATION_LOST", | |
| "PREARBITRATION_WON", | |
| "REFUND", | |
| "REFUNDED_REVERSED", | |
| "REFUND_FAILED", | |
| "REFUND_WITH_DATA", | |
| "REQUEST_FOR_INFORMATION", | |
| "SECOND_CHARGEBACK", | |
| "TECHNICAL_CANCEL", | |
| "VOID_PENDING_REFUND" | |
| ], | |
| "type" : "string" |
Dispute Management Event Codes (from Dispute Notifications documentation):
- DISPUTE_DEFENSE_PERIOD_ENDED
- INFORMATION_SUPPLIED
- ISSUER_COMMENTS
- ISSUER_RESPONSE_TIMEFRAME_EXPIRED
Other Missing Event Codes (from Webhook types documentation):
- HANDLED_EXTERNALLY
Would it be possible to add these event codes to the Notification.eventCode schema to ensure the spec is up to date?
Thank you for your help.
cc @gcatanese
Metadata
Metadata
Assignees
Labels
No labels