ProblemcreateWebhookWorker sends only Content-Type + signature; merchant endpoints expecting custom headers (idempotency, auth) lose them across the retry model.
- No header passthrough.
- Custom headers not supported.
- Merchant integrations limited.
Solution
- Support configurable headers per subscription.
- Preserve across attempts.
- Test header delivery.
Acceptance Criteria
- Configured headers delivered.
- Consistent across retries.
pnpm --filter @bettapay/webhook-delivery build passes.
Note for Contributors: Write a clear PR description. Show a custom-header delivery test.
Problem
createWebhookWorkersends only Content-Type + signature; merchant endpoints expecting custom headers (idempotency, auth) lose them across the retry model.Solution
Acceptance Criteria
pnpm --filter @bettapay/webhook-delivery buildpasses.Note for Contributors: Write a clear PR description. Show a custom-header delivery test.