> For the complete documentation index, see [llms.txt](https://docs.lighter.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lighter.xyz/integrations/partner-attribution.md).

# Partner Attribution

The Partner Attribution Program allows third-party integrators to build on top of Lighter and offer its trading infrastructure through their own frontend. Integrators can configure trading fees for users accessing Lighter through their interface, within global limits set by Lighter.

#### Integrator Fees

Integrators may configure fees for both spot and perpetual markets.

Global limits set by Lighter:

* Perpetual markets: up to 10 bps, or 0.1%
* Spot markets: up to 100bps, or 1%
* Minimum fee increment: 0.01 bps

#### Requirements

Trades containing partner attribution attributes with non-zero integrator fees will require the client submitting them to be on a Plus or Premium [account type](https://apidocs.lighter.xyz/docs/account-types). To check the account type of a client, you can use the [accountLimits](https://apidocs.lighter.xyz/reference/accountlimits) endpoint. To change account type, use [changeAccountTier](https://apidocs.lighter.xyz/reference/changeaccounttier), or click on your account type in the [Portfolio](https://app.lighter.xyz/portfolio) page. Zero-fee attribution (tracking only) works on any account type, including Standard.

#### User Approval

Before fees can be applied, the user must sign a message approving the integrator’s fee configuration.

This approval:

* authorizes the integrator to charge the configured fees
* includes an expiry period (if integrator decides to include one)
* can be revoked by the user at any time

The approval's signature requirements depend on whether the integrator and user share the same L1 account, and on whether fees are non-zero.

* Different L1 accounts, non-zero fees: L1 approval + L2 confirmation
* Same L1 account, or zero fees: L2 confirmation only

#### Begin your Integration:

API Docs: <https://apidocs.lighter.xyz/docs/partner-integration>

Python SDK: <https://pypi.org/project/lighter-sdk/>
