Skip to content

feat(webhooks): payments.webhook.received event - #55

Merged
Domantas merged 1 commit into
mainfrom
feat/payments-webhook-event
Oct 15, 2026
Merged

Domantas merged 1 commit into
mainfrom
feat/payments-webhook-event

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

Adds payments.webhook.received to norbix_python.webhooks:

  • NorbixWebhookEvents.Payments.WEBHOOK_RECEIVED, in NORBIX_WEBHOOK_EVENT_NAMES;
  • payload = PaymentFact (the view a Code function already gets for data.payment);
  • event.metadata.integration_id and event.metadata.payment (WebhookPaymentRef: provider, provider_event_id, event_name);
  • docs row in docs/webhooks-receiver.md.

Tests: pytest green (receiver test for the payments event); ruff, mypy clean.

Gateway campaign audit/payments (codemash-io/gateway), item 8. Expected release: minor.

🤖 Generated with Claude Code

…entFact view, provider ids on event.metadata.payment

Every payment provider callback reaches a destination as one event
(gateway campaign audit/payments, decision D1). The receiver knows the name
(NorbixWebhookEvents.Payments.WEBHOOK_RECEIVED), hands the handler the same
PaymentFact view a Code function gets for data.payment, and lifts
integration_id and { provider, provider_event_id, event_name } onto metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit 64d9c49 into main Oct 15, 2026
9 checks passed
@Domantas
Domantas deleted the feat/payments-webhook-event branch October 15, 2026 10:55
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