Skip to content

Add Stripe-Request-Trigger header#2172

Open
xavdid-stripe wants to merge 2 commits intomasterfrom
DEVSDK-3012
Open

Add Stripe-Request-Trigger header#2172
xavdid-stripe wants to merge 2 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
  • generate Stripe-Request-Trigger header in event helpers
  • add builder methods
  • add tests

See Also

String clientId,
String idempotencyKey,
String stripeContext,
String stripeRequestTrigger,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's flagging this (correctly, I think) as a breaking change because the signature has changed.

Is there a better way to roll this out or do we just wait for the major?

@xavdid-stripe xavdid-stripe marked this pull request as ready for review March 5, 2026 00:33
@xavdid-stripe xavdid-stripe requested a review from a team as a code owner March 5, 2026 00:33
@xavdid-stripe xavdid-stripe requested review from mbroshi-stripe and prathmesh-stripe and removed request for a team and prathmesh-stripe March 5, 2026 00:33
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.

1 participant