Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.barker.money/llms.txt

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

The fastest way to ship Barker yield in your app: one line of HTML.

Basic integration

<iframe
  src="https://barker.money/embed/your-product-slug"
  width="100%"
  height="640"
  frameborder="0"
  allow="clipboard-write"
></iframe>
The your-product-slug is shown in Portal → Products for each engine you have deployed. Configure once in Portal → Theme, applies to all your embeds:
TokenEffect
primaryButtons, links, focus rings
accentSecondary highlights
radiusBorder radius scale
fontFont family
logoReplaces the default brand mark
cta (multi-language)Custom call-to-action copy
Tokens are injected as CSS variables (--partner-primary, --partner-radius, …) into the embed root. The widget’s Tailwind theme reads these variables with sensible fallbacks — no inline styles needed.

URL parameters (legacy override)

For one-off testing or partners that haven’t moved to portal-based theming yet, you can override per-render via query params:
ParamExampleNotes
primaryColor?primaryColor=%23FF6600Hex (URL-encode #)
lang?lang=zhen / zh / zh-TW / ja / ko / uk
hideFooter?hideFooter=1Hide Barker attribution
Portal-configured theme always takes precedence over URL params for the same token.

Sizing

The widget is responsive but has a recommended minimum:
DeviceMin widthMin height
Desktop380px560px
Mobile320px600px
For mobile-first apps, render the iframe at 100vw × 100vh - <your-chrome>.

Production checklist

  • Slug points to a status: active engine (not pending_deploy)
  • Theme tokens configured in portal
  • CSP allows frame-src https://barker.money
  • Tested on mobile viewport
  • lang matches your app’s i18n
  • If you’re a regulated entity, set up inbound webhook for partner.user.kyc_updated so the engine gates deposits on KYC tier