Sha256: dcd6207761538598e0c0f9c3460b00211986077b7e0be37ae2e990e481cb5e91

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

{
  "created": 1326853478,
  "livemode": false,
  "id": "evt_00000000000000",
  "type": "invoice.created",
  "status": "paid",
  "object": "event",
  "api_version": "2020-08-27",
  "data": {
    "object": {
      "created": 1380674206,
      "id": "in_00000000000000",
      "period_start": 1378082075,
      "period_end": 1380674075,
      "lines": {
        "count": 1,
        "object": "list",
        "url": "/v1/invoices/in_00000000000000/lines",
        "data": [
          {
            "id": "su_2hksGtIPylSBg2",
            "object": "line_item",
            "type": "subscription",
            "livemode": true,
            "amount": 100,
            "currency": "usd",
            "proration": false,
            "period": {
              "start": 1383759042,
              "end": 1386351042
            },
            "quantity": 1,
            "plan": {
              "interval": "month",
              "amount": 100,
              "currency": "usd",
              "id": "fkx0AFo",
              "object": "plan",
              "livemode": false,
              "interval_count": 1,
              "trial_period_days": null,
              "product": "pr_00000000000000",
              "metadata": {}
            },
            "description": null,
            "metadata": null
          }
        ]
      },
      "subtotal": 1000,
      "total": 1000,
      "customer": "cus_00000000000000",
      "object": "invoice",
      "attempted": false,
      "closed": true,
      "paid": true,
      "livemode": false,
      "attempt_count": 1,
      "amount_due": 1000,
      "currency": "usd",
      "starting_balance": 0,
      "ending_balance": 0,
      "next_payment_attempt": null,
      "charge": "ch_00000000000000",
      "discount": null,
      "application_fee": null,
      "subscription": "sub_00000000000000",
      "metadata": {},
      "description": null,
      "invoice_pdf": "https://pay.stripe.com/invoice/acct_00000000000000/invst_00000000000000/pdf",
      "tax": null
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tang-0.2.1 spec/fixtures/stripe_webhooks/invoice.created.json
tang-0.2.0 spec/fixtures/stripe_webhooks/invoice.created.json