{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unlock Locksmith Applications Checkout API",
    "version": "2"
  },
  "items": [
    {
      "info": {
        "name": "Checkout",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getCheckoutConfig",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://locksmith.unlock-protocol.com/v2/checkout/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the checkout config"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "updateCheckoutConfig",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://locksmith.unlock-protocol.com/v2/checkout/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "This is optional. If you don't pass an ID, a new config will be created. If you pass an ID, the config will be created."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "A new checkout config is created or updated if it already exists"
        },
        {
          "info": {
            "name": "deleteCheckoutConfig",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://locksmith.unlock-protocol.com/v2/checkout/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the checkout config"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a checkout config"
        },
        {
          "info": {
            "name": "listCheckoutConfigs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://locksmith.unlock-protocol.com/v2/checkout/list",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "A list of all checkout configs created by the user"
        }
      ]
    }
  ],
  "bundled": true
}