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,65 @@
|
|
1
|
+
{
|
2
|
+
"date": 1394731307,
|
3
|
+
"id": "in_103ewP2eZvKYlo2CFLLwIX7a",
|
4
|
+
"period_start": 1394731307,
|
5
|
+
"period_end": 1394731307,
|
6
|
+
"lines": {
|
7
|
+
"data": [
|
8
|
+
{
|
9
|
+
"id": "sub_3ewdhCIki3FxWt",
|
10
|
+
"object": "line_item",
|
11
|
+
"type": "subscription",
|
12
|
+
"livemode": true,
|
13
|
+
"amount": 2000,
|
14
|
+
"currency": "usd",
|
15
|
+
"proration": false,
|
16
|
+
"period": {
|
17
|
+
"start": 1397410552,
|
18
|
+
"end": 1400002552
|
19
|
+
},
|
20
|
+
"quantity": 1,
|
21
|
+
"plan": {
|
22
|
+
"interval": "month",
|
23
|
+
"name": "New plan name123",
|
24
|
+
"created": 1386247539,
|
25
|
+
"amount": 2000,
|
26
|
+
"currency": "usd",
|
27
|
+
"id": "gold21323",
|
28
|
+
"object": "plan",
|
29
|
+
"livemode": false,
|
30
|
+
"interval_count": 1,
|
31
|
+
"trial_period_days": null,
|
32
|
+
"metadata": {
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"description": null,
|
36
|
+
"metadata": null
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"count": 1,
|
40
|
+
"object": "list",
|
41
|
+
"url": "/v1/invoices/in_103ewP2eZvKYlo2CFLLwIX7a/lines"
|
42
|
+
},
|
43
|
+
"subtotal": 0,
|
44
|
+
"total": 0,
|
45
|
+
"customer": "abcdefghijklmnop",
|
46
|
+
"object": "invoice",
|
47
|
+
"attempted": true,
|
48
|
+
"closed": true,
|
49
|
+
"paid": true,
|
50
|
+
"livemode": false,
|
51
|
+
"attempt_count": 0,
|
52
|
+
"amount_due": 0,
|
53
|
+
"currency": "usd",
|
54
|
+
"starting_balance": 0,
|
55
|
+
"ending_balance": null,
|
56
|
+
"next_payment_attempt": null,
|
57
|
+
"charge": "ch_103ewb2eZvKYlo2CjopvmZyM",
|
58
|
+
"discount": null,
|
59
|
+
"application_fee": null,
|
60
|
+
"subscription": "sub_3ewPpEGKafMelq",
|
61
|
+
"metadata": {
|
62
|
+
},
|
63
|
+
"description": null,
|
64
|
+
"last_payment_attempt": null
|
65
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"id": "fee_3ewdpQuL9AggWF",
|
3
|
+
"object": "application_fee",
|
4
|
+
"created": 1394732153,
|
5
|
+
"livemode": false,
|
6
|
+
"amount": 100,
|
7
|
+
"currency": "usd",
|
8
|
+
"refunded": true,
|
9
|
+
"amount_refunded": 0,
|
10
|
+
"refunds": [
|
11
|
+
|
12
|
+
],
|
13
|
+
"balance_transaction": "txn_103cQg2eZvKYlo2CYKVlR2nh",
|
14
|
+
"account": "acct_1032D82eZvKYlo2C",
|
15
|
+
"application": "ca_3ewdjwfoVd3Ccrb69CJKNS0tZJ6D4eQm",
|
16
|
+
"charge": "ch_103ewb2eZvKYlo2CjopvmZyM"
|
17
|
+
}
|
@@ -0,0 +1,51 @@
|
|
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": true,
|
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
|
+
"amount": 500,
|
35
|
+
"currency": "usd",
|
36
|
+
"created": 1394732152,
|
37
|
+
"object": "refund",
|
38
|
+
"balance_transaction": "txn_3ewdvdDggQXEhV"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"balance_transaction": "txn_103cQg2eZvKYlo2CYKVlR2nh",
|
42
|
+
"failure_message": null,
|
43
|
+
"failure_code": null,
|
44
|
+
"amount_refunded": 500,
|
45
|
+
"customer": null,
|
46
|
+
"invoice": null,
|
47
|
+
"description": null,
|
48
|
+
"dispute": null,
|
49
|
+
"metadata": {
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"id": "acct_1032D82eZvKYlo2C",
|
3
|
+
"email": "site@stripe.com",
|
4
|
+
"statement_descriptor": null,
|
5
|
+
"display_name": null,
|
6
|
+
"timezone": "Etc/UTC",
|
7
|
+
"details_submitted": false,
|
8
|
+
"charge_enabled": false,
|
9
|
+
"transfer_enabled": false,
|
10
|
+
"currencies_supported": [
|
11
|
+
"usd",
|
12
|
+
"aed",
|
13
|
+
"afn",
|
14
|
+
"..."
|
15
|
+
],
|
16
|
+
"default_currency": "usd",
|
17
|
+
"country": "US",
|
18
|
+
"object": "account"
|
19
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"id": "fee_3ewdpQuL9AggWF",
|
3
|
+
"object": "application_fee",
|
4
|
+
"created": 1394732153,
|
5
|
+
"livemode": false,
|
6
|
+
"amount": 100,
|
7
|
+
"currency": "usd",
|
8
|
+
"refunded": false,
|
9
|
+
"amount_refunded": 0,
|
10
|
+
"refunds": [
|
11
|
+
|
12
|
+
],
|
13
|
+
"balance_transaction": "txn_103cQg2eZvKYlo2CYKVlR2nh",
|
14
|
+
"account": "acct_1032D82eZvKYlo2C",
|
15
|
+
"application": "ca_3ewdjwfoVd3Ccrb69CJKNS0tZJ6D4eQm",
|
16
|
+
"charge": "ch_103ewb2eZvKYlo2CjopvmZyM"
|
17
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"id": "txn_103cQg2eZvKYlo2CYKVlR2nh",
|
3
|
+
"object": "balance_transaction",
|
4
|
+
"source": "ch_103cQg2eZvKYlo2CdLNiUG5P",
|
5
|
+
"amount": 100,
|
6
|
+
"currency": "usd",
|
7
|
+
"net": 41,
|
8
|
+
"type": "charge",
|
9
|
+
"created": 1394152014,
|
10
|
+
"available_on": 1394755200,
|
11
|
+
"status": "pending",
|
12
|
+
"fee": 59,
|
13
|
+
"fee_details": [
|
14
|
+
{
|
15
|
+
"amount": 45,
|
16
|
+
"currency": "usd",
|
17
|
+
"type": "stripe_fee",
|
18
|
+
"description": "Stripe processing fees",
|
19
|
+
"application": null
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"description": null
|
23
|
+
}
|
@@ -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": null,
|
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": null,
|
42
|
+
"dispute": null,
|
43
|
+
"metadata": {
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"id": "25OFF",
|
3
|
+
"created": 1391687276,
|
4
|
+
"percent_off": 25,
|
5
|
+
"amount_off": null,
|
6
|
+
"currency": "usd",
|
7
|
+
"object": "coupon",
|
8
|
+
"livemode": false,
|
9
|
+
"duration": "repeating",
|
10
|
+
"redeem_by": null,
|
11
|
+
"max_redemptions": null,
|
12
|
+
"times_redeemed": 0,
|
13
|
+
"duration_in_months": 3,
|
14
|
+
"valid": true,
|
15
|
+
"metadata": {
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"object": "customer",
|
3
|
+
"created": 1394731627,
|
4
|
+
"id": "abcdefghijklmnop",
|
5
|
+
"livemode": false,
|
6
|
+
"description": null,
|
7
|
+
"email": null,
|
8
|
+
"delinquent": false,
|
9
|
+
"metadata": {
|
10
|
+
},
|
11
|
+
"subscriptions": {
|
12
|
+
"object": "list",
|
13
|
+
"count": 0,
|
14
|
+
"url": "/v1/customers/abcdefghijklmnop/subscriptions",
|
15
|
+
"data": [
|
16
|
+
|
17
|
+
]
|
18
|
+
},
|
19
|
+
"discount": null,
|
20
|
+
"account_balance": 0,
|
21
|
+
"currency": "usd",
|
22
|
+
"cards": {
|
23
|
+
"object": "list",
|
24
|
+
"count": 1,
|
25
|
+
"url": "/v1/customers/abcdefghijklmnop/cards",
|
26
|
+
"data": [
|
27
|
+
{
|
28
|
+
"id": "card_1234567890ABCDEFghijklmn",
|
29
|
+
"object": "card",
|
30
|
+
"last4": "4242",
|
31
|
+
"brand": "Visa",
|
32
|
+
"exp_month": 10,
|
33
|
+
"exp_year": 2016,
|
34
|
+
"fingerprint": "ZYXWVUTSRQPONMLK",
|
35
|
+
"customer": "abcdefghijklmnop",
|
36
|
+
"country": "US",
|
37
|
+
"name": "ralph@example.com",
|
38
|
+
"address_line1": null,
|
39
|
+
"address_line2": null,
|
40
|
+
"address_city": null,
|
41
|
+
"address_state": null,
|
42
|
+
"address_zip": null,
|
43
|
+
"address_country": null,
|
44
|
+
"cvc_check": "pass",
|
45
|
+
"address_line1_check": null,
|
46
|
+
"address_zip_check": null
|
47
|
+
}
|
48
|
+
]
|
49
|
+
},
|
50
|
+
"default_card": "card_1234567890ABCDEFghijklmn"
|
51
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"id": "evt_103ewb2eZvKYlo2Cz0MZagvE",
|
3
|
+
"created": 1394732019,
|
4
|
+
"livemode": false,
|
5
|
+
"type": "charge.succeeded",
|
6
|
+
"data": {
|
7
|
+
"object": {
|
8
|
+
"id": "ch_103ewb2eZvKYlo2CjopvmZyM",
|
9
|
+
"object": "charge",
|
10
|
+
"created": 1394732018,
|
11
|
+
"livemode": false,
|
12
|
+
"paid": true,
|
13
|
+
"amount": 500,
|
14
|
+
"currency": "usd",
|
15
|
+
"refunded": false,
|
16
|
+
"card": {
|
17
|
+
"id": "card_103ewb2eZvKYlo2CMKnx53Vg",
|
18
|
+
"object": "card",
|
19
|
+
"last4": "4242",
|
20
|
+
"brand": "Visa",
|
21
|
+
"exp_month": 1,
|
22
|
+
"exp_year": 2050,
|
23
|
+
"fingerprint": "ZYXWVUTSRQPONMLK",
|
24
|
+
"customer": null,
|
25
|
+
"country": "US",
|
26
|
+
"name": null,
|
27
|
+
"address_line1": null,
|
28
|
+
"address_line2": null,
|
29
|
+
"address_city": null,
|
30
|
+
"address_state": null,
|
31
|
+
"address_zip": null,
|
32
|
+
"address_country": null,
|
33
|
+
"cvc_check": "pass",
|
34
|
+
"address_line1_check": null,
|
35
|
+
"address_zip_check": null
|
36
|
+
},
|
37
|
+
"captured": true,
|
38
|
+
"refunds": [
|
39
|
+
|
40
|
+
],
|
41
|
+
"balance_transaction": "txn_103ewb2eZvKYlo2CfYA98A3q",
|
42
|
+
"failure_message": null,
|
43
|
+
"failure_code": null,
|
44
|
+
"amount_refunded": 0,
|
45
|
+
"customer": null,
|
46
|
+
"invoice": null,
|
47
|
+
"description": null,
|
48
|
+
"dispute": null,
|
49
|
+
"metadata": {
|
50
|
+
}
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"object": "event",
|
54
|
+
"pending_webhooks": 0,
|
55
|
+
"request": "iar_3ewbt8K3BFha6A"
|
56
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"date": 1394731307,
|
3
|
+
"id": "in_103ewP2eZvKYlo2CFLLwIX7a",
|
4
|
+
"period_start": 1394731307,
|
5
|
+
"period_end": 1394731307,
|
6
|
+
"lines": {
|
7
|
+
"data": [
|
8
|
+
{
|
9
|
+
"id": "sub_3ewdhCIki3FxWt",
|
10
|
+
"object": "line_item",
|
11
|
+
"type": "subscription",
|
12
|
+
"livemode": true,
|
13
|
+
"amount": 2000,
|
14
|
+
"currency": "usd",
|
15
|
+
"proration": false,
|
16
|
+
"period": {
|
17
|
+
"start": 1397410552,
|
18
|
+
"end": 1400002552
|
19
|
+
},
|
20
|
+
"quantity": 1,
|
21
|
+
"plan": {
|
22
|
+
"interval": "month",
|
23
|
+
"name": "New plan name123",
|
24
|
+
"created": 1386247539,
|
25
|
+
"amount": 2000,
|
26
|
+
"currency": "usd",
|
27
|
+
"id": "gold21323",
|
28
|
+
"object": "plan",
|
29
|
+
"livemode": false,
|
30
|
+
"interval_count": 1,
|
31
|
+
"trial_period_days": null,
|
32
|
+
"metadata": {
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"description": null,
|
36
|
+
"metadata": null
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"count": 1,
|
40
|
+
"object": "list",
|
41
|
+
"url": "/v1/invoices/in_103ewP2eZvKYlo2CFLLwIX7a/lines"
|
42
|
+
},
|
43
|
+
"subtotal": 0,
|
44
|
+
"total": 0,
|
45
|
+
"customer": "abcdefghijklmnop",
|
46
|
+
"object": "invoice",
|
47
|
+
"attempted": true,
|
48
|
+
"closed": true,
|
49
|
+
"paid": true,
|
50
|
+
"livemode": false,
|
51
|
+
"attempt_count": 0,
|
52
|
+
"amount_due": 0,
|
53
|
+
"currency": "usd",
|
54
|
+
"starting_balance": 0,
|
55
|
+
"ending_balance": null,
|
56
|
+
"next_payment_attempt": null,
|
57
|
+
"charge": null,
|
58
|
+
"discount": null,
|
59
|
+
"application_fee": null,
|
60
|
+
"subscription": "sub_3ewPpEGKafMelq",
|
61
|
+
"metadata": {
|
62
|
+
},
|
63
|
+
"description": null
|
64
|
+
}
|