---
title: "Get commission settings"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Get commission settings

Path: Nicer API › Commerce

`GET /commerce/commission-settings`

URL: `https://api.nicer.travel/commerce/commission-settings`

The company's commission settings (the default payment term, paid tolerance, archive rules, payouts, whether the GDS reservation import records commission, whether its members may use commission tracking, version), its agency identifiers with payment instructions, the host relationships it is part of (memberships, from one day until another), its split plans with their rules and its current and future assignments (to itself, its advisors and its members), and the import and export presets it may use (built in and its own). A company that never wrote a commission answers the defaults. Admins and staff.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Header parameters

- `x-nicer-company` (`commerce.commissionSettings.list.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API.

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
  headers: { "x-nicer-company": process.env.NICER_COMPANY },
});

await nicer.commerce.commissionSettings.list();
```

### Nicer CLI

```bash
nicer commerce commission-settings list --company "$NICER_COMPANY"
```

### cURL

```bash
curl --request GET \
  --url https://api.nicer.travel/commerce/commission-settings \
  --header 'Authorization: Bearer <token>' \
  --header 'x-nicer-company: string'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/commerce/commission-settings';
const options = {
  method: 'GET',
  headers: {'x-nicer-company': 'string', Authorization: 'Bearer <token>'}
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/commerce/commission-settings"

headers = {
    "x-nicer-company": "string",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "exportPresets": [
    {
      "columns": [
        "string"
      ],
      "companyName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "format": "CSV",
      "groupBy": "string",
      "name": "string",
      "presetId": "string",
      "subject": "COMMISSION_ITEMS",
      "totalsOnly": true,
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "hostRelationships": [
    {
      "claimWindowDays": 3650,
      "effectiveFrom": "2019-08-24",
      "effectiveTo": "2019-08-24",
      "hostCompanyName": "string",
      "identifierId": "string",
      "memberCompanyName": "string"
    }
  ],
  "identifiers": [
    {
      "companyName": "string",
      "identifierId": "string",
      "isDefault": true,
      "kind": "IATA",
      "label": "string",
      "number": "string",
      "paymentInstructions": {
        "checkPayableTo": "string",
        "mailingAddress": "string",
        "notes": "string"
      }
    }
  ],
  "importPresets": [
    {
      "companyName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "presetId": "string",
      "updatedAt": "2019-08-24T14:15:22Z",
      "channel": null,
      "kind": "BOOKINGS",
      "mapping": {
        "columns": {
          "property1": "string",
          "property2": "string"
        },
        "defaults": {
          "property1": "string",
          "property2": "string"
        },
        "dateFormat": "ISO",
        "decimalSeparator": ".",
        "headerRow": 1,
        "sheet": "string"
      }
    }
  ],
  "settings": {
    "companyName": "string",
    "defaultPaymentTermDays": 730,
    "gdsImportCommissionEnabled": true,
    "paidToleranceMinor": 100000,
    "payouts": {
      "stripeConnectEnabled": true
    },
    "trackingEnabled": true,
    "unclaimedArchiveDays": 1,
    "updatedAt": "2019-08-24T14:15:22Z",
    "version": 9007199254740991
  },
  "splitPlanAssignments": [
    {
      "assigneeId": "string",
      "assigneeKind": "COMPANY",
      "companyName": "string",
      "effectiveFrom": "2019-08-24",
      "effectiveTo": "2019-08-24",
      "splitPlanId": "string"
    }
  ],
  "splitPlans": [
    {
      "companyName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "createdByUserId": "string",
      "name": "string",
      "rules": [
        {
          "basis": "GROSS",
          "beneficiaryId": "string",
          "beneficiaryKind": "HOST",
          "feeBearer": "HOUSE",
          "kind": "SHARE",
          "priority": 1000,
          "ruleId": "string",
          "scopeKind": "ALL",
          "scopeValue": "string",
          "shareBps": 10000
        }
      ],
      "splitPlanId": "string"
    }
  ]
}
```

- `exportPresets` (`commerce.commissionSettings.list.response.200.exportPresets`; array of object, required)
  - `columns` (`commerce.commissionSettings.list.response.200.exportPresets.columns`; array of string, required)
    - pattern: `^[A-Z][A-Z0-9_]{0,63}$`
  - `companyName` (`commerce.commissionSettings.list.response.200.exportPresets.companyName`; any of, required)
    - any of the following: `string`, `null`
  - `createdAt` (`commerce.commissionSettings.list.response.200.exportPresets.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `format` (`commerce.commissionSettings.list.response.200.exportPresets.format`; string, required)
    - one of `"CSV"`, `"XLSX"`, `"PDF"`
  - `groupBy` (`commerce.commissionSettings.list.response.200.exportPresets.groupBy`; any of, required)
    - any of the following: `ExportColumn`, `null`
  - `name` (`commerce.commissionSettings.list.response.200.exportPresets.name`; string, required)
    - maxLength: `100` · minLength: `1`
  - `presetId` (`commerce.commissionSettings.list.response.200.exportPresets.presetId`; string, required)
    - minLength: `1`
  - `subject` (`commerce.commissionSettings.list.response.200.exportPresets.subject`; string, required)
    - one of `"COMMISSION_ITEMS"`, `"PAYMENTS"`, `"REMITTANCES"`, `"STATEMENTS"`, `"SUPPLIERS"`, `"PAYEES"`, `"PAYOUTS"`, `"COMMISSION_INVOICES"`, `"EARNINGS"`
  - `totalsOnly` (`commerce.commissionSettings.list.response.200.exportPresets.totalsOnly`; boolean, required)
  - `updatedAt` (`commerce.commissionSettings.list.response.200.exportPresets.updatedAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
- `hostRelationships` (`commerce.commissionSettings.list.response.200.hostRelationships`; array of object, required)
  - `claimWindowDays` (`commerce.commissionSettings.list.response.200.hostRelationships.claimWindowDays`; any of, required)
    - any of the following: `integer`, `null`
  - `effectiveFrom` (`commerce.commissionSettings.list.response.200.hostRelationships.effectiveFrom`; string, required)
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `effectiveTo` (`commerce.commissionSettings.list.response.200.hostRelationships.effectiveTo`; any of, required)
    - any of the following: `string`, `null`
  - `hostCompanyName` (`commerce.commissionSettings.list.response.200.hostRelationships.hostCompanyName`; string, required)
    - minLength: `1`
  - `identifierId` (`commerce.commissionSettings.list.response.200.hostRelationships.identifierId`; string, required)
    - minLength: `1`
  - `memberCompanyName` (`commerce.commissionSettings.list.response.200.hostRelationships.memberCompanyName`; string, required)
    - minLength: `1`
- `identifiers` (`commerce.commissionSettings.list.response.200.identifiers`; array of object, required)
  - `companyName` (`commerce.commissionSettings.list.response.200.identifiers.companyName`; string, required)
    - minLength: `1`
  - `identifierId` (`commerce.commissionSettings.list.response.200.identifiers.identifierId`; string, required)
    - minLength: `1`
  - `isDefault` (`commerce.commissionSettings.list.response.200.identifiers.isDefault`; boolean, required)
  - `kind` (`commerce.commissionSettings.list.response.200.identifiers.kind`; string, required)
    - one of `"IATA"`, `"ARC"`, `"CLIA"`, `"TIDS"`, `"TRUE"`, `"INTERNAL"`
  - `label` (`commerce.commissionSettings.list.response.200.identifiers.label`; any of, required)
    - any of the following: `string`, `null`
  - `number` (`commerce.commissionSettings.list.response.200.identifiers.number`; string, required)
    - minLength: `1`
  - `paymentInstructions` (`commerce.commissionSettings.list.response.200.identifiers.paymentInstructions`; any of, required)
    - any of the following:
      - `PaymentInstructions`
        - `checkPayableTo` (`PaymentInstructions.checkPayableTo`; any of, required)
          - any of the following: `string`, `null`
        - `mailingAddress` (`PaymentInstructions.mailingAddress`; any of, required)
          - any of the following: `string`, `null`
        - `notes` (`PaymentInstructions.notes`; any of, required)
          - any of the following: `string`, `null`
      - `null`
- `importPresets` (`commerce.commissionSettings.list.response.200.importPresets`; array of ImportPreset, required)
  - every option has:
    - `companyName` (`<option>.companyName`; any of, required)
      - any of the following: `string`, `null`
    - `createdAt` (`<option>.createdAt`; string, required)
      - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
    - `name` (`<option>.name`; string, required)
      - minLength: `1`
    - `presetId` (`<option>.presetId`; string, required)
      - minLength: `1`
    - `updatedAt` (`<option>.updatedAt`; string, required)
      - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
    - `kind` (`<option>.kind`; string, required)
    - `mapping` (`<option>.mapping`; object, required)
      - `columns` (`<option>.mapping.columns`; map of string, required)
      - `defaults` (`<option>.mapping.defaults`; map of string, required)
      - `dateFormat` (`<option>.mapping.dateFormat`; string, required)
        - one of `"ISO"`, `"US"`, `"EU"`
      - `decimalSeparator` (`<option>.mapping.decimalSeparator`; string, required)
        - one of `"."`, `","`
      - `headerRow` (`<option>.mapping.headerRow`; integer, required)
        - maximum: `50` · minimum: `1`
      - `sheet` (`<option>.mapping.sheet`; any of, required)
        - any of the following: `string`, `null`
  - one of the following, each adding:
    - `object` (`commerce.commissionSettings.list.response.200.importPresets.1`)
      - `channel` (`commerce.commissionSettings.list.response.200.importPresets.1.channel`; null, required)
    - `object` (`commerce.commissionSettings.list.response.200.importPresets.2`)
      - `channel` (`commerce.commissionSettings.list.response.200.importPresets.2.channel`; any of, required)
        - any of the following: `CommissionChannel`, `null`
- `settings` (`commerce.commissionSettings.list.response.200.settings`; object, required)
  - `companyName` (`commerce.commissionSettings.list.response.200.settings.companyName`; string, required)
    - minLength: `1`
  - `defaultPaymentTermDays` (`commerce.commissionSettings.list.response.200.settings.defaultPaymentTermDays`; integer, required)
    - maximum: `730` · minimum: `0`
  - `gdsImportCommissionEnabled` (`commerce.commissionSettings.list.response.200.settings.gdsImportCommissionEnabled`; boolean, required)
  - `paidToleranceMinor` (`commerce.commissionSettings.list.response.200.settings.paidToleranceMinor`; integer, required)
    - maximum: `100000` · minimum: `0`
  - `payouts` (`commerce.commissionSettings.list.response.200.settings.payouts`; object, required)
    - `stripeConnectEnabled` (`commerce.commissionSettings.list.response.200.settings.payouts.stripeConnectEnabled`; boolean, required)
  - `trackingEnabled` (`commerce.commissionSettings.list.response.200.settings.trackingEnabled`; boolean, required)
  - `unclaimedArchiveDays` (`commerce.commissionSettings.list.response.200.settings.unclaimedArchiveDays`; any of, required)
    - any of the following: `integer`, `null`
  - `updatedAt` (`commerce.commissionSettings.list.response.200.settings.updatedAt`; any of, required)
    - any of the following: `string`, `null`
  - `version` (`commerce.commissionSettings.list.response.200.settings.version`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
- `splitPlanAssignments` (`commerce.commissionSettings.list.response.200.splitPlanAssignments`; array of object, required)
  - `assigneeId` (`commerce.commissionSettings.list.response.200.splitPlanAssignments.assigneeId`; string, required)
    - minLength: `1`
  - `assigneeKind` (`commerce.commissionSettings.list.response.200.splitPlanAssignments.assigneeKind`; string, required)
    - one of `"COMPANY"`, `"ADVISOR"`, `"MEMBER"`
  - `companyName` (`commerce.commissionSettings.list.response.200.splitPlanAssignments.companyName`; string, required)
    - minLength: `1`
  - `effectiveFrom` (`commerce.commissionSettings.list.response.200.splitPlanAssignments.effectiveFrom`; string, required)
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `effectiveTo` (`commerce.commissionSettings.list.response.200.splitPlanAssignments.effectiveTo`; any of, required)
    - any of the following: `string`, `null`
  - `splitPlanId` (`commerce.commissionSettings.list.response.200.splitPlanAssignments.splitPlanId`; string, required)
    - minLength: `1`
- `splitPlans` (`commerce.commissionSettings.list.response.200.splitPlans`; array of object, required)
  - `companyName` (`commerce.commissionSettings.list.response.200.splitPlans.companyName`; string, required)
    - minLength: `1`
  - `createdAt` (`commerce.commissionSettings.list.response.200.splitPlans.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `createdByUserId` (`commerce.commissionSettings.list.response.200.splitPlans.createdByUserId`; any of, required)
    - any of the following: `string`, `null`
  - `name` (`commerce.commissionSettings.list.response.200.splitPlans.name`; string, required)
    - maxLength: `100` · minLength: `1`
  - `rules` (`commerce.commissionSettings.list.response.200.splitPlans.rules`; array of object, required)
    - `basis` (`commerce.commissionSettings.list.response.200.splitPlans.rules.basis`; any of, required)
      - any of the following:
        - `string`: one of `"GROSS"`, `"NET_OF_FEES"`, `"NET_OF_HOST"`
        - `null`
    - `beneficiaryId` (`commerce.commissionSettings.list.response.200.splitPlans.rules.beneficiaryId`; any of, required)
      - any of the following: `string`, `null`
    - `beneficiaryKind` (`commerce.commissionSettings.list.response.200.splitPlans.rules.beneficiaryKind`; any of, required)
      - any of the following:
        - `string`: one of `"HOST"`, `"AGENCY"`, `"ADVISOR"`, `"REFERRER"`
        - `null`
    - `feeBearer` (`commerce.commissionSettings.list.response.200.splitPlans.rules.feeBearer`; any of, required)
      - any of the following:
        - `string`: one of `"HOUSE"`, `"ADVISOR"`, `"PRO_RATA"`
        - `null`
    - `kind` (`commerce.commissionSettings.list.response.200.splitPlans.rules.kind`; string, required)
      - one of `"SHARE"`, `"MARKUP"`
    - `priority` (`commerce.commissionSettings.list.response.200.splitPlans.rules.priority`; integer, required)
      - maximum: `1000` · minimum: `0`
    - `ruleId` (`commerce.commissionSettings.list.response.200.splitPlans.rules.ruleId`; string, required)
      - pattern: `^[A-Za-z0-9_-]{1,64}$`
    - `scopeKind` (`commerce.commissionSettings.list.response.200.splitPlans.rules.scopeKind`; string, required)
      - one of `"ALL"`, `"CATEGORY"`, `"SUPPLIER"`, `"ITEM_KIND"`, `"IDENTIFIER"`
    - `scopeValue` (`commerce.commissionSettings.list.response.200.splitPlans.rules.scopeValue`; any of, required)
      - any of the following: `string`, `null`
    - `shareBps` (`commerce.commissionSettings.list.response.200.splitPlans.rules.shareBps`; integer, required)
      - maximum: `10000` · minimum: `0`
  - `splitPlanId` (`commerce.commissionSettings.list.response.200.splitPlans.splitPlanId`; string, required)
    - minLength: `1`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.commissionSettings.list.response.400.errorCode`; string, required)
- `errorMessage` (`commerce.commissionSettings.list.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.commissionSettings.list.response.401.errorCode`; string, required)
- `errorMessage` (`commerce.commissionSettings.list.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.commissionSettings.list.response.403.errorCode`; string, required)
- `errorMessage` (`commerce.commissionSettings.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Commerce/commerce.commissionSettings.list/index.md
