> ## Documentation Index
> Fetch the complete documentation index at: https://terminal49-sinan-dev-10929-support-initial-shipment-and-per.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: Terminal49ClientConfig

> Terminal49ClientConfig interface for the TypeScript SDK, configuring API token, base URL, default response format, retry count, and custom fetch implementation.

# Interface: Terminal49ClientConfig

Configuration for [Terminal49Client](/sdk/reference/client/classes/Terminal49Client).

## Properties

| Property                                           | Type                                                                         | Description                                                                                                                                                                |
| -------------------------------------------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="property-accountid" /> `accountId?`         | `string`                                                                     | Account id to send as `x-account-id` for user-scoped bearer tokens.                                                                                                        |
| <a id="property-apibaseurl" /> `apiBaseUrl?`       | `string`                                                                     | API base URL. Defaults to `https://api.terminal49.com/v2`.                                                                                                                 |
| <a id="property-apitoken" /> `apiToken`            | `string`                                                                     | Terminal49 API token. Pass either the raw token or a value prefixed with `Token ` or `Bearer `.                                                                            |
| <a id="property-defaultformat" /> `defaultFormat?` | [`ResponseFormat`](/sdk/reference/types/options/type-aliases/ResponseFormat) | Default response format for methods that support mapped responses. Defaults to `raw`.                                                                                      |
| <a id="property-fetchimpl" /> `fetchImpl?`         | (`input`, `init?`) => `Promise`\<`Response`>                                 | Optional fetch implementation, useful for tests or custom runtimes.                                                                                                        |
| <a id="property-maxretries" /> `maxRetries?`       | `number`                                                                     | Number of retry attempts for rate-limit and server errors. Defaults to `2`.                                                                                                |
| <a id="property-timeoutms" /> `timeoutMs?`         | `number`                                                                     | Per-request timeout in milliseconds. A hung request is aborted once it elapses and rejected with a `TimeoutError`. Defaults to `30000`. Set to `0` to disable the timeout. |
