backend-manager 5.9.4 → 5.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +6 -0
- package/package.json +8 -1
- package/src/cli/commands/install.js +4 -3
- package/src/cli/commands/setup-tests/backend-manager.js +2 -1
- package/src/cli/commands/setup-tests/firebase-admin.js +2 -1
- package/src/cli/commands/setup-tests/firebase-functions.js +2 -1
- package/src/cli/utils/safe-install.js +13 -0
- package/src/manager/routes/payments/cancel/post.js +22 -2
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/newsletter.mjml +97 -0
- package/{test/email/fixtures/clean.json → src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/structure.json} +16 -4
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-11T03-28-07/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/newsletter.mjml +97 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/structure.json +42 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-00-28/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/metadata.json +14 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.html +486 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.md +41 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/newsletter.mjml +97 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/structure.json +42 -0
- package/src/test/fixtures/firebase-project/.temp/newsletter/run-2026-06-18T01-01-34/summary.md +1 -0
- package/src/test/fixtures/firebase-project/.temp/test-mode.json +6 -0
- package/src/test/fixtures/firebase-project/database-debug.log +12 -0
- package/src/test/fixtures/firebase-project/firestore-debug.log +136 -0
- package/src/test/fixtures/firebase-project/pubsub-debug.log +17 -0
- package/src/test/test-accounts.js +9 -0
- package/.codeclimate.yml +0 -32
- package/.nvmrc +0 -1
- package/CHANGELOG.md +0 -1432
- package/PROGRESS.md +0 -86
- package/TODO-2.md +0 -121
- package/TODO-CHARGEBLAST.md +0 -32
- package/TODO-WEBHOOK-KEY-LEGACY-REMOVAL.md +0 -15
- package/TODO-WEBHOOK-KEY-UPGRADE.md +0 -138
- package/TODO-email-auth.md +0 -14
- package/TODO.md +0 -187
- package/plans/mcp2.md +0 -247
- package/scripts/test-helper-providers.js +0 -162
- package/scripts/update-disposable-domains.js +0 -44
- package/templates/_.env +0 -42
- package/templates/_.gitignore +0 -60
- package/templates/backend-manager-config.json +0 -249
- package/templates/database.rules.json +0 -83
- package/templates/firebase.json +0 -66
- package/templates/firestore.indexes.json +0 -4
- package/templates/firestore.rules +0 -112
- package/templates/public/404.html +0 -26
- package/templates/public/index.html +0 -24
- package/templates/remoteconfig.template.json +0 -1
- package/templates/storage-lifecycle-config-1-day.json +0 -9
- package/templates/storage-lifecycle-config-30-days.json +0 -9
- package/templates/storage.rules +0 -8
- package/test/_init/accounts-validation.js +0 -58
- package/test/_legacy/ai/index.js +0 -231
- package/test/_legacy/ai/test.jpg +0 -0
- package/test/_legacy/ai/test.pdf +0 -0
- package/test/_legacy/index.js +0 -31
- package/test/_legacy/payment-resolver/chargebee/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/chargebee/orders/unpaid.json +0 -98
- package/test/_legacy/payment-resolver/chargebee/subscriptions/active.json +0 -578
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-in-trial.json +0 -38
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-skipped-to-active.json +0 -135
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-active-to-cancelled.json +0 -42
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-active.json +0 -44
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-cancelled.json +0 -39
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-refund.json +0 -143
- package/test/_legacy/payment-resolver/chargebee/subscriptions/trial-to-suspended.json +0 -48
- package/test/_legacy/payment-resolver/coinbase/orders/regular.json +0 -204
- package/test/_legacy/payment-resolver/coinbase/subscriptions/cancelled.json +0 -204
- package/test/_legacy/payment-resolver/coinbase/subscriptions/paid-2.json +0 -125
- package/test/_legacy/payment-resolver/index.js +0 -1558
- package/test/_legacy/payment-resolver/paypal/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/paypal/orders/regular.json +0 -120
- package/test/_legacy/payment-resolver/paypal/subscriptions/active-refund-previous-stmnt.json +0 -323
- package/test/_legacy/payment-resolver/paypal/subscriptions/active.json +0 -192
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-in-trial.json +0 -125
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-not-complete.json +0 -76
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-overdue-2.json +0 -114
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-payment-overdue.json +0 -114
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-active-to-cancelled.json +0 -111
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-active.json +0 -132
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-cancelled.json +0 -107
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-expired.json +0 -91
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-refund.json +0 -147
- package/test/_legacy/payment-resolver/paypal/subscriptions/trial-to-suspended.json +0 -120
- package/test/_legacy/payment-resolver/stripe/orders/refunded.json +0 -0
- package/test/_legacy/payment-resolver/stripe/orders/regular.json +0 -91
- package/test/_legacy/payment-resolver/stripe/subscriptions/active.json +0 -421
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-in-trial.json +0 -349
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-active-failed-authorization.json +0 -430
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-active.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-cancelled.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-refund.json +0 -414
- package/test/_legacy/payment-resolver/stripe/subscriptions/trial-to-suspended.json +0 -319
- package/test/_legacy/payment-resolver/stripe/subscriptions/unsure.json +0 -339
- package/test/_legacy/test-new +0 -1178
- package/test/_legacy/test.md +0 -89
- package/test/_legacy/usage.js +0 -175
- package/test/_legacy/user.js +0 -31
- package/test/ai/tools-live.js +0 -170
- package/test/boot/emulator-boots.js +0 -37
- package/test/content/blog-generate.js +0 -160
- package/test/email/campaign-send.js +0 -45
- package/test/email/consent-lifecycle.js +0 -257
- package/test/email/feedback-and-plain-send.js +0 -52
- package/test/email/fixtures/editorial.json +0 -30
- package/test/email/fixtures/field-report.json +0 -53
- package/test/email/marketing-lifecycle.js +0 -132
- package/test/email/newsletter-generate.js +0 -819
- package/test/email/newsletter-templates.js +0 -491
- package/test/email/templates.js +0 -207
- package/test/email/transactional-send.js +0 -34
- package/test/email/transactional.js +0 -560
- package/test/email/validation.js +0 -710
- package/test/events/auth-delete-race.js +0 -201
- package/test/events/payments/journey-payments-cancel-endpoint.js +0 -100
- package/test/events/payments/journey-payments-cancel.js +0 -182
- package/test/events/payments/journey-payments-discount.js +0 -89
- package/test/events/payments/journey-payments-failure.js +0 -146
- package/test/events/payments/journey-payments-legacy-product.js +0 -149
- package/test/events/payments/journey-payments-one-time-failure.js +0 -111
- package/test/events/payments/journey-payments-one-time.js +0 -136
- package/test/events/payments/journey-payments-plan-change.js +0 -144
- package/test/events/payments/journey-payments-refund-webhook.js +0 -180
- package/test/events/payments/journey-payments-suspend.js +0 -181
- package/test/events/payments/journey-payments-trial-cancel.js +0 -130
- package/test/events/payments/journey-payments-trial.js +0 -171
- package/test/events/payments/journey-payments-uid-resolution.js +0 -132
- package/test/events/payments/journey-payments-upgrade.js +0 -135
- package/test/fixtures/chargebee/invoice-one-time.json +0 -27
- package/test/fixtures/chargebee/subscription-active.json +0 -44
- package/test/fixtures/chargebee/subscription-cancelled.json +0 -42
- package/test/fixtures/chargebee/subscription-in-trial.json +0 -41
- package/test/fixtures/chargebee/subscription-legacy-plan.json +0 -41
- package/test/fixtures/chargebee/subscription-non-renewing.json +0 -41
- package/test/fixtures/chargebee/subscription-paused.json +0 -42
- package/test/fixtures/chargebee/webhook-payment-failed.json +0 -51
- package/test/fixtures/chargebee/webhook-subscription-created.json +0 -47
- package/test/fixtures/paypal/order-approved.json +0 -62
- package/test/fixtures/paypal/order-completed.json +0 -110
- package/test/fixtures/paypal/subscription-active.json +0 -76
- package/test/fixtures/paypal/subscription-cancelled.json +0 -50
- package/test/fixtures/paypal/subscription-suspended.json +0 -65
- package/test/fixtures/stripe/checkout-session-completed.json +0 -130
- package/test/fixtures/stripe/invoice-payment-failed.json +0 -148
- package/test/fixtures/stripe/invoice-subscription-payment-failed.json +0 -28
- package/test/fixtures/stripe/subscription-active.json +0 -161
- package/test/fixtures/stripe/subscription-canceled.json +0 -161
- package/test/fixtures/stripe/subscription-trialing.json +0 -161
- package/test/functions/admin/database-read.js +0 -134
- package/test/functions/admin/database-write.js +0 -159
- package/test/functions/admin/edit-post.js +0 -366
- package/test/functions/admin/firestore-query.js +0 -207
- package/test/functions/admin/firestore-read.js +0 -129
- package/test/functions/admin/firestore-write.js +0 -105
- package/test/functions/admin/get-stats.js +0 -115
- package/test/functions/admin/send-email.js +0 -119
- package/test/functions/admin/send-notification.js +0 -208
- package/test/functions/admin/write-repo-content.js +0 -223
- package/test/functions/general/add-marketing-contact.js +0 -335
- package/test/functions/general/fetch-post.js +0 -54
- package/test/functions/general/generate-uuid.js +0 -114
- package/test/functions/test/authenticate.js +0 -64
- package/test/functions/user/create-custom-token.js +0 -73
- package/test/functions/user/delete.js +0 -135
- package/test/functions/user/get-active-sessions.js +0 -111
- package/test/functions/user/get-subscription-info.js +0 -99
- package/test/functions/user/regenerate-api-keys.js +0 -156
- package/test/functions/user/resolve.js +0 -52
- package/test/functions/user/sign-out-all-sessions.js +0 -94
- package/test/functions/user/sign-up.js +0 -252
- package/test/functions/user/submit-feedback.js +0 -104
- package/test/functions/user/validate-settings.js +0 -82
- package/test/helpers/ai-request-payload.js +0 -300
- package/test/helpers/ai-test-provider.js +0 -202
- package/test/helpers/ai-tools-format.js +0 -383
- package/test/helpers/content/blog-auto-publisher.js +0 -484
- package/test/helpers/content/feed-parser.js +0 -528
- package/test/helpers/content/ghostii-blocks.js +0 -134
- package/test/helpers/content/ghostii-feed-integration.js +0 -404
- package/test/helpers/content/ghostii-write-article.js +0 -243
- package/test/helpers/environment.js +0 -230
- package/test/helpers/infer-contact.js +0 -113
- package/test/helpers/merge-line-files.js +0 -271
- package/test/helpers/payment/chargebee/parse-webhook.js +0 -413
- package/test/helpers/payment/chargebee/to-unified-one-time.js +0 -147
- package/test/helpers/payment/chargebee/to-unified-subscription.js +0 -648
- package/test/helpers/payment/paypal/parse-webhook.js +0 -539
- package/test/helpers/payment/paypal/to-unified-one-time.js +0 -382
- package/test/helpers/payment/paypal/to-unified-subscription.js +0 -820
- package/test/helpers/payment/stripe/parse-webhook.js +0 -447
- package/test/helpers/payment/stripe/to-unified-one-time.js +0 -306
- package/test/helpers/payment/stripe/to-unified-subscription.js +0 -708
- package/test/helpers/sanitize.js +0 -222
- package/test/helpers/slugify.js +0 -394
- package/test/helpers/storage.js +0 -194
- package/test/helpers/user.js +0 -755
- package/test/helpers/webhook-forward.js +0 -418
- package/test/mcp/discovery.js +0 -53
- package/test/mcp/oauth.js +0 -161
- package/test/mcp/protocol.js +0 -268
- package/test/mcp/roles.js +0 -188
- package/test/mcp/utils.js +0 -245
- package/test/routes/admin/create-post.js +0 -364
- package/test/routes/admin/database.js +0 -131
- package/test/routes/admin/deduplicate-image-alts.js +0 -190
- package/test/routes/admin/email.js +0 -114
- package/test/routes/admin/firestore-query.js +0 -204
- package/test/routes/admin/firestore.js +0 -127
- package/test/routes/admin/infer-contact.js +0 -218
- package/test/routes/admin/notification.js +0 -198
- package/test/routes/admin/post-resize-image.js +0 -184
- package/test/routes/admin/post.js +0 -368
- package/test/routes/admin/repo-content.js +0 -223
- package/test/routes/admin/stats.js +0 -112
- package/test/routes/content/post.js +0 -54
- package/test/routes/general/uuid.js +0 -115
- package/test/routes/marketing/campaign.js +0 -125
- package/test/routes/marketing/contact.js +0 -370
- package/test/routes/marketing/email-preferences.js +0 -292
- package/test/routes/marketing/push-send.js +0 -32
- package/test/routes/marketing/webhook-forward.js +0 -61
- package/test/routes/marketing/webhook.js +0 -639
- package/test/routes/payments/cancel.js +0 -140
- package/test/routes/payments/discount.js +0 -80
- package/test/routes/payments/dispute-alert.js +0 -320
- package/test/routes/payments/intent.js +0 -336
- package/test/routes/payments/portal.js +0 -92
- package/test/routes/payments/refund.js +0 -179
- package/test/routes/payments/trial-eligibility.js +0 -71
- package/test/routes/payments/webhook.js +0 -107
- package/test/routes/test/authenticate.js +0 -59
- package/test/routes/test/schema.js +0 -554
- package/test/routes/test/usage.js +0 -342
- package/test/routes/user/api-keys.js +0 -156
- package/test/routes/user/delete.js +0 -136
- package/test/routes/user/feedback.js +0 -104
- package/test/routes/user/sessions.js +0 -199
- package/test/routes/user/settings-validate.js +0 -82
- package/test/routes/user/signup.js +0 -542
- package/test/routes/user/subscription.js +0 -99
- package/test/routes/user/token.js +0 -73
- package/test/routes/user/user.js +0 -157
- package/test/rules/notifications.js +0 -410
- package/test/rules/payments-carts.js +0 -371
- package/test/rules/user.js +0 -396
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "in_1T31IoDEGraYraOkwNNohtXq",
|
|
3
|
-
"object": "invoice",
|
|
4
|
-
"account_country": "US",
|
|
5
|
-
"account_name": "ITW Staging",
|
|
6
|
-
"account_tax_ids": null,
|
|
7
|
-
"amount_due": 2000,
|
|
8
|
-
"amount_overpaid": 0,
|
|
9
|
-
"amount_paid": 0,
|
|
10
|
-
"amount_remaining": 2000,
|
|
11
|
-
"amount_shipping": 0,
|
|
12
|
-
"application": null,
|
|
13
|
-
"attempt_count": 1,
|
|
14
|
-
"attempted": true,
|
|
15
|
-
"auto_advance": false,
|
|
16
|
-
"automatic_tax": {
|
|
17
|
-
"disabled_reason": null,
|
|
18
|
-
"enabled": false,
|
|
19
|
-
"liability": null,
|
|
20
|
-
"provider": null,
|
|
21
|
-
"status": null
|
|
22
|
-
},
|
|
23
|
-
"automatically_finalizes_at": null,
|
|
24
|
-
"billing_reason": "manual",
|
|
25
|
-
"collection_method": "charge_automatically",
|
|
26
|
-
"created": 1771623118,
|
|
27
|
-
"currency": "usd",
|
|
28
|
-
"custom_fields": null,
|
|
29
|
-
"customer": "cus_U13Pt9XQOMdoQC",
|
|
30
|
-
"customer_account": null,
|
|
31
|
-
"customer_address": null,
|
|
32
|
-
"customer_email": null,
|
|
33
|
-
"customer_name": null,
|
|
34
|
-
"customer_phone": null,
|
|
35
|
-
"customer_shipping": null,
|
|
36
|
-
"customer_tax_exempt": "none",
|
|
37
|
-
"customer_tax_ids": [],
|
|
38
|
-
"default_payment_method": null,
|
|
39
|
-
"default_source": null,
|
|
40
|
-
"default_tax_rates": [],
|
|
41
|
-
"description": "(created by Stripe CLI)",
|
|
42
|
-
"discounts": [],
|
|
43
|
-
"due_date": null,
|
|
44
|
-
"effective_at": 1771623118,
|
|
45
|
-
"ending_balance": 0,
|
|
46
|
-
"footer": null,
|
|
47
|
-
"from_invoice": null,
|
|
48
|
-
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_1JFu2ZDEGraYraOk/test_YWNjdF8xSkZ1MlpERUdyYVlyYU9rLF9VMTNQYVlDRFlJcXlxbUtYZlBSSFNocno3d09LYTBGLDE2MjE2MzkyMg0200VZxEnWzY?s=ap",
|
|
49
|
-
"invoice_pdf": "https://pay.stripe.com/invoice/acct_1JFu2ZDEGraYraOk/test_YWNjdF8xSkZ1MlpERUdyYVlyYU9rLF9VMTNQYVlDRFlJcXlxbUtYZlBSSFNocno3d09LYTBGLDE2MjE2MzkyMg0200VZxEnWzY/pdf?s=ap",
|
|
50
|
-
"issuer": {
|
|
51
|
-
"type": "self"
|
|
52
|
-
},
|
|
53
|
-
"last_finalization_error": null,
|
|
54
|
-
"latest_revision": null,
|
|
55
|
-
"lines": {
|
|
56
|
-
"object": "list",
|
|
57
|
-
"data": [
|
|
58
|
-
{
|
|
59
|
-
"id": "il_1T31InDEGraYraOkdxUQqzZX",
|
|
60
|
-
"object": "line_item",
|
|
61
|
-
"amount": 2000,
|
|
62
|
-
"currency": "usd",
|
|
63
|
-
"description": "(created by Stripe CLI)",
|
|
64
|
-
"discount_amounts": [],
|
|
65
|
-
"discountable": true,
|
|
66
|
-
"discounts": [],
|
|
67
|
-
"invoice": "in_1T31IoDEGraYraOkwNNohtXq",
|
|
68
|
-
"livemode": false,
|
|
69
|
-
"metadata": {},
|
|
70
|
-
"parent": {
|
|
71
|
-
"invoice_item_details": {
|
|
72
|
-
"invoice_item": "ii_1T31InDEGraYraOk7AKHJH1R",
|
|
73
|
-
"proration": false,
|
|
74
|
-
"proration_details": {
|
|
75
|
-
"credited_items": null
|
|
76
|
-
},
|
|
77
|
-
"subscription": null
|
|
78
|
-
},
|
|
79
|
-
"subscription_item_details": null,
|
|
80
|
-
"type": "invoice_item_details"
|
|
81
|
-
},
|
|
82
|
-
"period": {
|
|
83
|
-
"end": 1771623117,
|
|
84
|
-
"start": 1771623117
|
|
85
|
-
},
|
|
86
|
-
"pretax_credit_amounts": [],
|
|
87
|
-
"pricing": {
|
|
88
|
-
"price_details": {
|
|
89
|
-
"price": "price_1T31InDEGraYraOkyU7YKWOU",
|
|
90
|
-
"product": "prod_U13P3zGuNnCD1p"
|
|
91
|
-
},
|
|
92
|
-
"type": "price_details",
|
|
93
|
-
"unit_amount_decimal": "2000"
|
|
94
|
-
},
|
|
95
|
-
"quantity": 1,
|
|
96
|
-
"subtotal": 2000,
|
|
97
|
-
"taxes": []
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"has_more": false,
|
|
101
|
-
"total_count": 1,
|
|
102
|
-
"url": "/v1/invoices/in_1T31IoDEGraYraOkwNNohtXq/lines"
|
|
103
|
-
},
|
|
104
|
-
"livemode": false,
|
|
105
|
-
"metadata": {},
|
|
106
|
-
"next_payment_attempt": null,
|
|
107
|
-
"number": "VKHSKUV5-0001",
|
|
108
|
-
"on_behalf_of": null,
|
|
109
|
-
"parent": null,
|
|
110
|
-
"payment_settings": {
|
|
111
|
-
"default_mandate": null,
|
|
112
|
-
"payment_method_options": null,
|
|
113
|
-
"payment_method_types": null
|
|
114
|
-
},
|
|
115
|
-
"period_end": 1771623118,
|
|
116
|
-
"period_start": 1771623118,
|
|
117
|
-
"post_payment_credit_notes_amount": 0,
|
|
118
|
-
"pre_payment_credit_notes_amount": 0,
|
|
119
|
-
"receipt_number": null,
|
|
120
|
-
"rendering": {
|
|
121
|
-
"amount_tax_display": null,
|
|
122
|
-
"pdf": {
|
|
123
|
-
"page_size": "letter"
|
|
124
|
-
},
|
|
125
|
-
"template": null,
|
|
126
|
-
"template_version": null
|
|
127
|
-
},
|
|
128
|
-
"shipping_cost": null,
|
|
129
|
-
"shipping_details": null,
|
|
130
|
-
"starting_balance": 0,
|
|
131
|
-
"statement_descriptor": null,
|
|
132
|
-
"status": "open",
|
|
133
|
-
"status_transitions": {
|
|
134
|
-
"finalized_at": 1771623118,
|
|
135
|
-
"marked_uncollectible_at": null,
|
|
136
|
-
"paid_at": null,
|
|
137
|
-
"voided_at": null
|
|
138
|
-
},
|
|
139
|
-
"subtotal": 2000,
|
|
140
|
-
"subtotal_excluding_tax": 2000,
|
|
141
|
-
"test_clock": null,
|
|
142
|
-
"total": 2000,
|
|
143
|
-
"total_discount_amounts": [],
|
|
144
|
-
"total_excluding_tax": 2000,
|
|
145
|
-
"total_pretax_credit_amounts": [],
|
|
146
|
-
"total_taxes": [],
|
|
147
|
-
"webhooks_delivered_at": null
|
|
148
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "in_test_sub_payment_failed",
|
|
3
|
-
"object": "invoice",
|
|
4
|
-
"amount_due": 999,
|
|
5
|
-
"amount_paid": 0,
|
|
6
|
-
"amount_remaining": 999,
|
|
7
|
-
"attempt_count": 1,
|
|
8
|
-
"attempted": true,
|
|
9
|
-
"billing_reason": "subscription_cycle",
|
|
10
|
-
"collection_method": "charge_automatically",
|
|
11
|
-
"created": 1771623118,
|
|
12
|
-
"currency": "usd",
|
|
13
|
-
"customer": "cus_test_sub_fail",
|
|
14
|
-
"livemode": false,
|
|
15
|
-
"metadata": {},
|
|
16
|
-
"parent": {
|
|
17
|
-
"subscription_details": {
|
|
18
|
-
"subscription": "sub_test_failed_sub",
|
|
19
|
-
"metadata": {
|
|
20
|
-
"uid": "test-uid-sub-fail"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"type": "subscription_details"
|
|
24
|
-
},
|
|
25
|
-
"status": "open",
|
|
26
|
-
"subtotal": 999,
|
|
27
|
-
"total": 999
|
|
28
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "sub_1T2SriDEGraYraOkoRJpFdul",
|
|
3
|
-
"object": "subscription",
|
|
4
|
-
"application": null,
|
|
5
|
-
"application_fee_percent": null,
|
|
6
|
-
"automatic_tax": {
|
|
7
|
-
"disabled_reason": null,
|
|
8
|
-
"enabled": false,
|
|
9
|
-
"liability": null
|
|
10
|
-
},
|
|
11
|
-
"billing_cycle_anchor": 1771490742,
|
|
12
|
-
"billing_cycle_anchor_config": null,
|
|
13
|
-
"billing_mode": {
|
|
14
|
-
"flexible": null,
|
|
15
|
-
"type": "classic"
|
|
16
|
-
},
|
|
17
|
-
"billing_thresholds": null,
|
|
18
|
-
"cancel_at": null,
|
|
19
|
-
"cancel_at_period_end": false,
|
|
20
|
-
"canceled_at": null,
|
|
21
|
-
"cancellation_details": {
|
|
22
|
-
"comment": null,
|
|
23
|
-
"feedback": null,
|
|
24
|
-
"reason": null
|
|
25
|
-
},
|
|
26
|
-
"collection_method": "charge_automatically",
|
|
27
|
-
"created": 1771490742,
|
|
28
|
-
"currency": "usd",
|
|
29
|
-
"customer": "cus_U0Tp5P43C5XJ1q",
|
|
30
|
-
"customer_account": null,
|
|
31
|
-
"days_until_due": null,
|
|
32
|
-
"default_payment_method": null,
|
|
33
|
-
"default_source": null,
|
|
34
|
-
"default_tax_rates": [],
|
|
35
|
-
"description": null,
|
|
36
|
-
"discounts": [],
|
|
37
|
-
"ended_at": null,
|
|
38
|
-
"invoice_settings": {
|
|
39
|
-
"account_tax_ids": null,
|
|
40
|
-
"issuer": {
|
|
41
|
-
"type": "self"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"items": {
|
|
45
|
-
"object": "list",
|
|
46
|
-
"data": [
|
|
47
|
-
{
|
|
48
|
-
"id": "si_U0TpmSSOvC7Xjx",
|
|
49
|
-
"object": "subscription_item",
|
|
50
|
-
"billing_thresholds": null,
|
|
51
|
-
"created": 1771490742,
|
|
52
|
-
"current_period_end": 1773909942,
|
|
53
|
-
"current_period_start": 1771490742,
|
|
54
|
-
"discounts": [],
|
|
55
|
-
"metadata": {},
|
|
56
|
-
"plan": {
|
|
57
|
-
"id": "price_1T2SrhDEGraYraOkV8ulwdCq",
|
|
58
|
-
"object": "plan",
|
|
59
|
-
"active": true,
|
|
60
|
-
"amount": 1500,
|
|
61
|
-
"amount_decimal": "1500",
|
|
62
|
-
"billing_scheme": "per_unit",
|
|
63
|
-
"created": 1771490741,
|
|
64
|
-
"currency": "usd",
|
|
65
|
-
"interval": "month",
|
|
66
|
-
"interval_count": 1,
|
|
67
|
-
"livemode": false,
|
|
68
|
-
"metadata": {},
|
|
69
|
-
"meter": null,
|
|
70
|
-
"nickname": null,
|
|
71
|
-
"product": "prod_U0TpXqHUuM0N5l",
|
|
72
|
-
"tiers_mode": null,
|
|
73
|
-
"transform_usage": null,
|
|
74
|
-
"trial_period_days": null,
|
|
75
|
-
"usage_type": "licensed"
|
|
76
|
-
},
|
|
77
|
-
"price": {
|
|
78
|
-
"id": "price_1T2SrhDEGraYraOkV8ulwdCq",
|
|
79
|
-
"object": "price",
|
|
80
|
-
"active": true,
|
|
81
|
-
"billing_scheme": "per_unit",
|
|
82
|
-
"created": 1771490741,
|
|
83
|
-
"currency": "usd",
|
|
84
|
-
"custom_unit_amount": null,
|
|
85
|
-
"livemode": false,
|
|
86
|
-
"lookup_key": null,
|
|
87
|
-
"metadata": {},
|
|
88
|
-
"nickname": null,
|
|
89
|
-
"product": "prod_U0TpXqHUuM0N5l",
|
|
90
|
-
"recurring": {
|
|
91
|
-
"interval": "month",
|
|
92
|
-
"interval_count": 1,
|
|
93
|
-
"meter": null,
|
|
94
|
-
"trial_period_days": null,
|
|
95
|
-
"usage_type": "licensed"
|
|
96
|
-
},
|
|
97
|
-
"tax_behavior": "unspecified",
|
|
98
|
-
"tiers_mode": null,
|
|
99
|
-
"transform_quantity": null,
|
|
100
|
-
"type": "recurring",
|
|
101
|
-
"unit_amount": 1500,
|
|
102
|
-
"unit_amount_decimal": "1500"
|
|
103
|
-
},
|
|
104
|
-
"quantity": 1,
|
|
105
|
-
"subscription": "sub_1T2SriDEGraYraOkoRJpFdul",
|
|
106
|
-
"tax_rates": []
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"has_more": false,
|
|
110
|
-
"total_count": 1,
|
|
111
|
-
"url": "/v1/subscription_items?subscription=sub_1T2SriDEGraYraOkoRJpFdul"
|
|
112
|
-
},
|
|
113
|
-
"latest_invoice": "in_1T2SriDEGraYraOkYBRwklYt",
|
|
114
|
-
"livemode": false,
|
|
115
|
-
"metadata": {},
|
|
116
|
-
"next_pending_invoice_item_invoice": null,
|
|
117
|
-
"on_behalf_of": null,
|
|
118
|
-
"pause_collection": null,
|
|
119
|
-
"payment_settings": {
|
|
120
|
-
"payment_method_options": null,
|
|
121
|
-
"payment_method_types": null,
|
|
122
|
-
"save_default_payment_method": "off"
|
|
123
|
-
},
|
|
124
|
-
"pending_invoice_item_interval": null,
|
|
125
|
-
"pending_setup_intent": null,
|
|
126
|
-
"pending_update": null,
|
|
127
|
-
"plan": {
|
|
128
|
-
"id": "price_1T2SrhDEGraYraOkV8ulwdCq",
|
|
129
|
-
"object": "plan",
|
|
130
|
-
"active": true,
|
|
131
|
-
"amount": 1500,
|
|
132
|
-
"amount_decimal": "1500",
|
|
133
|
-
"billing_scheme": "per_unit",
|
|
134
|
-
"created": 1771490741,
|
|
135
|
-
"currency": "usd",
|
|
136
|
-
"interval": "month",
|
|
137
|
-
"interval_count": 1,
|
|
138
|
-
"livemode": false,
|
|
139
|
-
"metadata": {},
|
|
140
|
-
"meter": null,
|
|
141
|
-
"nickname": null,
|
|
142
|
-
"product": "prod_U0TpXqHUuM0N5l",
|
|
143
|
-
"tiers_mode": null,
|
|
144
|
-
"transform_usage": null,
|
|
145
|
-
"trial_period_days": null,
|
|
146
|
-
"usage_type": "licensed"
|
|
147
|
-
},
|
|
148
|
-
"quantity": 1,
|
|
149
|
-
"schedule": null,
|
|
150
|
-
"start_date": 1771490742,
|
|
151
|
-
"status": "active",
|
|
152
|
-
"test_clock": null,
|
|
153
|
-
"transfer_data": null,
|
|
154
|
-
"trial_end": null,
|
|
155
|
-
"trial_settings": {
|
|
156
|
-
"end_behavior": {
|
|
157
|
-
"missing_payment_method": "create_invoice"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"trial_start": null
|
|
161
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "sub_1T2SsEDEGraYraOk6QdGfzvj",
|
|
3
|
-
"object": "subscription",
|
|
4
|
-
"application": null,
|
|
5
|
-
"application_fee_percent": null,
|
|
6
|
-
"automatic_tax": {
|
|
7
|
-
"disabled_reason": null,
|
|
8
|
-
"enabled": false,
|
|
9
|
-
"liability": null
|
|
10
|
-
},
|
|
11
|
-
"billing_cycle_anchor": 1771490774,
|
|
12
|
-
"billing_cycle_anchor_config": null,
|
|
13
|
-
"billing_mode": {
|
|
14
|
-
"flexible": null,
|
|
15
|
-
"type": "classic"
|
|
16
|
-
},
|
|
17
|
-
"billing_thresholds": null,
|
|
18
|
-
"cancel_at": null,
|
|
19
|
-
"cancel_at_period_end": false,
|
|
20
|
-
"canceled_at": 1771490778,
|
|
21
|
-
"cancellation_details": {
|
|
22
|
-
"comment": null,
|
|
23
|
-
"feedback": null,
|
|
24
|
-
"reason": "cancellation_requested"
|
|
25
|
-
},
|
|
26
|
-
"collection_method": "charge_automatically",
|
|
27
|
-
"created": 1771490774,
|
|
28
|
-
"currency": "usd",
|
|
29
|
-
"customer": "cus_U0TpvrT6VjrQQC",
|
|
30
|
-
"customer_account": null,
|
|
31
|
-
"days_until_due": null,
|
|
32
|
-
"default_payment_method": null,
|
|
33
|
-
"default_source": null,
|
|
34
|
-
"default_tax_rates": [],
|
|
35
|
-
"description": null,
|
|
36
|
-
"discounts": [],
|
|
37
|
-
"ended_at": 1771490778,
|
|
38
|
-
"invoice_settings": {
|
|
39
|
-
"account_tax_ids": null,
|
|
40
|
-
"issuer": {
|
|
41
|
-
"type": "self"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"items": {
|
|
45
|
-
"object": "list",
|
|
46
|
-
"data": [
|
|
47
|
-
{
|
|
48
|
-
"id": "si_U0TpJN0D7TmMxw",
|
|
49
|
-
"object": "subscription_item",
|
|
50
|
-
"billing_thresholds": null,
|
|
51
|
-
"created": 1771490774,
|
|
52
|
-
"current_period_end": 1773909974,
|
|
53
|
-
"current_period_start": 1771490774,
|
|
54
|
-
"discounts": [],
|
|
55
|
-
"metadata": {},
|
|
56
|
-
"plan": {
|
|
57
|
-
"id": "price_1T2SsEDEGraYraOkUDA5v4xo",
|
|
58
|
-
"object": "plan",
|
|
59
|
-
"active": true,
|
|
60
|
-
"amount": 1500,
|
|
61
|
-
"amount_decimal": "1500",
|
|
62
|
-
"billing_scheme": "per_unit",
|
|
63
|
-
"created": 1771490774,
|
|
64
|
-
"currency": "usd",
|
|
65
|
-
"interval": "month",
|
|
66
|
-
"interval_count": 1,
|
|
67
|
-
"livemode": false,
|
|
68
|
-
"metadata": {},
|
|
69
|
-
"meter": null,
|
|
70
|
-
"nickname": null,
|
|
71
|
-
"product": "prod_U0TpeTyFoNvPuf",
|
|
72
|
-
"tiers_mode": null,
|
|
73
|
-
"transform_usage": null,
|
|
74
|
-
"trial_period_days": null,
|
|
75
|
-
"usage_type": "licensed"
|
|
76
|
-
},
|
|
77
|
-
"price": {
|
|
78
|
-
"id": "price_1T2SsEDEGraYraOkUDA5v4xo",
|
|
79
|
-
"object": "price",
|
|
80
|
-
"active": true,
|
|
81
|
-
"billing_scheme": "per_unit",
|
|
82
|
-
"created": 1771490774,
|
|
83
|
-
"currency": "usd",
|
|
84
|
-
"custom_unit_amount": null,
|
|
85
|
-
"livemode": false,
|
|
86
|
-
"lookup_key": null,
|
|
87
|
-
"metadata": {},
|
|
88
|
-
"nickname": null,
|
|
89
|
-
"product": "prod_U0TpeTyFoNvPuf",
|
|
90
|
-
"recurring": {
|
|
91
|
-
"interval": "month",
|
|
92
|
-
"interval_count": 1,
|
|
93
|
-
"meter": null,
|
|
94
|
-
"trial_period_days": null,
|
|
95
|
-
"usage_type": "licensed"
|
|
96
|
-
},
|
|
97
|
-
"tax_behavior": "unspecified",
|
|
98
|
-
"tiers_mode": null,
|
|
99
|
-
"transform_quantity": null,
|
|
100
|
-
"type": "recurring",
|
|
101
|
-
"unit_amount": 1500,
|
|
102
|
-
"unit_amount_decimal": "1500"
|
|
103
|
-
},
|
|
104
|
-
"quantity": 1,
|
|
105
|
-
"subscription": "sub_1T2SsEDEGraYraOk6QdGfzvj",
|
|
106
|
-
"tax_rates": []
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"has_more": false,
|
|
110
|
-
"total_count": 1,
|
|
111
|
-
"url": "/v1/subscription_items?subscription=sub_1T2SsEDEGraYraOk6QdGfzvj"
|
|
112
|
-
},
|
|
113
|
-
"latest_invoice": "in_1T2SsEDEGraYraOkXXfDCnRe",
|
|
114
|
-
"livemode": false,
|
|
115
|
-
"metadata": {},
|
|
116
|
-
"next_pending_invoice_item_invoice": null,
|
|
117
|
-
"on_behalf_of": null,
|
|
118
|
-
"pause_collection": null,
|
|
119
|
-
"payment_settings": {
|
|
120
|
-
"payment_method_options": null,
|
|
121
|
-
"payment_method_types": null,
|
|
122
|
-
"save_default_payment_method": "off"
|
|
123
|
-
},
|
|
124
|
-
"pending_invoice_item_interval": null,
|
|
125
|
-
"pending_setup_intent": null,
|
|
126
|
-
"pending_update": null,
|
|
127
|
-
"plan": {
|
|
128
|
-
"id": "price_1T2SsEDEGraYraOkUDA5v4xo",
|
|
129
|
-
"object": "plan",
|
|
130
|
-
"active": true,
|
|
131
|
-
"amount": 1500,
|
|
132
|
-
"amount_decimal": "1500",
|
|
133
|
-
"billing_scheme": "per_unit",
|
|
134
|
-
"created": 1771490774,
|
|
135
|
-
"currency": "usd",
|
|
136
|
-
"interval": "month",
|
|
137
|
-
"interval_count": 1,
|
|
138
|
-
"livemode": false,
|
|
139
|
-
"metadata": {},
|
|
140
|
-
"meter": null,
|
|
141
|
-
"nickname": null,
|
|
142
|
-
"product": "prod_U0TpeTyFoNvPuf",
|
|
143
|
-
"tiers_mode": null,
|
|
144
|
-
"transform_usage": null,
|
|
145
|
-
"trial_period_days": null,
|
|
146
|
-
"usage_type": "licensed"
|
|
147
|
-
},
|
|
148
|
-
"quantity": 1,
|
|
149
|
-
"schedule": null,
|
|
150
|
-
"start_date": 1771490774,
|
|
151
|
-
"status": "canceled",
|
|
152
|
-
"test_clock": null,
|
|
153
|
-
"transfer_data": null,
|
|
154
|
-
"trial_end": null,
|
|
155
|
-
"trial_settings": {
|
|
156
|
-
"end_behavior": {
|
|
157
|
-
"missing_payment_method": "create_invoice"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"trial_start": null
|
|
161
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "sub_1T2Sv0DEGraYraOkYSU3tfYm",
|
|
3
|
-
"object": "subscription",
|
|
4
|
-
"application": null,
|
|
5
|
-
"application_fee_percent": null,
|
|
6
|
-
"automatic_tax": {
|
|
7
|
-
"disabled_reason": null,
|
|
8
|
-
"enabled": false,
|
|
9
|
-
"liability": null
|
|
10
|
-
},
|
|
11
|
-
"billing_cycle_anchor": 1771577346,
|
|
12
|
-
"billing_cycle_anchor_config": null,
|
|
13
|
-
"billing_mode": {
|
|
14
|
-
"flexible": null,
|
|
15
|
-
"type": "classic"
|
|
16
|
-
},
|
|
17
|
-
"billing_thresholds": null,
|
|
18
|
-
"cancel_at": null,
|
|
19
|
-
"cancel_at_period_end": false,
|
|
20
|
-
"canceled_at": null,
|
|
21
|
-
"cancellation_details": {
|
|
22
|
-
"comment": null,
|
|
23
|
-
"feedback": null,
|
|
24
|
-
"reason": null
|
|
25
|
-
},
|
|
26
|
-
"collection_method": "charge_automatically",
|
|
27
|
-
"created": 1771490946,
|
|
28
|
-
"currency": "usd",
|
|
29
|
-
"customer": "cus_U0Ts6oZ7oPlNan",
|
|
30
|
-
"customer_account": null,
|
|
31
|
-
"days_until_due": null,
|
|
32
|
-
"default_payment_method": null,
|
|
33
|
-
"default_source": null,
|
|
34
|
-
"default_tax_rates": [],
|
|
35
|
-
"description": null,
|
|
36
|
-
"discounts": [],
|
|
37
|
-
"ended_at": null,
|
|
38
|
-
"invoice_settings": {
|
|
39
|
-
"account_tax_ids": null,
|
|
40
|
-
"issuer": {
|
|
41
|
-
"type": "self"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"items": {
|
|
45
|
-
"object": "list",
|
|
46
|
-
"data": [
|
|
47
|
-
{
|
|
48
|
-
"id": "si_U0Tsz1kj4mzWg5",
|
|
49
|
-
"object": "subscription_item",
|
|
50
|
-
"billing_thresholds": null,
|
|
51
|
-
"created": 1771490946,
|
|
52
|
-
"current_period_end": 1771577346,
|
|
53
|
-
"current_period_start": 1771490946,
|
|
54
|
-
"discounts": [],
|
|
55
|
-
"metadata": {},
|
|
56
|
-
"plan": {
|
|
57
|
-
"id": "price_1T2SuzDEGraYraOkQxPibfiV",
|
|
58
|
-
"object": "plan",
|
|
59
|
-
"active": true,
|
|
60
|
-
"amount": 1500,
|
|
61
|
-
"amount_decimal": "1500",
|
|
62
|
-
"billing_scheme": "per_unit",
|
|
63
|
-
"created": 1771490945,
|
|
64
|
-
"currency": "usd",
|
|
65
|
-
"interval": "month",
|
|
66
|
-
"interval_count": 1,
|
|
67
|
-
"livemode": false,
|
|
68
|
-
"metadata": {},
|
|
69
|
-
"meter": null,
|
|
70
|
-
"nickname": null,
|
|
71
|
-
"product": "prod_U0TsJBVgyOkInl",
|
|
72
|
-
"tiers_mode": null,
|
|
73
|
-
"transform_usage": null,
|
|
74
|
-
"trial_period_days": null,
|
|
75
|
-
"usage_type": "licensed"
|
|
76
|
-
},
|
|
77
|
-
"price": {
|
|
78
|
-
"id": "price_1T2SuzDEGraYraOkQxPibfiV",
|
|
79
|
-
"object": "price",
|
|
80
|
-
"active": true,
|
|
81
|
-
"billing_scheme": "per_unit",
|
|
82
|
-
"created": 1771490945,
|
|
83
|
-
"currency": "usd",
|
|
84
|
-
"custom_unit_amount": null,
|
|
85
|
-
"livemode": false,
|
|
86
|
-
"lookup_key": null,
|
|
87
|
-
"metadata": {},
|
|
88
|
-
"nickname": null,
|
|
89
|
-
"product": "prod_U0TsJBVgyOkInl",
|
|
90
|
-
"recurring": {
|
|
91
|
-
"interval": "month",
|
|
92
|
-
"interval_count": 1,
|
|
93
|
-
"meter": null,
|
|
94
|
-
"trial_period_days": null,
|
|
95
|
-
"usage_type": "licensed"
|
|
96
|
-
},
|
|
97
|
-
"tax_behavior": "unspecified",
|
|
98
|
-
"tiers_mode": null,
|
|
99
|
-
"transform_quantity": null,
|
|
100
|
-
"type": "recurring",
|
|
101
|
-
"unit_amount": 1500,
|
|
102
|
-
"unit_amount_decimal": "1500"
|
|
103
|
-
},
|
|
104
|
-
"quantity": 1,
|
|
105
|
-
"subscription": "sub_1T2Sv0DEGraYraOkYSU3tfYm",
|
|
106
|
-
"tax_rates": []
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"has_more": false,
|
|
110
|
-
"total_count": 1,
|
|
111
|
-
"url": "/v1/subscription_items?subscription=sub_1T2Sv0DEGraYraOkYSU3tfYm"
|
|
112
|
-
},
|
|
113
|
-
"latest_invoice": "in_1T2Sv0DEGraYraOkRi6kQMI5",
|
|
114
|
-
"livemode": false,
|
|
115
|
-
"metadata": {},
|
|
116
|
-
"next_pending_invoice_item_invoice": null,
|
|
117
|
-
"on_behalf_of": null,
|
|
118
|
-
"pause_collection": null,
|
|
119
|
-
"payment_settings": {
|
|
120
|
-
"payment_method_options": null,
|
|
121
|
-
"payment_method_types": null,
|
|
122
|
-
"save_default_payment_method": "off"
|
|
123
|
-
},
|
|
124
|
-
"pending_invoice_item_interval": null,
|
|
125
|
-
"pending_setup_intent": "seti_1T2Sv1DEGraYraOkqUY8NXFI",
|
|
126
|
-
"pending_update": null,
|
|
127
|
-
"plan": {
|
|
128
|
-
"id": "price_1T2SuzDEGraYraOkQxPibfiV",
|
|
129
|
-
"object": "plan",
|
|
130
|
-
"active": true,
|
|
131
|
-
"amount": 1500,
|
|
132
|
-
"amount_decimal": "1500",
|
|
133
|
-
"billing_scheme": "per_unit",
|
|
134
|
-
"created": 1771490945,
|
|
135
|
-
"currency": "usd",
|
|
136
|
-
"interval": "month",
|
|
137
|
-
"interval_count": 1,
|
|
138
|
-
"livemode": false,
|
|
139
|
-
"metadata": {},
|
|
140
|
-
"meter": null,
|
|
141
|
-
"nickname": null,
|
|
142
|
-
"product": "prod_U0TsJBVgyOkInl",
|
|
143
|
-
"tiers_mode": null,
|
|
144
|
-
"transform_usage": null,
|
|
145
|
-
"trial_period_days": null,
|
|
146
|
-
"usage_type": "licensed"
|
|
147
|
-
},
|
|
148
|
-
"quantity": 1,
|
|
149
|
-
"schedule": null,
|
|
150
|
-
"start_date": 1771490946,
|
|
151
|
-
"status": "trialing",
|
|
152
|
-
"test_clock": null,
|
|
153
|
-
"transfer_data": null,
|
|
154
|
-
"trial_end": 1771577346,
|
|
155
|
-
"trial_settings": {
|
|
156
|
-
"end_behavior": {
|
|
157
|
-
"missing_payment_method": "create_invoice"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"trial_start": 1771490946
|
|
161
|
-
}
|