---
title: "Create external fees provider"
method: POST
path: "/api/sites/multiscreen/{site_name}/ecommerce/fees-providers"
tags: ["External Fees Providers"]
---

# Create external fees provider

`POST /api/sites/multiscreen/{site_name}/ecommerce/fees-providers`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/fees-providers`
- Auth: HTTP basic

Creates an external fees provider from a live fees URL and an optional test fees URL, the endpoints Duda's ecommerce service contacts to retrieve fees for a cart; the test URL falls back to the live URL when left out. Returns the created provider.

## Path parameters

- `site_name` string, required

## Request body

- ExternalFeesProviderRequestDto
  - `live_fees_url` string, required: Live url used to fetch the associated fees of a cart. Must be a valid https url
  - `test_fees_url` string, nullable: Optional test url used to fetch the associated fees of a cart in test mode. Will default to the live url if not provided. Must be a valid https url

## Response `201`

Created

- ExternalFeesProviderResponseDto
  - `id` string: System identifier of the external fees provider
  - `live_fees_url` string: Live url used to fetch the associated fees of a cart. Must be a valid https url
  - `test_fees_url` string: Optional test url used to fetch the associated fees of a cart in test mode. Will default to the live url if not provided. Must be a valid https url

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `429`: Too many requests. The rate limit was exceeded.

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
