{
  "opencollection": "1.0.0",
  "info": {
    "name": "1Password Connect Server Accounts API",
    "version": "1.8.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "1Password Create a Partner Billing Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8080/partners/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new third-party partner billing account for a customer through the partner billing service. Returns the activation token used to create a partner billing link for the customer to complete provisioning. Append the activation token to a 1Password partnership redemption link to create the customer's partner billing link."
        },
        {
          "info": {
            "name": "1Password Get Partner Billing Account Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8080/partners/accounts/:accountUid",
            "params": [
              {
                "name": "accountUid",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the customer's billing account, supplied by the partner. Can be up to 200 characters long with alphanumeric characters (A-Z, a-z, 0-9), hyphens, and periods."
              }
            ]
          },
          "docs": "Returns details about a customer's partner billing account, including the account type, domain, status, activation token, and scheduled end date if applicable."
        },
        {
          "info": {
            "name": "1Password Update a Partner Billing Account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8080/partners/accounts/:accountUid",
            "params": [
              {
                "name": "accountUid",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the customer's billing account, supplied by the partner. Can be up to 200 characters long with alphanumeric characters (A-Z, a-z, 0-9), hyphens, and periods."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the date and time a customer's billing account is scheduled to be removed from the partner billing service. Use this endpoint to extend or shorten the billing period for a customer."
        },
        {
          "info": {
            "name": "1Password Delete a Partner Billing Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8080/partners/accounts/:accountUid",
            "params": [
              {
                "name": "accountUid",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the customer's billing account, supplied by the partner. Can be up to 200 characters long with alphanumeric characters (A-Z, a-z, 0-9), hyphens, and periods."
              }
            ]
          },
          "docs": "Deactivates and removes a customer's third-party billing account from the partner billing service. After deletion, GET requests will no longer return account information for the customer account UID."
        }
      ]
    }
  ],
  "bundled": true
}