Set Affiliate Address
Configure your affiliate address to receive a share of fees on all orders placed with your API key.Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
affiliateAddress | string | Yes | Valid Polygon address (0x + 40 hex chars) |
apiKey | string | No | API key to update (defaults to your authenticated key) |
Response
Error Responses
Invalid Address Format (400)How It Works
When you set an affiliate address via this API:- Immediate Effect - The change is written to Redis and takes effect immediately
- Persistence - The change is also written to S3 for persistence across service restarts
- Priority - Server-configured affiliate addresses take priority over client-provided values
Use Cases
Affiliate Platforms
If you’re building a platform that routes orders through Dome, configure your affiliate address to ensure you receive fee share on all orders:Multi-Tenant Platforms
If you manage multiple API keys for different users, you can configure each key individually:Related
- Fee Escrow - Learn about the fee escrow system
- Fee Escrow: Affiliate Configuration - Alternative ways to set affiliate addresses