Skip to content

settlement-engine webhook retry doesn't preserve original request headers #569

Description

@therealjhay

ProblemcreateWebhookWorker sends only Content-Type + signature; merchant endpoints expecting custom headers (idempotency, auth) lose them across the retry model.

  1. No header passthrough.
  2. Custom headers not supported.
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions