b.slade
b.slade2d ago

b.slade - Does anyone know of a way to access t...

Does anyone know of a way to access the secret from the stripe webhook? The secret is not an option in the inputs and can’t seem to access the headers.
2 Replies
Gaurav Chadha
Gaurav Chadha2d ago
Hi @b.slade could you please share why you want to directly access stripe secret? In the Stripe trigger logic, we are already verifying the stripe-signature in the webhook header. As soon as you connect your Stripe trigger with your API key/secret it will create a secure webhook endpoint on your Stripe account. This endpoint is secured and can access your events. You can reefr to this documentation on how to get metadata form Stripe Webhook trigger - https://docs.buildship.com/triggers-payments/stripe. The only baseline requirement for the Stripe Webhook Trigger is the API Key/secret, which you can find from your Stripe developer portal - https://dashboard.stripe.com/test/apikeys.
Stripe Login | Sign in to the Stripe Dashboard
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
b.slade
b.sladeOP23h ago
Thanks for the response. It wasn’t clear that it was making that validation. From the stripe documentation it seemed that I needed to do that as well.

Did you find this page helpful?