{
  "_meta": {
    "template_version": 0
  },
  "fixtures": [
    {
      "name": "customer",
      "path": "/v1/customers",
      "method": "post",
      "params": {
        "description": "(created by Stripe CLI)",
        "source": "tok_visa"
      }
    },
    {
      "name": "product",
      "path": "/v1/products",
      "method": "post",
      "params": {
          "name": "myproduct",
          "description": "(created by Stripe CLI)"
      }
    },
    {
      "name": "price",
      "path": "/v1/prices",
      "method": "post",
      "params": {
        "product": "${product:id}",
        "unit_amount": "1500",
        "currency": "usd",
        "recurring[interval]": "month"
      }
    },
    {
      "name": "subscription_schedule",
      "path": "/v1/subscription_schedules",
      "method": "post",
      "params": {
        "customer": "${customer:id}",
        "start_date": "now",
        "phases": {
          "0": {
            "iterations": 1,
            "items": [
              {
                "price": "${price:id}",
                "quantity": 1
              }
            ]
          },
          "1": {
            "iterations": 1,
            "items": [
              {
                "price": "${price:id}",
                "quantity": 2
              }
            ]
          }
        }
      }
    },
    {
      "name": "subscription_schedule_released",
      "path": "/v1/subscription_schedules/${subscription_schedule:id}",
      "method": "post",
      "params": {
        "metadata": {
          "foo": "bar"
        }
      }
    }
  ]
}
