DevPayr Documentation

Your payment-agnostic licensing and enforcement platform for developers, designers, agencies, and startups. DevPayr helps you protect your work, enforce ethical usage, and make sure clients cannot use your software unless they’ve paid for it — no matter what payment method you use.

Cover

No payment gateway required

Use your preferred payment gateway/method. DevPayr does not process payments. We only validate, license, and enforce access.

Cover

Licensing made simple

Create licenses, manage activations, restrict domains/devices, and control who can use your software.

Cover

SDKs & API

Drop-in SDKs with simple methods for license validation and enforcement. API also available for custom builds.

Get started in 5 minutes

Setting up your first project with DevPayr is fast and straightforward. Create a project → generate your API keys → add a license → integrate the SDK.

No complexity. No friction. Just clean APIs and easy enforcement.

Get started API reference

index.js
import { DevPayr } from '@xultech/devpayr';

DevPayr.bootstrap({
  license: 'YOUR-LICENSE',
  secret: 'your secret key',
  base_url: 'https://api.devpayr.com',
  action: 'boot',
  injectables: true,
  invalidBehavior: 'modal',
  onReady: (res) => console.log('✅', res)
});

Learn more about DevPayr

Browse guides, explore examples, and learn best practices for integrating DevPayr into your client projects or SaaS products.

  • How license validation works

  • Using callbacks to activate licenses after payment

  • Enforcing access with kill-switch patterns

  • SDK examples for PHP, PYTHON and JS

Guides Documentation

Join our community

We’re building a community of developers, designers, and creators who value who do not want their software pirated.

Discord community

Ask questions, share your integration, and learn from others.

GitHub

Submit examples, SDK improvements, and open-source contributions.

Last updated