{

"id": "evt_1BrsEiAT5SYrvIfdKoCZtqiY",
"object": "event",
"api_version": "2018-01-23",
"created": 1517768948,
"data": {
  "object": {
    "id": "in_1BrsEhAT5SYrvIfdlmd9sZns",
    "object": "invoice",
    "amount_due": 10000,
    "application_fee": null,
    "attempt_count": 0,
    "attempted": true,
    "billing": "charge_automatically",
    "charge": "ch_1BrsEhAT5SYrvIfdDOd8ifsb",
    "closed": true,
    "currency": "dkk",
    "customer": "cus_CGNFgjPGtHlvXI",
    "date": 1517768947,
    "description": null,
    "discount": null,
    "due_date": null,
    "ending_balance": 0,
    "forgiven": false,
    "lines": {
      "object": "list",
      "data": [
        {
          "id": "sub_CGP2EtRzfVystw",
          "object": "line_item",
          "amount": 10000,
          "currency": "dkk",
          "description": "1x Medium (at 100.00 kr)",
          "discountable": true,
          "livemode": false,
          "metadata": {
          },
          "period": {
            "start": 1517768947,
            "end": 1520188147
          },
          "plan": {
            "id": "medium",
            "object": "plan",
            "amount": 10000,
            "created": 1517762877,
            "currency": "dkk",
            "interval": "month",
            "interval_count": 1,
            "livemode": false,
            "metadata": {
            },
            "name": "Medium",
            "statement_descriptor": null,
            "trial_period_days": null
          },
          "proration": false,
          "quantity": 1,
          "subscription": null,
          "subscription_item": "si_CGP2ToZxkcfmed",
          "type": "subscription"
        }
      ],
      "has_more": false,
      "total_count": 1,
      "url": "/v1/invoices/in_1BrsEhAT5SYrvIfdlmd9sZns/lines"
    },
    "livemode": false,
    "metadata": {
    },
    "next_payment_attempt": null,
    "number": "a04598880b-0014",
    "paid": true,
    "period_end": 1517768947,
    "period_start": 1517768947,
    "receipt_number": null,
    "starting_balance": 0,
    "statement_descriptor": null,
    "subscription": "sub_CGP2EtRzfVystw",
    "subtotal": 10000,
    "tax": null,
    "tax_percent": null,
    "total": 10000,
    "webhooks_delivered_at": null
  }
},
"livemode": false,
"pending_webhooks": 1,
"request": {
  "id": "req_da68RQKwcXNaZ7",
  "idempotency_key": null
},
"type": "invoice.payment_succeeded",
"webhook": {
  "id": "evt_1BrsEiAT5SYrvIfdKoCZtqiY",
  "object": "event",
  "api_version": "2018-01-23",
  "created": 1517768948,
  "data": {
    "object": {
      "id": "in_1BrsEhAT5SYrvIfdlmd9sZns",
      "object": "invoice",
      "amount_due": 10000,
      "application_fee": null,
      "attempt_count": 0,
      "attempted": true,
      "billing": "charge_automatically",
      "charge": "ch_1BrsEhAT5SYrvIfdDOd8ifsb",
      "closed": true,
      "currency": "dkk",
      "customer": "cus_CGNFgjPGtHlvXI",
      "date": 1517768947,
      "description": null,
      "discount": null,
      "due_date": null,
      "ending_balance": 0,
      "forgiven": false,
      "lines": {
        "object": "list",
        "data": [
          {
            "id": "sub_CGP2EtRzfVystw",
            "object": "line_item",
            "amount": 10000,
            "currency": "dkk",
            "description": "1x Medium (at 100.00 kr)",
            "discountable": true,
            "livemode": false,
            "metadata": {
            },
            "period": {
              "start": 1517768947,
              "end": 1520188147
            },
            "plan": {
              "id": "medium",
              "object": "plan",
              "amount": 10000,
              "created": 1517762877,
              "currency": "dkk",
              "interval": "month",
              "interval_count": 1,
              "livemode": false,
              "metadata": {
              },
              "name": "Medium",
              "statement_descriptor": null,
              "trial_period_days": null
            },
            "proration": false,
            "quantity": 1,
            "subscription": null,
            "subscription_item": "si_CGP2ToZxkcfmed",
            "type": "subscription"
          }
        ],
        "has_more": false,
        "total_count": 1,
        "url": "/v1/invoices/in_1BrsEhAT5SYrvIfdlmd9sZns/lines"
      },
      "livemode": false,
      "metadata": {
      },
      "next_payment_attempt": null,
      "number": "a04598880b-0014",
      "paid": true,
      "period_end": 1517768947,
      "period_start": 1517768947,
      "receipt_number": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "subscription": "sub_CGP2EtRzfVystw",
      "subtotal": 10000,
      "tax": null,
      "tax_percent": null,
      "total": 10000,
      "webhooks_delivered_at": null
    }
  },
  "livemode": false,
  "pending_webhooks": 1,
  "request": {
    "id": "req_da68RQKwcXNaZ7",
    "idempotency_key": null
  },
  "type": "invoice.payment_succeeded"
}

}