System.Web.Http.HttpConfigurationExtensions.InitializeReceiveStripeWebHooks C# (CSharp) Method

InitializeReceiveStripeWebHooks() public static method

Initializes support for receiving Stripe WebHooks. Set the 'MS_WebHookReceiverSecret_Stripe' application setting to the application key defined in Stripe. The corresponding WebHook URI is of the form 'https://<host>/api/webhooks/incoming/stripe/{id}'. As there is no code embedded in the URI, this mode will cause a follow-up HTTP GET request to Stripe to get the actual WebHook data. For details about Stripe WebHooks, see https://stripe.com/docs/webhooks.
public static InitializeReceiveStripeWebHooks ( this config ) : void
config this The current config.
return void
        public static void InitializeReceiveStripeWebHooks(this HttpConfiguration config)
        {
            WebHooksConfig.Initialize(config);
        }