Two script tags. No npm. No build step. Drop this on your Shopify store, custom site, or web app — your customers pay in USDT or BTC.
Click the button to open the payment widget — this is exactly what your customers will see.
Uses a test API key — no real funds. Real orders require a live API key.
Add these two script blocks to your checkout page. That's it.
<!-- Add to <head> or before </body> -->
<script src="https://bitkable.com/checkout.js"></script>
<script>
// Call when customer clicks "Pay"
BitkableCheckout.init({
apiKey: 'YOUR_API_KEY',
orderId: 'ORDER-1042', // your internal order ID
amount: 15.00,
asset: 'USDT', // or 'BTC'
merchantName: 'Acme Store', // optional
onSuccess: (txData) => {
// Payment confirmed — unlock content, redirect, etc.
window.location.href = '/thank-you';
},
onExpired: () => {
alert('Session expired. Please try again.');
},
});
</script>bk_test_… keys while building. Switch to your bk_live_… key before going live. Get your keys at API Keys.Ready to integrate?
View Full Integration Guide →