Skip to main content

Online Checkout Integration

Accept stablecoin payments in your e-commerce checkout flow, mobile app, or any web-based payment experience.
Online checkout integration follows the same API pattern as POS terminals. The only difference is where the QR code is rendered — on a webpage or in a mobile app instead of a physical screen.

Overview

  1. Customer clicks “Pay with Crypto” at checkout
  2. Your server creates a payment intent
  3. Your frontend displays the QR code
  4. Customer scans with their mobile wallet and confirms
  5. Your server receives the webhook and fulfills the order

Step 1: Create Payment Intent (Server-Side)

Always create payment intents server-side. Never expose your API key in client-side JavaScript.

Step 2: Display QR Code (Client-Side)

For lower latency, replace polling with a WebSocket or Server-Sent Events connection. Your backend pushes the confirmation to the frontend as soon as the webhook arrives, reducing perceived wait time from 3s (polling interval) to under 100ms.

Step 3: Handle Webhook and Fulfill Order

Mobile App Integration

For mobile apps, the same API works. Display the QR code in your app for the customer to scan with a separate wallet app, or use deep linking to open the customer’s wallet directly:

Shopify / E-Commerce Platforms

Shopify and WooCommerce plugins are on our roadmap. In the meantime, you can integrate via the API using a custom payment gateway. Contact us if you need help with platform-specific integration.