Net::API::Stripe::Event::Request - A Stripe Event Request object
my $req = $stripe->event->request({ id => 'req_HwlkQJshckjIsj', idempotency_key => '677A3112-FBAD-4804-BA61-CEF1CC13D155', });
v0.100.0
This is a Stripe Event Request object.
This is instantiated by the method request in module Net::API::Stripe::Event
Creates a new Net::API::Stripe::Event::Request object. It may also take an hash like arguments, that also are method of the same name.
ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe’s automatic subscription handling). Request logs are available in the dashboard, but currently not in the API.
The idempotency key transmitted during the request, if any. Note: This property is populated only for events on or after May 23, 2017.
{ "id": "evt_fake123456789", "object": "event", "api_version": "2017-02-14", "created": 1528914645, "data": { "object": { "object": "balance", "available": [ { "currency": "jpy", "amount": 1025751, "source_types": { "card": 1025751 } } ], "connect_reserved": [ { "currency": "jpy", "amount": 0 } ], "livemode": false, "pending": [ { "currency": "jpy", "amount": 0, "source_types": { "card": 0 } } ] } }, "livemode": false, "pending_webhooks": 0, "request": { "id": null, "idempotency_key": null }, "type": "balance.available" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/events/object
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.
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.