Marketplace
Get Merchant Details
Retrieve detailed information about a specific sub-merchant.
GET
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.
Get Merchant Details
Retrieve comprehensive information about a specific sub-merchant in your marketplace, including their profile, payout configuration, commission settings, and statistics.Path Parameters
The ID of the sub-merchant to retrieve.
Response
Response Fields
profile
| Field | Type | Description |
|---|---|---|
business_name | string | Merchant’s business name |
business_email | string | Merchant’s email address |
business_phone | string | Merchant’s phone number |
business_country | string | 2-letter ISO country code |
subdomain | string | Khaime subdomain |
custom_domain | string | Custom domain if configured |
created_at | string | Account creation timestamp |
marketplace
| Field | Type | Description |
|---|---|---|
marketplace_id | number | Your marketplace ID |
status | string | Relationship status: active, suspended |
commission_rate | number | Commission rate (0-1, e.g., 0.08 = 8%) |
joined_at | string | When merchant joined the marketplace |
payout
| Field | Type | Description |
|---|---|---|
status | string | not_configured, pending_onboarding, or active |
baseline_currency | string | Merchant’s base currency (e.g., NGN, USD) |
payout_ready | boolean | Whether payout account has been verified/configured |
charge_eligible | boolean | Whether the merchant can receive charges right now. false means any charge with sub_merchant_id pointing to this merchant will be blocked |
details | object | Payout configuration details (see below) |
payout.details (Bank Transfer - NG, GH, ZA, KE)
payout.details (International Transfer - US, GB, etc.)
kyc
| Field | Type | Description |
|---|---|---|
verification_status | string | Overall KYC stage (see values below) |
submission | object | null | Latest KYC submission, or null if none submitted |
submission.id | number | Submission ID |
submission.status | string | Submission-level status |
submission.business_type | string | individual or registered_business |
submission.settlement_currency | string | Currency locked for payouts |
submission.country_mismatch | boolean | true if identity and bank countries differ |
submission.rejection_reason | string | null | Set when status is rejected |
submission.submitted_at | string | ISO 8601 submission timestamp |
submission.reviewed_at | string | null | ISO 8601 review timestamp, or null if pending |
kyc.verification_status values
| Value | Description |
|---|---|
kyc_not_started | No KYC submitted yet |
kyc_pending_review | Awaiting review |
kyc_approved | Approved — payout account may be active |
kyc_rejected | Rejected — resubmission required |
kyc_additional_info_requested | Reviewer requested more documents |
kyc_revoked | Previously approved KYC revoked |
settings
| Field | Type | Description |
|---|---|---|
custom_platform_fee | number | Custom platform fee override |
custom_international_fee | number | Custom international fee override |
customer_pays_transaction_fee | boolean | Whether customer pays transaction fees |
stats
| Field | Type | Description |
|---|---|---|
product_count | number | Total products created by merchant |
Payout Status Values
| Status | Description |
|---|---|
not_configured | Payout has not been set up |
pending_onboarding | Payout initiated but onboarding incomplete (Stripe countries only) |
active | Payout is fully configured and verified |
Use
charge_eligible rather than status or payout_ready to determine whether you can charge this merchant. A merchant with status: active and payout_ready: true will still have charge_eligible: false if their real-time payout account (Gravv for NGN, Stripe connected account for international) is not in place. Call Setup Merchant Payout to resolve this.Error Codes
| Status | Error | Fix |
|---|---|---|
403 | This endpoint is restricted to marketplace operators | Your account must have marketplace mode enabled |
404 | Merchant not found in your marketplace | The merchant is not linked to your marketplace |
404 | Merchant not found | The merchant account doesn’t exist |
Full Setup Flow
Before a sub-merchant can receive charges, complete the following steps:For local bank countries (NG, GH, ZA, KE), submitting KYC with full bank details can auto-verify
payout in one step — no separate payout setup call needed if
kyc.verification_status comes back
as kyc_approved and payout.charge_eligible is already true.| Country group | charge_eligible: true when |
|---|---|
NGN (NG) | KYC approved with bank details (auto) or after separate payout setup |
StartButton (GH, ZA, KE) | KYC approved with bank details (auto) or after separate payout setup |
Stripe (US, GB, CA, EU) | After merchant completes Stripe onboarding via onboarding_url |
