Skip to main content
POST

Create Merchant

Register a new sub-merchant under your marketplace. If a Khaime account with the given email already exists, it will be linked automatically. Otherwise, a new account is created.

Request Body

business_name
string
required
Sub-merchant’s business name.
business_email
string
required
Sub-merchant’s email address.
business_password
string
Password for the new account. If omitted, a temporary password is auto-generated and returned in the response.
business_phone
string
Sub-merchant’s phone number.
business_country
string
2-letter ISO country code (e.g., US, NG).
commission_rate
number
Override the default marketplace commission for this merchant. Value between 0 and 1 (e.g., 0.08 for 8%). If omitted, uses the marketplace default.

Response

The temporary_password field is only returned when the system auto-generates a password (i.e., when business_password is not provided and a new account is created). Share this with the merchant so they can log in and change it.

Error Codes