{
  "opencollection": "1.0.0",
  "info": {
    "name": "Schematic accesstokens Checkout API",
    "version": "0.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Schematic-Api-Key",
      "value": "{{X-Schematic-Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "checkout",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Checkout internal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.schematichq.com/checkout-internal",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Checkout internal"
        },
        {
          "info": {
            "name": "Get checkout data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.schematichq.com/checkout-internal/data",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get checkout data"
        },
        {
          "info": {
            "name": "Preview checkout internal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.schematichq.com/checkout-internal/preview",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Preview checkout internal"
        },
        {
          "info": {
            "name": "Manage plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.schematichq.com/manage-plan",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Manage plan"
        },
        {
          "info": {
            "name": "Preview manage plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.schematichq.com/manage-plan/preview",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Preview manage plan"
        },
        {
          "info": {
            "name": "Cancel subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.schematichq.com/manage-plan/subscription/cancel",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancel subscription"
        },
        {
          "info": {
            "name": "Update customer subscription trial end",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.schematichq.com/subscription/:subscription_id/edit-trial-end",
            "params": [
              {
                "name": "subscription_id",
                "value": "",
                "type": "path",
                "description": "subscription_id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update customer subscription trial end"
        }
      ]
    }
  ],
  "bundled": true
}