stripe_tester 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/stripe_tester.rb +1 -1
- data/lib/stripe_tester/version.rb +1 -1
- data/spec/stripe_tester_spec.rb +1 -1
- data/stripe_webhooks/2015-10-01/account_external_account_created.yml +23 -0
- data/stripe_webhooks/2015-10-01/account_external_account_deleted.yml +23 -0
- data/stripe_webhooks/2015-10-01/account_external_account_updated.yml +24 -0
- data/stripe_webhooks/2015-10-01/account_updated.yml +89 -0
- data/stripe_webhooks/2015-10-01/balance_available.yml +19 -0
- data/stripe_webhooks/2015-10-01/bitcoin_receiver_created.yml +30 -0
- data/stripe_webhooks/2015-10-01/bitcoin_receiver_filled.yml +30 -0
- data/stripe_webhooks/2015-10-01/bitcoin_receiver_transaction_created.yml +18 -0
- data/stripe_webhooks/2015-10-01/bitcoin_receiver_updated.yml +31 -0
- data/stripe_webhooks/2015-10-01/charge_captured.yml +66 -0
- data/stripe_webhooks/2015-10-01/charge_dispute_closed.yml +56 -0
- data/stripe_webhooks/2015-10-01/charge_dispute_created.yml +56 -0
- data/stripe_webhooks/2015-10-01/charge_dispute_funds_reinstated.yml +56 -0
- data/stripe_webhooks/2015-10-01/charge_dispute_funds_withdrawn.yml +56 -0
- data/stripe_webhooks/2015-10-01/charge_dispute_updated.yml +85 -0
- data/stripe_webhooks/2015-10-01/charge_failed.yml +66 -0
- data/stripe_webhooks/2015-10-01/charge_refunded.yml +77 -0
- data/stripe_webhooks/2015-10-01/charge_succeeded.yml +66 -0
- data/stripe_webhooks/2015-10-01/charge_updated.yml +68 -0
- data/stripe_webhooks/2015-10-01/coupon_created.yml +25 -0
- data/stripe_webhooks/2015-10-01/coupon_deleted.yml +25 -0
- data/stripe_webhooks/2015-10-01/coupon_updated.yml +26 -0
- data/stripe_webhooks/2015-10-01/customer_bank_account_created.yml +23 -0
- data/stripe_webhooks/2015-10-01/customer_bank_account_deleted.yml +23 -0
- data/stripe_webhooks/2015-10-01/customer_bank_account_updated.yml +24 -0
- data/stripe_webhooks/2015-10-01/customer_card_created.yml +33 -0
- data/stripe_webhooks/2015-10-01/customer_card_deleted.yml +33 -0
- data/stripe_webhooks/2015-10-01/customer_card_updated.yml +35 -0
- data/stripe_webhooks/2015-10-01/customer_created.yml +36 -0
- data/stripe_webhooks/2015-10-01/customer_deleted.yml +36 -0
- data/stripe_webhooks/2015-10-01/customer_discount_created.yml +31 -0
- data/stripe_webhooks/2015-10-01/customer_discount_deleted.yml +31 -0
- data/stripe_webhooks/2015-10-01/customer_discount_updated.yml +47 -0
- data/stripe_webhooks/2015-10-01/customer_subscription_created.yml +41 -0
- data/stripe_webhooks/2015-10-01/customer_subscription_deleted.yml +41 -0
- data/stripe_webhooks/2015-10-01/customer_subscription_trial_will_end.yml +41 -0
- data/stripe_webhooks/2015-10-01/customer_subscription_updated.yml +55 -0
- data/stripe_webhooks/2015-10-01/customer_updated.yml +38 -0
- data/stripe_webhooks/2015-10-01/invoice_created.yml +74 -0
- data/stripe_webhooks/2015-10-01/invoice_payment_failed.yml +74 -0
- data/stripe_webhooks/2015-10-01/invoice_payment_succeeded.yml +74 -0
- data/stripe_webhooks/2015-10-01/invoice_updated.yml +76 -0
- data/stripe_webhooks/2015-10-01/invoiceitem_created.yml +29 -0
- data/stripe_webhooks/2015-10-01/invoiceitem_deleted.yml +29 -0
- data/stripe_webhooks/2015-10-01/invoiceitem_updated.yml +31 -0
- data/stripe_webhooks/2015-10-01/order_created.yml +44 -0
- data/stripe_webhooks/2015-10-01/order_payment_failed.yml +44 -0
- data/stripe_webhooks/2015-10-01/order_payment_succeeded.yml +44 -0
- data/stripe_webhooks/2015-10-01/order_updated.yml +45 -0
- data/stripe_webhooks/2015-10-01/plan_created.yml +23 -0
- data/stripe_webhooks/2015-10-01/plan_deleted.yml +23 -0
- data/stripe_webhooks/2015-10-01/plan_updated.yml +25 -0
- data/stripe_webhooks/2015-10-01/product_created.yml +34 -0
- data/stripe_webhooks/2015-10-01/product_updated.yml +35 -0
- data/stripe_webhooks/2015-10-01/recipient_created.yml +30 -0
- data/stripe_webhooks/2015-10-01/recipient_deleted.yml +30 -0
- data/stripe_webhooks/2015-10-01/recipient_updated.yml +31 -0
- data/stripe_webhooks/2015-10-01/transfer_canceled.yml +38 -0
- data/stripe_webhooks/2015-10-01/transfer_created.yml +38 -0
- data/stripe_webhooks/2015-10-01/transfer_failed.yml +38 -0
- data/stripe_webhooks/2015-10-01/transfer_paid.yml +38 -0
- data/stripe_webhooks/2015-10-01/transfer_updated.yml +40 -0
- metadata +64 -2
@@ -0,0 +1,68 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: charge.updated
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: ch_00000000000000
|
13
|
+
object: charge
|
14
|
+
created: 1419171865
|
15
|
+
livemode: false
|
16
|
+
paid: true
|
17
|
+
status: succeeded
|
18
|
+
amount: 212
|
19
|
+
currency: usd
|
20
|
+
refunded: false
|
21
|
+
source:
|
22
|
+
id: card_00000000000000
|
23
|
+
object: card
|
24
|
+
last4: '4242'
|
25
|
+
brand: Visa
|
26
|
+
funding: credit
|
27
|
+
exp_month: 12
|
28
|
+
exp_year: 2017
|
29
|
+
country: US
|
30
|
+
name: Shit man
|
31
|
+
address_line1:
|
32
|
+
address_line2:
|
33
|
+
address_city:
|
34
|
+
address_state:
|
35
|
+
address_zip:
|
36
|
+
address_country:
|
37
|
+
cvc_check: pass
|
38
|
+
address_line1_check:
|
39
|
+
address_zip_check:
|
40
|
+
tokenization_method:
|
41
|
+
dynamic_last4:
|
42
|
+
metadata: {}
|
43
|
+
customer: cus_00000000000000
|
44
|
+
captured: true
|
45
|
+
balance_transaction: txn_00000000000000
|
46
|
+
failure_message:
|
47
|
+
failure_code:
|
48
|
+
amount_refunded: 0
|
49
|
+
customer: cus_00000000000000
|
50
|
+
invoice: in_00000000000000
|
51
|
+
description:
|
52
|
+
dispute:
|
53
|
+
metadata: {}
|
54
|
+
statement_descriptor:
|
55
|
+
fraud_details: {}
|
56
|
+
receipt_email:
|
57
|
+
receipt_number:
|
58
|
+
shipping:
|
59
|
+
destination:
|
60
|
+
application_fee:
|
61
|
+
refunds:
|
62
|
+
object: list
|
63
|
+
total_count: 0
|
64
|
+
has_more: false
|
65
|
+
url: "/v1/charges/ch_5MuSnHsHswLrRL/refunds"
|
66
|
+
data: []
|
67
|
+
previous_attributes:
|
68
|
+
description: Old description
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: coupon.created
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: 25OFF_00000000000000
|
13
|
+
created: 1444032139
|
14
|
+
percent_off: 25
|
15
|
+
amount_off:
|
16
|
+
currency: usd
|
17
|
+
object: coupon
|
18
|
+
livemode: false
|
19
|
+
duration: repeating
|
20
|
+
redeem_by:
|
21
|
+
max_redemptions:
|
22
|
+
times_redeemed: 0
|
23
|
+
duration_in_months: 3
|
24
|
+
valid: true
|
25
|
+
metadata: {}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: coupon.deleted
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: 25OFF_00000000000000
|
13
|
+
created: 1444032141
|
14
|
+
percent_off: 25
|
15
|
+
amount_off:
|
16
|
+
currency: usd
|
17
|
+
object: coupon
|
18
|
+
livemode: false
|
19
|
+
duration: repeating
|
20
|
+
redeem_by:
|
21
|
+
max_redemptions:
|
22
|
+
times_redeemed: 0
|
23
|
+
duration_in_months: 3
|
24
|
+
valid: true
|
25
|
+
metadata: {}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: coupon.updated
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: 25OFF_00000000000000
|
13
|
+
created: 1444032144
|
14
|
+
percent_off: 25
|
15
|
+
amount_off:
|
16
|
+
currency: usd
|
17
|
+
object: coupon
|
18
|
+
livemode: false
|
19
|
+
duration: repeating
|
20
|
+
redeem_by:
|
21
|
+
max_redemptions:
|
22
|
+
times_redeemed: 0
|
23
|
+
duration_in_months: 3
|
24
|
+
valid: true
|
25
|
+
metadata: {}
|
26
|
+
previous_attributes:
|
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.bank_account.created
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
object: bank_account
|
13
|
+
id: ba_00000000000000
|
14
|
+
last4: '6789'
|
15
|
+
country: US
|
16
|
+
currency: usd
|
17
|
+
status: new
|
18
|
+
fingerprint: BoBS64BqvgqBDUKQ
|
19
|
+
routing_number: '110000000'
|
20
|
+
bank_name: STRIPE TEST BANK
|
21
|
+
account: acct_00000000000000
|
22
|
+
default_for_currency: false
|
23
|
+
metadata: {}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.bank_account.deleted
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
object: bank_account
|
13
|
+
id: ba_00000000000000
|
14
|
+
last4: '6789'
|
15
|
+
country: US
|
16
|
+
currency: usd
|
17
|
+
status: new
|
18
|
+
fingerprint: BoBS64BqvgqBDUKQ
|
19
|
+
routing_number: '110000000'
|
20
|
+
bank_name: STRIPE TEST BANK
|
21
|
+
account: acct_00000000000000
|
22
|
+
default_for_currency: false
|
23
|
+
metadata: {}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.bank_account.updated
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
object: bank_account
|
13
|
+
id: ba_00000000000000
|
14
|
+
last4: '6789'
|
15
|
+
country: US
|
16
|
+
currency: usd
|
17
|
+
status: new
|
18
|
+
fingerprint: BoBS64BqvgqBDUKQ
|
19
|
+
routing_number: '110000000'
|
20
|
+
bank_name: STRIPE TEST BANK
|
21
|
+
account: acct_00000000000000
|
22
|
+
default_for_currency: false
|
23
|
+
metadata: {}
|
24
|
+
previous_attributes:
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.card.created
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: card_00000000000000
|
13
|
+
object: card
|
14
|
+
last4: '4242'
|
15
|
+
brand: Visa
|
16
|
+
funding: credit
|
17
|
+
exp_month: 8
|
18
|
+
exp_year: 2016
|
19
|
+
country: US
|
20
|
+
name:
|
21
|
+
address_line1:
|
22
|
+
address_line2:
|
23
|
+
address_city:
|
24
|
+
address_state:
|
25
|
+
address_zip:
|
26
|
+
address_country:
|
27
|
+
cvc_check:
|
28
|
+
address_line1_check:
|
29
|
+
address_zip_check:
|
30
|
+
tokenization_method:
|
31
|
+
dynamic_last4:
|
32
|
+
metadata: {}
|
33
|
+
customer:
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.card.deleted
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: card_00000000000000
|
13
|
+
object: card
|
14
|
+
last4: '4242'
|
15
|
+
brand: Visa
|
16
|
+
funding: credit
|
17
|
+
exp_month: 8
|
18
|
+
exp_year: 2016
|
19
|
+
country: US
|
20
|
+
name:
|
21
|
+
address_line1:
|
22
|
+
address_line2:
|
23
|
+
address_city:
|
24
|
+
address_state:
|
25
|
+
address_zip:
|
26
|
+
address_country:
|
27
|
+
cvc_check:
|
28
|
+
address_line1_check:
|
29
|
+
address_zip_check:
|
30
|
+
tokenization_method:
|
31
|
+
dynamic_last4:
|
32
|
+
metadata: {}
|
33
|
+
customer:
|
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.card.updated
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
id: card_00000000000000
|
13
|
+
object: card
|
14
|
+
last4: '4242'
|
15
|
+
brand: Visa
|
16
|
+
funding: credit
|
17
|
+
exp_month: 8
|
18
|
+
exp_year: 2016
|
19
|
+
country: US
|
20
|
+
name:
|
21
|
+
address_line1:
|
22
|
+
address_line2:
|
23
|
+
address_city:
|
24
|
+
address_state:
|
25
|
+
address_zip:
|
26
|
+
address_country:
|
27
|
+
cvc_check:
|
28
|
+
address_line1_check:
|
29
|
+
address_zip_check:
|
30
|
+
tokenization_method:
|
31
|
+
dynamic_last4:
|
32
|
+
metadata: {}
|
33
|
+
customer:
|
34
|
+
previous_attributes:
|
35
|
+
exp_year: '2013'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.created
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
object: customer
|
13
|
+
created: 1444032147
|
14
|
+
id: cus_00000000000000
|
15
|
+
livemode: false
|
16
|
+
description:
|
17
|
+
email:
|
18
|
+
shipping:
|
19
|
+
delinquent: false
|
20
|
+
metadata: {}
|
21
|
+
subscriptions:
|
22
|
+
object: list
|
23
|
+
total_count: 0
|
24
|
+
has_more: false
|
25
|
+
url: "/v1/customers/cus_76hK65Ji3qKDGV/subscriptions"
|
26
|
+
data: []
|
27
|
+
discount:
|
28
|
+
account_balance: 0
|
29
|
+
currency: usd
|
30
|
+
sources:
|
31
|
+
object: list
|
32
|
+
total_count: 0
|
33
|
+
has_more: false
|
34
|
+
url: "/v1/customers/cus_76hK65Ji3qKDGV/sources"
|
35
|
+
data: []
|
36
|
+
default_source:
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.deleted
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
object: customer
|
13
|
+
created: 1444032150
|
14
|
+
id: cus_00000000000000
|
15
|
+
livemode: false
|
16
|
+
description:
|
17
|
+
email:
|
18
|
+
shipping:
|
19
|
+
delinquent: false
|
20
|
+
metadata: {}
|
21
|
+
subscriptions:
|
22
|
+
object: list
|
23
|
+
total_count: 0
|
24
|
+
has_more: false
|
25
|
+
url: "/v1/customers/cus_76hKjON5KY5LJh/subscriptions"
|
26
|
+
data: []
|
27
|
+
discount:
|
28
|
+
account_balance: 0
|
29
|
+
currency: usd
|
30
|
+
sources:
|
31
|
+
object: list
|
32
|
+
total_count: 0
|
33
|
+
has_more: false
|
34
|
+
url: "/v1/customers/cus_76hKjON5KY5LJh/sources"
|
35
|
+
data: []
|
36
|
+
default_source:
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.discount.created
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
coupon:
|
13
|
+
id: 25OFF_00000000000000
|
14
|
+
created: 1444032173
|
15
|
+
percent_off: 25
|
16
|
+
amount_off:
|
17
|
+
currency: usd
|
18
|
+
object: coupon
|
19
|
+
livemode: false
|
20
|
+
duration: repeating
|
21
|
+
redeem_by:
|
22
|
+
max_redemptions:
|
23
|
+
times_redeemed: 0
|
24
|
+
duration_in_months: 3
|
25
|
+
valid: true
|
26
|
+
metadata: {}
|
27
|
+
start: 1444032173
|
28
|
+
object: discount
|
29
|
+
customer: cus_00000000000000
|
30
|
+
subscription:
|
31
|
+
end: 1451980973
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
created: 1326853478
|
3
|
+
livemode: false
|
4
|
+
id: evt_00000000000000
|
5
|
+
type: customer.discount.deleted
|
6
|
+
object: event
|
7
|
+
request:
|
8
|
+
pending_webhooks: 1
|
9
|
+
api_version: '2015-10-01'
|
10
|
+
data:
|
11
|
+
object:
|
12
|
+
coupon:
|
13
|
+
id: 25OFF_00000000000000
|
14
|
+
created: 1444032176
|
15
|
+
percent_off: 25
|
16
|
+
amount_off:
|
17
|
+
currency: usd
|
18
|
+
object: coupon
|
19
|
+
livemode: false
|
20
|
+
duration: repeating
|
21
|
+
redeem_by:
|
22
|
+
max_redemptions:
|
23
|
+
times_redeemed: 0
|
24
|
+
duration_in_months: 3
|
25
|
+
valid: true
|
26
|
+
metadata: {}
|
27
|
+
start: 1444032176
|
28
|
+
object: discount
|
29
|
+
customer: cus_00000000000000
|
30
|
+
subscription:
|
31
|
+
end: 1451980976
|