stripe_tester 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -149
  3. data/lib/stripe_tester/version.rb +1 -1
  4. data/stripe_webhooks/2015-04-07/account_updated.yml +86 -0
  5. data/stripe_webhooks/2015-04-07/balance_available.yml +19 -0
  6. data/stripe_webhooks/2015-04-07/charge_captured.yml +65 -0
  7. data/stripe_webhooks/2015-04-07/charge_dispute_closed.yml +28 -0
  8. data/stripe_webhooks/2015-04-07/charge_dispute_created.yml +55 -0
  9. data/stripe_webhooks/2015-04-07/charge_dispute_updated.yml +30 -0
  10. data/stripe_webhooks/2015-04-07/charge_failed.yml +65 -0
  11. data/stripe_webhooks/2015-04-07/charge_refunded.yml +76 -0
  12. data/stripe_webhooks/2015-04-07/charge_succeeded.yml +65 -0
  13. data/stripe_webhooks/2015-04-07/charge_updated.yml +67 -0
  14. data/stripe_webhooks/2015-04-07/coupon_created.yml +25 -0
  15. data/stripe_webhooks/2015-04-07/coupon_deleted.yml +25 -0
  16. data/stripe_webhooks/2015-04-07/customer_card_created.yml +32 -0
  17. data/stripe_webhooks/2015-04-07/customer_card_deleted.yml +32 -0
  18. data/stripe_webhooks/2015-04-07/customer_card_updated.yml +34 -0
  19. data/stripe_webhooks/2015-04-07/customer_created.yml +35 -0
  20. data/stripe_webhooks/2015-04-07/customer_deleted.yml +35 -0
  21. data/stripe_webhooks/2015-04-07/customer_discount_created.yml +31 -0
  22. data/stripe_webhooks/2015-04-07/customer_discount_deleted.yml +31 -0
  23. data/stripe_webhooks/2015-04-07/customer_discount_updated.yml +47 -0
  24. data/stripe_webhooks/2015-04-07/customer_subscription_created.yml +41 -0
  25. data/stripe_webhooks/2015-04-07/customer_subscription_deleted.yml +41 -0
  26. data/stripe_webhooks/2015-04-07/customer_subscription_trial_will_end.yml +41 -0
  27. data/stripe_webhooks/2015-04-07/customer_subscription_updated.yml +55 -0
  28. data/stripe_webhooks/2015-04-07/customer_updated.yml +37 -0
  29. data/stripe_webhooks/2015-04-07/invoice_created.yml +74 -0
  30. data/stripe_webhooks/2015-04-07/invoice_payment_failed.yml +74 -0
  31. data/stripe_webhooks/2015-04-07/invoice_payment_succeeded.yml +74 -0
  32. data/stripe_webhooks/2015-04-07/invoice_updated.yml +76 -0
  33. data/stripe_webhooks/2015-04-07/invoiceitem_created.yml +29 -0
  34. data/stripe_webhooks/2015-04-07/invoiceitem_deleted.yml +29 -0
  35. data/stripe_webhooks/2015-04-07/invoiceitem_updated.yml +31 -0
  36. data/stripe_webhooks/2015-04-07/plan_created.yml +23 -0
  37. data/stripe_webhooks/2015-04-07/plan_deleted.yml +23 -0
  38. data/stripe_webhooks/2015-04-07/plan_updated.yml +25 -0
  39. data/stripe_webhooks/2015-04-07/transfer_created.yml +38 -0
  40. data/stripe_webhooks/2015-04-07/transfer_failed.yml +38 -0
  41. data/stripe_webhooks/2015-04-07/transfer_paid.yml +38 -0
  42. data/stripe_webhooks/2015-04-07/transfer_updated.yml +40 -0
  43. data/supported_webhook_versions.md +200 -0
  44. metadata +42 -2
