Skip to content

feat!: add overpayments webhook endpoint and schema - #840

Draft
MikeLiuty wants to merge 1 commit into
XeroAPI:masterfrom
MikeLiuty:ecoam-5839-add-overpaymen-webhook-specs
Draft

feat!: add overpayments webhook endpoint and schema#840
MikeLiuty wants to merge 1 commit into
XeroAPI:masterfrom
MikeLiuty:ecoam-5839-add-overpaymen-webhook-specs

Conversation

@MikeLiuty

Copy link
Copy Markdown
Contributor

Adds the Overpayments webhook to xero-webhooks.yaml, including the OVERPAYMENT event category, OverpaymentWebhookEvent schema, and a create-event example aligned with the Credit Notes and Prepayment webhook pattern.

Changes
New webhooks/overpayment endpoint (publishOverpaymentEvent)
OverpaymentWebhookEvent with data.Type, data.Status, and data.UpdatedDateUTCString
OVERPAYMENT added to eventCategory enum

https://xero.atlassian.net/browse/ECOAM-5839

BREAKING CHANGE: adds OVERPAYMENT as a new eventCategory oneOf value in
xero-webhooks.yaml. Existing strict schema validators may reject this
new enum value in webhook payloads; this is expected since subscribers
must explicitly opt in to overpayment events.
@MikeLiuty
MikeLiuty force-pushed the ecoam-5839-add-overpaymen-webhook-specs branch from 73b9fbe to 69febfc Compare August 18, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant