Skip to content

Webhooks-v1 event enum incomplete #70

@naseemkullah

Description

@naseemkullah

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:

"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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions