#arvindkgs-webhook
1 messages · Page 1 of 1 (latest)
nope, there is no way to get those from Stripe API. what you can do is to list all the existing webhook using https://stripe.com/docs/api/webhook_endpoints/list?lang=curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and compare them one by one by comparing webhook.urlhttps://stripe.com/docs/api/webhook_endpoints/object?lang=curl#webhook_endpoint_object-url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, I checked these APIs but I don't see a way to retrieve. the secret
secret is returned for a webhook only on creation
is my understanding correct?
I have multiple kubernetes namespaces, each one has a unique webhook. So I am automating registration of webhooks
But I have no way of checking and retrieving the signature of the webhook if it was already registered
Can I delete the webhook when a new namespace come up? Then I can recreate the webhook?
That way I can obtain the signature for the webhook
beware there will be a limit on number of webhook you can create, i think it is 16
why you have to create multiple webhook per kubernetes namespaces,
are they designed to listen to different event types?
no, each namespace is tied to a different Stripe account
While we have one Production account, we have multiple non production stripe accounts for e2e tests, staging
I guess you can delete all the webhook and recreate each time for testing
okay thank you