Skip to main content

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.

Customization

Configure the checkout modal’s appearance to match your brand.

Theme Options

const khaime = Khaime.init({
  merchantId: 'YOUR_MERCHANT_ID',
  theme: {
    primaryColor: '#5469d4',
    borderRadius: '8px',
    fontFamily: 'Inter, sans-serif',
  },
});

Available Options

OptionTypeDefaultDescription
primaryColorstring#1a1a2ePrimary button and accent color
borderRadiusstring12pxBorder radius for the modal
fontFamilystringSystem font stackCustom font family
logostringMerchant logoURL to your logo
showPoweredBybooleantrueShow “Powered by Khaime” footer

Locale

The checkout adapts to the customer’s currency. Currency symbols, formatting, and available payment methods update automatically.