fake_stripe 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CONTRIBUTING.md +33 -0
- data/LICENSE +19 -0
- data/README.md +66 -0
- data/Rakefile +8 -0
- data/lib/fake_stripe.rb +49 -0
- data/lib/fake_stripe/assets/v1.js +38 -0
- data/lib/fake_stripe/assets/v2-mock.js +18 -0
- data/lib/fake_stripe/assets/v2.js +757 -0
- data/lib/fake_stripe/configuration.rb +15 -0
- data/lib/fake_stripe/fixtures/cancel_subscription.json +18 -0
- data/lib/fake_stripe/fixtures/cancel_transfer.json +161 -0
- data/lib/fake_stripe/fixtures/capture_charge.json +51 -0
- data/lib/fake_stripe/fixtures/close_dispute.json +13 -0
- data/lib/fake_stripe/fixtures/create_card.json +21 -0
- data/lib/fake_stripe/fixtures/create_charge.json +45 -0
- data/lib/fake_stripe/fixtures/create_coupon.json +17 -0
- data/lib/fake_stripe/fixtures/create_customer.json +51 -0
- data/lib/fake_stripe/fixtures/create_invoice.json +52 -0
- data/lib/fake_stripe/fixtures/create_invoiceitem.json +15 -0
- data/lib/fake_stripe/fixtures/create_plan.json +14 -0
- data/lib/fake_stripe/fixtures/create_recipient.json +25 -0
- data/lib/fake_stripe/fixtures/create_subscription.json +18 -0
- data/lib/fake_stripe/fixtures/create_token.json +26 -0
- data/lib/fake_stripe/fixtures/create_transfer.json +161 -0
- data/lib/fake_stripe/fixtures/delete_card.json +4 -0
- data/lib/fake_stripe/fixtures/delete_coupon.json +4 -0
- data/lib/fake_stripe/fixtures/delete_customer.json +4 -0
- data/lib/fake_stripe/fixtures/delete_customer_discount.json +4 -0
- data/lib/fake_stripe/fixtures/delete_invoiceitem.json +4 -0
- data/lib/fake_stripe/fixtures/delete_plan.json +4 -0
- data/lib/fake_stripe/fixtures/delete_recipient.json +4 -0
- data/lib/fake_stripe/fixtures/delete_subscription_discount.json +4 -0
- data/lib/fake_stripe/fixtures/list_application_fees.json +55 -0
- data/lib/fake_stripe/fixtures/list_balance_history.json +76 -0
- data/lib/fake_stripe/fixtures/list_cards.json +70 -0
- data/lib/fake_stripe/fixtures/list_charges.json +146 -0
- data/lib/fake_stripe/fixtures/list_coupons.json +58 -0
- data/lib/fake_stripe/fixtures/list_customers.json +157 -0
- data/lib/fake_stripe/fixtures/list_events.json +172 -0
- data/lib/fake_stripe/fixtures/list_invoiceitems.json +52 -0
- data/lib/fake_stripe/fixtures/list_invoices.json +199 -0
- data/lib/fake_stripe/fixtures/list_plans.json +49 -0
- data/lib/fake_stripe/fixtures/list_recipients.json +82 -0
- data/lib/fake_stripe/fixtures/list_subscriptions.json +100 -0
- data/lib/fake_stripe/fixtures/list_transfers.json +488 -0
- data/lib/fake_stripe/fixtures/pay_invoice.json +65 -0
- data/lib/fake_stripe/fixtures/refund_application_fee.json +17 -0
- data/lib/fake_stripe/fixtures/refund_charge.json +51 -0
- data/lib/fake_stripe/fixtures/retrieve_account.json +19 -0
- data/lib/fake_stripe/fixtures/retrieve_application_fee.json +17 -0
- data/lib/fake_stripe/fixtures/retrieve_balance.json +16 -0
- data/lib/fake_stripe/fixtures/retrieve_balance_transaction.json +23 -0
- data/lib/fake_stripe/fixtures/retrieve_card.json +21 -0
- data/lib/fake_stripe/fixtures/retrieve_charge.json +45 -0
- data/lib/fake_stripe/fixtures/retrieve_coupon.json +17 -0
- data/lib/fake_stripe/fixtures/retrieve_customer.json +51 -0
- data/lib/fake_stripe/fixtures/retrieve_event.json +56 -0
- data/lib/fake_stripe/fixtures/retrieve_invoice.json +64 -0
- data/lib/fake_stripe/fixtures/retrieve_invoice_line_items.json +61 -0
- data/lib/fake_stripe/fixtures/retrieve_invoiceitem.json +15 -0
- data/lib/fake_stripe/fixtures/retrieve_plan.json +14 -0
- data/lib/fake_stripe/fixtures/retrieve_recipient.json +25 -0
- data/lib/fake_stripe/fixtures/retrieve_subscription.json +31 -0
- data/lib/fake_stripe/fixtures/retrieve_token.json +26 -0
- data/lib/fake_stripe/fixtures/retrieve_transfer.json +161 -0
- data/lib/fake_stripe/fixtures/retrieve_upcoming_invoice.json +63 -0
- data/lib/fake_stripe/fixtures/update_card.json +21 -0
- data/lib/fake_stripe/fixtures/update_charge.json +45 -0
- data/lib/fake_stripe/fixtures/update_customer.json +51 -0
- data/lib/fake_stripe/fixtures/update_dispute.json +13 -0
- data/lib/fake_stripe/fixtures/update_invoice.json +64 -0
- data/lib/fake_stripe/fixtures/update_invoiceitem.json +15 -0
- data/lib/fake_stripe/fixtures/update_plan.json +14 -0
- data/lib/fake_stripe/fixtures/update_recipient.json +25 -0
- data/lib/fake_stripe/fixtures/update_subscription.json +18 -0
- data/lib/fake_stripe/fixtures/update_transfer.json +161 -0
- data/lib/fake_stripe/initializers/webmock.rb +3 -0
- data/lib/fake_stripe/stub_app.rb +307 -0
- data/lib/fake_stripe/stub_stripe_js.rb +29 -0
- data/lib/fake_stripe/version.rb +3 -0
- metadata +211 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
{
|
2
|
+
"object": "list",
|
3
|
+
"url": "/v1/invoices/in_103ewP2eZvKYlo2CFLLwIX7a/lines",
|
4
|
+
"count": 3,
|
5
|
+
"data": [
|
6
|
+
{
|
7
|
+
"id": "ii_103UAn2eZvKYlo2CkLmj7ne9",
|
8
|
+
"object": "line_item",
|
9
|
+
"type": "invoiceitem",
|
10
|
+
"livemode": false,
|
11
|
+
"amount": 100,
|
12
|
+
"currency": "usd",
|
13
|
+
"proration": false,
|
14
|
+
"period": {
|
15
|
+
"start": 1392247767,
|
16
|
+
"end": 1392247767
|
17
|
+
},
|
18
|
+
"quantity": null,
|
19
|
+
"plan": null,
|
20
|
+
"description": null,
|
21
|
+
"metadata": {
|
22
|
+
}
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"id": "ii_103UAn2eZvKYlo2CkLmj7ne0",
|
26
|
+
"object": "line_item",
|
27
|
+
"type": "invoiceitem",
|
28
|
+
"livemode": false,
|
29
|
+
"amount": 200,
|
30
|
+
"currency": "usd",
|
31
|
+
"proration": false,
|
32
|
+
"period": {
|
33
|
+
"start": 1392247768,
|
34
|
+
"end": 1392247768
|
35
|
+
},
|
36
|
+
"quantity": null,
|
37
|
+
"plan": null,
|
38
|
+
"description": null,
|
39
|
+
"metadata": {
|
40
|
+
}
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"id": "ii_103UAn2eZvKYlo2CkLmj7ne1",
|
44
|
+
"object": "line_item",
|
45
|
+
"type": "invoiceitem",
|
46
|
+
"livemode": false,
|
47
|
+
"amount": 300,
|
48
|
+
"currency": "usd",
|
49
|
+
"proration": false,
|
50
|
+
"period": {
|
51
|
+
"start": 1392247769,
|
52
|
+
"end": 1392247769
|
53
|
+
},
|
54
|
+
"quantity": null,
|
55
|
+
"plan": null,
|
56
|
+
"description": null,
|
57
|
+
"metadata": {
|
58
|
+
}
|
59
|
+
}
|
60
|
+
]
|
61
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"object": "invoiceitem",
|
3
|
+
"id": "ii_103UAn2eZvKYlo2CkLmj7ne9",
|
4
|
+
"date": 1392247767,
|
5
|
+
"amount": 0,
|
6
|
+
"livemode": false,
|
7
|
+
"proration": false,
|
8
|
+
"currency": "usd",
|
9
|
+
"customer": "abcdefghijklmnop",
|
10
|
+
"description": null,
|
11
|
+
"metadata": {
|
12
|
+
},
|
13
|
+
"invoice": "in_103UAp2eZvKYlo2C6xOPMzPj",
|
14
|
+
"subscription": null
|
15
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"interval": "month",
|
3
|
+
"name": "New plan name123",
|
4
|
+
"created": 1386247539,
|
5
|
+
"amount": 2000,
|
6
|
+
"currency": "usd",
|
7
|
+
"id": "gold21323",
|
8
|
+
"object": "plan",
|
9
|
+
"livemode": false,
|
10
|
+
"interval_count": 1,
|
11
|
+
"trial_period_days": null,
|
12
|
+
"metadata": {
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"id": "rp_103WyK2eZvKYlo2CXgqlepdQ",
|
3
|
+
"object": "recipient",
|
4
|
+
"created": 1392893343,
|
5
|
+
"livemode": false,
|
6
|
+
"type": "individual",
|
7
|
+
"description": null,
|
8
|
+
"email": null,
|
9
|
+
"name": "John Doe",
|
10
|
+
"verified": false,
|
11
|
+
"metadata": {
|
12
|
+
},
|
13
|
+
"active_account": {
|
14
|
+
"object": "bank_account",
|
15
|
+
"id": "ba_103WyK2eZvKYlo2CRbxre4Eb",
|
16
|
+
"bank_name": "BANK OF AMERICA, N.A.",
|
17
|
+
"last4": "6789",
|
18
|
+
"country": "US",
|
19
|
+
"currency": "usd",
|
20
|
+
"validated": false,
|
21
|
+
"verified": false,
|
22
|
+
"fingerprint": "j1CvuuIQNXSIdZuK",
|
23
|
+
"disabled": false
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"id": "sub_3ewdhCIki3FxWt",
|
3
|
+
"plan": {
|
4
|
+
"interval": "month",
|
5
|
+
"name": "New plan name123",
|
6
|
+
"created": 1386247539,
|
7
|
+
"amount": 2000,
|
8
|
+
"currency": "usd",
|
9
|
+
"id": "gold21323",
|
10
|
+
"object": "plan",
|
11
|
+
"livemode": false,
|
12
|
+
"interval_count": 1,
|
13
|
+
"trial_period_days": null,
|
14
|
+
"metadata": {
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"object": "subscription",
|
18
|
+
"start": 1394732152,
|
19
|
+
"status": "active",
|
20
|
+
"customer": "abcdefghijklmnop",
|
21
|
+
"cancel_at_period_end": false,
|
22
|
+
"current_period_start": 1394732152,
|
23
|
+
"current_period_end": 1397410552,
|
24
|
+
"ended_at": null,
|
25
|
+
"trial_start": null,
|
26
|
+
"trial_end": null,
|
27
|
+
"canceled_at": null,
|
28
|
+
"quantity": 1,
|
29
|
+
"application_fee_percent": null,
|
30
|
+
"discount": null
|
31
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"id": "tok_103eog2eZvKYlo2CE8etNomD",
|
3
|
+
"livemode": false,
|
4
|
+
"created": 1394702572,
|
5
|
+
"used": false,
|
6
|
+
"object": "token",
|
7
|
+
"type": "card",
|
8
|
+
"card": {
|
9
|
+
"id": "card_103eog2eZvKYlo2CoLfqGwa4",
|
10
|
+
"object": "card",
|
11
|
+
"last4": "4242",
|
12
|
+
"brand": "Visa",
|
13
|
+
"exp_month": 8,
|
14
|
+
"exp_year": 2015,
|
15
|
+
"fingerprint": "ZYXWVUTSRQPONMLK",
|
16
|
+
"customer": null,
|
17
|
+
"country": "US",
|
18
|
+
"name": null,
|
19
|
+
"address_line1": null,
|
20
|
+
"address_line2": null,
|
21
|
+
"address_city": null,
|
22
|
+
"address_state": null,
|
23
|
+
"address_zip": null,
|
24
|
+
"address_country": null
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,161 @@
|
|
1
|
+
{
|
2
|
+
"id": "tr_103ehW2eZvKYlo2CvqXdcIQL",
|
3
|
+
"object": "transfer",
|
4
|
+
"date": 1394841600,
|
5
|
+
"livemode": false,
|
6
|
+
"amount": 336081,
|
7
|
+
"currency": "usd",
|
8
|
+
"status": "pending",
|
9
|
+
"balance_transaction": "txn_103cQg2eZvKYlo2CYKVlR2nh",
|
10
|
+
"summary": {
|
11
|
+
"charge_gross": 365872,
|
12
|
+
"charge_fees": 29694,
|
13
|
+
"charge_fee_details": [
|
14
|
+
{
|
15
|
+
"amount": 29661,
|
16
|
+
"currency": "usd",
|
17
|
+
"type": "stripe_fee",
|
18
|
+
"description": null,
|
19
|
+
"application": null
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"refund_gross": -100,
|
23
|
+
"refund_fees": -3,
|
24
|
+
"refund_fee_details": [
|
25
|
+
{
|
26
|
+
"amount": -3,
|
27
|
+
"currency": "usd",
|
28
|
+
"type": "stripe_fee",
|
29
|
+
"description": null,
|
30
|
+
"application": null
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"adjustment_gross": 0,
|
34
|
+
"adjustment_fees": 0,
|
35
|
+
"adjustment_fee_details": [
|
36
|
+
|
37
|
+
],
|
38
|
+
"validation_fees": 0,
|
39
|
+
"validation_count": 0,
|
40
|
+
"charge_count": 625,
|
41
|
+
"refund_count": 1,
|
42
|
+
"adjustment_count": 0,
|
43
|
+
"net": 336081,
|
44
|
+
"currency": "usd",
|
45
|
+
"collected_fee_gross": 0,
|
46
|
+
"collected_fee_count": 0,
|
47
|
+
"collected_fee_refund_gross": 0,
|
48
|
+
"collected_fee_refund_count": 0
|
49
|
+
},
|
50
|
+
"transactions": {
|
51
|
+
"object": "list",
|
52
|
+
"count": 626,
|
53
|
+
"url": "/v1/transfers/tr_103ehW2eZvKYlo2CvqXdcIQL/transactions",
|
54
|
+
"data": [
|
55
|
+
{
|
56
|
+
"id": "ch_103d7S2eZvKYlo2ClgiFvMVj",
|
57
|
+
"type": "charge",
|
58
|
+
"amount": 500,
|
59
|
+
"currency": "usd",
|
60
|
+
"net": 455,
|
61
|
+
"created": 1394311101,
|
62
|
+
"description": null,
|
63
|
+
"fee": 45,
|
64
|
+
"fee_details": [
|
65
|
+
{
|
66
|
+
"amount": 45,
|
67
|
+
"currency": "usd",
|
68
|
+
"type": "stripe_fee",
|
69
|
+
"description": "Stripe processing fees",
|
70
|
+
"application": null
|
71
|
+
}
|
72
|
+
]
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"id": "ch_103d4l2eZvKYlo2CYxMUKdVS",
|
76
|
+
"type": "charge",
|
77
|
+
"amount": 500,
|
78
|
+
"currency": "usd",
|
79
|
+
"net": 455,
|
80
|
+
"created": 1394301116,
|
81
|
+
"description": null,
|
82
|
+
"fee": 45,
|
83
|
+
"fee_details": [
|
84
|
+
{
|
85
|
+
"amount": 45,
|
86
|
+
"currency": "usd",
|
87
|
+
"type": "stripe_fee",
|
88
|
+
"description": "Stripe processing fees",
|
89
|
+
"application": null
|
90
|
+
}
|
91
|
+
]
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"id": "ch_103cv62eZvKYlo2CC16QiOJh",
|
95
|
+
"type": "charge",
|
96
|
+
"amount": 2000,
|
97
|
+
"currency": "usd",
|
98
|
+
"net": 1912,
|
99
|
+
"created": 1394265182,
|
100
|
+
"description": "payinguser@example.com",
|
101
|
+
"fee": 88,
|
102
|
+
"fee_details": [
|
103
|
+
{
|
104
|
+
"amount": 88,
|
105
|
+
"currency": "usd",
|
106
|
+
"type": "stripe_fee",
|
107
|
+
"description": "Stripe processing fees",
|
108
|
+
"application": null
|
109
|
+
}
|
110
|
+
]
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"id": "ch_103cnV2eZvKYlo2CRoDM3aSW",
|
114
|
+
"type": "charge",
|
115
|
+
"amount": 500,
|
116
|
+
"currency": "usd",
|
117
|
+
"net": 455,
|
118
|
+
"created": 1394236904,
|
119
|
+
"description": null,
|
120
|
+
"fee": 45,
|
121
|
+
"fee_details": [
|
122
|
+
{
|
123
|
+
"amount": 45,
|
124
|
+
"currency": "usd",
|
125
|
+
"type": "stripe_fee",
|
126
|
+
"description": "Stripe processing fees",
|
127
|
+
"application": null
|
128
|
+
}
|
129
|
+
]
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"id": "ch_103cnX2eZvKYlo2CrtXEpq5u",
|
133
|
+
"type": "charge",
|
134
|
+
"amount": 500,
|
135
|
+
"currency": "usd",
|
136
|
+
"net": 455,
|
137
|
+
"created": 1394237040,
|
138
|
+
"description": null,
|
139
|
+
"fee": 45,
|
140
|
+
"fee_details": [
|
141
|
+
{
|
142
|
+
"amount": 45,
|
143
|
+
"currency": "usd",
|
144
|
+
"type": "stripe_fee",
|
145
|
+
"description": "Stripe processing fees",
|
146
|
+
"application": null
|
147
|
+
}
|
148
|
+
]
|
149
|
+
}
|
150
|
+
]
|
151
|
+
},
|
152
|
+
"other_transfers": [
|
153
|
+
"tr_103ehW2eZvKYlo2CvqXdcIQL"
|
154
|
+
],
|
155
|
+
"account": null,
|
156
|
+
"description": "STRIPE TRANSFER",
|
157
|
+
"metadata": {
|
158
|
+
},
|
159
|
+
"statement_descriptor": null,
|
160
|
+
"recipient": null
|
161
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{
|
2
|
+
"date": 1394731307,
|
3
|
+
"period_start": 1394731307,
|
4
|
+
"period_end": 1394731307,
|
5
|
+
"lines": {
|
6
|
+
"object": "list",
|
7
|
+
"count": 1,
|
8
|
+
"url": "/v1/invoices/upcoming/lines?customer=abcdefghijklmnop",
|
9
|
+
"data": [
|
10
|
+
{
|
11
|
+
"id": "sub_3ewPpEGKafMelq",
|
12
|
+
"object": "line_item",
|
13
|
+
"type": "subscription",
|
14
|
+
"livemode": false,
|
15
|
+
"amount": 0,
|
16
|
+
"currency": "usd",
|
17
|
+
"proration": false,
|
18
|
+
"period": {
|
19
|
+
"start": 1394731307,
|
20
|
+
"end": 1395163307
|
21
|
+
},
|
22
|
+
"quantity": 1,
|
23
|
+
"plan": {
|
24
|
+
"interval": "month",
|
25
|
+
"name": "PricingPlan 311",
|
26
|
+
"created": 1394731304,
|
27
|
+
"amount": 311,
|
28
|
+
"currency": "usd",
|
29
|
+
"id": "TestMode4",
|
30
|
+
"object": "plan",
|
31
|
+
"livemode": false,
|
32
|
+
"interval_count": 1,
|
33
|
+
"trial_period_days": 5,
|
34
|
+
"metadata": {
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"description": null,
|
38
|
+
"metadata": null
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"subtotal": 0,
|
43
|
+
"total": 0,
|
44
|
+
"customer": "abcdefghijklmnop",
|
45
|
+
"object": "invoice",
|
46
|
+
"attempted": true,
|
47
|
+
"closed": true,
|
48
|
+
"paid": true,
|
49
|
+
"livemode": false,
|
50
|
+
"attempt_count": 0,
|
51
|
+
"amount_due": 0,
|
52
|
+
"currency": "usd",
|
53
|
+
"starting_balance": 0,
|
54
|
+
"ending_balance": null,
|
55
|
+
"next_payment_attempt": null,
|
56
|
+
"charge": null,
|
57
|
+
"discount": null,
|
58
|
+
"application_fee": null,
|
59
|
+
"subscription": "sub_3ewPpEGKafMelq",
|
60
|
+
"metadata": {
|
61
|
+
},
|
62
|
+
"description": null
|
63
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"id": "card_103ewd2eZvKYlo2CzCsKfISF",
|
3
|
+
"object": "card",
|
4
|
+
"last4": "0002",
|
5
|
+
"brand": "Visa",
|
6
|
+
"exp_month": 5,
|
7
|
+
"exp_year": 2015,
|
8
|
+
"fingerprint": "Ffz7dpISyG2aKd75",
|
9
|
+
"customer": "abcdefghijklmnop",
|
10
|
+
"country": "US",
|
11
|
+
"name": "Jane Austen",
|
12
|
+
"address_line1": null,
|
13
|
+
"address_line2": null,
|
14
|
+
"address_city": null,
|
15
|
+
"address_state": null,
|
16
|
+
"address_zip": null,
|
17
|
+
"address_country": null,
|
18
|
+
"cvc_check": null,
|
19
|
+
"address_line1_check": null,
|
20
|
+
"address_zip_check": null
|
21
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"id": "ch_103ewb2eZvKYlo2CjopvmZyM",
|
3
|
+
"object": "charge",
|
4
|
+
"created": 1394732018,
|
5
|
+
"livemode": false,
|
6
|
+
"paid": true,
|
7
|
+
"amount": 500,
|
8
|
+
"currency": "usd",
|
9
|
+
"refunded": false,
|
10
|
+
"card": {
|
11
|
+
"id": "card_103ewb2eZvKYlo2CMKnx53Vg",
|
12
|
+
"object": "card",
|
13
|
+
"last4": "4242",
|
14
|
+
"brand": "Visa",
|
15
|
+
"exp_month": 1,
|
16
|
+
"exp_year": 2050,
|
17
|
+
"fingerprint": "ZYXWVUTSRQPONMLK",
|
18
|
+
"customer": null,
|
19
|
+
"country": "US",
|
20
|
+
"name": null,
|
21
|
+
"address_line1": null,
|
22
|
+
"address_line2": null,
|
23
|
+
"address_city": null,
|
24
|
+
"address_state": null,
|
25
|
+
"address_zip": null,
|
26
|
+
"address_country": null,
|
27
|
+
"cvc_check": "pass",
|
28
|
+
"address_line1_check": null,
|
29
|
+
"address_zip_check": null
|
30
|
+
},
|
31
|
+
"captured": true,
|
32
|
+
"refunds": [
|
33
|
+
|
34
|
+
],
|
35
|
+
"balance_transaction": "txn_103cQg2eZvKYlo2CYKVlR2nh",
|
36
|
+
"failure_message": null,
|
37
|
+
"failure_code": null,
|
38
|
+
"amount_refunded": 0,
|
39
|
+
"customer": null,
|
40
|
+
"invoice": null,
|
41
|
+
"description": "Charge for test@example.com",
|
42
|
+
"dispute": null,
|
43
|
+
"metadata": {
|
44
|
+
}
|
45
|
+
}
|