@@ -0,0 +1,38 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.paid
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-04-07'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: paid
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
@@ -0,0 +1,40 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.updated
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-04-07'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: pending
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
39
+ previous_attributes:
40
+ description: Old description
@@ -0,0 +1,200 @@
1
+ # Supported Webhooks
2
+
3
+ ### Version 2015-04-07:
4
+
5
+ * account_updated
6
+ * balance_available
7
+ * charge_captured
8
+ * charge_dispute_closed
9
+ * charge_dispute_created
10
+ * charge_dispute_updated
11
+ * charge_failed
12
+ * charge_refunded
13
+ * charge_succeeded
14
+ * charge_updated
15
+ * coupon_created
16
+ * coupon_deleted
17
+ * customer_card_created
18
+ * customer_card_deleted
19
+ * customer_card_updated
20
+ * customer_created
21
+ * customer_deleted
22
+ * customer_discount_created
23
+ * customer_discount_deleted
24
+ * customer_discount_updated
25
+ * customer_subscription_created
26
+ * customer_subscription_deleted
27
+ * customer_subscription_trial_will_end
28
+ * customer_subscription_updated
29
+ * customer_updated
30
+ * invoice_created
31
+ * invoice_payment_failed
32
+ * invoice_payment_succeeded
33
+ * invoice_updated
34
+ * invoiceitem_created
35
+ * invoiceitem_deleted
36
+ * invoiceitem_updated
37
+ * plan_created
38
+ * plan_deleted
39
+ * plan_updated
40
+ * transfer_created
41
+ * transfer_failed
42
+ * transfer_paid
43
+ * transfer_updated
44
+
45
+ ### Version 2014-10-07:
46
+
47
+ * account.updated
48
+ * balance.available
49
+ * charge.captured
50
+ * charge.dispute.closed
51
+ * charge.dispute.created
52
+ * charge.dispute.updated
53
+ * charge.failed
54
+ * charge.refunded
55
+ * charge.succeeded
56
+ * charge.updated
57
+ * coupon.created
58
+ * coupon.deleted
59
+ * customer.card.created
60
+ * customer.card.deleted
61
+ * customer.card.updated
62
+ * customer.created
63
+ * customer.deleted
64
+ * customer.discount.created
65
+ * customer.discount.deleted
66
+ * customer.discount.updated
67
+ * customer.subscription.created
68
+ * customer.subscription.deleted
69
+ * customer.subscription.trial.will.end
70
+ * customer.subscription.updated
71
+ * customer.updated
72
+ * invoice.created
73
+ * invoice.payment.failed
74
+ * invoice.payment.succeeded
75
+ * invoice.updated
76
+ * invoiceitem.created
77
+ * invoiceitem.deleted
78
+ * invoiceitem.updated
79
+ * plan.created
80
+ * plan.deleted
81
+ * plan.updated
82
+ * transfer.created
83
+ * transfer.failed
84
+ * transfer.paid
85
+ * transfer.updated
86
+
87
+ ### Version 2013-08-13:
88
+
89
+ * account.updated
90
+ * balance.available
91
+ * charge.dispute.closed
92
+ * charge.dispute.created
93
+ * charge.dispute.updated
94
+ * charge.failed
95
+ * charge.refunded
96
+ * charge.succeeded
97
+ * coupon.created
98
+ * coupon.deleted
99
+ * customer.card.created
100
+ * customer.card.deleted
101
+ * customer.card.updated
102
+ * customer.created
103
+ * customer.deleted
104
+ * customer.discount.created
105
+ * customer.discount.deleted
106
+ * customer.discount.updated
107
+ * customer.subscription.created
108
+ * customer.subscription.deleted
109
+ * customer.subscription.trial_will_end
110
+ * customer.subscription.updated
111
+ * customer.updated
112
+ * invoice.created
113
+ * invoice.payment_failed
114
+ * invoice.payment_succeeded
115
+ * invoice.updated
116
+ * invoiceitem.created
117
+ * invoiceitem.deleted
118
+ * invoiceitem.updated
119
+ * plan.created
120
+ * plan.deleted
121
+ * plan.updated
122
+ * transfer.created
123
+ * transfer.failed
124
+ * transfer.paid
125
+ * transfer.updated
126
+
127
+ ### Version 2013-07-05:
128
+
129
+ * charge.failed
130
+ * charge.refunded
131
+ * charge.succeeded
132
+ * customer.created
133
+ * customer.deleted
134
+ * customer.subscription.created
135
+ * customer.subscription.deleted
136
+ * customer.subscription.updated
137
+ * customer.subscription.trial.will.end
138
+ * invoice.created
139
+ * invoice.payment.failed
140
+ * invoice.payment.succeeded
141
+ * invoice.updated
142
+
143
+ ### Version 2013-02-13:
144
+
145
+ * charge_failed
146
+ * charge_refunded
147
+ * charge_succeeded
148
+ * customer_created
149
+ * customer_deleted
150
+ * customer_subscription_created
151
+ * customer_subscription_deleted
152
+ * customer_subscription_trial_will_end
153
+ * customer_subscription_updated
154
+ * invoice_created
155
+ * invoice_payment_failed
156
+ * invoice_payment_succeeded
157
+ * invoice_updated
158
+
159
+
160
+ ### Version 2012-02-23:
161
+
162
+ * account.updated
163
+ * balance.available
164
+ * charge.captured
165
+ * charge.dispute.closed
166
+ * charge.dispute.created
167
+ * charge.dispute.updated
168
+ * charge.failed
169
+ * charge.refunded
170
+ * charge.succeeded
171
+ * charge.updated
172
+ * coupon.created
173
+ * coupon.deleted
174
+ * customer.card.created
175
+ * customer.card.deleted
176
+ * customer.card.updated
177
+ * customer.created
178
+ * customer.deleted
179
+ * customer.discount.created
180
+ * customer.discount.deleted
181
+ * customer.discount.updated
182
+ * customer.subscription.created
183
+ * customer.subscription.deleted
184
+ * customer.subscription.trial.will.end
185
+ * customer.subscription.updated
186
+ * customer.updated
187
+ * invoice.created
188
+ * invoice.payment.failed
189
+ * invoice.payment.succeeded
190
+ * invoice.updated
191
+ * invoiceitem.created
192
+ * invoiceitem.deleted
193
+ * invoiceitem.updated
194
+ * plan.created
195
+ * plan.deleted
196
+ * plan.updated
197
+ * transfer.created
198
+ * transfer.failed
199
+ * transfer.paid
200
+ * transfer.updated
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe_tester
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Buttercloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-02 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -238,6 +238,46 @@ files:
238
238
  - stripe_webhooks/2014-10-07/transfer_failed.yml
