9 * @property string $object
10 * @property string $account
11 * @property string $api_version
12 * @property int $created
13 * @property mixed $data
14 * @property bool $livemode
15 * @property int $pending_webhooks
16 * @property mixed $request
17 * @property string $type
21 class Event
extends ApiResource
24 const OBJECT_NAME
= "event";
27 * Possible string representations of event types.
28 * @link https://stripe.com/docs/api#event_types
30 const ACCOUNT_UPDATED
= 'account.updated';
31 const ACCOUNT_APPLICATION_DEAUTHORIZED
= 'account.application.deauthorized';
32 const ACCOUNT_EXTERNAL_ACCOUNT_CREATED
= 'account.external_account.created';
33 const ACCOUNT_EXTERNAL_ACCOUNT_DELETED
= 'account.external_account.deleted';
34 const ACCOUNT_EXTERNAL_ACCOUNT_UPDATED
= 'account.external_account.updated';
35 const APPLICATION_FEE_CREATED
= 'application_fee.created';
36 const APPLICATION_FEE_REFUNDED
= 'application_fee.refunded';
37 const APPLICATION_FEE_REFUND_UPDATED
= 'application_fee.refund.updated';
38 const BALANCE_AVAILABLE
= 'balance.available';
39 const CHARGE_CAPTURED
= 'charge.captured';
40 const CHARGE_EXPIRED
= 'charge.expired';
41 const CHARGE_FAILED
= 'charge.failed';
42 const CHARGE_PENDING
= 'charge.pending';
43 const CHARGE_REFUNDED
= 'charge.refunded';
44 const CHARGE_SUCCEEDED
= 'charge.succeeded';
45 const CHARGE_UPDATED
= 'charge.updated';
46 const CHARGE_DISPUTE_CLOSED
= 'charge.dispute.closed';
47 const CHARGE_DISPUTE_CREATED
= 'charge.dispute.created';
48 const CHARGE_DISPUTE_FUNDS_REINSTATED
= 'charge.dispute.funds_reinstated';
49 const CHARGE_DISPUTE_FUNDS_WITHDRAWN
= 'charge.dispute.funds_withdrawn';
50 const CHARGE_DISPUTE_UPDATED
= 'charge.dispute.updated';
51 const CHARGE_REFUND_UPDATED
= 'charge.refund.updated';
52 const COUPON_CREATED
= 'coupon.created';
53 const COUPON_DELETED
= 'coupon.deleted';
54 const COUPON_UPDATED
= 'coupon.updated';
55 const CUSTOMER_CREATED
= 'customer.created';
56 const CUSTOMER_DELETED
= 'customer.deleted';
57 const CUSTOMER_UPDATED
= 'customer.updated';
58 const CUSTOMER_DISCOUNT_CREATED
= 'customer.discount.created';
59 const CUSTOMER_DISCOUNT_DELETED
= 'customer.discount.deleted';
60 const CUSTOMER_DISCOUNT_UPDATED
= 'customer.discount.updated';
61 const CUSTOMER_SOURCE_CREATED
= 'customer.source.created';
62 const CUSTOMER_SOURCE_DELETED
= 'customer.source.deleted';
63 const CUSTOMER_SOURCE_EXPIRING
= 'customer.source.expiring';
64 const CUSTOMER_SOURCE_UPDATED
= 'customer.source.updated';
65 const CUSTOMER_SUBSCRIPTION_CREATED
= 'customer.subscription.created';
66 const CUSTOMER_SUBSCRIPTION_DELETED
= 'customer.subscription.deleted';
67 const CUSTOMER_SUBSCRIPTION_TRIAL_WILL_END
= 'customer.subscription.trial_will_end';
68 const CUSTOMER_SUBSCRIPTION_UPDATED
= 'customer.subscription.updated';
69 const FILE_CREATED
= 'file.created';
70 const INVOICE_CREATED
= 'invoice.created';
71 const INVOICE_PAYMENT_FAILED
= 'invoice.payment_failed';
72 const INVOICE_PAYMENT_SUCCEEDED
= 'invoice.payment_succeeded';
73 const INVOICE_SENT
= 'invoice.sent';
74 const INVOICE_UPCOMING
= 'invoice.upcoming';
75 const INVOICE_UPDATED
= 'invoice.updated';
76 const INVOICEITEM_CREATED
= 'invoiceitem.created';
77 const INVOICEITEM_DELETED
= 'invoiceitem.deleted';
78 const INVOICEITEM_UPDATED
= 'invoiceitem.updated';
79 const ORDER_CREATED
= 'order.created';
80 const ORDER_PAYMENT_FAILED
= 'order.payment_failed';
81 const ORDER_PAYMENT_SUCCEEDED
= 'order.payment_succeeded';
82 const ORDER_UPDATED
= 'order.updated';
83 const ORDER_RETURN_CREATED
= 'order_return.created';
84 const PAYOUT_CANCELED
= 'payout.canceled';
85 const PAYOUT_CREATED
= 'payout.created';
86 const PAYOUT_FAILED
= 'payout.failed';
87 const PAYOUT_PAID
= 'payout.paid';
88 const PAYOUT_UPDATED
= 'payout.updated';
90 const PLAN_CREATED
= 'plan.created';
91 const PLAN_DELETED
= 'plan.deleted';
92 const PLAN_UPDATED
= 'plan.updated';
93 const PRODUCT_CREATED
= 'product.created';
94 const PRODUCT_DELETED
= 'product.deleted';
95 const PRODUCT_UPDATED
= 'product.updated';
96 const RECIPIENT_CREATED
= 'recipient.created';
97 const RECIPIENT_DELETED
= 'recipient.deleted';
98 const RECIPIENT_UPDATED
= 'recipient.updated';
99 const REVIEW_CLOSED
= 'review.closed';
100 const REVIEW_OPENED
= 'review.opened';
101 const SIGMA_SCHEDULED_QUERY_RUN_CREATED
= 'sigma.scheduled_query_run.created';
102 const SKU_CREATED
= 'sku.created';
103 const SKU_DELETED
= 'sku.deleted';
104 const SKU_UPDATED
= 'sku.updated';
105 const SOURCE_CANCELED
= 'source.canceled';
106 const SOURCE_CHARGEABLE
= 'source.chargeable';
107 const SOURCE_FAILED
= 'source.failed';
108 const SOURCE_MANDATE_NOTIFICATION
= 'source.mandate_notification';
109 const SOURCE_TRANSACTION_CREATED
= 'source.transaction.created';
110 const TOPUP_CREATED
= 'topup.created';
111 const TOPUP_FAILED
= 'topup.failed';
112 const TOPUP_SUCCEEDED
= 'topup.succeeded';
113 const TRANSFER_CREATED
= 'transfer.created';
114 const TRANSFER_REVERSED
= 'transfer.reversed';
115 const TRANSFER_UPDATED
= 'transfer.updated';
117 use ApiOperations\All
;
118 use ApiOperations\Retrieve
;