Skip to content

feat: add prepayments webhook endpoint and schema#824

Draft
MikeLiuty wants to merge 1 commit into
XeroAPI:masterfrom
MikeLiuty:ecoam-5825-add-prepayment-webhook
Draft

feat: add prepayments webhook endpoint and schema#824
MikeLiuty wants to merge 1 commit into
XeroAPI:masterfrom
MikeLiuty:ecoam-5825-add-prepayment-webhook

Conversation

@MikeLiuty

Copy link
Copy Markdown

Description

Adds the Prepayments webhook to xero-webhooks.yaml, including the PREPAYMENT event category, PrepaymentWebhookEvent schema, and a create-event example aligned with the Credit Notes webhook pattern.

Changes
New webhooks/prepayments endpoint (publishPrepaymentEvent)
PrepaymentWebhookEvent with data.Type, data.Status, and data.UpdatedDateUTCString
PREPAYMENT added to eventCategory enum

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

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