239
239
  - stripe_webhooks/2014-10-07/transfer_paid.yml
240
240
  - stripe_webhooks/2014-10-07/transfer_updated.yml
241
+ - stripe_webhooks/2015-04-07/account_updated.yml
242
+ - stripe_webhooks/2015-04-07/balance_available.yml
243
+ - stripe_webhooks/2015-04-07/charge_captured.yml
244
+ - stripe_webhooks/2015-04-07/charge_dispute_closed.yml
245
+ - stripe_webhooks/2015-04-07/charge_dispute_created.yml
246
+ - stripe_webhooks/2015-04-07/charge_dispute_updated.yml
247
+ - stripe_webhooks/2015-04-07/charge_failed.yml
248
+ - stripe_webhooks/2015-04-07/charge_refunded.yml
249
+ - stripe_webhooks/2015-04-07/charge_succeeded.yml
250
+ - stripe_webhooks/2015-04-07/charge_updated.yml
251
+ - stripe_webhooks/2015-04-07/coupon_created.yml
252
+ - stripe_webhooks/2015-04-07/coupon_deleted.yml
253
+ - stripe_webhooks/2015-04-07/customer_card_created.yml
254
+ - stripe_webhooks/2015-04-07/customer_card_deleted.yml
255
+ - stripe_webhooks/2015-04-07/customer_card_updated.yml
256
+ - stripe_webhooks/2015-04-07/customer_created.yml
257
+ - stripe_webhooks/2015-04-07/customer_deleted.yml
258
+ - stripe_webhooks/2015-04-07/customer_discount_created.yml
259
+ - stripe_webhooks/2015-04-07/customer_discount_deleted.yml
260
+ - stripe_webhooks/2015-04-07/customer_discount_updated.yml
261
+ - stripe_webhooks/2015-04-07/customer_subscription_created.yml
262
+ - stripe_webhooks/2015-04-07/customer_subscription_deleted.yml
263
+ - stripe_webhooks/2015-04-07/customer_subscription_trial_will_end.yml
264
+ - stripe_webhooks/2015-04-07/customer_subscription_updated.yml
265
+ - stripe_webhooks/2015-04-07/customer_updated.yml
266
+ - stripe_webhooks/2015-04-07/invoice_created.yml
267
+ - stripe_webhooks/2015-04-07/invoice_payment_failed.yml
268
+ - stripe_webhooks/2015-04-07/invoice_payment_succeeded.yml
269
+ - stripe_webhooks/2015-04-07/invoice_updated.yml
270
+ - stripe_webhooks/2015-04-07/invoiceitem_created.yml
271
+ - stripe_webhooks/2015-04-07/invoiceitem_deleted.yml
272
+ - stripe_webhooks/2015-04-07/invoiceitem_updated.yml
273
+ - stripe_webhooks/2015-04-07/plan_created.yml
274
+ - stripe_webhooks/2015-04-07/plan_deleted.yml
275
+ - stripe_webhooks/2015-04-07/plan_updated.yml
276
+ - stripe_webhooks/2015-04-07/transfer_created.yml
277
+ - stripe_webhooks/2015-04-07/transfer_failed.yml
278
+ - stripe_webhooks/2015-04-07/transfer_paid.yml
279
+ - stripe_webhooks/2015-04-07/transfer_updated.yml
280
+ - supported_webhook_versions.md
241
281
  - wercker.yml
242
282
  homepage: https://github.com/buttercloud/stripe_tester
243
283
  licenses: