Sha256: e7e375d3b0d7733d57afdae98f9bf040698e1a07c8b6a98c158ba9746397104c

Contents?: true

Size: 1.9 KB

Versions: 2

Compression:

Stored size: 1.9 KB

Contents

{
  "created": 1326853478,
  "livemode": false,
  "id": "evt_00000000000000",
  "type": "invoice.created",
  "object": "event",
  "data": {
    "object": {
      "date": 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",
              "name": "Member's Club",
              "amount": 100,
              "currency": "usd",
              "id": "fkx0AFo",
              "object": "plan",
              "livemode": false,
              "interval_count": 1,
              "trial_period_days": null,
              "metadata": {}
            },
            "description": null,
            "metadata": null,
            "subscription": "su_00000000000000"
          }
        ]
      },
      "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,
      "tax_percent": 0,
      "tax": 0,
      "invoice_pdf": "pdf_url"
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tang-0.0.9 spec/fixtures/stripe_webhooks/invoice.created.json
tang-0.0.8 spec/fixtures/stripe_webhooks/invoice.created.json