Net::API::Stripe::WebHook - An interface to manage and handle Stripe WebHooks
0.1
Create a webhook:
curl https://api.stripe.com/v1/webhook_endpoints \ -u sk_test_de3cHLEOsYm4zjiWQZBlYXyU: \ -d url="https://example.com/my/webhook/endpoint" \ -d "enabled_events[]=charge.failed" \ -d "enabled_events[]=charge.succeeded"
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
{ "id": "we_1DVZbtCeyNCl6fY25k54GtOS", "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" }
Initial version
Jacques Deguest <jack@deguest.jp>
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 (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.