Skip to main content
POST
/
marketplace
/
setup
curl -X POST https://api.khaime.com/api/v1/partner/marketplace/setup \
  -H "X-API-Key: pk_sandbox_your_key" \
  -H "Content-Type: application/json" \
  -d '{"marketplace_name": "My Marketplace", "default_commission_rate": 10}'

Documentation Index

Fetch the complete documentation index at: https://docs.khaime.com/llms.txt

Use this file to discover all available pages before exploring further.

Setup Marketplace

Enable marketplace mode to manage sub-merchants, set commission rates, and process split payments.

Request Body

marketplace_name
string
required
Name of your marketplace.
default_commission_rate
number
Default commission percentage for sub-merchants (0-100).

Response

{
  "success": true,
  "data": {
    "marketplace_id": "mkt_abc123",
    "status": "active"
  }
}
curl -X POST https://api.khaime.com/api/v1/partner/marketplace/setup \
  -H "X-API-Key: pk_sandbox_your_key" \
  -H "Content-Type: application/json" \
  -d '{"marketplace_name": "My Marketplace", "default_commission_rate": 10}'