Skip to content

Add Stripe-Request-Trigger header#3313

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

Add Stripe-Request-Trigger header#3313
xavdid-stripe merged 4 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.

What?

  • add prepare recipe to justfile to aid automation
  • add Stripe-Request-Trigger header in event helpers
  • add the matching property to RequestOptions
  • add tests
  • remove $DOTNET_ROOT from justfile

See Also

@xavdid-stripe xavdid-stripe marked this pull request as ready for review March 5, 2026 00:22
@xavdid-stripe xavdid-stripe requested a review from a team as a code owner March 5, 2026 00:22
@xavdid-stripe xavdid-stripe requested review from prathmesh-stripe and removed request for a team March 5, 2026 00:22
@xavdid-stripe xavdid-stripe enabled auto-merge (squash) March 5, 2026 00:22
@xavdid-stripe xavdid-stripe requested review from jar-stripe and removed request for prathmesh-stripe March 5, 2026 00:22
@xavdid-stripe xavdid-stripe merged commit 9b5dab0 into master Mar 5, 2026
8 checks passed
@xavdid-stripe xavdid-stripe deleted the DEVSDK-3012 branch March 5, 2026 23:37
xavdid-stripe added a commit that referenced this pull request Mar 10, 2026
* add .claude directory (#3307)

Co-authored-by: Michael Broshi <94012587+mbroshi-stripe@users.noreply.github.com>

* Add agent information to UserAgent (#3310)

* Add Stripe-Request-Trigger header (#3313)

* add "prepare" to justfile

* add Stripe-Request-Trigger header

* revert env var change

* add new agent keys (#3315)

* revert justfile variable change

* Bump version to 50.4.1

* tweak telemetry collection (#3316)

---------

Co-authored-by: Michael Broshi <94012587+mbroshi-stripe@users.noreply.github.com>
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