Hi there!
As noted in the Stripe EventBridge documentation, events delivered via EventBridge have a different schema than standard webhooks due to an additional wrapping layer.
Currently, it seems the SDK's deserialization logic is tightly coupled with signature verification. Since EventBridge events don't use signatures in the same way, there isn't a straightforward way to use the SDK to parse these events into strongly-typed objects.
Proposed Solution:
It would be great if the SDK exposed a method to deserialize these specific EventBridge payloads directly.
Question:
Is there currently a supported way to do this that I might have missed, or should this be considered a new feature request?
Many thanks!
Hi there!
As noted in the Stripe EventBridge documentation, events delivered via EventBridge have a different schema than standard webhooks due to an additional wrapping layer.
Currently, it seems the SDK's deserialization logic is tightly coupled with signature verification. Since EventBridge events don't use signatures in the same way, there isn't a straightforward way to use the SDK to parse these events into strongly-typed objects.
Proposed Solution:
It would be great if the SDK exposed a method to deserialize these specific EventBridge payloads directly.
Question:
Is there currently a supported way to do this that I might have missed, or should this be considered a new feature request?
Many thanks!