Getting Started with Commercial API

Introduction

The WithSecure Commercial API offers a comprehensive set of endpoints exclusively for WithSecure™ partners operating in the Total Volume business model.

The WithSecure™ Commercial API is designed to fulfill the following use cases:

  1. Listing existing subscriptions.
  2. Automated provisioning of Total Volume usage or quantity-based subscriptions.
  3. Listing resellers (for distributors)

Total Volume business model

The WithSecure Commercial API enables our partners to automate commercial transactions using the WithSecure Total Volume business model.

In the Total Volume business model, all subscriptions are:

  • Continuous until terminated
  • Priced according to the frame agreement between WithSecure and the partner
  • Invoiced monthly based on active subscriptions during the billing period

Total Volume subscriptions have two types:

  1. Usage-based — invoicing is based on the number of active assets during the month
  2. Quantity-based — invoicing is based on active order quantities during the month

To gain access to the WithSecure™ Commercial API, please contact the WithSecure™ Support Team or your WithSecure™ account manager.

Terminology

  • Buyer - used to refer to a partner, for example, in ‘buyer_account_id’
  • Service Partner (SEP) - Organization hierarchy where customer account is placed in Elements Security Center
  • Licensees - used interchangeably with ‘companies’ and ’end-customers’
  • Users - used to refer to administrators (admin users)
  • EPP - Endpoint Protection
  • EDR - Endpoint Detection and Response

Using the Commercial API

Our Commercial API is designed to provide full functionality for business transactions that are needed to provision and manage changes on WithSecure™ Total Volume subscriptions through the API. In other words, the API automatically creates and updates accounts for the licensees when needed. There is no need for a partner system that uses the API to have logic to manage the licensee account life cycle.

Business Transactions (Normal subscriptions)

Business transactionEndpoint to useNotes
Provision a new subscription for a new licenseeCreate new subscriptionA licensee name together with an ID assigned, address and contact data will be used to create a new licensee account to provision first subscription for the licensee.
Provision a new subscription for an existing licenseeCreate new subscriptionAn ID assigned to a licensee account with name, address and contact data can be used to provision additional subscriptions for the same licensee.
Increase a subscription quantityChange subscriptionProvide the “modify_subscription” object to set a new quantity.
Decrease a subscription quantityChange subscriptionProvide the “modify_subscription” object to set a new quantity. Note: New quantity must be greater or equal to the actual usage of the subscription. Any additional computers reserving licenses must be deleted in advance by using the WithSecure™ Elements Security Center or Elements API.
Upgrade a subscription productChange subscriptionProvide the “change_product” object to support upgrading, for example, from WithSecure™ Elements EPP for Computers to WithSecure™ Elements EPP for Computers Premium. The endpoints take the new product into use immediately.
Change a licensee name for the accountCreate new subscription or Change subscriptionProvide new name in the corresponding parameter to set a new name to a licensee account with specified assigned ID.
Grant a new admin user access to the portalCreate new subscription or Change subscriptionCreate an administrator account in the portal for managing the product. When you create a new account, the new administrator receives a welcome email. Note: Revoke access is not supported in the current version of API.
Listing subscriptionsGet subscriptions endpointsTypically Partners retrieve subscription(s) for their invoicing purposes.
Terminate a subscriptionTerminate subscriptionTerminate subscription under a licensee.
Retrieve the subscription detailsGet subscription by keyRetrieve the Total Volume subscription details for the specific subscription key, allowing partners to verify/check their subscriptions.
Retrieve subscriptions under a licenseeGet subscriptions by buyer assigned account IdUsed by Resellers to retrieve subscriptions details under a licensee by using partner’s buyer assigned account Id for the licensee, allowing partners to verify/check subscriptions for a licensee.
Retrieve subscriptions under a resellerGet subscriptions by reseller account idRetrieve the subscription details list under the specific reseller, allowing partners to verify/check subscriptions for resellers and licensees. To get list of Total Volume resellers Get Total Volume resellers endpoint should be used
Retrieve list of Total Volume resellers by DistributorGet Total Volume ResellersUsed by Distributors to get list of Distributor Contracted Resellers with Total Volume Frame Agreement under specific Distributor.
Retrieve usage related to usage based subscriptionsGet UsageAPI provide functionality to fetch aggregated Total Volume subscription usage information for billing purposes through API. Returns only usage related to usage based subscriptions, does not return information about quantity based subscriptions.

Authentication and authorization

You must request access to the Commercial API from WithSecure™. We will provide you with separate system credentials together with business partner identifiers.

A partner system that calls the Commercial API needs to provide the given HTTPS credentials using a basic authentication scheme (RFC 7617) and initiating the HTTPS calls from allowed IP addresses. HTTPS credentials must match the allowed partner ID that defines the legal companies involved in the business transactions.

  • licensee_party - identifies the end-customer company that will use the subscription
  • buyer_account_id - identifies the partner’s legal company that uses the Commercial API

The WithSecure™ legal company that sells the subscription is linked to the partner ID and is managed within WithSecure™.

WithSecure™ provides the needed identifiers when the test and production environments have been created for you.

Supported products

Commercial API supports only Total Volume products.

As a partner, you can manage your customers Total Volume subscriptions. Create WithSecure Business Account for Elements Security Center access account for customers either through the Commercial API or Elements Security Center.

ProductCommercial product name (EXTERNAL)Allowed product changes to
W00163WithSecure™ Elements EPP for ComputersW00164, W00166
W00164WithSecure™ Elements EPP for Computers PremiumW00166, W00163
W00165WithSecure™ Elements EPP for Mobiles-
W00166WithSecure™ Elements EDR and EPP for Computers PremiumW00163, W00164
W00167WithSecure™ Elements EPP for ServersW00168, W00169
W00168WithSecure™ Elements EPP for Servers PremiumW00167, W00169
W00169WithSecure™ Elements EDR and EPP for Servers PremiumW00167, W00168
W00170WithSecure™ Elements Collaboration Protection-
W00171WithSecure™ Elements EDR for ComputersW00163, W00164, W00166
W00172WithSecure™ Elements EDR for ServersW00167, W00168, W00169
W00173WithSecure™ Elements Vulnerability Management-
W00146WithSecure™ Elements Exposure Management Frontline Add-on-
W00151WithSecure™ Elements MDR for Endpoints-
W00152WithSecure™ Elements MDR for Identities-
W00154WithSecure™ Elements Co-Monitoring Service Out of Office-
W00155WithSecure™ Elements Co-Monitoring Service 24/7-

Rollback

If there is a failure when you are creating a user or making changes to a subscription, the changes are rolled back.

Technical environments

For users with full-access, WithSecure™ provides two sets of system credentials: one for testing purposes and the other for production environments. This ensures that testing data remains separate from production data.

For users with read-only access, WithSecure™ only provides system credentials for the production environment.