NAME
Net::API::Stripe::Event::Request - A Stripe Event Request object
SYNOPSIS
VERSION
0.1
DESCRIPTION
This is a Stripe Event Request object
CONSTRUCTOR
- new( %ARG )
-
Creates a new
Net::API::Stripe
objects. It may also take an hash like arguments, that also are method of the same name.- verbose
-
Toggles verbose mode on/off
- debug
-
Toggles debug mode on/off
METHODS
- id string
-
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.
- idempotency_key string
-
The idempotency key transmitted during the request, if any. Note: This property is populated only for events on or after May 23, 2017.
API SAMPLE
{
"id": "evt_1Ccdk1CeyNCl6fY2mTXIaobI",
"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"
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/events/object
COPYRIGHT & LICENSE
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:
- Around line 66:
You forgot a '=back' before '=head1'