master-zapier-plan-draft/packages/docs-master/modules/zappier/NATS.md
George Lambert ac38676645
Some checks are pending
offline / test (push) Waiting to run
Add NATS account-balance SoT and statement review for customers, CS, and sales
Internal billing now uses verae.billing.* request-reply and pubs. zappier-account-balance tracks prepaid, credits, usage, and payments. Portal, admin, CS, and sales all review the same statement. Independent Forgejo repos stay split via push-module-repos.
2026-09-11 15:35:37 -04:00

853 B

NATS — zappier-edge

Zapier cloud still never connects to NATS. The edge process does publish and request on the private billing bus.

Direction Address Peer Body
IN HTTPS /v1/* Zapier Platform app JSON + x-api-key
OUT HTTPS middleware /zapier/v1/* verae-middleware same tenant request
OUT NATS verae.billing.usage.recorded account-balance meter event
OUT NATS verae.billing.payment.recorded account-balance / others portal reload
OUT NATS verae.billing.credit.applied account-balance / others admin/CS credit
OUT NATS verae.billing.statement.get account-balance portal/admin review
OUT NATS verae.billing.balance.adjust account-balance prepaid mutation

Jobs, archive, and webhooks stay on middleware workers.