GoPayLocal Documentation
Give your global customers fair, localized pricing with one script tag.
<!-- Add one script tag. That's it. --><script src="https://api.gopaylocal.com/v1/banner/script.js?key=YOUR_KEY" async></script>Start building
Section titled “Start building” Quickstart Add PPP discounts to your site in under 5 minutes with a single script tag.
How It Works Understand how GoPayLocal detects location, calculates discounts, and displays banners.
Key Concepts Products, campaigns, parity groups, pricing modes, and more.
SDKs & Banner
Section titled “SDKs & Banner” Banner Script Drop-in script tag that shows a localized discount banner. Zero config required.
React SDK Components and hooks for building PPP-aware pricing in React and Next.js.
JavaScript SDK Imperative API for vanilla JS, Vue, Svelte, and any framework.
Integrations & API
Section titled “Integrations & API” Integrations Connect Stripe, Paddle, Dodo Payments, Lemon Squeezy, Gumroad, and more.
API Reference REST API for products, campaigns, analytics, and webhooks.
Platform Guides Step-by-step guides for Next.js, Remix, Astro, WordPress, Shopify, and more.
Advanced
Section titled “Advanced” Pricing Modes Country grouping, PPP factor-based, or custom per-country discounts.
Charm Pricing Currency-aware rounding so discounted prices look natural everywhere.
VPN Detection Block discount abuse with ASN and IP-based VPN/proxy detection.
A/B Testing Test discount levels per country and measure conversion impact.