business.salesInfo.get

Retrieve comprehensive details about a specific Business Sales Information entity.

POST http://api.kompliant.com/business.salesInfo.get (OpenAPI specification)

Usage Info

Retrieve comprehensive sales information for a business, including card brand acceptance, sales channel distribution, and revenue metrics.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
sales_info_idstringYesThe identifier for the Sales Info entity.

Example

{
  "sales_info_id": "bsi_697YYEtrLpod105bhCoSjd"
}

Response

Data

ParameterTypeDescription
sales_infoobjectThe sales info parameter is defined in the table below.

Sales Info Parameters

ParameterTypeDescription
sales_info_idstringThe identifier for the Sales Info entity.
card_brandsarrayList of additional card brands to accept beyond Visa and Mastercard. Must be one or more of the CARD_BRANDS. Currently only AMEX is supported.
sales_methodobjectDistribution of sales across different channels. All percentages must total 100. The sales method parameter is defined in the table below.
sales_amountarray of objectsSales revenue statistics for the business. Each entry requires a type, value, and currency. The sales amount parameters are defined in the table below.

Sales Method Parameters

ParameterTypeDescription
retailintegerPercentage of retail sales (in-person transactions). For example, 25 means 25%.
telephoneintegerPercentage of telephone sales (phone-based transactions). For example, 25 means 25%.
onlineintegerPercentage of online sales (web-based transactions). For example, 25 means 25%.
keyedintegerPercentage of keyed sales (manually entered transactions). For example, 25 means 25%.

Sales Amount Parameters

ParameterTypeDescription
typestringStatistic type. Must be one of SALES_AMOUNT_TYPES.
valuenumberMonetary value for the sales statistic (e.g., 50000 for $50,000).
currencystringCurrency code for the sales amount information. Must be one of the CURRENCIES. Currently only USD is supported.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_3XsPP17u8mU3k29x944ygx",
    "version": "2025-03-24"
  },
  "data": {
    "sales_info": {
      "sales_info_id": "bsi_697YYEtrLpod105bhCoSjd",
      "card_brands": [
        "AMEX"
      ],
      "sales_method": {
        "retail": 25,
        "telephone": 25,
        "online": 25,
        "keyed": 25
      },
      "sales_amount": [
        {
          "type": "AVERAGE_MONTHLY_CREDIT_SALES",
          "value": 999,
          "currency": "USD"
        },
        {
          "type": "AVERAGE_INDIVIDUAL_SALE",
          "value": 99,
          "currency": "USD"
        },
        {
          "type": "HIGHEST_TICKET_SALE",
          "value": 199,
          "currency": "USD"
        }
      ]
    }
  }
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST 400Required parameters not provided.
Invalid values provided.
ENTITY_NOT_FOUND 400The sales_info_id provided does not exist.