{
  "_meta": {
    "template_version": 0
  },
  "fixtures": [
    {
      "name": "customer",
      "path": "/v1/customers",
      "method": "post",
      "params": {
        "description": "(created by Stripe CLI)",
        "source": "tok_visa"
      }
    },
    {
      "name": "plan",
      "path": "/v1/plans",
      "method": "post",
      "params": {
        "currency": "usd",
        "interval": "month",
        "amount": 2000,
        "product": {
          "name": "myproduct"
        }
      }
    },
    {
      "name": "subscription",
      "path": "/v1/subscriptions",
      "method": "post",
      "params": {
        "customer": "${customer:id}",
        "items": [
          {
            "plan": "${plan:id}"
          }
        ]
      }
    },
    {
      "name": "subscription_updated",
      "path": "/v1/subscriptions/${subscription:id}",
      "method": "post",
      "params": {
        "metadata": {
          "foo": "bar"
        }
      }
    }
  ]
}
