Skip to content

Add Stripe-Request-Trigger header#2590

Merged
xavdid-stripe merged 3 commits intomasterfrom
DEVSDK-3012
Mar 5, 2026
Merged

Add Stripe-Request-Trigger header#2590
xavdid-stripe merged 3 commits intomasterfrom
DEVSDK-3012

Conversation

@xavdid-stripe
Copy link
Member

@xavdid-stripe xavdid-stripe commented Mar 5, 2026

Why?

We're working on surfacing more information to users around what their integration does when handling events. The first step of this is to tie subsequent API requests to the act of event processing. This PR adds a header to do just that.

There's some messiness here between headers and additionalHeaders, but it's not a thing we need to fix this second. I also fixed a bug with additionalHeaders that would have overridden auth headers (which makes me think no one has been using it)

What?

  • add prepare recipe to justfile to aid automation
  • add Stripe-Request-Trigger header in event helpers
  • fix up a bug with rawRequest's additionalHeaders
  • update node version (so it matches codegen; we didn't do it last oct)

See Also

@xavdid-stripe xavdid-stripe marked this pull request as ready for review March 5, 2026 00:25
@xavdid-stripe xavdid-stripe requested a review from a team as a code owner March 5, 2026 00:25
@xavdid-stripe xavdid-stripe requested review from jar-stripe and prathmesh-stripe and removed request for a team and jar-stripe March 5, 2026 00:25
@xavdid-stripe xavdid-stripe enabled auto-merge (squash) March 5, 2026 00:25
@xavdid-stripe xavdid-stripe merged commit e26310f into master Mar 5, 2026
13 checks passed
@xavdid-stripe xavdid-stripe deleted the DEVSDK-3012 branch March 5, 2026 23:37
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.

2 participants