NAME
Net::API::Stripe::WebHook - An interface to manage and handle Stripe WebHooks
VERSION
v0.100.1
DESCRIPTION
Create a webhook:
curl https://api.stripe.com/v1/webhook_endpoints \
  -u sk_test_khaffUjkDalUfkLhWD: \
  -d url="https://example.com/my/webhook/endpoint" \
  -d "enabled_events[]=charge.failed" \
  -d "enabled_events[]=charge.succeeded"
See Net::API::Stripe::WebHook::Apache for detail of implementation using Apache with mod_perl and Net::API::Stripe::WebHook::Object for the Stripe WebHook object.
API SAMPLE
{
  "id": "we_fake123456789",
  "object": "webhook_endpoint",
  "api_version": "2017-02-14",
  "application": null,
  "created": 1542006805,
  "enabled_events": [
    "invoice.created",
    "invoice.payment_failed",
    "invoice.payment_succeeded"
  ],
  "livemode": false,
  "status": "enabled",
  "url": "http://expugno.serveo.net/stripe/invoice"
}
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/webhook_endpoints, https://stripe.com/docs/webhooks/configure, https://stripe.com/docs/api/events/types, https://stripe.com/docs/api/webhook_endpoints/list?lang=curl, https://stripe.com/docs/webhooks/signatures, https://stripe.com/docs/webhooks/best-practices#event-handling
COPYRIGHT & LICENSE
Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.