Skip to content

CryptumPay WidgetAccept Crypto Payments Seamlessly

Integrate cryptocurrency payments into your website with a simple, elegant widget. No complex blockchain integration required.

CryptumPay Widget

Quick Example

Add cryptocurrency payments to your site in just a few lines:

html
<!-- Load the widget -->
<script
  src="https://cdn.cryptumpay.com/2.1.0/widget.min.js"
  async
  integrity="sha384-NnPaTbz0Hrc9z3aAQ+wGYBIvcasohADK8cU6TCOVQFkgbHA3XIxbLz0s2RDF94sO"
  crossorigin="anonymous"
></script>

<!-- Add payment button -->
<div id="payment-button"></div>

<script>
document.addEventListener('CryptumPay:ready', (event) => {
  const button = new event.detail.Button('payment-button');
  
  button.setOptions({
    projectId: 'your-project-id',
    projectOrderTitle: 'Premium Subscription',
    projectOrderDescription: 'Monthly subscription payment'
  });

  button.onFinishOrder((orderId, projectData) => {
    console.log('Payment completed!', orderId);
    // Redirect to success page or update UI
  });
});
</script>

Why CryptumPay Widget?

Easy Backend Integration

Use our Node.js SDK to create orders from your backend:

typescript
import { CryptumPayClient, CryptumPaySigner } from '@cryptumpay/node-sdk';

const client = new CryptumPayClient(
  new CryptumPaySigner(
    process.env.CRYPTUMPAY_API_KEY,
    process.env.CRYPTUMPAY_API_SECRET
  )
);

const response = await client.createOrder({
  title: 'Order #12345',
  description: 'Shopping cart checkout',
  fiatAmount: '99.99',
  fiatCurrency: 'usd'
});

Flexible Integration Options

Choose the use case that fits your needs:

  • Donations, Account Top-ups
  • E-commerce
  • Custom Business Logic
  • Without Widget

Trusted by Merchants Worldwide

CryptumPay Widget is used by merchants globally to accept cryptocurrency payments securely and efficiently.

Released under the MIT License.