NAME

Net::API::Stripe::Event::Data - A Stripe Event Data Object

SYNOPSIS

VERSION

0.1

DESCRIPTION

This is a Stripe Event Data 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

object hash

Object containing the API resource relevant to the event. For example, an invoice.created event will have a full invoice object as the value of the object key.

previous_attributes hash

Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events).

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 90:

You forgot a '=back' before '=head1'