> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.nibtravelinsurance.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.nibtravelinsurance.com/_mcp/server.

# Discounts

## Campaign codes

nib travel  supports configurable campaign codes. (Or promo codes) These need to be configured ahead of time as part of the campaign setup by the nib partnership team for the brand and products in question.

### API format specification

The following segment shows how to enable a campaign code to be configured in the system and can be passed via the API:

```javascript
input : {
"campaignCode" : PROMOCODETEST
}
```

## Partner Discounts

nib travel supports partner discounts overrides. These need to be set to override the default configured ones, and apply in addition to the campaign code discounts.

For example, *a 5% campaign code with a 5% partner discount override will result in a total 10% partner discount.*

The following overrides are supported so long as only 1 option is passed through as part of the API request:

* discountPercentage - Overrides the percentage amount.
* newTotalAmount - Overrides the total amount in dollars.
* discountAmount - Overrides the discount amount in dollars.

### API format specification

The following segment shows how to set a partner discount via the Quotes API:

```javascript
"partnerDiscount":
{
    "discountPercentage":10,
    "newTotalAmount":15,
    "discountAmount":89.00
}
```