{
  "billing_cycle_anchor_config": null,
  "metadata": {
    "clientOrderId": "1708108209542-0909"
  },
  "cancel_at_period_end": false,
  "livemode": true,
  "pending_setup_intent": null,
  "pending_update": null,
  "canceled_at": null,
  "days_until_due": null,
  "description": null,
  "discount": null,
  "cancellation_details": {
    "feedback": null,
    "reason": null,
    "comment": null
  },
  "application_fee_percent": null,
  "pause_collection": null,
  "transfer_data": null,
  "currency": "usd",
  "id": "sub_1OkWCdHGybgi7uQGxQDhAQ51",
  "plan": {
    "interval_count": 1,
    "amount": 1000,
    "metadata": {},
    "product": "prod_NTqgh4twI9iM5M",
    "livemode": true,
    "created": 1678166597,
    "amount_decimal": "1000",
    "transform_usage": null,
    "active": true,
    "aggregate_usage": null,
    "billing_scheme": "per_unit",
    "trial_period_days": null,
    "tiers_mode": null,
    "usage_type": "licensed",
    "nickname": null,
    "currency": "usd",
    "interval": "month",
    "id": "price_1MiszZHGybgi7uQGN1U6jQfb",
    "object": "plan"
  },
  "current_period_start": 1709317923,
  "start_date": 1708108323,
  "invoice_settings": {
    "account_tax_ids": null,
    "issuer": {
      "type": "self"
    }
  },
  "payment_settings": {
    "save_default_payment_method": "off",
    "payment_method_types": null,
    "payment_method_options": null
  },
  "default_tax_rates": [],
  "test_clock": null,
  "latest_invoice": {
    "amount_paid": 0,
    "amount_remaining": 1000,
    "customer_shipping": null,
    "metadata": {},
    "total_tax_amounts": [],
    "livemode": true,
    "rendering_options": null,
    "discount": null,
    "amount_shipping": 0,
    "issuer": {
      "type": "self"
    },
    "statement_descriptor": null,
    "transfer_data": null,
    "number": null,
    "quote": null,
    "discounts": [],
    "auto_advance": true,
    "subtotal_excluding_tax": 1000,
    "period_start": 1708108323,
    "from_invoice": null,
    "amount_due": 1000,
    "id": "in_1OpasZHGybgi7uQG5VTF5H9H",
    "payment_settings": {
      "default_mandate": null,
      "payment_method_types": null,
      "payment_method_options": null
    },
    "customer_address": null,
    "test_clock": null,
    "paid_out_of_band": false,
    "on_behalf_of": null,
    "created": 1709317939,
    "custom_fields": null,
    "customer_phone": null,
    "ending_balance": null,
    "rendering": null,
    "tax": null,
    "period_end": 1709317923,
    "webhooks_delivered_at": 1709317941,
    "subscription_details": {
      "metadata": {
        "clientOrderId": "1708108209542-0909"
      }
    },
    "subtotal": 1000,
    "customer_email": "danashetler@aol.com",
    "payment_intent": null,
    "next_payment_attempt": 1709321539,
    "application_fee_amount": null,
    "object": "invoice",
    "status": "draft",
    "invoice_pdf": null,
    "footer": null,
    "shipping_details": null,
    "description": null,
    "subscription": "sub_1OkWCdHGybgi7uQGxQDhAQ51",
    "starting_balance": 0,
    "total": 1000,
    "pre_payment_credit_notes_amount": 0,
    "account_name": "StudyMonkey",
    "currency": "usd",
    "account_country": "US",
    "lines": {
      "data": [{
        "unit_amount_excluding_tax": "1000",
        "amount": 1000,
        "metadata": {
          "clientOrderId": "1708108209542-0909"
        },
        "period": {
          "start": 1709317923,
          "end": 1711996323
        },
        "quantity": 1,
        "livemode": true,
        "description": "1 × StudyMonkey Homework Helper Plus Essay (Monthly) (at $10.00 / month)",
        "subscription": "sub_1OkWCdHGybgi7uQGxQDhAQ51",
        "type": "subscription",
        "tax_amounts": [],
        "tax_rates": [],
        "proration": false,
        "discounts": [],
        "proration_details": {
          "credited_items": null
        },
        "price": {
          "tax_behavior": "unspecified",
          "metadata": {},
          "product": "prod_NTqgh4twI9iM5M",
          "livemode": true,
          "created": 1678166597,
          "recurring": {
            "interval_count": 1,
            "usage_type": "licensed",
            "aggregate_usage": null,
            "interval": "month",
            "trial_period_days": null
          },
          "active": true,
          "unit_amount_decimal": "1000",
          "billing_scheme": "per_unit",
          "unit_amount": 1000,
          "type": "recurring",
          "transform_quantity": null,
          "tiers_mode": null,
          "nickname": null,
          "lookup_key": null,
          "currency": "usd",
          "id": "price_1MiszZHGybgi7uQGN1U6jQfb",
          "custom_unit_amount": null,
          "object": "price"
        },
        "subscription_item": "si_PZfXxAfUaltBoA",
        "amount_excluding_tax": 1000,
        "currency": "usd",
        "id": "il_1OpasZHGybgi7uQGrdXjZR43",
        "invoice": "in_1OpasZHGybgi7uQG5VTF5H9H",
        "discountable": true,
        "plan": {
          "interval_count": 1,
          "amount": 1000,
          "metadata": {},
          "product": "prod_NTqgh4twI9iM5M",
          "livemode": true,
          "created": 1678166597,
          "amount_decimal": "1000",
          "transform_usage": null,
          "active": true,
          "aggregate_usage": null,
          "billing_scheme": "per_unit",
          "trial_period_days": null,
          "tiers_mode": null,
          "usage_type": "licensed",
          "nickname": null,
          "currency": "usd",
          "interval": "month",
          "id": "price_1MiszZHGybgi7uQGN1U6jQfb",
          "object": "plan"
        },
        "discount_amounts": [],
        "object": "line_item"
      }],
      "total_count": 1,
      "has_more": false,
      "url": "/v1/invoices/in_1OpasZHGybgi7uQG5VTF5H9H/lines",
      "object": "list"
    },
    "total_discount_amounts": [],
    "attempt_count": 0,
    "default_tax_rates": [],
    "charge": null,
    "last_finalization_error": null,
    "default_source": null,
    "shipping_cost": null,
    "total_excluding_tax": 1000,
    "post_payment_credit_notes_amount": 0,
    "default_payment_method": null,
    "due_date": null,
    "billing_reason": "subscription_cycle",
    "effective_at": null,
    "account_tax_ids": null,
    "automatic_tax": {
      "liability": null,
      "enabled": false,
      "status": null
    },
    "receipt_number": null,
    "application": null,
    "customer_tax_ids": [],
    "collection_method": "charge_automatically",
    "hosted_invoice_url": null,
    "paid": false,
    "attempted": false,
    "customer_name": null,
    "status_transitions": {
      "finalized_at": null,
      "paid_at": null,
      "voided_at": null,
      "marked_uncollectible_at": null
    },
    "customer": "cus_PZfXNP3mUW6xLb",
    "customer_tax_exempt": "none",
    "latest_revision": null
  },
  "quantity": 1,
  "default_source": null,
  "on_behalf_of": null,
  "created": 1708108323,
  "default_payment_method": "pm_1OkWCZHGybgi7uQGdBXhZSx8",
  "trial_end": 1709317923,
  "current_period_end": 1711996323,
  "pending_invoice_item_interval": null,
  "trial_settings": {
    "end_behavior": {
      "missing_payment_method": "pause"
    }
  },
  "billing_cycle_anchor": 1709317923,
  "schedule": null,
  "automatic_tax": {
    "liability": null,
    "enabled": false
  },
  "application": null,
  "collection_method": "charge_automatically",
  "trial_start": 1708108323,
  "billing_thresholds": null,
  "next_pending_invoice_item_invoice": null,
  "items": {
    "data": [{
      "metadata": {},
      "quantity": 1,
      "created": 1708108324,
      "price": {
        "tax_behavior": "unspecified",
        "metadata": {},
        "product": "prod_NTqgh4twI9iM5M",
        "livemode": true,
        "created": 1678166597,
        "recurring": {
          "interval_count": 1,
          "usage_type": "licensed",
          "aggregate_usage": null,
          "interval": "month",
          "trial_period_days": null
        },
        "active": true,
        "unit_amount_decimal": "1000",
        "billing_scheme": "per_unit",
        "unit_amount": 1000,
        "type": "recurring",
        "transform_quantity": null,
        "tiers_mode": null,
        "nickname": null,
        "lookup_key": null,
        "currency": "usd",
        "id": "price_1MiszZHGybgi7uQGN1U6jQfb",
        "custom_unit_amount": null,
        "object": "price"
      },
      "billing_thresholds": null,
      "id": "si_PZfXxAfUaltBoA",
      "subscription": "sub_1OkWCdHGybgi7uQGxQDhAQ51",
      "plan": {
        "interval_count": 1,
        "amount": 1000,
        "metadata": {},
        "product": "prod_NTqgh4twI9iM5M",
        "livemode": true,
        "created": 1678166597,
        "amount_decimal": "1000",
        "transform_usage": null,
        "active": true,
        "aggregate_usage": null,
        "billing_scheme": "per_unit",
        "trial_period_days": null,
        "tiers_mode": null,
        "usage_type": "licensed",
        "nickname": null,
        "currency": "usd",
        "interval": "month",
        "id": "price_1MiszZHGybgi7uQGN1U6jQfb",
        "object": "plan"
      },
      "tax_rates": [],
      "object": "subscription_item"
    }],
    "total_count": 1,
    "has_more": false,
    "url": "/v1/subscription_items?subscription=sub_1OkWCdHGybgi7uQGxQDhAQ51",
    "object": "list"
  },
  "ended_at": null,
  "object": "subscription",
  "cancel_at": null,
  "customer": "cus_PZfXNP3mUW6xLb",
  "status": "active"
}
